...
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 DefintionsTypes alt This Automation Composition Type has the Participant Type of this Participant ACM_Runtime -> ACM_Runtime: Trigger Priming of this Automation Composition Type end end @enduml |
2.2 Participant Deregistration
Participant Registration is performed by a Participant when it shuts down. It deregisters its ID and type with the ACM runtime. The ACM runtime reprimes any Automation Composition Types that use the participant type of the removed participant because the participants available to the Automation Composition Type have changed. It also triggers supervision of any AC instances using this particular participant so that the instance can be moved to another participant or can be marked as errored.
PlantUML Macro |
---|
@startuml participant Participant participant ACM_Runtime database ACM_Database Participant -> ACM_Runtime: Deregister ACM_Runtime -> ACM_Database: Delete Participant Registration Participant <- ACM_Runtime: Deregistration Accepted loop over all Automation Composition Type Definitions 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 loop over all Automation Composition Instances alt This Automation Composition Instance uses this Participant ACM_Runtime -> ACM_Runtime: Trigger supervision of this Automation Composition Instance end end @enduml |
2 Dialogues on Automation Composition Type Definitions
...