Versions Compared

Key

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

...

PlantUML Macro
@startuml
participant CLAMP_GUIREST
participant CLAMP_Runtime
database ACM_Database
CLAMP_GUI
REST -> CLAMP_Runtime: [REST] Read Automation Composition Type Definitions
CLAMP_Runtime -> ACM_Database: Read Automation Composition Type Definitions
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Type Definitions returned
CLAMP_GUIREST -> CLAMP_GUIREST: Select Automation Composition Type Definition to use to create Automation Composition Instance
CLAMP_GUIREST -> CLAMP_Runtime: [REST] Fetch GUI fields for Instance Specific Parameter Definitions
CLAMP_Runtime -> ACM_Database: Read Automation Composition Type Definition
CLAMP_Runtime -> CLAMP_Runtime: Generate fields for Instance Specific Parameters for GUI
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Return GUI fields Instance Specific Parameter Definitions
CLAMP_GUIREST -> CLAMP_GUIREST: Render UI for Instance Specific Parameters
CLAMP_GUI REST -> CLAMP_GUIREST: Get values for Instance Specific Parameters from user
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Request Creation of Automation Composition Instance
CLAMP_Runtime -> CLAMP_Runtime: Create Automation Composition Instance
CLAMP_Runtime -> ACM_Database: Store First Version of Automation Composition Instance
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Instance Updated

@enduml

...

PlantUML Macro
@startuml
participant REST CLAMP_GUI
participant CLAMP_Runtime
database ACM_Database
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read Automation Composition Instances
CLAMP_Runtime -> ACM_Database: Read Automation Composition Instances
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Instances returned
CLAMP_GUI REST -> CLAMP_GUIREST: Select Automation Composition Instance on which to Update Parameters
CLAMP_GUI REST -> CLAMP_GUIREST: Step version of Automation Composition Instance as Major/Minor/Patch
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Fetch GUI fields for Instance Specific Parameter Definitions
CLAMP_Runtime -> ACM_Database: Read Automation Composition Type Definition
CLAMP_Runtime -> CLAMP_Runtime: Generate fields for Instance Specific Parameters for GUI
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Return GUI fields Instance Specific Parameter Definitions
CLAMP_GUI REST -> CLAMP_GUIREST: Render UI for Instance Specific Parameters
CLAMP_GUI REST -> CLAMP_GUIREST: Get values for Instance Specific Parameters from user
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Request Update of Automation Composition Instance
CLAMP_Runtime -> CLAMP_Runtime: Update Automation Composition Instance
CLAMP_Runtime -> ACM_Database: Store New Version of Automation Composition Instance
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Instance Updated

@enduml

...

PlantUML Macro
@startuml
participant REST CLAMP_GUI
participant CLAMP_Runtime
participant Participant
database ACM_Database

CLAMP_GUI  REST -> CLAMP_Runtime: [REST] Read all configuration versions of Automation Composition Instance
CLAMP_Runtime -> ACM_Database: Read all configuration versions of Automation Composition Instance
CLAMP_Runtime -> CLAMP_GUIREST: [REST] All configuration versions of Automation Composition Instance returned
CLAMP_GUI REST -> CLAMP_GUIREST: Select configuration version of Automation Composition Instance for Instantiation Participants
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Instantiate selected configuration version of Automation Composition Instance on Participants

alt Selected configuration version of Automation Composition Instance not instantiated on Participants
  CLAMP_Runtime -> ACM_Database: Read configuration version of Automation Composition Instance
  CLAMP_Runtime -> Participants: [DMaaP] Update Participants with configuration version of Automation Composition Instance
  CLAMP_Runtime -> CLAMP_GUIREST: [REST] Instantiation of configuration version of Automation Composition Instance ordered on participants
else Selected configuration version of Automation Composition Instance instantiated on Participants
  CLAMP_Runtime -> CLAMP_GUIREST: [REST] configuration version of Automation Composition Instance already instantiated on participants 
end

== Participant Responses ==
Participants -> CLAMP_Runtime: [DMaaP] Result of update of configuration version of Automation Composition Instance on participant
CLAMP_Runtime -> ACM_Database: Store result of update of configuration version of Automation Composition Instance on participant

== Supervision ==
loop forever
  CLAMP_Runtime -> ACM_Database: Read Automation Composition Instances
  loop over each Automation Composition Instance
    alt Automation Composition Instance configuration version update underway on participants
	  CLAMP_Runtime -> ACM_Database: read result of Automation Composition updates from participants
      alt Updates completed on all participants
	    CLAMP_Runtime -> ACM_Database: set configuration version of Automation Composition Instance as Instantiated on Participants
	    CLAMP_Runtime -> ACM_Database: set overall configuration version of Automation Composition Instance state as Instantiated
      else Updates not completed
        alt Instantiation of Automation Composition Instance on participants timed out
	      CLAMP_Runtime -> ACM_Database: set configuration version Automation Composition Instance Instantiation as timed out on Participants
	      CLAMP_Runtime -> CLAMP_Runtime: Log error
        else Wait for updates to complete
        end
      end 
    else Automation Composition Instance configuration version update on participants not underway
    end
  end
