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