aboutsummaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/plantuml/system-dialogues/LockResponseStored.puml
blob: 111a572676426f350c1665d855bdab7ee4a03553 (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] Lock Automation Composition Element \nInstance Response
"ACM Runtime" -> "ACM Database": Store Automation Composition Element Instance \nResponse Information

alt Is AC Element Instance Locked?
 "ACM Runtime" -> "ACM Database": Set AC Element Instance administrative state as LOCKED
 alt Have all the other AC Element Instances in this AC Instance been LOCKED?
  "ACM Runtime" -> "ACM Database": Set AC Instance administrative state as LOCKED
  "ACM Runtime" -> "Participant Replica 2": [ASYNC] Send sync message
  end
end

@enduml