end
@enduml

...

PlantUML Macro
@startuml
participant REST CLAMP_GUI
participant CLAMP_Runtime
participant Participant
database ACM_Database

CLAMP_GUI  REST -> CLAMP_Runtime: [REST] Read all Instantiated Automation Composition Instances
CLAMP_Runtime -> ACM_Database: Read all Instantiated Automation Composition Instances
CLAMP_Runtime -> CLAMP_GUIREST: [REST] All Instantiated Automation Composition Instances returned
CLAMP_GUI REST -> CLAMP_GUIREST: Select Automation Composition Instance on which to change state and specify new state
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Change state of selected Automation Composition Instance on Participants

alt Selected Automation Composition Instance instantiated on Participants
  CLAMP_Runtime -> Participants: [DMaaP] Request change of state of Automation Composition Instance
  CLAMP_Runtime -> CLAMP_GUIREST: [REST] Change of state of Automation Composition Instance ordered on participants
else Selected Automation Composition Instance not instantiated on Participants
  CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Instance not instantiated on participants 
end

== Participant Responses ==
Participants -> CLAMP_Runtime: [DMaaP] Result of State Change of Automation Composition Instance on participant
CLAMP_Runtime -> ACM_Database: Store result of State Change of Automation Composition Instance on participant

== Supervision ==
loop forever
  CLAMP_Runtime -> ACM_Database: Read Automation Composition Instances
  loop over each Automation Composition Instance
    alt Automation Composition Instance State Change underway on participants
	  CLAMP_Runtime -> ACM_Database: read result of Automation Composition State Change from participants
      alt Updates completed on all participants
	    CLAMP_Runtime -> ACM_Database: set Automation Composition Instance state as changed on Participants
	    CLAMP_Runtime -> ACM_Database: set overall Automation Composition Instance state as changed
      else Updates not completed
        alt Automation Composition Instance State Change on participants timed out
	      CLAMP_Runtime -> ACM_Database: set Automation Composition State Change as timed out on Participants
	      CLAMP_Runtime -> CLAMP_Runtime: Log error
        else Wait for updates to complete
        end
      end 
    else Automation Composition Instance State Change on participants not underway
    end
  end
end
@enduml

...

PlantUML Macro
@startuml
participant REST CLAMP_GUI
participant CLAMP_Runtime
participant Participant
database ACM_Database

CLAMP_GUI  REST -> CLAMP_Runtime: [REST] Read all Instantiated Automation Composition Instances
CLAMP_Runtime -> ACM_Database: Read all Instantiated Automation Composition Instances
CLAMP_Runtime -> CLAMP_GUIREST: [REST] All Instantiated Automation Composition Instances returned
CLAMP_GUI REST -> CLAMP_GUIREST: Select Automation Composition Instance to de-instantiate
CLAMP_GUI REST -> CLAMP_Runtime: [REST] De-instantiate selected Automation Composition Instance on Participants

alt Selected Automation Composition Instance instantiated on Participants
  CLAMP_Runtime -> Participants: [DMaaP] Update Participants to remove Automation Composition Instance
  CLAMP_Runtime -> CLAMP_GUIREST: [REST] De-instantiation of Automation Composition Instance ordered on participants
else Selected Automation Composition Instance not instantiated on Participants
  CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Instance not instantiated on participants 
end

== Participant Responses ==
Participants -> CLAMP_Runtime: [DMaaP] Result of update of Automation Composition Instance on participant
CLAMP_Runtime -> ACM_Database: Store result of update of Automation Composition Instance on participant

== Supervision ==
loop forever
  CLAMP_Runtime -> ACM_Database: Read Automation Composition Instances
  loop over each Automation Composition Instance
    alt Automation Composition Instance de-instantiation update underway on participants
	  CLAMP_Runtime -> ACM_Database: read result of Automation Composition updates from participants
      alt Updates completed on all participants
	    CLAMP_Runtime -> ACM_Database: set Automation Composition Instance as de-instantiated on Participants
	    CLAMP_Runtime -> ACM_Database: set overall Automation Composition Instance as de-instantiated
      else Updates not completed
        alt Automation Composition Instance de-instantiation Update timed out on participants
	      CLAMP_Runtime -> ACM_Database: set Automation Composition Instance de-instantiation as timed out on Participants
	      CLAMP_Runtime -> CLAMP_Runtime: Log error
        else Wait for updates to complete
        end
      end 
    else Automation Composition Instance de-instantiation update on participants not underway
    end
  end
