1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2023 Nordix Foundation.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
18 tosca_definitions_version: tosca_simple_yaml_1_3
20 onap.datatypes.ToscaConceptIdentifier:
21 derived_from: tosca.datatypes.Root
29 org.onap.datatypes.policy.clamp.acm.DMEAutomationCompositionElement.InfoTypeEntity:
31 derived_from: tosca.datatypes.Root
34 type: onap.datatypes.ToscaConceptIdentifier
36 description: The name and version of a Configuration Entity to be handled by
37 the DME Automation Composition Element
41 description: Id of the info type
45 description: Json payload of info type
46 org.onap.datatypes.policy.clamp.acm.DMEAutomationCompositionElement.DataProducerEntity:
48 derived_from: tosca.datatypes.Root
51 type: onap.datatypes.ToscaConceptIdentifier
53 description: The name and version of a Configuration Entity to be handled by
54 the DME Automation Composition Element
58 description: Id of the info type
62 description: Json payload of info type
63 org.onap.datatypes.policy.clamp.acm.DMEAutomationCompositionElement.DataConsumerEntity:
65 derived_from: tosca.datatypes.Root
68 type: onap.datatypes.ToscaConceptIdentifier
70 description: The name and version of a Configuration Entity to be handled by
71 the DME Automation Composition Element
75 description: Id of the info type
79 description: Json payload of info type
82 org.onap.policy.clamp.acm.Participant:
84 derived_from: tosca.nodetypes.Root
89 org.onap.policy.clamp.acm.AutomationCompositionElement:
91 derived_from: tosca.nodetypes.Root
100 - greater-or-equal: 0
103 description: A value indicating the start phase in which this automation composition element will be started, the
104 first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped
105 in reverse start phase order. Automation Composition Elements with the same start phase are started and
106 stopped simultaneously
107 org.onap.policy.clamp.acm.AutomationComposition:
109 derived_from: tosca.nodetypes.Root
118 type: onap.datatypes.ToscaConceptIdentifier
119 org.onap.policy.clamp.acm.DMEAutomationCompositionElement:
121 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
127 type: org.onap.datatypes.policy.clamp.acm.DMEAutomationCompositionElement.InfoTypeEntity
129 description: The configuration entities of DME
130 dataProducerEntities:
134 type: org.onap.datatypes.policy.clamp.acm.DMEAutomationCompositionElement.DataProducerEntity
136 description: The configuration entities of DME
137 dataConsumerEntities:
141 type: org.onap.datatypes.policy.clamp.acm.DMEAutomationCompositionElement.DataConsumerEntity
143 description: The configuration entities of DME
146 org.onap.policy.clamp.acm.DMEAutomationCompositionParticipant:
148 type: org.onap.policy.clamp.acm.Participant
150 description: Participant for DME
154 onap.policy.clamp.ac.element.DMEAutomationCompositionElement:
156 type: org.onap.policy.clamp.acm.DMEAutomationCompositionElement
158 description: Automation composition element for the DME Requests
162 name: org.onap.policy.clamp.acm.DMEParticipant
168 infoTypeId: json-file-data-from-filestore
169 payload: '{"info_job_data_schema": {"schema": "http://json-schema.org/draft-07/schema#","title":
170 "json-file-data-from-filestore","description": "json-file-data-from-filestore","type":
172 dataProducerEntities:
173 - dataProducerEntityId:
176 dataProducerId: json-file-data-producer
177 payload: '{"info_job_callback_url": "http://localhost/jsonproducerjobcallback","info_producer_supervision_callback_url":
178 "http://localhost/jsonproducersupervisioncallback","supported_info_types": ["json-file-data-from-filestore"]}'
179 dataConsumerEntities:
180 - dataConsumerEntityId:
183 dataConsumerId: json-file-consumer
184 payload: '{"info_type_id": "json-file-data-from-filestore","job_owner": "console","status_notification_uri":
185 "http://callback.nonrtric:80/post","job_definition": {"db-url": "http://influxdb2.nonrtric:8086","db-org":
186 "est","db-bucket": "pm-bucket","db-token": "token","filterType": "pmdata","filter":
190 onap.policy.clamp.ac.element.AutomationCompositionDefinition:
192 type: org.onap.policy.clamp.acm.AutomationComposition
194 description: Automation composition for DME request
198 - name: onap.policy.clamp.ac.element.DMEAutomationCompositionElement