aboutsummaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/plantuml/system-dialogues/PrimeAcTypeOnPpnts.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/PrimeAcTypeOnPpnts.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/PrimeAcTypeOnPpnts.puml')
-rw-r--r--docs/clamp/acm/plantuml/system-dialogues/PrimeAcTypeOnPpnts.puml28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/clamp/acm/plantuml/system-dialogues/PrimeAcTypeOnPpnts.puml b/docs/clamp/acm/plantuml/system-dialogues/PrimeAcTypeOnPpnts.puml
new file mode 100644
index 00000000..0c36a18c
--- /dev/null
+++ b/docs/clamp/acm/plantuml/system-dialogues/PrimeAcTypeOnPpnts.puml
@@ -0,0 +1,28 @@
+@startuml
+participant REST
+participant ACM_Runtime
+participant Participant
+database ACM_Database
+
+alt Automation Composition Type has Deployed Instances
+ REST <- ACM_Runtime: Priming of Automation Composition Type Failed, instances deployed
+else Automation Composition Type is in state COMMISSIONED or PRIMED
+ REST -> ACM_Runtime: Prime Automation Composition Type
+
+ ACM_Runtime -> ACM_Database: Read Automation Composition Type
+ ACM_Runtime -> ACM_Database: Read Participants
+ ACM_Runtime -> ACM_Runtime: Set suitable participant ID on each AC Element Type
+
+ alt Was a sutable participant ID found for each AC Element Type?
+ ACM_Runtime -> Participant: [ASYNC] Send Priming Request to all Participants\nwith Automation Composition Type Definition
+ ACM_Runtime -> ACM_Database: Set Automation Composition Type State to PRIMING
+
+ REST <- ACM_Runtime: Priming of Automation Composition Type Ordered
+ else
+ REST <- ACM_Runtime: Priming of Automation Composition Type Faield, no sutiable participant found
+ end
+else
+ REST <- ACM_Runtime: Priming of Automation Composition Type Failed, invalid state
+end
+
+@enduml