Created
July 26, 2019 13:40
-
-
Save matthewrmshin/daa59f1d1d6cdca43fbbd9984a5b2c52 to your computer and use it in GitHub Desktop.
WFS=>Remote Job=>WFS sequence diagram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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