Merge "Sample rApp package for ics consumer"
[nonrtric/plt/rappmanager.git] / sample-rapp-generator / rapp-kserve / Files / Acm / definition / compositions.json
1 {\r
2   "tosca_definitions_version": "tosca_simple_yaml_1_3",\r
3   "data_types": {\r
4     "onap.datatypes.ToscaConceptIdentifier": {\r
5       "derived_from": "tosca.datatypes.Root",\r
6       "properties": {\r
7         "name": {\r
8           "type": "string",\r
9           "required": true\r
10         },\r
11         "version": {\r
12           "type": "string",\r
13           "required": true\r
14         }\r
15       }\r
16     },\r
17     "org.onap.datatypes.policy.clamp.acm.kserveAutomationCompositionElement.KserveInferenceEntity": {\r
18       "version": "1.0.0",\r
19       "derived_from": "tosca.datatypes.Root",\r
20       "properties": {\r
21         "kserveEntityId": {\r
22           "type": "onap.datatypes.ToscaConceptIdentifier",\r
23           "required": true,\r
24           "description": "The name and version of a Configuration Entity to be handled by the Kserve Automation Composition Element"\r
25         },\r
26         "name": {\r
27           "type": "string",\r
28           "required": true,\r
29           "description": "Inference service name to be created"\r
30         },\r
31         "payload": {\r
32           "type": "string",\r
33           "required": true,\r
34           "description": "Inference Service payload"\r
35         }\r
36       }\r
37     }\r
38   },\r
39   "node_types": {\r
40     "org.onap.policy.clamp.acm.Participant": {\r
41       "version": "1.0.1",\r
42       "derived_from": "tosca.nodetypes.Root",\r
43       "properties": {\r
44         "provider": {\r
45           "type": "string",\r
46           "required": false\r
47         }\r
48       }\r
49     },\r
50     "org.onap.policy.clamp.acm.AutomationCompositionElement": {\r
51       "version": "1.0.1",\r
52       "derived_from": "tosca.nodetypes.Root",\r
53       "properties": {\r
54         "provider": {\r
55           "type": "string",\r
56           "required": false\r
57         },\r
58         "participantType": {\r
59           "type": "onap.datatypes.ToscaConceptIdentifier",\r
60           "required": true\r
61         },\r
62         "startPhase": {\r
63           "type": "integer",\r
64           "required": false,\r
65           "constraints": [\r
66             {\r
67               "greater-or-equal": 0\r
68             }\r
69           ],\r
70           "metadata": {\r
71             "common": true\r
72           },\r
73           "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"\r
74         },\r
75         "passiveToRunningTimeout": {\r
76           "type": "integer",\r
77           "required": false,\r
78           "constraints": [\r
79             {\r
80               "greater_or_equal": 0\r
81             }\r
82           ],\r
83           "default": 60,\r
84           "metadata": {\r
85             "common": true\r
86           },\r
87           "description": "The maximum time in seconds to wait for a state chage from passive to running"\r
88         },\r
89         "runningToPassiveTimeout": {\r
90           "type": "integer",\r
91           "required": false,\r
92           "constraints": [\r
93             {\r
94               "greater_or_equal": 0\r
95             }\r
96           ],\r
97           "default": 60,\r
98           "metadata": {\r
99             "common": true\r
100           },\r
101           "description": "The maximum time in seconds to wait for a state chage from running to passive"\r
102         },\r
103         "passiveToUninitializedTimeout": {\r
104           "type": "integer",\r
105           "required": false,\r
106           "constraints": [\r
107             {\r
108               "greater_or_equal": 0\r
109             }\r
110           ],\r
111           "default": 60,\r
112           "metadata": {\r
113             "common": true\r
114           },\r
115           "description": "The maximum time in seconds to wait for a state chage from passive to uninitialized"\r
116         }\r
117       }\r
118     },\r
119     "org.onap.policy.clamp.acm.AutomationComposition": {\r
120       "version": "1.0.1",\r
121       "derived_from": "tosca.nodetypes.Root",\r
122       "properties": {\r
123         "provider": {\r
124           "type": "string",\r
125           "required": false,\r
126           "metadata": {\r
127             "common": true\r
128           }\r
129         },\r
130         "elements": {\r
131           "type": "list",\r
132           "required": true,\r
133           "metadata": {\r
134             "common": true\r
135           },\r
136           "entry_schema": {\r
137             "type": "onap.datatypes.ToscaConceptIdentifier"\r
138           }\r
139         }\r
140       }\r
141     },\r
142     "org.onap.policy.clamp.acm.KserveAutomationCompositionElement": {\r
143       "version": "1.0.1",\r
144       "derived_from": "org.onap.policy.clamp.acm.AutomationCompositionElement",\r
145       "properties": {\r
146         "kserveInferenceEntities": {\r
147           "type": "list",\r
148           "required": true,\r
149           "entry_schema": {\r
150             "type": "org.onap.datatypes.policy.clamp.acm.kserveAutomationCompositionElement.KserveInferenceEntity",\r
151             "type_version": "1.0.0"\r
152           },\r
153           "description": "The configuration entities of Kserve inference service"\r
154         }\r
155       }\r
156     }\r
157   },\r
158   "topology_template": {\r
159     "node_templates": {\r
160       "org.onap.policy.clamp.acm.KserveParticipant": {\r
161         "version": "2.3.4",\r
162         "type": "org.onap.policy.clamp.acm.Participant",\r
163         "type_version": "1.0.1",\r
164         "description": "Participant for Kserve requests",\r
165         "properties": {\r
166           "provider": "ONAP"\r
167         }\r
168       },\r
169       "onap.policy.clamp.ac.element.KserveAutomationCompositionElement": {\r
170         "version": "1.2.3",\r
171         "type": "org.onap.policy.clamp.acm.KserveAutomationCompositionElement",\r
172         "type_version": "1.0.1",\r
173         "description": "Automation composition element for the Kserve Requests",\r
174         "properties": {\r
175           "provider": "ONAP",\r
176           "participantType": {\r
177             "name": "org.onap.policy.clamp.acm.KserveParticipant",\r
178             "version": "2.3.4"\r
179           },\r
180           "uninitializedToPassiveTimeout": 300,\r
181           "statusCheckInterval": 30\r
182         }\r
183       },\r
184       "onap.policy.clamp.ac.element.AutomationCompositionDefinition": {\r
185         "version": "1.2.3",\r
186         "type": "org.onap.policy.clamp.acm.AutomationComposition",\r
187         "type_version": "1.0.1",\r
188         "description": "Automation composition for rapp deployment",\r
189         "properties": {\r
190           "provider": "ONAP",\r
191           "elements": [\r
192             {\r
193               "name": "onap.policy.clamp.ac.element.KserveAutomationCompositionElement",\r
194               "version": "1.2.3"\r
195             }\r
196           ]\r
197         }\r
198       }\r
199     }\r
200   }\r
201 }