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.controlloop.Participant:
32 derived_from: tosca.nodetypes.Root
37 org.onap.policy.clamp.controlloop.ControlLoopElement:
39 derived_from: tosca.nodetypes.Root
45 type: onap.datatypes.ToscaConceptIdentifier
54 description: A value indicating the start phase in which this control loop element will be started, the
55 first start phase is zero. Control Loop Elements are started in their start_phase order and stopped
56 in reverse start phase order. Control Loop Elements with the same start phase are started and
57 stopped simultaneously
58 org.onap.policy.clamp.controlloop.ControlLoop:
60 derived_from: tosca.nodetypes.Root
69 type: onap.datatypes.ToscaConceptIdentifier
70 org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement:
72 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
92 org.onap.k8s.controlloop.K8SControlLoopParticipant:
94 type: org.onap.policy.clamp.controlloop.Participant
96 description: Participant for K8S
100 org.onap.domain.database.HelloWorld_K8SMicroserviceControlLoopElement:
101 # Chart from any chart repository configured on helm client.
103 type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
105 description: Control loop element for the K8S microservice for Hello World
109 name: org.onap.k8s.controlloop.K8SControlLoopParticipant
112 uninitializedToPassiveTimeout: 180
113 podStatusCheckInterval: 30
118 releaseName: helloworld
120 repository: chartMuseum
122 org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement:
123 # Chart from local file system
125 type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
127 description: Control loop element for the K8S microservice for PMSH
131 name: org.onap.k8s.controlloop.K8SControlLoopParticipant
134 uninitializedToPassiveTimeout: 180
135 podStatusCheckInterval: 30
143 global.masterPassword: test
145 org.onap.domain.database.Local_K8SMicroserviceControlLoopElement:
146 # Chart installation without passing repository name
148 type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
150 description: Control loop element for the K8S microservice for local chart
154 name: org.onap.k8s.controlloop.K8SControlLoopParticipant
157 uninitializedToPassiveTimeout: 180
158 podStatusCheckInterval: 30
166 org.onap.domain.sample.GenericK8s_ControlLoopDefinition:
168 type: org.onap.policy.clamp.controlloop.ControlLoop
170 description: Control loop for Hello World
174 - name: org.onap.domain.database.HelloWorld_K8SMicroserviceControlLoopElement
176 - name: org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement
178 - name: org.onap.domain.database.Local_K8SMicroserviceControlLoopElement