Versions Compared

Key

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

...

PlantUML Macro
titleInstantiation
@startuml

actor CLAMP
control CL_Instance_Control
participant DmaaP
collections ParticipantsDatabase
note over Database: It can be DesiginTime Or RuntTime Catalogue Database


CLAMP -> CL_Instance_Control: Rest :API Instantiate CLRequest (JSON/Yaml)
CL_Instance_Control -> DmaaP : INSTANTIATE Event (JSON/Yaml)Database: Get, Delete Or Create ControlLoops
note over CL_Instance_Control, DmaaP Database: ListPull, ofDelete Participantexisting ID'sOr containingCreate Participant Metadata Blocks
Participants -> DmaaP : Pulls its part of CL and tries to InstantiateNew ControlLoops in Database

alt successful case

    ParticipantsDatabase -> CL_Instance_Control : INSTANTIATEReturn ACK (JSON/Yaml)
    note over DmaaP : One per ParticipantList of ControlLoops, able to Delete, Create ControlLoop in Database
    CL_Instance_Control -> CLAMP : InstantiationReturn SuccessfulSuccess

else failure case

    ... timeout INSTANTIATE ACK not received ...
    CL_Instance_Control -> DmaaP : TEARDOWN Event (JSON/Yaml) failure case

    ParticipantsCL_Instance_Control <-> DmaaPDatabase: :Return Pullseither itsEmpty partList offor CLGet andControlLoops startsOr Teardown
Failure Status for Delete, ParticipantsCreate -> CL_Instance_Control : TEARDOWN ACK (JSON/Yaml)
    note over DmaaP : One per ParticipantRequest
    note over Database: No ControlLoops exist Or Failed in Deleting, Creating ControlLoops
    CL_Instance_Control -> CLAMP : InstantiationReturn FailedFailure

end
@enduml


3.2.3: Instantiation DMaaP API

...