1 tosca_definitions_version: tosca_simple_yaml_1_3
3 onap.datatypes.ToscaConceptIdentifier:
4 derived_from: tosca.datatypes.Root
12 org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest:
14 derived_from: tosca.datatypes.Root
17 type: onap.datatypes.ToscaConceptIdentifier
20 description: The name and version of a REST request to be sent to a REST endpoint
25 - valid_values: [POST, PUT, GET, DELETE]
26 description: The REST method to use
30 description: The path of the REST request relative to the base URL
34 description: The body of the REST request for PUT and POST requests
39 - in_range: [100, 599]
40 description: THe expected HTTP status code for the REST request
41 org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity:
43 derived_from: tosca.datatypes.Root
45 configurationEntityId:
46 type: onap.datatypes.ToscaConceptIdentifier
49 description: The name and version of a Configuration Entity to be handled by the HTTP Automation Composition Element
53 type: org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.RestRequest
55 description: A sequence of REST commands to send to the REST endpoint
57 org.onap.policy.clamp.acm.Participant:
59 derived_from: tosca.nodetypes.Root
64 org.onap.policy.clamp.acm.AutomationCompositionElement:
66 derived_from: tosca.nodetypes.Root
72 type: onap.datatypes.ToscaConceptIdentifier
75 type: onap.datatypes.ToscaConceptIdentifier
79 description: The identity of the participant type that hosts this type of Automation Composition Element
87 description: A value indicating the start phase in which this ACM element will be started, the
88 first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped
89 in reverse start phase order. Automation Composition Elements with the same start phase are started and
90 stopped simultaneously
91 uninitializedToPassiveTimeout:
99 description: The maximum time in seconds to wait for a state chage from uninitialized to passive
100 passiveToRunningTimeout:
104 - greater_or_equal: 0
108 description: The maximum time in seconds to wait for a state chage from passive to running
109 runningToPassiveTimeout:
113 - greater_or_equal: 0
117 description: The maximum time in seconds to wait for a state chage from running to passive
118 passiveToUninitializedTimeout:
122 - greater_or_equal: 0
126 description: The maximum time in seconds to wait for a state chage from passive to uninitialized
127 org.onap.policy.clamp.acm.AutomationComposition:
129 derived_from: tosca.nodetypes.Root
138 type: onap.datatypes.ToscaConceptIdentifier
139 org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement:
141 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
159 org.onap.policy.clamp.acm.HttpAutomationCompositionElement:
161 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
166 description: The base URL to be prepended to each path, identifies the host for the REST endpoints.
172 description: HTTP headers to send on REST requests
173 configurationEntities:
177 type: org.onap.datatypes.policy.clamp.acm.httpAutomationCompositionElement.ConfigurationEntity
179 description: The connfiguration entities the Automation Composition Element is managing and their associated REST requests
182 org.onap.policy.clamp.acm.KubernetesParticipant:
184 type: org.onap.policy.clamp.acm.Participant
186 description: Participant for K8S
189 org.onap.policy.clamp.Local_K8SMicroserviceAutomationCompositionElement:
190 # Chart installation without passing repository info
192 type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
194 description: Automation Composition element for the K8S microservice for local chart
198 name: K8sParticipant0
201 name: org.onap.policy.clamp.acm.KubernetesParticipant
207 releaseName: nginxapp
209 org.onap.policy.clamp.acm.HttpParticipant:
211 type: org.onap.policy.clamp.acm.Participant
213 description: Participant for Http requests
217 org.onap.policy.clamp.Http_AutomationCompositionElement:
219 type: org.onap.policy.clamp.acm.HttpAutomationCompositionElement
221 description: Automation composition element for the http requests of PMSH microservice
225 name: HttpParticipant0
228 name: org.onap.policy.clamp.acm.HttpParticipant
230 uninitializedToPassiveTimeout: 180
232 baseUrl: http://httpbin.org
234 Content-Type: application/json
235 configurationEntities:
236 - configurationEntityId:
245 body: 'Dummy data for smoke testing'
246 expectedResponse: 200
249 org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition:
251 type: org.onap.policy.clamp.acm.AutomationComposition
253 description: Automation compostion for smoke testing participants
257 - name: org.onap.policy.clamp.Local_K8SMicroserviceAutomationCompositionElement
259 - name: org.onap.policy.clamp.Http_AutomationCompositionElement