SMO NONRTRIC - Fix service manager preload
[it/dep.git] / smo-install / test / pythonsdk / src / oransdk / policy / templates / commission_k8s.json.j2
1 {
2   "data_types": {
3     "onap.datatypes.ToscaConceptIdentifier": {
4       "derived_from": "tosca.datatypes.Root",
5       "properties": {
6         "version": {
7           "required": true,
8           "type": "string"
9         },
10         "name": {
11           "required": true,
12           "type": "string"
13         }
14       }
15     }
16   },
17   "topology_template": {
18     "node_templates": {
19       "org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement": {
20         "properties": {
21           "participantType": {
22             "version": "2.3.4",
23             "name": "org.onap.policy.clamp.acm.KubernetesParticipant"
24           },
25           "participant_id": {
26             "version": "1.0.0",
27             "name": "K8sParticipant0"
28           },
29           "provider": "ONAP",
30           "uninitializedToPassiveTimeout": 300,
31           "chart": {
32             "repository": {
33               "address": "{{chartmuseumIp}}",
34               "repoName": "chartmuseum"
35             },
36             "namespace": "nonrtric",
37             "chartId": {
38               "version": "{{chartVersion}}",
39               "name": "{{chartName}}"
40             },
41             "releaseName": "{{releaseName}}"
42           }
43         },
44         "description": "Automation composition element for the K8S microservice for PMSH",
45         "version": "1.2.3",
46         "type_version": "1.0.0",
47         "type": "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement"
48       },
49       "org.onap.policy.clamp.acm.KubernetesParticipant": {
50         "properties": {
51           "provider": "Ericsson"
52         },
53         "description": "Participant for K8S",
54         "version": "2.3.4",
55         "type_version": "1.0.1",
56         "type": "org.onap.policy.clamp.acm.Participant"
57       },
58       "org.onap.domain.sample.GenericK8s_AutomationCompositionDefinition": {
59         "properties": {
60           "elements": [
61             {
62               "version": "1.2.3",
63               "name": "org.onap.domain.database.PMSH_K8SMicroserviceAutomationCompositionElement"
64             }],
65           "provider": "ONAP"
66         },
67         "description": "Automation composition for Hello World",
68         "version": "1.2.3",
69         "type_version": "1.0.1",
70         "type": "org.onap.policy.clamp.acm.AutomationComposition"
71       }
72     }
73   },
74   "tosca_definitions_version": "tosca_simple_yaml_1_3",
75   "node_types": {
76     "org.onap.policy.clamp.acm.AutomationComposition": {
77       "derived_from": "tosca.nodetypes.Root",
78       "properties": {
79         "elements": {
80           "required": true,
81           "metadata": {
82             "common": true
83           },
84           "entry_schema": {
85             "type": "onap.datatypes.ToscaConceptIdentifier"
86           },
87           "description": "Specifies a list of automation composition element definitions that make up this automation composition definition",
88           "type": "list"
89         },
90         "provider": {
91           "required": false,
92           "metadata": {
93             "common": true
94           },
95           "description": "Specifies the organization that provides the automation composition element",
96           "type": "string"
97         }
98       },
99       "version": "1.0.1"
100     },
101     "org.onap.policy.clamp.acm.AutomationCompositionElement": {
102       "derived_from": "tosca.nodetypes.Root",
103       "properties": {
104         "runningToPassiveTimeout": {
105           "required": false,
106           "metadata": {
107             "common": true
108           },
109           "default": 60,
110           "constraints": [
111             {
112               "greater_or_equal": 0
113             }],
114           "description": "The maximum time in seconds to wait for a state chage from running to passive",
115           "type": "integer"
116         },
117         "participantType": {
118           "required": true,
119           "metadata": {
120             "common": true
121           },
122           "description": "The identity of the participant type that hosts this type of Automation Composition Element",
123           "type": "onap.datatypes.ToscaConceptIdentifier"
124         },
125         "startPhase": {
126           "required": false,
127           "metadata": {
128             "common": true
129           },
130           "constraints": [
131             {
132               "greater_or_equal": 0
133             }],
134           "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",
135           "type": "integer"
136         },
137         "passiveToUninitializedTimeout": {
138           "required": false,
139           "metadata": {
140             "common": true
141           },
142           "default": 300,
143           "constraints": [
144             {
145               "greater_or_equal": 0
146             }],
147           "description": "The maximum time in seconds to wait for a state chage from passive to uninitialized",
148           "type": "integer"
149         },
150         "uninitializedToPassiveTimeout": {
151           "required": false,
152           "metadata": {
153             "common": true
154           },
155           "default": 300,
156           "constraints": [
157             {
158               "greater_or_equal": 0
159             }],
160           "description": "The maximum time in seconds to wait for a state chage from uninitialized to passive",
161           "type": "integer"
162         },
163         "participant_id": {
164           "metadata": {
165             "common": true
166           },
167           "requred": true,
168           "type": "onap.datatypes.ToscaConceptIdentifier"
169         },
170         "provider": {
171           "required": false,
172           "metadata": {
173             "common": true
174           },
175           "description": "Specifies the organization that provides the automation composition element",
176           "type": "string"
177         },
178         "passiveToRunningTimeout": {
179           "required": false,
180           "metadata": {
181             "common": true
182           },
183           "default": 60,
184           "constraints": [
185             {
186               "greater_or_equal": 0
187             }],
188           "description": "The maximum time in seconds to wait for a state chage from passive to running",
189           "type": "integer"
190         }
191       },
192       "version": "1.0.1"
193     },
194     "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement": {
195       "derived_from": "org.onap.policy.clamp.acm.AutomationCompositionElement",
196       "properties": {
197         "templates": {
198           "required": false,
199           "entry_schema": null,
200           "type": "list"
201         },
202         "requirements": {
203           "requred": false,
204           "type": "string"
205         },
206         "values": {
207           "requred": true,
208           "type": "string"
209         },
210         "configs": {
211           "required": false,
212           "type": "list"
213         },
214         "chart": {
215           "required": true,
216           "type": "string"
217         }
218       },
219       "version": "1.0.1"
220     },
221     "org.onap.policy.clamp.acm.Participant": {
222       "derived_from": "tosca.nodetypes.Root",
223       "properties": {
224         "provider": {
225           "requred": false,
226           "type": "string"
227         }
228       },
229       "version": "1.0.1"
230     }
231   }
232 }