diff options
author | saul.gill <saul.gill@est.tech> | 2023-04-03 15:22:53 +0100 |
---|---|---|
committer | saul.gill <saul.gill@est.tech> | 2023-04-03 15:55:43 +0100 |
commit | dba8c6debf395bb952e28b91b4c872045d52eccf (patch) | |
tree | 80c6dc60863c702652e17fdd5b4d903620c7491e /docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml | |
parent | a174cadc174377c9c38df860d7e37b5799067bc7 (diff) |
Updated participant protocol docs
Added new puml for state and update diagrams
Updated diagrams
Added table as csv - easier for updating later
Issue-ID: POLICY-4602
Change-Id: Iaca291057688b0a856192036816685d3b9676b4f
Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml')
-rw-r--r-- | docs/clamp/acm/api-protocol/puml/ParticipantUpdateMessage.puml | 48 |
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 |