1 tosca_definitions_version: tosca_simple_yaml_1_3
3 onap.datatypes.ToscaConceptIdentifier:
4 derived_from: tosca.datatypes.Root
12 onap.datatype.acm.Target:
13 derived_from: tosca.datatypes.Root
14 description: Definition for a entity in A&AI to perform a automation composition operation on
18 description: Category for the target type
29 Map of values that identify the resource. If none are provided, it is assumed that the
30 entity that generated the ONSET event will be the target.
33 clamp_possible_values: ClampExecution:CSAR_RESOURCES
36 onap.datatype.acm.Actor:
37 derived_from: tosca.datatypes.Root
38 description: An actor/operation/target definition
42 description: The actor performing the operation.
45 clamp_possible_values: Dictionary:DefaultActors,ClampExecution:CDS/actor
48 description: The operation the actor is performing.
50 clamp_possible_values: Dictionary:DefaultOperations,ClampExecution:CDS/operation
53 type: onap.datatype.acm.Target
54 description: The resource the operation should be performed on.
58 description: Name/value pairs of payload information passed by Policy to the actor
61 clamp_possible_values: ClampExecution:CDS/payload
64 onap.datatype.acm.Operation:
65 derived_from: tosca.datatypes.Root
66 description: An operation supported by an actor
70 description: Unique identifier for the operation
74 description: A user-friendly description of the intent for the operation
77 type: onap.datatype.acm.Actor
78 description: The definition of the operation to be performed.
82 description: The amount of time for the actor to perform the operation.
86 description: The number of retries the actor should attempt to perform the operation.
91 description: Points to the operation to invoke on success. A value of "final_success" indicates and end to the operation.
93 default: final_success
96 description: Points to the operation to invoke on Actor operation failure.
98 default: final_failure
101 description: Points to the operation to invoke when the time out for the operation occurs.
103 default: final_failure_timeout
106 description: Points to the operation to invoke when the current operation has exceeded its max retries.
108 default: final_failure_retries
111 description: Points to the operation to invoke when the current operation causes an exception.
113 default: final_failure_exception
116 description: Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.
118 default: final_failure_guard
120 org.onap.policy.clamp.acm.Participant:
122 derived_from: tosca.nodetypes.Root
127 org.onap.policy.clamp.acm.AutomationCompositionElement:
129 derived_from: tosca.nodetypes.Root
136 description: Specifies the organization that provides the automation composition element
138 type: onap.datatypes.ToscaConceptIdentifier
143 type: onap.datatypes.ToscaConceptIdentifier
147 description: The identity of the participant type that hosts this type of automation composition Element
152 - greater_or_equal: 0
155 description: A value indicating the start phase in which this automation composition element will be started, the
156 first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped
157 in reverse start phase order. Automation Composition Elements with the same start phase are started and
158 stopped simultaneously
159 uninitializedToPassiveTimeout:
163 - greater_or_equal: 0
167 description: The maximum time in seconds to wait for a state chage from uninitialized to passive
168 passiveToRunningTimeout:
172 - greater_or_equal: 0
176 description: The maximum time in seconds to wait for a state chage from passive to running
177 runningToPassiveTimeout:
181 - greater_or_equal: 0
185 description: The maximum time in seconds to wait for a state chage from running to passive
186 passiveToUninitializedTimeout:
190 - greater_or_equal: 0
194 description: The maximum time in seconds to wait for a state chage from passive to uninitialized
195 org.onap.policy.clamp.acm.AutomationComposition:
197 derived_from: tosca.nodetypes.Root
204 description: Specifies the organization that provides the automation composition element
211 type: onap.datatypes.ToscaConceptIdentifier
212 description: Specifies a list of automation composition element definitions that make up this automation composition definition
213 org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement:
215 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
236 org.onap.k8s.acm.K8SAutomationCompositionParticipant:
238 type: org.onap.policy.clamp.acm.Participant
240 description: Participant for K8S
243 org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement:
244 # Chart from new repository
246 type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
248 description: Automation composition element for the K8S microservice for PMSH
252 name: K8sParticipant0
255 name: org.onap.k8s.acm.K8SAutomationCompositionParticipant
264 repoName: chartmuseum
266 address: chart-museum
268 userName: onapinitializer
269 password: demo123456!
271 global.masterPassword: test
273 org.onap.domain.database.Local_K8SMicroserviceAutomationCompositionElement:
274 # Chart installation without passing repository info
276 type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
278 description: Automation composition element for the K8S microservice for local chart
282 name: K8sParticipant0
285 name: org.onap.k8s.acm.K8SAutomationCompositionParticipant
293 org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition:
295 type: org.onap.policy.clamp.acm.AutomationComposition
297 description: Automation composition for Hello World
301 - name: org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement
303 - name: org.onap.domain.database.Local_K8SMicroserviceAutomationCompositionElement