Versions Compared

Key

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

...

PlantUML Macro
@startuml
participant CLAMP_GUI
participant CLAMP_ACM_Runtime
participant Participant
database ACM_Database

CLAMP_GUI -> CLAMP_Runtime: [REST] Read Automation Composition Type Definitions
CLAMP_Runtime ACM_Runtime -> ACM_Database: Read all Automation Composition Type Definitions
CLAMP_Runtime -> CLAMP_GUI: [REST] Type Definitions returned
CLAMP_GUI -> CLAMP_GUI: Selectloop over all Automation Composition Type Definition for Priming on Participants
CLAMP_GUI -> CLAMP_Runtime: [REST] PrimeDefinitions
 loop over all Participant Automation Composition Type Definition on Participants
Definitions
alt Automation Composition Type Definition not Primed on Participants
  CLAMPACM_Runtime -> ACM_Database: Read Automation Composition Type Definition
  CLAMPACM_Runtime -> ACM_Database: Read Common Parameter Values for Automation Composition Type Definition
  alt Common Parameter values set for Automation Composition Type Definition
    CLAMPACM_Runtime -> Participants: [DMaaP] Update Participants with Automation Composition Type Definition and values for Common Parameters
    CLAMPACM_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Type Definition priming ordered on participants
  else Automation Composition Type Definition already primed on Participants
    CLAMPACM_Runtime -> CLAMP_GUIREST: [REST] Common Parameters not set\non Automation Composition Type Definition
  end
else Automation Composition Type Definition already primed on Participants
  CLAMPACM_Runtime -> CLAMP_GUIREST: [REST] Cannot set Common Parameters on\nAutomation Composition Type Definition that has\nbeen primed on participants
end

== Participant Responses ==
Participants -> CLAMPACM_Runtime: [DMaaP] Result of Update with Automation Composition Type Definition and values for Common Parameters
CLAMPACM_Runtime -> ACM_Database: Store result of Automation Composition Type Definition Update on Participant

== Supervision ==
loop forever
  CLAMPACM_Runtime -> ACM_Database: Read Automation Composition Type Definitions
  loop over each Automation Composition Type Definition
    alt Automation Composition Type Definition Participant priming underway
	  CLAMPACM_Runtime -> ACM_Database: read result of Automation Composition Type Definition Updates from participants
      alt Updates completed on all participants
	    CLAMPACM_Runtime -> ACM_Database: set Automation Composition Type Definition as primed on Participants
      else Updates not completed
        alt Priming of Automation Composition Type Definition on participants timed out
	      CLAMPACM_Runtime -> ACM_Database: set Automation Composition Type Definition priming as timed out on Participants
	      CLAMPACM_Runtime -> CLAMPACM_Runtime: Log error
        else Wait for updates to complete
        end
      end 
    else Automation Composition Type Definition Participant priming not underway
    end
  end
end
@enduml

...