Adding new state and system diagrams/pages
[policy/parent.git] / docs / clamp / acm / plantuml / system-dialogues / UndeployInstance.puml
1 @startuml
2 participant REST
3 participant ACM_Runtime
4 participant Participants
5 database ACM_Database
6
7 REST -> ACM_Runtime: Undeploy Automation Composition Instance
8 ACM_Runtime -> ACM_Database: Read Automation Composition Instance Information
9
10 alt Automation Composition Instance exists
11  alt Automation Composition Instance administrative state is not LOCKED
12   ACM_Runtime -> REST: Automation Composition instance exists and is not LOCKED
13  else
14   ACM_Runtime -> REST: Automation Composition instance does not exist
15  end
16 else
17  ACM_Runtime -> Participants: [ASYNC] Undeploy AC Element Instances for this AC Instance
18  ACM_Runtime -> ACM_Database: Mark this AC Instance and its AC Element Instances as UNDEPLOYING
19  ACM_Runtime -> REST: Undeployment of Automation Composition Instance has been requested
20 end
21
22 @enduml