...
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 in state UNDEPLOYED ACM_Runtime -> REST: Automation Composition instance exists and is already deployed else note right of REST Updates on "Not In Service" Automation Composition Instances are allowed end note end end alt Specified Automation Type Composition Exists alt Specified Automation Composition Type is in state PRIMED ACM_Runtime -> ACM_Database: Store Automation Composition Instance ACM_Runtime -> ACM_Database: Set Automation Composition Instance State to DEPLOYINGUNDEPLOYED ACM_Runtime -> REST: Automation Composition Instance Created else ACM_Runtime -> REST: Automation Composition Type is not in state PRIMED end else ACM_Runtime -> 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 deployed not in state UNDEPLOYED ACM_Runtime -> REST: Automation Composition instance exists and is deployed else ACM_Runtime -> REST: Automation Composition instance does not exist end else ACM_Runtime -> ACM_Database: Delete Automation Composition Instance ACM_Runtime -> REST: Automation Composition Instance Deleted end @enduml |
...
PlantUML Macro |
---|
@startuml participant REST participant ACM_Runtime participant Participants database ACM_Database REST -> ACM_Runtime: Deploy Automation Composition Instance ACM_Runtime -> ACM_Database: Read Automation Composition Instance Information alt Automation Composition Instance exists alt Automation Composition Instance is deployed ACM_Runtime -> REST: Automation Composition instance is already deployed else ACM_Runtime -> Participants: [ASYNC] Deploy AC Element Instances for this AC Instance ACM_Runtime -> ACM_Database: MarkSet AC Instance and its AC Element Instances to asstate DeployingDEPLOYING ACM_Runtime -> REST: Deployment of Automation Composition Instance has been requested end else ACM_Runtime -> REST: Automation Composition instance does not exist end @enduml |
...
PlantUML Macro |
---|
@startuml participant ACM_Runtime participant Participant database ACM_Database ACM_Runtime <- Participant: [ASYNC] Deploy Automation Composition Element Instance Response ACM_Runtime -> ACM_Database: Store Automation Composition Element Instance Response Information alt Is AC Element Instance Deployed? ACM_Runtime -> ACM_Database: Set AC Element Instance administrative state as LOCKED alt HaveAre all the other AC Element Instances in this AC Instance in beenstate deployedDEPLOYED? ACM_Runtime -> ACM_Runtime: Set AC Instance state as DEPLOYED ACM_Runtime -> ACM_Runtime: Set AC Instance administrative state as LOCKED end end @enduml |
3.4 Undeploy Automation Composition Instance
...