...
3.2.2: Instantiation Sequence Diagrams
PlantUML Macro | ||
---|---|---|
| ||
@startuml
actor CLAMP
control CL_Instance_Control
participant DmaaP
collections Participants
CLAMP -> CL_Instance_Control : Instantiate CL
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 -> 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 |
3.2.3: Instantiation DMaaP API
...