summaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2023-04-04 14:53:48 +0000
committerGerrit Code Review <gerrit@onap.org>2023-04-04 14:53:48 +0000
commit96ecefefc978db0d504f1953a6a113ef5879a43c (patch)
treebb89263b07b04e7a7a01002b6bb537bebf76ec8b /docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml
parent9003fbad637277dbb6aa1e8372110bdf814c4655 (diff)
parentdba8c6debf395bb952e28b91b4c872045d52eccf (diff)
Merge "Updated participant protocol docs"
Diffstat (limited to 'docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml')
-rw-r--r--docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml48
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml b/docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml
new file mode 100644
index 00000000..ccf7acc9
--- /dev/null
+++ b/docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml
@@ -0,0 +1,48 @@
+@startuml
+
+(*) --> "Process Update Message"
+
+if "All Automation Composition Elements with my Participant ID processed?" then
+ --> [yes] "Send Update Ack Message"
+ --> (*)
+else
+ --> [no] "Process next Automation Composition Element with my ID"
+ if "New Automation Composition Element?" then
+ --> [yes] "Create Automation Composition Element"
+ --> "Set Automation Composition Element to state UNDEPLOYED/LOCKED"
+ --> "Order Deployment/Unlock of Automation Composition Element"
+ --> "Pass Parameters to Automation Composition Element"
+ --> "Wait for Deployment/Unlock to complete"
+ if "Automation Composition Element Deployed/Unlocked?" then
+ --> [success] "Record Success for Update Ack message"
+ --> "Process Update Message"
+ else
+ --> [fail] "Delete Automation Composition Element"
+ --> "Record Error for Update Ack message"
+ --> "Process Update Message"
+ endif
+ else
+ --> [no] "Check Automation Composition Element State"
+ endif
+ if "DEPLOYED/UNLOCKED and Automation Composition Version change != patch?" then
+ --> [true] "Record Error for Update Ack message"
+ --> "Process Update Message"
+ else
+ [false] if "NOT DEPLOYED/UNLOCKED and Automation Composition Version change == major?" then
+ --> [true] "Record Error for Update Ack message"
+ --> "Process Update Message"
+ else
+ --> [false] "Pass Changed Parameters to Automation Composition Element"
+ --> "Wait for reconfiguration to complete"
+ if "Automation Composition Element Reconfiguration?" then
+ --> [success] "Record Success for Update Ack message"
+ --> "Process Update Message"
+ else
+ --> [fail] "Roll back reconfiguration"
+ --> "Record Error for Update Ack message"
+ --> "Process Update Message"
+ endif
+ endif
+endif
+
+@enduml