Merge "K8s participant and SME producer service for Hello World rApp"
[nonrtric/plt/rappmanager.git] / sample-rapp-generator / rapp-hello-world / 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   },\r
18   "node_types": {\r
19     "org.onap.policy.clamp.acm.Participant": {\r
20       "version": "1.0.1",\r
21       "derived_from": "tosca.nodetypes.Root",\r
22       "properties": {\r
23         "provider": {\r
24           "type": "string",\r
25           "required": false\r
26         }\r
27       }\r
28     },\r
29     "org.onap.policy.clamp.acm.AutomationCompositionElement": {\r
30       "version": "1.0.1",\r
31       "derived_from": "tosca.nodetypes.Root",\r
32       "properties": {\r
33         "provider": {\r
34           "type": "string",\r
35           "required": false\r
36         },\r
37         "participantType": {\r
38           "type": "onap.datatypes.ToscaConceptIdentifier",\r
39           "required": true\r
40         },\r
41         "startPhase": {\r
42           "type": "integer",\r
43           "required": false,\r
44           "constraints": [\r
45             {\r
46               "greater-or-equal": 0\r
47             }\r
48           ],\r
49           "metadata": {\r
50             "common": true\r
51           },\r
52           "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
53         },\r
54         "passiveToRunningTimeout": {\r
55           "type": "integer",\r
56           "required": false,\r
57           "constraints": [\r
58             {\r
59               "greater_or_equal": 0\r
60             }\r
61           ],\r
62           "default": 60,\r
63           "metadata": {\r
64             "common": true\r
65           },\r
66           "description": "The maximum time in seconds to wait for a state chage from passive to running"\r
67         },\r
68         "runningToPassiveTimeout": {\r
69           "type": "integer",\r
70           "required": false,\r
71           "constraints": [\r
72             {\r
73               "greater_or_equal": 0\r
74             }\r
75           ],\r
76           "default": 60,\r
77           "metadata": {\r
78             "common": true\r
79           },\r
80           "description": "The maximum time in seconds to wait for a state chage from running to passive"\r
81         },\r
82         "passiveToUninitializedTimeout": {\r
83           "type": "integer",\r
84           "required": false,\r
85           "constraints": [\r
86             {\r
87               "greater_or_equal": 0\r
88             }\r
89           ],\r
90           "default": 60,\r
91           "metadata": {\r
92             "common": true\r
93           },\r
94           "description": "The maximum time in seconds to wait for a state chage from passive to uninitialized"\r
95         }\r
96       }\r
97     },\r
98     "org.onap.policy.clamp.acm.AutomationComposition": {\r
99       "version": "1.0.1",\r
100       "derived_from": "tosca.nodetypes.Root",\r
101       "properties": {\r
102         "provider": {\r
103           "type": "string",\r
104           "required": false,\r
105           "metadata": {\r
106             "common": true\r
107           }\r
108         },\r
109         "elements": {\r
110           "type": "list",\r
111           "required": true,\r
112           "metadata": {\r
113             "common": true\r
114           },\r
115           "entry_schema": {\r
116             "type": "onap.datatypes.ToscaConceptIdentifier"\r
117           }\r
118         }\r
119       }\r
120     },\r
121     "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement": {\r
122       "version": "1.0.0",\r
123       "derived_from": "org.onap.policy.clamp.acm.AutomationCompositionElement",\r
124       "properties": {\r
125         "chart": {\r
126           "type": "string",\r
127           "required": true\r
128         },\r
129         "configs": {\r
130           "type": "list",\r
131           "required": false\r
132         },\r
133         "requirements": {\r
134           "type": "string",\r
135           "required": false\r
136         },\r
137         "templates": {\r
138           "type": "list",\r
139           "required": false,\r
140           "entry_schema": null\r
141         },\r
142         "values": {\r
143           "type": "string",\r
144           "required": true\r
145         }\r
146       }\r
147     }\r
148   },\r
149   "topology_template": {\r
150     "node_templates": {\r
151       "org.onap.k8s.acm.K8SAutomationCompositionParticipant": {\r
152         "version": "2.3.4",\r
153         "type": "org.onap.policy.clamp.acm.Participant",\r
154         "type_version": "1.0.1",\r
155         "description": "Participant for K8S",\r
156         "properties": {\r
157           "provider": "ONAP"\r
158         }\r
159       },\r
160       "onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement": {\r
161         "version": "1.2.3",\r
162         "type": "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement",\r
163         "type_version": "1.0.0",\r
164         "description": "Automation composition element for the K8S microservice for AC Element Starter",\r
165         "properties": {\r
166           "provider": "ONAP",\r
167           "startPhase": 0,\r
168           "uninitializedToPassiveTimeout": 300,\r
169           "podStatusCheckInterval": 30\r
170         }\r
171       },\r
172       "onap.policy.clamp.ac.element.AutomationCompositionDefinition": {\r
173         "version": "1.2.3",\r
174         "type": "org.onap.policy.clamp.acm.AutomationComposition",\r
175         "type_version": "1.0.1",\r
176         "description": "Automation composition for rapp deployment",\r
177         "properties": {\r
178           "provider": "ONAP",\r
179           "elements": [\r
180             {\r
181               "name": "onap.policy.clamp.ac.element.K8S_StarterAutomationCompositionElement",\r
182               "version": "1.2.3"\r
183             }\r
184           ]\r
185         }\r
186       }\r
187     }\r
188   }\r
189 }