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
47 org.onap.policy.clamp.controlloop.ControlLoop:
49 derived_from: tosca.nodetypes.Root
58 type: onap.datatypes.ToscaConceptIdentifier
59 org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement:
61 derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
81 org.onap.k8s.controlloop.K8SControlLoopParticipant:
83 type: org.onap.policy.clamp.controlloop.Participant
85 description: Participant for K8S
89 org.onap.domain.database.HelloWorld_K8SMicroserviceControlLoopElement:
90 # Chart from any chart repository configured on helm client.
92 type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
94 description: Control loop element for the K8S microservice for Hello World
98 name: org.onap.k8s.controlloop.K8SControlLoopParticipant
101 release_name: helloworld
104 repository: chartMuseum
107 org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement:
108 # Chart from local file system
110 type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
112 description: Control loop element for the K8S microservice for PMSH
116 name: org.onap.k8s.controlloop.K8SControlLoopParticipant
119 release_name: pmshmicroservice
124 org.onap.domain.database.Local_K8SMicroserviceControlLoopElement:
125 # Chart installation without passing repository name
127 type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
129 description: Control loop element for the K8S microservice for local chart
133 name: org.onap.k8s.controlloop.K8SControlLoopParticipant
136 release_name: nginxms
137 chart_name: nginx-ingress
141 org.onap.domain.sample.GenericK8s_ControlLoopDefinition:
143 type: org.onap.policy.clamp.controlloop.ControlLoop
145 description: Control loop for Hello World
149 - name: org.onap.domain.database.HelloWorld_K8SMicroserviceControlLoopElement
151 - name: org.onap.domain.database.PMSH_K8SMicroserviceControlLoopElement
153 - name: org.onap.domain.database.Local_K8SMicroserviceControlLoopElement