...
Code Block | ||
---|---|---|
| ||
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:
Property | Type | Description |
---|---|---|
infoTypeEntityId | ToscaConceptIdentifier | The name and version of the information type that needs to be managed by the DME participant |
infoTypeId | String | Id of information type |
payload | String | The payload of the information type entity. This will be used as payload to call DME API. |
Data Producer Entities:
Property | Type | Description |
---|---|---|
dataProducerEntityId | ToscaConceptIdentifier | The name and version of the data producer that needs to be managed by the DME participant |
dataProducerId | String | Id of the data producer |
payload | String | The payload of the data producer entity. This will be used as payload to call DME API. |
Data Consumer Entities:
Property | Type | Description |
---|---|---|
dataConsumerEntityId | ToscaConceptIdentifier | The name and version of the data consumer that needs to be managed by the DME participant |
dataConsumerId | String | Id of the data consumer |
payload | String | The 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 automation-composition-dme.yml.