aboutsummaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/plantuml/system-dialogues/LockAcInstanceElements.puml
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2023-03-27 14:31:00 +0100
committersaul.gill <saul.gill@est.tech>2023-03-27 15:17:35 +0100
commitd405151fb7af327892e86cd5673809a231d2879b (patch)
tree2e5a542044e07cf41d9c26ab8f19667af4bcac4b /docs/clamp/acm/plantuml/system-dialogues/LockAcInstanceElements.puml
parent4e26b8883b250a91ae90deaf5657dc00fbf03bcc (diff)
Adding new state and system diagrams/pages
Added images for state diagrams Added images for system level dialogues diagrams Added puml for state diagrams Added puml for system level dialogues diagrams Added page content with diagrams Updated page links Issue-ID: POLICY-4598 Change-Id: Ife009a94f6b0b378fb565bdc097dba251ea74596 Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'docs/clamp/acm/plantuml/system-dialogues/LockAcInstanceElements.puml')
-rw-r--r--docs/clamp/acm/plantuml/system-dialogues/LockAcInstanceElements.puml32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/clamp/acm/plantuml/system-dialogues/LockAcInstanceElements.puml b/docs/clamp/acm/plantuml/system-dialogues/LockAcInstanceElements.puml
new file mode 100644
index 00000000..4fbb9335
--- /dev/null
+++ b/docs/clamp/acm/plantuml/system-dialogues/LockAcInstanceElements.puml
@@ -0,0 +1,32 @@
+@startuml
+participant ACM_Runtime
+participant Participant
+participant Participant_API
+
+ACM_Runtime -> Participant: [ASYNC] Lock AC Element Instances for this AC Instance
+
+loop over AC Element Instances in AC Instance
+ alt Does the primed Participant ID on this AC Element Instance\nmatch my Participant ID?
+ alt Is this AC Element Instance administrative state not UNLOCKED
+ ACM_Runtime <- Participant: [ASYNC] WARN: AC Element is not UNLOCKED
+ else
+ Participant -> Participant: Set AC Element Instance administrative state to SHUTTING_DOWN
+ Participant -> Participant_API: Lock AC Element Instance
+ activate Participant_API
+ Participant <- Participant_API: Lock AC Element Instance Response
+ deactivate Participant_API
+ alt AC Element locked successfully
+ Participant -> Participant: Set AC Element Instance administrative state to LOCKED
+ ACM_Runtime <- Participant: [ASYNC] INFO: AC Element has been locked
+ else
+ ACM_Runtime <- Participant: [ASYNC] ERROR: AC Element was not locked
+ end
+ end
+ else
+ note left of participant
+ Ignore this AC Element instance as its for another participant
+ end note
+ end
+end
+
+@enduml