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