Adding new state and system diagrams/pages
[policy/parent.git] / docs / clamp / acm / plantuml / system-dialogues / DeprimeOnParticipants.puml
1 @startuml
2 participant REST
3 participant ACM_Runtime
4 participant Participant
5 database ACM_Database
6
7 alt Automation Composition Type has Instances
8   REST <- ACM_Runtime: Depriming of Automation Composition Type Failed
9 else AC Type State is PRIMED or PRIMING
10  REST -> ACM_Runtime: Deprime Automation Composition Type
11
12  ACM_Runtime -> ACM_Database: Read Automation Composition Type
13  ACM_Runtime -> Participant: [ASYNC] Send Depriming Request to all Participants\nwith Automation Composition Type Definition
14  ACM_Runtime -> ACM_Database: Set Automation Composition Type State to DEPRIMING
15
16  REST <- ACM_Runtime: Depriming of Automation Composition Type Ordered
17 else
18  REST <- ACM_Runtime: Depriming of Automation Composition Type Failed, invalid state
19 end
20
21 @enduml