summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/plantuml/system-dialogues/LockAcInstance.puml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/clamp/acm/plantuml/system-dialogues/LockAcInstance.puml')
-rw-r--r--docs/clamp/acm/plantuml/system-dialogues/LockAcInstance.puml22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/clamp/acm/plantuml/system-dialogues/LockAcInstance.puml b/docs/clamp/acm/plantuml/system-dialogues/LockAcInstance.puml
new file mode 100644
index 00000000..a742cbb5
--- /dev/null
+++ b/docs/clamp/acm/plantuml/system-dialogues/LockAcInstance.puml
@@ -0,0 +1,22 @@
+@startuml
+participant REST
+participant ACM_Runtime
+participant Participants
+database ACM_Database
+
+REST -> ACM_Runtime: Lock Automation Composition Instance
+ACM_Runtime -> ACM_Database: Read Automation Composition Instance Information
+
+alt Automation Composition Instance exists
+ alt Automation Composition Instance administrative state is UNLOCKED
+ ACM_Runtime -> Participants: [ASYNC] Lock AC Element Instances for this AC Instance
+ ACM_Runtime -> ACM_Database: Mark AC Instance and its AC Element Instances as Locking
+ ACM_Runtime -> REST: Locking of Automation Composition Instance has been requested
+ else
+ ACM_Runtime -> REST: Automation Composition instance is not unlocked
+ end
+else
+ ACM_Runtime -> REST: Automation Composition instance does not exist
+end
+
+@enduml