Merge "Uplift spring boot version to 3.1.4"
[nonrtric/plt/rappmanager.git] / rapp-manager-application / src / main / resources / resource-csar / Files / Acm / definition / compositions.json
1 {
2   "tosca_definitions_version": "tosca_simple_yaml_1_3",
3   "data_types": {
4     "onap.datatypes.ToscaConceptIdentifier": {
5       "derived_from": "tosca.datatypes.Root",
6       "properties": {
7         "name": {
8           "type": "string",
9           "required": true
10         },
11         "version": {
12           "type": "string",
13           "required": true
14         }
15       }
16     },
17     "org.onap.datatypes.policy.clamp.acm.kserveAutomationCompositionElement.KserveInferenceEntity": {
18       "version": "1.0.0",
19       "derived_from": "tosca.datatypes.Root",
20       "properties": {
21         "kserveEntityId": {
22           "type": "onap.datatypes.ToscaConceptIdentifier",
23           "required": true,
24           "description": "The name and version of a Configuration Entity to be handled by the Kserve Automation Composition Element"
25         },
26         "name": {
27           "type": "string",
28           "required": true,
29           "description": "Inference service name to be created"
30         },
31         "payload": {
32           "type": "string",
33           "required": true,
34           "description": "Inference Service payload"
35         }
36       }
37     },
38     "org.onap.datatypes.policy.clamp.acm.a1pmsAutomationCompositionElement.A1PolicyServiceEntity": {
39       "version": "1.0.0",
40       "derived_from": "tosca.datatypes.Root",
41       "properties": {
42         "a1PolicyServiceEntityId": {
43           "type": "onap.datatypes.ToscaConceptIdentifier",
44           "required": true,
45           "description": "The name and version of a Configuration Entity to be handled by the A1 PMS Automation Composition Element"
46         },
47         "clientId": {
48           "type": "string",
49           "required": true,
50           "description": "Client Id to be created"
51         },
52         "callbackUrl": {
53           "type": "string",
54           "required": true,
55           "description": "The callback URL to get registered"
56         },
57         "keepAliveIntervalSeconds": {
58           "type": "integer",
59           "required": true,
60           "description": "Keep alive interval time for the callback URL"
61         }
62       }
63     }
64   },
65   "node_types": {
66     "org.onap.policy.clamp.acm.Participant": {
67       "version": "1.0.1",
68       "derived_from": "tosca.nodetypes.Root",
69       "properties": {
70         "provider": {
71           "type": "string",
72           "required": false
73         }
74       }
75     },
76     "org.onap.policy.clamp.acm.AutomationCompositionElement": {
77       "version": "1.0.1",
78       "derived_from": "tosca.nodetypes.Root",
79       "properties": {
80         "provider": {
81           "type": "string",
82           "required": false
83         },
84         "participantType": {
85           "type": "onap.datatypes.ToscaConceptIdentifier",
86           "required": true
87         },
88         "startPhase": {
89           "type": "integer",
90           "required": false,
91           "constraints": [
92             {
93               "greater-or-equal": 0
94             }
95           ],
96           "metadata": {
97             "common": true
98           },
99           "description": "A value indicating the start phase in which this automation composition element will be started, the first start phase is zero. Automation Composition Elements are started in their start_phase order and stopped in reverse start phase order. Automation Composition Elements with the same start phase are started and stopped simultaneously"
100         },
101         "passiveToRunningTimeout": {
102           "type": "integer",
103           "required": false,
104           "constraints": [
105             {
106               "greater_or_equal": 0
107             }
108           ],
109           "default": 60,
110           "metadata": {
111             "common": true
112           },
113           "description": "The maximum time in seconds to wait for a state chage from passive to running"
114         },
115         "runningToPassiveTimeout": {
116           "type": "integer",
117           "required": false,
118           "constraints": [
119             {
120               "greater_or_equal": 0
121             }
122           ],
123           "default": 60,
124           "metadata": {
125             "common": true
126           },
127           "description": "The maximum time in seconds to wait for a state chage from running to passive"
128         },
129         "passiveToUninitializedTimeout": {
130           "type": "integer",
131           "required": false,
132           "constraints": [
133             {
134               "greater_or_equal": 0
135             }
136           ],
137           "default": 60,
138           "metadata": {
139             "common": true
140           },
141           "description": "The maximum time in seconds to wait for a state chage from passive to uninitialized"
142         }
143       }
144     },
145     "org.onap.policy.clamp.acm.AutomationComposition": {
146       "version": "1.0.1",
147       "derived_from": "tosca.nodetypes.Root",
148       "properties": {
149         "provider": {
150           "type": "string",
151           "required": false,
152           "metadata": {
153             "common": true
154           }
155         },
156         "elements": {
157           "type": "list",
158           "required": true,
159           "metadata": {
160             "common": true
161           },
162           "entry_schema": {
163             "type": "onap.datatypes.ToscaConceptIdentifier"
164           }
165         }
166       }
167     },
168     "org.onap.policy.clamp.acm.KserveAutomationCompositionElement": {
169       "version": "1.0.1",
170       "derived_from": "org.onap.policy.clamp.acm.AutomationCompositionElement",
171       "properties": {
172         "kserveInferenceEntities": {
173           "type": "list",
174           "required": true,
175           "entry_schema": {
176             "type": "org.onap.datatypes.policy.clamp.acm.kserveAutomationCompositionElement.KserveInferenceEntity",
177             "type_version": "1.0.0"
178           },
179           "description": "The configuration entities of Kserve inference service"
180         }
181       }
182     },
183     "org.onap.policy.clamp.acm.A1PMSAutomationCompositionElement": {
184       "version": "1.0.1",
185       "derived_from": "org.onap.policy.clamp.acm.AutomationCompositionElement",
186       "properties": {
187         "policyServiceEntities": {
188           "type": "list",
189           "required": true,
190           "entry_schema": {
191             "type": "org.onap.datatypes.policy.clamp.acm.a1pmsAutomationCompositionElement.A1PolicyServiceEntity",
192             "type_version": "1.0.0"
193           },
194           "description": "The configuration entities of A1 policy services"
195         }
196       }
197     },
198     "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement": {
199       "version": "1.0.0",
200       "derived_from": "org.onap.policy.clamp.acm.AutomationCompositionElement",
201       "properties": {
202         "chart": {
203           "type": "string",
204           "required": true
205         },
206         "configs": {
207           "type": "list",
208           "required": false
209         },
210         "requirements": {
211           "type": "string",
212           "required": false
213         },
214         "templates": {
215           "type": "list",
216           "required": false,
217           "entry_schema": null
218         },
219         "values": {
220           "type": "string",
221           "required": true
222         }
223       }
224     }
225   },
226   "topology_template": {
227     "node_templates": {
228       "org.onap.policy.clamp.acm.KserveParticipant": {
229         "version": "2.3.4",
230         "type": "org.onap.policy.clamp.acm.Participant",
231         "type_version": "1.0.1",
232         "description": "Participant for Kserve requests",
233         "properties": {
234           "provider": "ONAP"
235         }
236       },
237       "org.onap.policy.clamp.acm.A1PMSAutomationCompositionParticipant": {
238         "version": "2.3.4",
239         "type": "org.onap.policy.clamp.acm.Participant",
240         "type_version": "1.0.1",
241         "description": "Participant for A1 PMS requests",
242         "properties": {
243           "provider": "ONAP"
244         }
245       },
246       "org.onap.k8s.acm.K8SAutomationCompositionParticipant": {
247         "version": "2.3.4",
248         "type": "org.onap.policy.clamp.acm.Participant",
249         "type_version": "1.0.1",
250         "description": "Participant for K8S",
251         "properties": {
252           "provider": "ONAP"
253         }
254       },
255       "onap.policy.clamp.ac.element.KserveAutomationCompositionElement": {
256         "version": "1.2.3",
257         "type": "org.onap.policy.clamp.acm.KserveAutomationCompositionElement",
258         "type_version": "1.0.1",
259         "description": "Automation composition element for the Kserve Requests",
260         "properties": {
261           "provider": "ONAP",
262           "participantType": {
263             "name": "org.onap.policy.clamp.acm.KserveParticipant",
264             "version": "2.3.4"
265           },
266           "uninitializedToPassiveTimeout": 300,
267           "statusCheckInterval": 30
268         }
269       },
270       "onap.policy.clamp.ac.element.A1PMSAutomationCompositionElement": {
271         "version": "1.2.3",
272         "type": "org.onap.policy.clamp.acm.A1PMSAutomationCompositionElement",
273         "type_version": "1.0.1",
274         "description": "Automation composition element for the A1 PMS Requests",
275         "properties": {
276           "provider": "ONAP",
277           "participantType": {
278             "name": "org.onap.policy.clamp.acm.A1PMSParticipant",
279             "version": "2.3.4"
280           }
281         }
282       },
283       "onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement": {
284         "version": "1.2.3",
285         "type": "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement",
286         "type_version": "1.0.0",
287         "description": "Automation composition element for the K8S microservice for AC Element Starter",
288         "properties": {
289           "provider": "ONAP",
290           "startPhase": 0,
291           "uninitializedToPassiveTimeout": 300,
292           "podStatusCheckInterval": 30
293         }
294       },
295       "onap.policy.clamp.ac.element.AutomationCompositionDefinition": {
296         "version": "1.2.3",
297         "type": "org.onap.policy.clamp.acm.AutomationComposition",
298         "type_version": "1.0.1",
299         "description": "Automation composition for rapp deployment",
300         "properties": {
301           "provider": "ONAP",
302           "elements": [
303             {
304               "name": "onap.policy.clamp.ac.element.KserveAutomationCompositionElement",
305               "version": "1.2.3"
306             },
307             {
308               "name": "onap.policy.clamp.ac.element.A1PMSAutomationCompositionElement",
309               "version": "1.2.3"
310             },
311             {
312               "name": "onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement",
313               "version": "1.2.3"
314             }
315           ]
316         }
317       }
318     }
319   }
320 }