Update documentation for restart ACM
[policy/parent.git] / docs / clamp / acm / api-protocol / puml / ParticipantRegister.puml
1 @startuml
2 activate Participant
3   Participant -> "CLAMP Runtime": [ASYNC] Register
4 activate "CLAMP Runtime"
5 deactivate Participant
6   "CLAMP Runtime" -> "CLAMP Database": Create or Update Perticipant Registration,\n store supported ACM element types \n and set Perticipant State as ON_LINE
7   "CLAMP Runtime" -> Participant: [ASYNC] Registration Accepted
8   loop over ACM Definition
9           "CLAMP Runtime" -> "CLAMP Database": Mark all ACM element instances deployed\n on Participant as Restarting
10     "CLAMP Runtime" -> Participant: [ASYNC] Restart\n send Common Property Values\n and Instance Elements of this Participant]
11 deactivate "CLAMP Runtime"
12 activate Participant
13 Participant -> Participant: Store Common Property Values and Instance Elements
14 Participant -> "CLAMP Runtime": [ASYNC] State Change Ack
15 activate "CLAMP Runtime"
16 deactivate Participant
17   "CLAMP Runtime" -> "CLAMP Database": Remove Restarting from all Compositions \n and Instances of this Participant
18 deactivate "CLAMP Runtime"
19   end
20 @enduml