6d9bdd23444848f64ba24bd7ae1c9d1c92cf24f2
[nonrtric.git] / test / usecases / oruclosedlooprecovery / scriptversion / controlloop-rest-payloads / commission.yaml
1 #  Copyright (C) 2021 Nordix Foundation. All rights reserved.
2 #  ========================================================================
3 #  Licensed under the Apache License, Version 2.0 (the "License");
4 #  you may not use this file except in compliance with the License.
5 #  You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #  See the License for the specific language governing permissions and
13 #  limitations under the License.
14 #  ============LICENSE_END=================================================
15 #
16 tosca_definitions_version: tosca_simple_yaml_1_1_0
17 data_types:
18   onap.datatypes.ToscaConceptIdentifier:
19     derived_from: tosca.datatypes.Root
20     properties:
21       name:
22         type: string
23         required: true
24       version:
25         type: string
26         required: true
27 node_types:
28   org.onap.policy.clamp.controlloop.Participant:
29     version: 1.0.1
30     derived_from: tosca.nodetypes.Root
31     properties:
32       provider:
33         type: string
34         requred: false
35   org.onap.policy.clamp.controlloop.ControlLoop:
36     version: 1.0.1
37     derived_from: tosca.nodetypes.Root
38     properties:
39       provider:
40         type: string
41         requred: false
42       elements:
43         type: list
44         required: true
45         entry_schema:
46           type: onap.datatypes.ToscaConceptIdentifier
47   org.onap.policy.clamp.controlloop.ControlLoopElement:
48     version: 1.0.1
49     derived_from: tosca.nodetypes.Root
50     properties:
51       provider:
52         type: string
53         requred: false
54       participant_id:
55         type: onap.datatypes.ToscaConceptIdentifier
56         requred: true
57   org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement:
58     version: 1.0.1
59     derived_from: org.onap.policy.clamp.controlloop.ControlLoopElement
60     properties:
61       chart:
62         type: string
63         required: true
64       configs:
65         type: list
66         required: false
67       requirements:
68         type: string
69         requred: false
70       templates:
71         type: list
72         required: false
73         entry_schema:
74       values:
75         type: string
76         requred: true
77 topology_template:
78   node_templates:
79     org.onap.domain.linkmonitor.LinkMonitorControlLoopDefinition:
80       version: 1.2.3
81       type: org.onap.policy.clamp.controlloop.ControlLoop
82       type_version: 1.0.1
83       description: Control loop for Link Monitor
84       properties:
85         provider: Ericsson
86         elements:
87         - name: org.onap.domain.linkmonitor.OruAppK8SMicroserviceControlLoopElement
88           version: 1.2.3
89         - name: org.onap.domain.linkmonitor.MessageGeneratorK8SMicroserviceControlLoopElement
90           version: 1.2.3
91         - name: org.onap.domain.linkmonitor.SdnrSimulatorK8SMicroserviceControlLoopElement
92           version: 1.2.3
93         - name: org.onap.domain.linkmonitor.DmaapMrK8SMicroserviceControlLoopElement
94           version: 1.2.3
95     org.onap.k8s.controlloop.K8SControlLoopParticipant:
96       version: 2.3.4
97       type: org.onap.policy.clamp.controlloop.Participant
98       type_version: 1.0.1
99       description: Participant for k8s
100       properties:
101         provider: ONAP
102     org.onap.domain.linkmonitor.OruAppK8SMicroserviceControlLoopElement:
103       version: 1.2.3
104       type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
105       type_version: 1.0.1
106       description: Control loop element for oru-app
107       properties:
108         provider: ONAP
109         participant_id:
110           name: org.onap.k8s.controlloop.K8SControlLoopParticipant
111           version: 2.3.4
112         uninitializedToPassiveTimeout: 180
113         podStatusCheckInterval: 30
114         chart:
115           chartId:
116             name: oru-app
117             version: 0.1.0
118           releaseName: oru-app
119           # repository can point to a helm repo or a path in local file system where chart is stored
120           repository: chartmuseum
121           namespace: nonrtric
122     org.onap.domain.linkmonitor.MessageGeneratorK8SMicroserviceControlLoopElement:
123       version: 1.2.3
124       type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
125       type_version: 1.0.1
126       description: Control loop element for message-generator
127       properties:
128         provider: ONAP
129         participant_id:
130           name: org.onap.k8s.controlloop.K8SControlLoopParticipant
131           version: 2.3.4
132         uninitializedToPassiveTimeout: 180
133         podStatusCheckInterval: 30
134         chart:
135           chartId:
136             name: message-generator
137             version: 0.1.0
138           releaseName: message-generator
139           # repository can point to a helm repo or a path in local file system where chart is stored
140           repository: chartmuseum
141           namespace: nonrtric
142           overrideParams:
143             image.tag: v2
144     org.onap.domain.linkmonitor.SdnrSimulatorK8SMicroserviceControlLoopElement:
145       version: 1.2.3
146       type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
147       type_version: 1.0.1
148       description: Control loop element for sdnr-simulator
149       properties:
150         provider: ONAP
151         participant_id:
152           name: org.onap.k8s.controlloop.K8SControlLoopParticipant
153           version: 2.3.4
154         uninitializedToPassiveTimeout: 180
155         podStatusCheckInterval: 30
156         chart:
157           chartId:
158             name: sdnr-simulator
159             version: 0.1.0
160           releaseName: sdnr-simulator
161           # repository can point to a helm repo or a path in local file system where chart is stored
162           repository: chartmuseum
163           namespace: nonrtric
164     org.onap.domain.linkmonitor.DmaapMrK8SMicroserviceControlLoopElement:
165       version: 1.2.3
166       type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
167       type_version: 1.0.1
168       description: Control loop element for dmaap-mr
169       properties:
170         provider: ONAP
171         participant_id:
172           name: org.onap.k8s.controlloop.K8SControlLoopParticipant
173           version: 2.3.4
174         uninitializedToPassiveTimeout: 180
175         podStatusCheckInterval: 30
176         chart:
177           chartId:
178             name: dmaap-mr
179             version: 0.1.0
180           releaseName: dmaap-mr
181           # repository can point to a helm repo or a path in local file system where chart is stored
182           repository: chartmuseum
183           namespace: nonrtric