Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PlantUML Macro
titleInstantiation
@startuml

actor CLAMP
control CL_Instance_Control
database Runtime_DB
participant DmaaP
collections Participants

CLAMP -> CL_Instance_Control : Instantiate CL
CL_Instance_Control -> Runtime_DB : Fetch the Deployed Control Loop
Runtime_DB -> CL_Instance_Control : Return the requestrequested Deployed Control Loop data
CL_Instance_Control -> DmaaP : INSTANTIATE Event (JSON/Yaml)
note over CL_Instance_Control, DmaaP : List of Participant ID's containing Participant Metadata Blocks
Participants -> DmaaP : Pulls its part of CL and tries to Instantiate

alt successful case

Participants -> CL_Instance_Control : INSTANTIATE ACK (JSON/Yaml)
note over DmaaP : One per Participant
CL_Instance_Control -> Runtime_DB : Update the Instantiation table with id's
CL_Instance_Control -> CLAMP : Instantiation Successful

else failure case

... timeout INSTANTIATE ACK not received ...
CL_Instance_Control -> DmaaP : TEARDOWN Event (JSON/Yaml)
Participants -> DmaaP : Pulls its part of CL and starts Teardown
Participants -> CL_Instance_Control : TEARDOWN ACK (JSON/Yaml)
note over DmaaP : One per Participant
CL_Instance_Control -> CLAMP : Instantiation Failed

end
@enduml

...