diff options
Diffstat (limited to 'docs/clamp/acm/plantuml/system-dialogues')
3 files changed, 78 insertions, 0 deletions
diff --git a/docs/clamp/acm/plantuml/system-dialogues/OfflineAcmResult.puml b/docs/clamp/acm/plantuml/system-dialogues/OfflineAcmResult.puml new file mode 100644 index 00000000..1cbdaa51 --- /dev/null +++ b/docs/clamp/acm/plantuml/system-dialogues/OfflineAcmResult.puml @@ -0,0 +1,19 @@ +@startuml + + Rest -> "ACM Runtime": ACM operation triggered by the user + activate "ACM Runtime" + "ACM Runtime" -> "ACM Database": Read Automation Composition information + activate Participant + "ACM Runtime" -> Participant : [ASYNC] Send the state change event to the participant + "ACM Runtime" -> "ACM Database": Mark the AC element into transitioning state + deactivate "ACM Runtime" + Participant -> Participant: Goes OFF_LINE due to an unexpected error + deactivate Participant + + activate "ACM Runtime" + "ACM Runtime" -> "ACM Database": Mark OFF_LINE reached for the participant status report + "ACM Runtime" -> "ACM Database": Mark TIMEOUT reached for the AC instance + deactivate "ACM Runtime" + + +@enduml diff --git a/docs/clamp/acm/plantuml/system-dialogues/TimeoutAcmResult.puml b/docs/clamp/acm/plantuml/system-dialogues/TimeoutAcmResult.puml new file mode 100644 index 00000000..25209d0d --- /dev/null +++ b/docs/clamp/acm/plantuml/system-dialogues/TimeoutAcmResult.puml @@ -0,0 +1,17 @@ +@startuml + + Rest -> "ACM Runtime": ACM operation triggered by the user + activate "ACM Runtime" + "ACM Runtime" -> "ACM Database": Read Automation Composition information + activate Participant + "ACM Runtime" -> Participant : [ASYNC] Send the state change event to the participant + "ACM Runtime" -> "ACM Database": Mark the AC element into transitioning state + deactivate "ACM Runtime" + Participant -> Participant: state change operation get stuck + deactivate Participant + + activate "ACM Runtime" + "ACM Runtime" -> "ACM Database": Mark TIMEOUT reached for the AC instance + deactivate "ACM Runtime" + +@enduml diff --git a/docs/clamp/acm/plantuml/system-dialogues/TimeoutParticipant.puml b/docs/clamp/acm/plantuml/system-dialogues/TimeoutParticipant.puml new file mode 100644 index 00000000..c88cd04b --- /dev/null +++ b/docs/clamp/acm/plantuml/system-dialogues/TimeoutParticipant.puml @@ -0,0 +1,42 @@ +@startuml + +alt "Deploying the instance" + Rest -> "ACM Runtime": Deploy triggered by the user + activate "ACM Runtime" + "ACM Runtime" -> "Participant-intermediary" : [ASYNC] Deploying the instance + deactivate "ACM Runtime" + + activate "Participant-intermediary" + activate Participant + "Participant-intermediary" -> Participant : Create Deploy thread + deactivate "Participant-intermediary" + note right + Deploy thread is stuck + end note +end + +alt "Instance in Timeout" + activate "ACM Runtime" + "ACM Runtime" -> "ACM Runtime" : set instance in Timeout + deactivate "ACM Runtime" +end + +alt "Undeploying the instance" + Rest -> "ACM Runtime": Undeploy triggered by the user + activate "ACM Runtime" + activate "Participant-intermediary" + "ACM Runtime" -> "Participant-intermediary" : [ASYNC] Undeploying the instance + deactivate "ACM Runtime" + "Participant-intermediary" -> Participant : Terminate Deploy thread + deactivate Participant + "Participant-intermediary" -> Participant : Create Undeploy thread + activate Participant + deactivate "Participant-intermediary" + Participant -> "Participant-intermediary" : instance Undeployed + activate "Participant-intermediary" + deactivate Participant + "Participant-intermediary" -> "ACM Runtime" : [ASYNC] instance Undeployed + deactivate "Participant-intermediary" +end + +@enduml |