aboutsummaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/plantuml/system-dialogues/DeprimeOnParticipants.puml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/clamp/acm/plantuml/system-dialogues/DeprimeOnParticipants.puml')
-rw-r--r--docs/clamp/acm/plantuml/system-dialogues/DeprimeOnParticipants.puml21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/clamp/acm/plantuml/system-dialogues/DeprimeOnParticipants.puml b/docs/clamp/acm/plantuml/system-dialogues/DeprimeOnParticipants.puml
new file mode 100644
index 00000000..07d5e934
--- /dev/null
+++ b/docs/clamp/acm/plantuml/system-dialogues/DeprimeOnParticipants.puml
@@ -0,0 +1,21 @@
+@startuml
+participant REST
+participant ACM_Runtime
+participant Participant
+database ACM_Database
+
+alt Automation Composition Type has Instances
+ REST <- ACM_Runtime: Depriming of Automation Composition Type Failed
+else AC Type State is PRIMED or PRIMING
+ REST -> ACM_Runtime: Deprime Automation Composition Type
+
+ ACM_Runtime -> ACM_Database: Read Automation Composition Type
+ ACM_Runtime -> Participant: [ASYNC] Send Depriming Request to all Participants\nwith Automation Composition Type Definition
+ ACM_Runtime -> ACM_Database: Set Automation Composition Type State to DEPRIMING
+
+ REST <- ACM_Runtime: Depriming of Automation Composition Type Ordered
+else
+ REST <- ACM_Runtime: Depriming of Automation Composition Type Failed, invalid state
+end
+
+@enduml