...
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime database ACM_Database REST -> ACM_Runtime: Create Automation Composition Instance for\nspecified Automation Composition Type with\nspecified parameter values 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 note right of REST Updates on uninitialized Automation Composition Instances are allowed end note end end alt Specified Automation Type Composition Exists alt Specified Automation Composition Type is Primed ACM_Runtime -> ACM_Database: Store Automation Composition Instance ACM_Runtime -> REST: [REST] Automation Composition Instance Created else ACM_Runtime -> REST: [REST] Automation Composition Type is not primed end else ACM_Runtime -> REST: [REST] Automation Composition Type is not found end @enduml |
...
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 |
...
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime participant Participants database ACM_Database REST -> 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 |
...
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 |
...
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 |
...
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 to de-instantiate REST -> ACM_Runtime: [REST] De-instantiate selected Automation Composition Instance on Participants alt Selected Automation Composition Instance instantiated on Participants ACM_Runtime -> Participants: [DMaaP] Update Participants to remove Automation Composition Instance ACM_Runtime -> REST: [REST] De-instantiation 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 update of Automation Composition Instance on participant ACM_Runtime -> ACM_Database: Store result of update 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 de-instantiation 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 Automation Composition Instance as de-instantiated on Participants ACM_Runtime -> ACM_Database: set overall Automation Composition Instance as de-instantiated else Updates not completed alt Automation Composition Instance de-instantiation Update timed out on participants ACM_Runtime -> ACM_Database: set Automation Composition Instance de-instantiation as timed out on Participants ACM_Runtime -> ACM_Runtime: Log error else Wait for updates to complete end end else Automation Composition Instance de-instantiation update on participants not underway end end @enduml |
...
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime database ACM_Database REST -> ACM_Runtime: [REST] Read all Automation Composition Instances ACM_Runtime -> ACM_Database: Read all Automation Composition Instances ACM_Runtime -> REST: [REST]All All Automation Composition Instances returned REST -> REST: Select Automation Composition Instance to delete REST -> ACM_Runtime: [REST] Delete selected Automation Composition Instance alt Selected Automation Composition Instance exists ACM_Runtime -> ACM_Database: Delete Automation Composition instance ACM_Runtime -> REST: [REST] Automation Composition Instance deleted else Selected Automation Composition Instance does not exist ACM_Runtime -> REST: [REST] Automation Composition Instance does not exist end @enduml |
...
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime database ACM_Database REST -> ACM_Runtime: [REST] Read all Automation Composition Instances ACM_Runtime -> ACM_Database: Read all Automation Composition Instances ACM_Runtime -> REST: [REST] All Automation Composition Instances returned @enduml |
...
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime database ACM_Database == Overview of all Automation Composition Instances == REST -> ACM_Runtime: [REST] Read all Automation Composition Instances ACM_Runtime -> ACM_Database: Read all Automation Composition Instances ACM_Runtime -> REST: [REST] All Automation Composition Instances returned REST -> REST: Display overview of status of all Automation Composition Instances == Details of a Automation Composition Instance == REST -> ACM_Runtime: [REST] Read Automation Composition Elements for Automation Composition Instance ACM_Runtime -> ACM_Database: Read Automation Composition Elements for Automation Composition Instance ACM_Runtime -> REST: [REST] Automation Composition Elements returned REST -> REST: Display status of Automation Composition Elements in Automation Composition Instance == Overview of all Participants == REST -> ACM_Runtime: [REST] Read all participants ACM_Runtime -> ACM_Database: Read all participants ACM_Runtime -> REST: [REST] All participants returned REST -> REST: Display overview of status of all participants == Details of a Participant == REST -> ACM_Runtime: [REST] Read Automation Composition Elements for Participant ACM_Runtime -> ACM_Database: Read Automation Composition Elements for Participant ACM_Runtime -> REST: [REST] Automation Composition Elements returned REST -> REST: Display status of Automation Composition Elements in Participant == Filtered Monitoring == REST -> REST: Set filter for Automation Composition Instances, Automation Composition Elements, and Participants REST -> ACM_Runtime: [REST] Read Automation Composition Elements that match filter ACM_Runtime -> ACM_Database: Read Automation Composition Elements that match filter ACM_Runtime -> REST: [REST] Automation Composition Elements that match filter returned REST -> REST: Display status of Automation Composition Elements that match filter @enduml |
...
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime database ACM_Database == Statistics of all Automation Composition Instances == REST -> ACM_Runtime: [REST] Read summary statistics for all Automation Composition Instances ACM_Runtime -> ACM_Database: Compile summary statistics for all Automation Composition Instances ACM_Runtime -> REST: [REST] Summary statistics for all Automation Composition Instances returned REST -> REST: Display summary statistics for all Automation Composition Instances == Statistics of a Automation Composition Instance == REST -> ACM_Runtime: [REST] Read statistics for Automation Composition Elements for Automation Composition Instance ACM_Runtime -> ACM_Database: Compile statistics for Automation Composition Elements for Automation Composition Instance ACM_Runtime -> REST: [REST] Statistics for Automation Composition Elements returned REST -> REST: Display statistics for Automation Composition Elements in Automation Composition Instance == Statistics of all Participants == REST -> ACM_Runtime: [REST] Read summary statistics for all Automation Composition Instances ACM_Runtime -> ACM_Database: Compile summary statistics for all Automation Composition Instances ACM_Runtime -> REST: [REST] Summary statistics for all Automation Composition Instances returned REST -> REST: Display summary statistics for all Automation Composition Instances == Statistics of a Participant == REST -> ACM_Runtime: [REST] Read statistics for Automation Composition Elements for Participant ACM_Runtime -> ACM_Database: Read statistics for Automation Composition Elements for Participant ACM_Runtime -> REST: [REST] Statistics for Automation Composition Elements returned REST -> REST: Display statistics for Automation Composition Elements in Participant == Filtered Statistics == REST -> REST: Set filter for Automation Composition Instances, Automation Composition Elements, and Participants REST -> ACM_Runtime: [REST] Read statistics for Automation Composition Elements that match filter ACM_Runtime -> ACM_Database: Read statistics for Automation Composition Elements that match filter ACM_Runtime -> REST: [REST] Statistics for Automation Composition Elements that match filter returned REST -> REST: Display statistics for Automation Composition Elements that match filter @enduml |
...