aboutsummaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/plantuml/system-dialogues/UpdateAcElementsResponse.puml
blob: ed161745d5e7d15883be4a5cdba1b3f7cf9be04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@startuml

participant "ACM Runtime"
database "ACM Database"
participant "Participant Replica 1"
participant "Participant Replica 2"

"ACM Runtime" <- "Participant Replica 1": [ASYNC] Update Automation Composition Element \nInstance Response
"ACM Runtime" -> "ACM Database": Store Automation Composition Element Instance \nResponse Information

alt Is AC Element Instance Updated?
 "ACM Runtime" -> "ACM Database": Set AC Element Instance State as DEPLOYED
 alt Are all the other AC Element Instances in this AC Instance in state DEPLOYED?
  "ACM Runtime" -> "ACM Database": Set AC Instance state as DEPLOYED
  "ACM Runtime" -> "Participant Replica 2": [ASYNC] Send sync message
 end
end

@enduml