Adding new state and system diagrams/pages
[policy/parent.git] / docs / clamp / acm / plantuml / system-dialogues / DeployAcInstance.puml
1 @startuml
2 participant REST
3 participant ACM_Runtime
4 participant Participants
5 database ACM_Database
6
7 REST -> ACM_Runtime: Deploy 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 is deployed
12   ACM_Runtime -> REST: Automation Composition instance is already deployed
13  else
14   ACM_Runtime -> Participants: [ASYNC] Deploy AC Element Instances for this AC Instance
15   ACM_Runtime -> ACM_Database: Set AC Instance and its AC Element Instances to state DEPLOYING
16   ACM_Runtime -> REST: Deployment of Automation Composition Instance has been requested
17  end
18 else
19   ACM_Runtime -> REST: Automation Composition instance does not exist
20 end
21
22 @enduml