Versions Compared

Key

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

...

The CLAMP Control Loop Participant Protocol uses the following messages. The descriptions below give an overview of each message. For the precise definition of the messages, see the CLAMP code at: https://github.com/onap/policy-clamp/tree/master/models/src/main/java/org/onap/policy/clamp/controlloop/models/messages/dmaap/participant. All messages are carried on DMaaP.

MessageSourceTargetPurposeImportant FieldsField Descriptions
ParticipantRegisterParticipantCLAMP RuntimeParticipant registers with the CLAMP runtimeParticipantIdThe ID of this participant




ParticipantTypeThe type of the participant, maps to the capabilities of the participant in Control Loop Type Definitions

ParticipantRegisterAck

CLAMP RuntimeParticipantAcknowledgement of Participant Registration

ParticipantIdThe ID of this participant
ParticipantTypeThe type of the participant, maps to the capabilities of the participant in Control Loop Type Definitions
ResultSuccess/Fail
MessageMessage indicating reason for failure

ParticipantUpdateCLAMP RuntimeParticipantCLAMP Runtime sends Control Loop Element Definitions and Common Parameter Values to ParticipantParticipantUpdateMap

Map with Participant ID as its key, each value on the map is a ControlLoopElementDefintionList


ControlLoopElementDefintionListList of ControlLoopElementDefinition values for a particular participant
ControlLoopElementDefinitionA ControlLoopElementToscaServiceTemplate containing the definition of the Control Loop Element and a CommonPropertiesMap with the values of the common property values for the Control Loop Element
ControlLoopElementToscaServiceTemplateThe definition of the Control Loop Element in TOSCA
CommonPropertiesMap

...

A <String, String> map indexed by the property name. Each map entry is the serialized value of the property, which can be deserialized into an instance of the type of the property.

ParticipantUpdateAckParticipantCLAMP RuntimeAcknowledgement of Participant RegistrationParticipant IdThe ID of this participant




Participant TypeThe type of the participant, maps to the capabilities of the participant in Control Loop Type Definitions




ResultSuccess/Fail




MessageMessage indicating reason for failure


Participant Update

Participant Update Ack

...