Versions Compared

Key

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

A Participant is a component that acts as a bridge between the Automation Composition Management runtime and components such as the Kserve, A1PMS, DME, or a Kubernetes cluster that are taking part in automation composition management. It listens to DMaaP to receive messages from the ACM runtime and performs operations towards components that are taking part in acms. A participant has an Automation Composition Management Element for each automation composition in which it is taking part.

More information about ACM can be found here.

The DME participant receives Information Type/Data Producer/Data Consumer information from the ACM runtime and creates it in ICS(NONRTRIC). The participant acts as a wrapper around the ICS and creates the entities.

Supported message Broker are DMaap and Strimzi-Kafka.

Architecture



When an automation composition is initialized, the DME participant starts a DME Automation Composition element for the automation composition. It reads the configuration information sent from the Automation Composition Runtime and runs a REST client to talk to the ICS(DME) endpoint receiving the REST requests.


Prerequisites for using A1PMS participant

  • A running ICS(DME). ICS(DME) base url should be configured in DME participant to make REST calls.

Supported Element Types

Supported Element Types for DME participant will be used to define the DME participant Element Definition Types in tosca template. Participant Supported Element Types is defined in DME participant application.yaml.

...

Code Block
languageyml
participantSupportedElementTypes:
  -
    typeName: org.onap.policy.clamp.acm.DMEAutomationCompositionElement
    typeVersion: 1.0.1


Defining a TOSCA CL definition for DME participant

A Info Type Entity/ Data Producer Entity/Data Consumer Entity describes a information type entities that is managed by the DME participant. A Info Type Entity/Data Producer Entity/Data Consumer Entity can be created, Read and Deleted. The user defines the entities that it wants its DME Automation Composition Element to manage and provides the parameters to manage each Information Type/Data Producer/Data Consumer.

Sample tosca template defining a participant and a AC element definition tosca-dme-participant.yml.


Configuring a Automation Composition Element on the A1PMS participant for a Automation Composition

The user defines the following properties in the TOSCA template for the DME participant


Information Type Entities:

PropertyTypeDescription
infoTypeEntityIdToscaConceptIdentifierThe name and version of the information type that needs to be managed by the DME participant
infoTypeIdStringId of information type
payloadStringThe payload of the information type entity. This will be used as  payload to call DME API.


Data Producer Entities:

PropertyTypeDescription
dataProducerEntityIdToscaConceptIdentifierThe name and version of the data producer that needs to be managed by the DME participant
dataProducerIdStringId of the data producer
payloadStringThe payload of the data producer entity. This will be used as  payload to call DME API.


Data Consumer Entities:

PropertyTypeDescription
dataConsumerEntityIdToscaConceptIdentifierThe name and version of the data consumer that needs to be managed by the DME participant
dataConsumerIdStringId of the data consumer
payloadStringThe payload of the data consumer entity. This will be used as  payload to call DME API.


Sample Automation Composition instances. In that example the user fills the properties defined in the TOSCA for the DME participant

DME participant Interactions


DME participant Workflow