Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PlantUML Macro
@startuml
participant REST
participant ACM_Runtime
database ACM_Database

REST -> ACM_Runtime: Delete Automation Composition Instance

alt Automation Composition Instance exists
 alt Automation Composition Instance is not state UNINITIALIZED
  ACM_Runtime -> REST: [REST] Automation Composition instance exists and is in use
 else
  ACM_Runtime -> REST: [REST] Automation Composition instance does not exist
 end
else
 ACM_Runtime -> ACM_Database: Delete Automation Composition Instance
 ACM_Runtime -> REST: [REST] Automation Composition Instance Deleted
end

@enduml
Warning

PAGE UPDATED TO HERE.

3.3 Bring Automation Composition Instance into Service

...

PlantUML Macro
@startuml
participant ACM_Runtime
participant Participant

ACM_Runtime -> Participant: [ASYNC] Bring AC Element Instances for this AC Instance into Service 

loop over AC Element Instances in AC Instance
 alt Does the primed Participant ID on this AC Element Instance\nmatch my Participant ID?
  alt Is this AC Element Instance already in service
   ACM_Runtime <- Participant: [ASYNC] WARN: AC Element is already in service
  else
   Participant -> Participant: Bring AC Element Instance into Service
   activate Participant
   deactivate Participant
   alt AC Element came into service successfully
    ACM_Runtime <- Participant: [ASYNC] INFO: AC Element brought into service
   else
    ACM_Runtime <- Participant: [ASYNC] ERROR: AC Element was not brought into service
   end
  end
 else
  note left of participant
   ignore this AC Element instance as its for another participant 
  end note
 end
end

@enduml


The ACM Runtime receives and stores the responses.


PlantUML Macro
@startuml

participant ACM_Runtime
participant Participants
database ACM_Database 

ACM_RUNTIME -> ACM_Runtime: [REST] Bring Automation Composition Instance into Service
ACM_Runtime -> ACM_Database: Read Automation Composition Instance Information

alt Automation Composition Instance exists
 alt Automation Composition Instance is not state UNINITIALIZED
  ACM_Runtime -> REST: [REST] Automation Composition instance exists and is already in service
 else
  ACM_Runtime -> REST: [REST] Automation Composition instance does not exist
 end
else
 ACM_Runtime -> Participants: [ASYNC] Bring AC Element Instances for this AC Instance into Service
 ACM_Runtime -> ACM_Database: Set status of AC Instance and its AC Element Instances as "Coming into Service"
 ACM_Runtime -> REST: Automation Composition Instance has been requested to come into service
end

@enduml


Warning

PAGE UPDATED TO HERE.

3.4 Take Automation Composition Instance out of Service

...