...
Warning |
---|
PAGE UPDATED TO HERE. |
3.3
...
Bring Automation Composition Instance
...
into Service
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime participant Participant database ACM_Database REST -> ACM_Runtime: [REST] Read all configuration versions of Automation Composition Instance ACM_Runtime -> ACM_Database: Read all configuration versions of Automation Composition Instance ACM_Runtime -> REST: [REST] All configuration versions of Automation Composition Instance returned REST -> REST: Select configuration version of Automation Composition Instance for Instantiation Participants REST -> ACM_Runtime: [REST] Instantiate selected configuration version of Automation Composition Instance on Participants alt Selected configuration version of Automation Composition Instance not instantiated on Participants ACM_Runtime -> ACM_Database: Read configuration version of Automation Composition Instance ACM_Runtime -> Participants: [DMaaP] Update Participants with configuration version of Automation Composition Instance ACM_Runtime -> REST: [REST] Instantiation of configuration version of Automation Composition Instance ordered on participants else Selected configuration version of Automation Composition Instance instantiated on Participants ACM_Runtime -> REST: [REST] configuration version of Automation Composition Instance already instantiated on participants end == Participant Responses == Participants -> ACM_Runtime: [DMaaP] Result of update of configuration version of Automation Composition Instance on participant ACM_Runtime -> ACM_Database: Store result of update of configuration version of Automation Composition Instance on participant == Supervision == loop forever ACM_Runtime -> ACM_Database: Read Automation Composition Instances loop over each Automation Composition Instance alt Automation Composition Instance configuration version update underway on participants ACM_Runtime -> ACM_Database: read result of Automation Composition updates from participants alt Updates completed on all participants ACM_Runtime -> ACM_Database: set configuration version of Automation Composition Instance as Instantiated on Participants ACM_Runtime -> ACM_Database: set overall configuration version of Automation Composition Instance state as Instantiated else Updates not completed alt Instantiation of Automation Composition Instance on participants timed out ACM_Runtime -> ACM_Database: set configuration version Automation Composition Instance Instantiation as timed out on Participants ACM_Runtime -> ACM_Runtime: Log error else Wait for updates to complete end end else Automation Composition Instance configuration version update on participants not underway end end end @enduml |
3.4
...
Take Automation Composition Instance
...
out of Service
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime participant Participant database ACM_Database REST -> ACM_Runtime: [REST] Read all Instantiated Automation Composition Instances ACM_Runtime -> ACM_Database: Read all Instantiated Automation Composition Instances ACM_Runtime -> REST: [REST] All Instantiated Automation Composition Instances returned REST -> REST: Select Automation Composition Instance on which to change state and specify new state REST -> ACM_Runtime: [REST] Change state of selected Automation Composition Instance on Participants alt Selected Automation Composition Instance instantiated on Participants ACM_Runtime -> Participants: [DMaaP] Request change of state of Automation Composition Instance ACM_Runtime -> REST: [REST] Change of state of Automation Composition Instance ordered on participants else Selected Automation Composition Instance not instantiated on Participants ACM_Runtime -> REST: [REST] Automation Composition Instance not instantiated on participants end == Participant Responses == Participants -> ACM_Runtime: [DMaaP] Result of State Change of Automation Composition Instance on participant ACM_Runtime -> ACM_Database: Store result of State Change of Automation Composition Instance on participant == Supervision == loop forever ACM_Runtime -> ACM_Database: Read Automation Composition Instances loop over each Automation Composition Instance alt Automation Composition Instance State Change underway on participants ACM_Runtime -> ACM_Database: read result of Automation Composition State Change from participants alt Updates completed on all participants ACM_Runtime -> ACM_Database: set Automation Composition Instance state as changed on Participants ACM_Runtime -> ACM_Database: set overall Automation Composition Instance state as changed else Updates not completed alt Automation Composition Instance State Change on participants timed out ACM_Runtime -> ACM_Database: set Automation Composition State Change as timed out on Participants ACM_Runtime -> ACM_Runtime: Log error else Wait for updates to complete end end else Automation Composition Instance State Change on participants not underway end end end @enduml |
...