1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021 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
30 org.onap.policy.clamp.acm.Participant:
32 derived_from: tosca.nodetypes.Root
37 org.onap.policy.clamp.acm.AutomationCompositionElement:
39 derived_from: tosca.nodetypes.Root
45 type: onap.datatypes.ToscaConceptIdentifier
54 description: A value indicating the start phase in which this automation composition element will be started,
55 the first start phase is zero. Automation Composition Elements are started in their start_phase
56 order and stopped in reverse start phase order. Automation Composition Elements with the same start
57 phase are started and stopped simultaneously
58 org.onap.policy.clamp.acm.AutomationComposition:
60 derived_from: tosca.nodetypes.Root
69 type: onap.datatypes.ToscaConceptIdentifier
70 org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement:
72 derived_from: org.onap.policy.clamp.acm.AutomationCompositionElement
92 org.onap.k8s.acm.K8SAutomationCompositionParticipant:
94 type: org.onap.policy.clamp.acm.Participant
96 description: Participant for K8S
100 org.onap.domain.database.HelloWorld_K8SMicroserviceAutomationCompositionElement:
101 # Chart from any chart repository configured on helm client.
103 type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
105 description: Automation composition element for the K8S microservice for Hello World
109 name: org.onap.k8s.acm.K8SAutomationCompositionParticipant
112 uninitializedToPassiveTimeout: 180
113 podStatusCheckInterval: 30
118 releaseName: helloworld
120 repository: chartMuseum
122 org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement:
123 # Chart from local file system
125 type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
127 description: Automation composition element for the K8S microservice for PMSH
131 name: org.onap.k8s.acm.K8SAutomationCompositionParticipant
134 uninitializedToPassiveTimeout: 180
135 podStatusCheckInterval: 30
143 global.masterPassword: test
145 org.onap.domain.database.Local_K8SMicroserviceAutomationCompositionElement:
146 # Chart installation without passing repository name
148 type: org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement
150 description: Automation composition element for the K8S microservice for local chart
154 name: org.onap.k8s.acm.K8SAutomationCompositionParticipant
157 uninitializedToPassiveTimeout: 180
158 podStatusCheckInterval: 30
166 org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition:
168 type: org.onap.policy.clamp.acm.AutomationComposition
170 description: Automation composition for Hello World
174 - name: org.onap.domain.database.HelloWorld_K8SMicroserviceAutomationCompositionElement
176 - name: org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement
178 - name: org.onap.domain.database.Local_K8SMicroserviceAutomationCompositionElement