Adapt controlloop version of O-RU usecase to use ONAP Istanbul
[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.LinkMonitorControlLoopDefinition1:
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: K8sParticipant0
111           version: 1.0.0
112         participantType:
113           name: org.onap.k8s.controlloop.K8SControlLoopParticipant
114           version: 2.3.4
115         chart:
116           chartId:
117             name: oru-app
118             version: 0.1.0
119           releaseName: oru-app
120           repository:
121             repoName: chartmuseum
122           namespace: nonrtric
123     org.onap.domain.linkmonitor.MessageGeneratorK8SMicroserviceControlLoopElement:
124       version: 1.2.3
125       type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
126       type_version: 1.0.1
127       description: Control loop element for message-generator
128       properties:
129         provider: ONAP
130         participant_id:
131           name: K8sParticipant0
132           version: 1.0.0
133         participantType:
134           name: org.onap.k8s.controlloop.K8SControlLoopParticipant
135           version: 2.3.4
136         chart:
137           chartId:
138             name: message-generator
139             version: 0.1.0
140           releaseName: message-generator
141           repository:
142             repoName: chartmuseum
143           namespace: nonrtric
144           overrideParams:
145             image.tag: v2
146     org.onap.domain.linkmonitor.SdnrSimulatorK8SMicroserviceControlLoopElement:
147       version: 1.2.3
148       type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
149       type_version: 1.0.1
150       description: Control loop element for sdnr-simulator
151       properties:
152         provider: ONAP
153         participant_id:
154           name: K8sParticipant0
155           version: 1.0.0
156         participantType:
157           name: org.onap.k8s.controlloop.K8SControlLoopParticipant
158           version: 2.3.4
159         chart:
160           chartId:
161             name: sdnr-simulator
162             version: 0.1.0
163           releaseName: sdnr-simulator
164           repository:
165             repoName: chartmuseum
166           namespace: nonrtric
167     org.onap.domain.linkmonitor.DmaapMrK8SMicroserviceControlLoopElement:
168       version: 1.2.3
169       type: org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement
170       type_version: 1.0.1
171       description: Control loop element for dmaap-mr
172       properties:
173         provider: ONAP
174         participant_id:
175           name: K8sParticipant0
176           version: 1.0.0
177         participantType:
178           name: org.onap.k8s.controlloop.K8SControlLoopParticipant
179           version: 2.3.4
180         chart:
181           chartId:
182             name: dmaap-mr
183             version: 0.1.0
184           releaseName: dmaap-mr
185           repository:
186             repoName: chartmuseum
187           namespace: nonrtric