diff options
author | Liam Fallon <liam.fallon@est.tech> | 2023-04-04 14:53:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-04-04 14:53:48 +0000 |
commit | 96ecefefc978db0d504f1953a6a113ef5879a43c (patch) | |
tree | bb89263b07b04e7a7a01002b6bb537bebf76ec8b /docs/clamp/acm/api-protocol/puml/ParticipantHandleStateChange.puml | |
parent | 9003fbad637277dbb6aa1e8372110bdf814c4655 (diff) | |
parent | dba8c6debf395bb952e28b91b4c872045d52eccf (diff) |
Merge "Updated participant protocol docs"
Diffstat (limited to 'docs/clamp/acm/api-protocol/puml/ParticipantHandleStateChange.puml')
-rw-r--r-- | docs/clamp/acm/api-protocol/puml/ParticipantHandleStateChange.puml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/clamp/acm/api-protocol/puml/ParticipantHandleStateChange.puml b/docs/clamp/acm/api-protocol/puml/ParticipantHandleStateChange.puml new file mode 100644 index 00000000..8429c227 --- /dev/null +++ b/docs/clamp/acm/api-protocol/puml/ParticipantHandleStateChange.puml @@ -0,0 +1,52 @@ +@startuml + +(*) --> "Process State Change Message" + +if "All Automation Composition Elements with my Participant ID processed?" then + --> [yes] "Send State Change Ack Message" + --> (*) +else + --> [no] "Process next Automation Composition Element with my ID" + if "State Change Message Start Phase equals Automation Composition Element start phase" then + [true] if "Current State is DEPLOYED?" then + [true] if "Change to UNDEPLOYED?" then + --> [true] "Change Automation Composition Element to state UNDEPLOYED" + --> "Wait for DEPLOYED->UNDEPLOYED State Change to complete" + if "State Change?" then + --> [success] "Record Success for State Change Ack message" + --> "Process State Change Message" + else + --> [fail] "Record Error for State Change Ack message" + --> "Process State Change Message" + endif + else + --> [false] "Record Error for State Change Ack message" + --> "Process State Change Message" + endif + else + [false] if "Current State is UNDEPLOYED?" then + [true] if "Change to DEPLOYED?" then + --> [true] "Change Automation Composition Element to state DEPLOYED" + --> "Wait for UNDEPLOYED->DEPLOYED State Change to complete" + if "State Change?" then + --> [success] "Record Success for State Change Ack message" + --> "Process State Change Message" + else + --> [fail] "Record Error for State Change Ack message" + --> "Process State Change Message" + endif + else + --> [false] "Record Error for State Change Ack message" + --> "Process State Change Message" + endif + else + --> [false] "Record Error for State Change Ack message" + --> "Process State Change Message" + endif + endif + else + --> [false] "Skip Automation Composition Element" + --> "Process State Change Message" +endif + +@enduml |