@enduml

...

PlantUML Macro
@startuml
participant CLAMP_GUI
REST participant CLAMP_Runtime

database ACM_Database

CLAMP_GUI  REST -> CLAMP_Runtime: [REST] Read all Automation Composition Instances
CLAMP_Runtime -> ACM_Database: Read all Automation Composition Instances
CLAMP_Runtime -> CLAMP_GUIREST: [REST] All Automation Composition Instances returned
CLAMP_GUI REST -> CLAMP_GUIREST: Select Automation Composition Instance to delete
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Delete selected Automation Composition Instance

alt Selected Automation Composition Instance exists
  CLAMP_Runtime -> ACM_Database: Delete Automation Composition instance
  CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Instance deleted
else Selected Automation Composition Instance does not exist
  CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Instance does not exist 
end

@enduml

...

PlantUML Macro
@startuml
participant REST CLAMP_GUI
participant CLAMP_Runtime
database ACM_Database

CLAMP_GUI  REST -> CLAMP_Runtime: [REST] Read all Automation Composition Instances
CLAMP_Runtime -> ACM_Database: Read all Automation Composition Instances
CLAMP_Runtime -> CLAMP_GUIREST: [REST] All Automation Composition Instances returned

@enduml

...

PlantUML Macro
@startuml
participant CLAMP_GUI
REST participant CLAMP_Runtime
database ACM_Database

== Overview of all Automation Composition Instances ==
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read all Automation Composition Instances
CLAMP_Runtime -> ACM_Database: Read all Automation Composition Instances
CLAMP_Runtime -> CLAMP_GUIREST: [REST] All Automation Composition Instances returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display overview of status of all Automation Composition Instances

== Details of a Automation Composition Instance ==
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read Automation Composition Elements for Automation Composition Instance
CLAMP_Runtime -> ACM_Database: Read Automation Composition Elements for Automation Composition Instance
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Elements returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display status of Automation Composition Elements in Automation Composition Instance

== Overview of all Participants ==
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read all participants
CLAMP_Runtime -> ACM_Database: Read all participants
CLAMP_Runtime -> CLAMP_GUIREST: [REST] All participants returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display overview of status of all participants

== Details of a Participant ==
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read Automation Composition Elements for Participant
CLAMP_Runtime -> ACM_Database: Read Automation Composition Elements for Participant
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Elements returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display status of Automation Composition Elements in Participant

== Filtered Monitoring ==
CLAMP_GUI REST -> CLAMP_GUIREST: Set filter for Automation Composition Instances, Automation Composition Elements, and Participants
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read Automation Composition Elements that match filter
CLAMP_Runtime -> ACM_Database: Read Automation Composition Elements that match filter
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Automation Composition Elements that match filter returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display status of Automation Composition Elements that match filter

@enduml

...

PlantUML Macro
@startuml
participant CLAMP_GUI
REST participant CLAMP_Runtime
database ACM_Database

== Statistics of all Automation Composition Instances ==
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read summary statistics for all Automation Composition Instances
CLAMP_Runtime -> ACM_Database: Compile summary statistics for all Automation Composition Instances
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Summary statistics for all Automation Composition Instances returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display summary statistics for all Automation Composition Instances

== Statistics of a Automation Composition Instance ==
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read statistics for Automation Composition Elements for Automation Composition Instance
CLAMP_Runtime -> ACM_Database: Compile statistics for Automation Composition Elements for Automation Composition Instance
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Statistics for Automation Composition Elements returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display statistics for Automation Composition Elements in Automation Composition Instance

== Statistics of all Participants ==
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read summary statistics for all Automation Composition Instances
CLAMP_Runtime -> ACM_Database: Compile summary statistics for all Automation Composition Instances
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Summary statistics for all Automation Composition Instances returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display summary statistics for all Automation Composition Instances

== Statistics of a Participant ==
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read statistics for Automation Composition Elements for Participant
CLAMP_Runtime -> ACM_Database: Read statistics for Automation Composition Elements for Participant
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Statistics for Automation Composition Elements returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display statistics for Automation Composition Elements in Participant

== Filtered Statistics ==
CLAMP_GUI REST -> CLAMP_GUIREST: Set filter for Automation Composition Instances, Automation Composition Elements, and Participants
CLAMP_GUI REST -> CLAMP_Runtime: [REST] Read statistics for Automation Composition Elements that match filter
CLAMP_Runtime -> ACM_Database: Read statistics for Automation Composition Elements that match filter
CLAMP_Runtime -> CLAMP_GUIREST: [REST] Statistics for Automation Composition Elements that match filter returned
CLAMP_GUI REST -> CLAMP_GUIREST: Display statistics for Automation Composition Elements that match filter

@enduml

...