The CLAMP Automation Composition Runtime Lifecycle Management uses the following system-level dialogues. These dialogues enable the CLAMP runtime capabilities described in Section 2 of TOSCA Defined Automation Compositions: Architecture and Design. Design Time dialogues will be described in future releases of the system.
Table of Contents |
---|
2
...
Dialogues on Participants
2.1 Participant Registration
Participant Registration is performed by a Participant when it starts up. It registers its ID and type with the ACM runtime.
PlantUML Macro |
---|
@startuml
participant Participant
participant ACM_Runtime
database ACM_Database
Participant -> ACM_Runtime: Register
ACM_Runtime -> ACM_Database: Create or Update Participant Registration
Participant <- ACM_Runtime: Registration Accepted
loop over all Automation Composition Type Defintions
alt This Automation Composition Type has the Participant Type of this Participant
ACM_Runtime -> ACM_Runtime: Trigger Priming of this Automation Composition Type Definition
end
end
@enduml |
2 Dialogues on Automation Composition Type Definitions
Commissioning dialogues are used to commission and decommission Automation Composition Type definitions and to set the values of Common Parameters.
...
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime database Commissioned_ACM_Inventory RESTDatabase REST -> ACM_Runtime: Commission Automation Composition Type Definition alt Automation Composition Type exists and has Instances ACM_Runtime -> REST: Type Definition Commissioning Failed else ACM_Runtime -> Commissioned_ACM_InventoryDatabase: Store Automation Composition Type Definition ACM_Runtime -> ACM_Runtime: Trigger Priming of Automation Composition Type Definition ACM_Runtime -> REST: Type Definition Commissioned end @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime participant Participant database Commissioned_ACM_InventoryDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Type Definitions CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definitions CLAMP_Runtime -> CLAMP_GUI: [REST] Type Definitions returned CLAMP_GUI -> CLAMP_GUI: Select Automation Composition Type Definition for Parameterization CLAMP_GUI -> CLAMP_Runtime: [REST] Fetch GUI fields for Common Parameter Definitions alt Automation Composition Type Definition not Commissioned on Participants CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definition CLAMP_Runtime -> CLAMP_Runtime: Generate fields for Common Parameters for GUI CLAMP_Runtime -> CLAMP_GUI: [REST] Return GUI fields Common Parameter Definitions CLAMP_GUI -> CLAMP_GUI: Render UI for Common Parameters CLAMP_GUI -> CLAMP_GUI: Get values for Common Parameters from user CLAMP_GUI -> CLAMP_Runtime: [REST] Set values for Common Parameters CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Store values for Common Parameters CLAMP_Runtime -> CLAMP_GUI: [REST] Common Parameter values stored else Automation Composition Type Definition already Commissioned on Participants CLAMP_Runtime -> CLAMP_GUI: [REST] Cannot set Common Parameters on\nAutomation Composition Type Definition that has\nbeen commissioned on participants end @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime participant Participant database Commissioned_ACM_InventoryDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Type Definitions CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definitions CLAMP_Runtime -> CLAMP_GUI: [REST] Type Definitions returned CLAMP_GUI -> CLAMP_GUI: Select Automation Composition Type Definition for Priming on Participants CLAMP_GUI -> CLAMP_Runtime: [REST] Prime Automation Composition Type Definition on Participants alt Automation Composition Type Definition not Primed on Participants CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definition CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Common Parameter Values for Automation Composition Type Definition alt Common Parameter values set for Automation Composition Type Definition CLAMP_Runtime -> Participants: [DMaaP] Update Participants with Automation Composition Type Definition and values for Common Parameters CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Type Definition priming ordered on participants else Automation Composition Type Definition already primed on Participants CLAMP_Runtime -> CLAMP_GUI: [REST] Common Parameters not set\non Automation Composition Type Definition end else Automation Composition Type Definition already primed on Participants CLAMP_Runtime -> CLAMP_GUI: [REST] Cannot set Common Parameters on\nAutomation Composition Type Definition that has\nbeen primed on participants end == Participant Responses == Participants -> CLAMP_Runtime: [DMaaP] Result of Update with Automation Composition Type Definition and values for Common Parameters CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Store result of Automation Composition Type Definition Update on Participant == Supervision == loop forever CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definitions loop over each Automation Composition Type Definition alt Automation Composition Type Definition Participant priming underway CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: read result of Automation Composition Type Definition Updates from participants alt Updates completed on all participants CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: set Automation Composition Type Definition as primed on Participants else Updates not completed alt Priming of Automation Composition Type Definition on participants timed out CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: set Automation Composition Type Definition priming as timed out on Participants CLAMP_Runtime -> CLAMP_Runtime: Log error else Wait for updates to complete end end else Automation Composition Type Definition Participant priming not underway end end end @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime participant Participant database Commissioned_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Type Definitions CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definitions CLAMP_Runtime -> CLAMP_GUI: [REST] Type Definitions returned CLAMP_GUI -> CLAMP_GUI: Select Automation Composition Type Definition for de-priming on Participants CLAMP_GUI -> CLAMP_Runtime: [REST] De-prime Automation Composition Type Definition on Participants alt Automation Composition Type Definition primed on Participants alt Automation Composition Instances do not exist for Automation Composition Type Definition CLAMP_Runtime -> Participants: [DMaaP] Update Participants, removing Automation Composition Type Definition and values for Common Parameters CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Type Definition de-priming ordered on participants else Automation Composition Instances exist for Automation Composition Type Definition CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Type Definition cannot be\n de-primed on participants\nit is in use on Automation Compositions end else Automation Composition Type Definition not primed on Participants CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Type Definition has not\nbeen primed on participants end == Participant Responses == Participants -> CLAMP_Runtime: [DMaaP] Result of Update to remove Automation Composition Type Definition and values for Common Parameters CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Store result of Automation Composition Type Definition Update on Participant == Supervision == loop forever CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definitions loop over each Automation Composition Type Definition alt Automation Composition Type Definition Participant de-prime underway CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: read result of Automation Composition Type Definition Updates from participants alt Updates completed on all participants CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: set Automation Composition Type Definition as de-primeed on Participants else Updates not completed alt De-priming of Automation Composition Type Definition on participants timed out CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: set Automation Composition Type Definition de-priming as timed out on Participants CLAMP_Runtime -> CLAMP_Runtime: Log error else Wait for updates to complete end end else Automation Composition Type Definition Participant de-prime not underway end end end @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime database Commissioned_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Type Definitions CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definitions CLAMP_Runtime -> CLAMP_GUI: [REST] Type Definitions returned CLAMP_GUI -> CLAMP_GUI: Select Automation Composition Type Definition for Decommissioning CLAMP_GUI -> CLAMP_Runtime: [REST] Decommission Automation Composition Type Definition alt Automation Composition Type Definition not primed on Participants CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Delete Automation Composition Type Definition CLAMP_Runtime -> CLAMP_GUI: [REST] Type Definition Decommissioned else Automation Composition Type Definition is Commissioned on Participants CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Type Definition cannot be decommissioned\nit is primed on participants end @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime database Commissioned_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Type Definitions CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definitions CLAMP_Runtime -> CLAMP_GUI: [REST] Type Definitions returned @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime database Commissioned_ACM_Inventory Database database Instantiated_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Type Definitions CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definitions CLAMP_Runtime -> CLAMP_GUI: [REST] Type Definitions returned CLAMP_GUI -> CLAMP_GUI: Select Automation Composition Type Definition to use to create Automation Composition Instance CLAMP_GUI -> CLAMP_Runtime: [REST] Fetch GUI fields for Instance Specific Parameter Definitions CLAMP_Runtime -> Commissioned_ACM_InventoryDatabase: Read Automation Composition Type Definition CLAMP_Runtime -> CLAMP_Runtime: Generate fields for Instance Specific Parameters for GUI CLAMP_Runtime -> CLAMP_GUI: [REST] Return GUI fields Instance Specific Parameter Definitions CLAMP_GUI -> CLAMP_GUI: Render UI for Instance Specific Parameters CLAMP_GUI -> CLAMP_GUI: Get values for Instance Specific Parameters from user CLAMP_GUI -> CLAMP_Runtime: [REST] Request Creation of Automation Composition Instance CLAMP_Runtime -> CLAMP_Runtime: Create Automation Composition Instance CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Store First Version of Automation Composition Instance CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Instance Updated @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime database Instantiated_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Instances CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Instances CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Instances returned CLAMP_GUI -> CLAMP_GUI: Select Automation Composition Instance on which to Update Parameters CLAMP_GUI -> CLAMP_GUI: Step version of Automation Composition Instance as Major/Minor/Patch CLAMP_GUI -> CLAMP_Runtime: [REST] Fetch GUI fields for Instance Specific Parameter Definitions CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Type Definition CLAMP_Runtime -> CLAMP_Runtime: Generate fields for Instance Specific Parameters for GUI CLAMP_Runtime -> CLAMP_GUI: [REST] Return GUI fields Instance Specific Parameter Definitions CLAMP_GUI -> CLAMP_GUI: Render UI for Instance Specific Parameters CLAMP_GUI -> CLAMP_GUI: Get values for Instance Specific Parameters from user CLAMP_GUI -> CLAMP_Runtime: [REST] Request Update of Automation Composition Instance CLAMP_Runtime -> CLAMP_Runtime: Update Automation Composition Instance CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Store New Version of Automation Composition Instance CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Instance Updated @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime participant Participant database Instantiated_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read all configuration versions of Automation Composition Instance CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read all configuration versions of Automation Composition Instance CLAMP_Runtime -> CLAMP_GUI: [REST] All configuration versions of Automation Composition Instance returned CLAMP_GUI -> CLAMP_GUI: Select configuration version of Automation Composition Instance for Instantiation Participants CLAMP_GUI -> CLAMP_Runtime: [REST] Instantiate selected configuration version of Automation Composition Instance on Participants alt Selected configuration version of Automation Composition Instance not instantiated on Participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read configuration version of Automation Composition Instance CLAMP_Runtime -> Participants: [DMaaP] Update Participants with configuration version of Automation Composition Instance CLAMP_Runtime -> CLAMP_GUI: [REST] Instantiation of configuration version of Automation Composition Instance ordered on participants else Selected configuration version of Automation Composition Instance instantiated on Participants CLAMP_Runtime -> CLAMP_GUI: [REST] configuration version of Automation Composition Instance already instantiated on participants end == Participant Responses == Participants -> CLAMP_Runtime: [DMaaP] Result of update of configuration version of Automation Composition Instance on participant CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Store result of update of configuration version of Automation Composition Instance on participant == Supervision == loop forever CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Instances loop over each Automation Composition Instance alt Automation Composition Instance configuration version update underway on participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: read result of Automation Composition updates from participants alt Updates completed on all participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: set configuration version of Automation Composition Instance as Instantiated on Participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: 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 CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: set configuration version Automation Composition Instance Instantiation as timed out on Participants CLAMP_Runtime -> CLAMP_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 |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime participant Participant database Instantiated_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read all Instantiated Automation Composition Instances CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read all Instantiated Automation Composition Instances CLAMP_Runtime -> CLAMP_GUI: [REST] All Instantiated Automation Composition Instances returned CLAMP_GUI -> CLAMP_GUI: Select Automation Composition Instance on which to change state and specify new state CLAMP_GUI -> CLAMP_Runtime: [REST] Change state of selected Automation Composition Instance on Participants alt Selected Automation Composition Instance instantiated on Participants CLAMP_Runtime -> Participants: [DMaaP] Request change of state of Automation Composition Instance CLAMP_Runtime -> CLAMP_GUI: [REST] Change of state of Automation Composition Instance ordered on participants else Selected Automation Composition Instance not instantiated on Participants CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Instance not instantiated on participants end == Participant Responses == Participants -> CLAMP_Runtime: [DMaaP] Result of State Change of Automation Composition Instance on participant CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Store result of State Change of Automation Composition Instance on participant == Supervision == loop forever CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Instances loop over each Automation Composition Instance alt Automation Composition Instance State Change underway on participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: read result of Automation Composition State Change from participants alt Updates completed on all participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: set Automation Composition Instance state as changed on Participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: set overall Automation Composition Instance state as changed else Updates not completed alt Automation Composition Instance State Change on participants timed out CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: set Automation Composition State Change as timed out on Participants CLAMP_Runtime -> CLAMP_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 CLAMP_GUI participant CLAMP_Runtime participant Participant database Instantiated_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read all Instantiated Automation Composition Instances CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read all Instantiated Automation Composition Instances CLAMP_Runtime -> CLAMP_GUI: [REST] All Instantiated Automation Composition Instances returned CLAMP_GUI -> CLAMP_GUI: Select Automation Composition Instance to de-instantiate CLAMP_GUI -> CLAMP_Runtime: [REST] De-instantiate selected Automation Composition Instance on Participants alt Selected Automation Composition Instance instantiated on Participants CLAMP_Runtime -> Participants: [DMaaP] Update Participants to remove Automation Composition Instance CLAMP_Runtime -> CLAMP_GUI: [REST] De-instantiation of Automation Composition Instance ordered on participants else Selected Automation Composition Instance not instantiated on Participants CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Instance not instantiated on participants end == Participant Responses == Participants -> CLAMP_Runtime: [DMaaP] Result of update of Automation Composition Instance on participant CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Store result of update of Automation Composition Instance on participant == Supervision == loop forever CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Instances loop over each Automation Composition Instance alt Automation Composition Instance de-instantiation update underway on participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: read result of Automation Composition updates from participants alt Updates completed on all participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: set Automation Composition Instance as de-instantiated on Participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: set overall Automation Composition Instance as de-instantiated else Updates not completed alt Automation Composition Instance de-instantiation Update timed out on participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: set Automation Composition Instance de-instantiation as timed out on Participants CLAMP_Runtime -> CLAMP_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 CLAMP_GUI participant CLAMP_Runtime database Instantiated_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read all Automation Composition Instances CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read all Automation Composition Instances CLAMP_Runtime -> CLAMP_GUI: [REST] All Automation Composition Instances returned CLAMP_GUI -> CLAMP_GUI: Select Automation Composition Instance to delete CLAMP_GUI -> CLAMP_Runtime: [REST] Delete selected Automation Composition Instance alt Selected Automation Composition Instance exists CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Delete Automation Composition instance CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Instance deleted else Selected Automation Composition Instance does not exist CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Instance does not exist end @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime database Instantiated_ACM_Inventory CLAMPDatabase CLAMP_GUI -> CLAMP_Runtime: [REST] Read all Automation Composition Instances CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read all Automation Composition Instances CLAMP_Runtime -> CLAMP_GUI: [REST] All Automation Composition Instances returned @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_Runtime participant Participant database Instantiated_ACM_Inventory ParticipantDatabase Participant -> CLAMP_Runtime: [DMaaP] Participant and Automation Composition Element Monitoring and Statistics report CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Store Participant and Automation Composition Element Monitoring and Statistics report alt Fault reported on Participant CLAMP_Runtime -> CLAMP_Runtime: log fault on Participant CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Record fault on Participant end loop Over all Automation Composition Elements in Participant Report alt Fault reported on Automation Composition Element CLAMP_Runtime -> CLAMP_Runtime: log fault on Automation Composition Element and Automation Composition CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Record fault on Automation Composition Element and Automation Composition end end @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime database Instantiated_ACM_Inventory Database == Overview of all Automation Composition Instances == CLAMP_GUI -> CLAMP_Runtime: [REST] Read all Automation Composition Instances CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read all Automation Composition Instances CLAMP_Runtime -> CLAMP_GUI: [REST] All Automation Composition Instances returned CLAMP_GUI -> CLAMP_GUI: Display overview of status of all Automation Composition Instances == Details of a Automation Composition Instance == CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Elements for Automation Composition Instance CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Elements for Automation Composition Instance CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Elements returned CLAMP_GUI -> CLAMP_GUI: Display status of Automation Composition Elements in Automation Composition Instance == Overview of all Participants == CLAMP_GUI -> CLAMP_Runtime: [REST] Read all participants CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read all participants CLAMP_Runtime -> CLAMP_GUI: [REST] All participants returned CLAMP_GUI -> CLAMP_GUI: Display overview of status of all participants == Details of a Participant == CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Elements for Participant CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Elements for Participant CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Elements returned CLAMP_GUI -> CLAMP_GUI: Display status of Automation Composition Elements in Participant == Filtered Monitoring == CLAMP_GUI -> CLAMP_GUI: Set filter for Automation Composition Instances, Automation Composition Elements, and Participants CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Elements that match filter CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Elements that match filter CLAMP_Runtime -> CLAMP_GUI: [REST] Automation Composition Elements that match filter returned CLAMP_GUI -> CLAMP_GUI: Display status of Automation Composition Elements that match filter @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_GUI participant CLAMP_Runtime database Instantiated_ACM_Inventory Database == Statistics of all Automation Composition Instances == CLAMP_GUI -> CLAMP_Runtime: [REST] Read summary statistics for all Automation Composition Instances CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Compile summary statistics for all Automation Composition Instances CLAMP_Runtime -> CLAMP_GUI: [REST] Summary statistics for all Automation Composition Instances returned CLAMP_GUI -> CLAMP_GUI: Display summary statistics for all Automation Composition Instances == Statistics of a Automation Composition Instance == CLAMP_GUI -> CLAMP_Runtime: [REST] Read statistics for Automation Composition Elements for Automation Composition Instance CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Compile statistics for Automation Composition Elements for Automation Composition Instance CLAMP_Runtime -> CLAMP_GUI: [REST] Statistics for Automation Composition Elements returned CLAMP_GUI -> CLAMP_GUI: Display statistics for Automation Composition Elements in Automation Composition Instance == Statistics of all Participants == CLAMP_GUI -> CLAMP_Runtime: [REST] Read summary statistics for all Automation Composition Instances CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Compile summary statistics for all Automation Composition Instances CLAMP_Runtime -> CLAMP_GUI: [REST] Summary statistics for all Automation Composition Instances returned CLAMP_GUI -> CLAMP_GUI: Display summary statistics for all Automation Composition Instances == Statistics of a Participant == CLAMP_GUI -> CLAMP_Runtime: [REST] Read statistics for Automation Composition Elements for Participant CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read statistics for Automation Composition Elements for Participant CLAMP_Runtime -> CLAMP_GUI: [REST] Statistics for Automation Composition Elements returned CLAMP_GUI -> CLAMP_GUI: Display statistics for Automation Composition Elements in Participant == Filtered Statistics == CLAMP_GUI -> CLAMP_GUI: Set filter for Automation Composition Instances, Automation Composition Elements, and Participants CLAMP_GUI -> CLAMP_Runtime: [REST] Read statistics for Automation Composition Elements that match filter CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read statistics for Automation Composition Elements that match filter CLAMP_Runtime -> CLAMP_GUI: [REST] Statistics for Automation Composition Elements that match filter returned CLAMP_GUI -> CLAMP_GUI: Display statistics for Automation Composition Elements that match filter @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_Runtime database Instantiated_ACM_Inventory Database == Automation Composition Instance Statistics == loop forever CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Instance Statistics CLAMP_Runtime -> CLAMP_Runtime: Summarise Automation Composition Instance Statistics CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Store summarised Automation Composition Instance Statistics CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Delete Automation Composition Instance Statistics on which retention period has expired end == Participant Statistics == loop forever CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Participant Statistics CLAMP_Runtime -> CLAMP_Runtime: Summarise Participant Statistics CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Store summarised Participant Statistics CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Delete Participant Statistics on which retention period has expired end @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_Runtime database Instantiated_ACM_Inventory loopDatabase loop forever CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Participants loop Over each Participant alt Participant has not reported in last reporting window CLAMP_Runtime -> CLAMP_Runtime: Log Participant as having missed a report CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Increment missed report counter on Participant alt Participant has exceeded alarm threshold on missed report counter CLAMP_Runtime -> CLAMP_Runtime: Raise a Participant Offline alarm on participant CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Mark participant as being offline end else Participant has reported in last reporting window CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Clear missed report counter on Participant alt Participant marked as being offline CLAMP_Runtime -> CLAMP_Runtime: Clear Participant Offline alarm on participant CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Mark participant as being online end end end end @enduml |
...
PlantUML Macro |
---|
@startuml participant CLAMP_Runtime database Instantiated_ACM_Inventory loopDatabase loop forever CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Read Automation Composition Instances loop Over each Automation Composition Instance loop Over each Automation Composition Element alt Automation Composition Element has not reported in last reporting window CLAMP_Runtime -> CLAMP_Runtime: Log Automation Composition Element as having missed a report CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Increment missed report counter on Automation Composition Element else Automation Composition Element has reported in last reporting window CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Clear missed report counter on Automation Composition Element end alt Automation Composition Element in incorrect state in last reporting window CLAMP_Runtime -> CLAMP_Runtime: Log Automation Composition Element as being in incorrect state CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Record Automation Composition Element as being in incorrect state else Automation Composition Element not in incorrect state in last reporting window alt Automation Composition Element was in incorrect state on previous report CLAMP_Runtime -> CLAMP_Runtime: Log Automation Composition Element as being in correct state CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Record Automation Composition Element as being in correct state end end alt Automation Composition Element reported fault in last reporting window CLAMP_Runtime -> CLAMP_Runtime: Log Automation Composition Element as being faulty CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Record Automation Composition Element as being faulty else Automation Composition Element did not report fault in last reporting window alt Automation Composition Element reported fault on previous report CLAMP_Runtime -> CLAMP_Runtime: Log Automation Composition Element fault as cleared CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Mark fault Automation Composition Element as being cleared end end end alt Automation Composition Element in Automation Composition Instance has exceeded alarm threshold on missed report counter CLAMP_Runtime -> CLAMP_Runtime: Raise a Automation Composition Offline alarm on Automation Composition Instance CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Mark Automation Composition Instance as being offline else No Automation Composition Element in Automation Composition Instance has exceeded alarm threshold on missed report counter alt Automation Composition Instance marked as being offline CLAMP_Runtime -> CLAMP_Runtime: Clear Automation Composition Instance Offline alarm on Automation Composition CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Mark Automation Composition Instance as being online end end alt Automation Composition Element in Automation Composition Instance in incorrect state in last reporting window CLAMP_Runtime -> CLAMP_Runtime: Log Automation Composition Instance as being in incorrect state CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Record Automation Composition Instance as being in incorrect state alt Automation Composition Element in Automation Composition Instance has exceeded alarm threshold on incorrect state reports CLAMP_Runtime -> CLAMP_Runtime: Raise a Automation Composition Instance in Incorrect State alarm on Automation Composition Instance CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Mark Automation Composition Instance as being in an incorrect state end else No Automation Composition Element in incorrect state in last reporting window alt Automation Composition Element in Automation Composition Instance was in incorrect state on previous report CLAMP_Runtime -> CLAMP_Runtime: Log Automation Composition Instance as being in correct state CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Record Automation Composition Instance as being in correct state alt Automation Composition Instance in Incorrect State alarm raised on Automation Composition Instance CLAMP_Runtime -> CLAMP_Runtime: Clear Automation Composition Instance in Incorrect State alarm on Automation Composition Instance end end end alt Automation Composition Element in Automation Composition Instance reported a fault in last reporting window CLAMP_Runtime -> CLAMP_Runtime: Log Automation Composition Instance as being faulty CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Record Automation Composition Instance as being faulty alt Automation Composition Element in Automation Composition Instance has exceeded alarm threshold on faulty reports CLAMP_Runtime -> CLAMP_Runtime: Raise a Automation Composition Instance Faulty alarm on Automation Composition Instance end else No Automation Composition Element faulty in last reporting window alt Automation Composition Element in Automation Composition Instance was faulty on previous report CLAMP_Runtime -> CLAMP_Runtime: Log Automation Composition Instance as being fault free CLAMP_Runtime -> Instantiated_ACM_InventoryDatabase: Record Automation Composition Instance as being fault free alt Automation Composition Instance Faulty alarm raised on Automation Composition Instance CLAMP_Runtime -> CLAMP_Runtime: Clear Automation Composition Instance Faulty alarm on Automation Composition Instance end end end end end @enduml |
...