Skip to content

Instantly share code, notes, and snippets.

@matthewrmshin
Created July 26, 2019 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewrmshin/daa59f1d1d6cdca43fbbd9984a5b2c52 to your computer and use it in GitHub Desktop.
Save matthewrmshin/daa59f1d1d6cdca43fbbd9984a5b2c52 to your computer and use it in GitHub Desktop.
WFS=>Remote Job=>WFS sequence diagram
title WFS => Remote Job => WFS
participantgroup #lightblue **WFS Host**
participant WFS
end
participantgroup #lightgrey **Remote Job Host**
participant Job Submit
database File System
participant Batch System
participant Job
end
WFS->Job Submit: SSH
activate WFS
activate Job Submit
Job Submit->Job Submit: create token
Job Submit->File System: put token
activate File System
File System-->Job Submit: write OK
Job Submit->>Batch System: submit
activate Batch System
Batch System-->Job Submit: return
Job Submit-->WFS: return with token
deactivate Job Submit
destroyafter Job Submit
Batch System->>Job: start job
deactivate Batch System
activate Job
Job->File System: get token
File System-->Job: read OK
Job->WFS: message started/completed
deactivate WFS
Job->File System: delete token
deactivate File System
deactivate Job
destroyafter Job
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment