0b797c060dcbe789e231021567b1098f6f1825cd
[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.k8s.controlloop.K8SControlLoopParticipant": {
20         "properties": {
21           "provider": "ONAP"
22         },
23         "description": "Participant for k8s",
24         "version": "2.3.4",
25         "type_version": "1.0.1",
26         "type": "org.onap.policy.clamp.controlloop.Participant"
27       },
28       "org.onap.domain.linkmonitor.LinkMonitorControlLoopDefinition1": {
29         "properties": {
30           "elements": [
31             {
32               "version": "1.2.3",
33               "name": "org.onap.domain.linkmonitor.OruAppK8SMicroserviceControlLoopElement"
34             }],
35           "provider": "Ericsson"
36         },
37         "description": "Control loop for Link Monitor",
38         "version": "1.2.3",
39         "type_version": "1.0.1",
40         "type": "org.onap.policy.clamp.controlloop.ControlLoop"
41       },
42       "org.onap.domain.linkmonitor.OruAppK8SMicroserviceControlLoopElement": {
43         "properties": {
44           "participantType": {
45             "version": "2.3.4",
46             "name": "org.onap.k8s.controlloop.K8SControlLoopParticipant"
47           },
48           "participant_id": {
49             "version": "1.0.0",
50             "name": "K8sParticipant0"
51           },
52           "provider": "ONAP",
53           "chart": {
54             "repository": {
55               "address": "{{chartmuseumIp}}",
56               "repoName": "chartmuseum",
57               "port": {{chartmuseumPort}},
58               "protocol": "http"
59             },
60             "namespace": "nonrtric",
61             "chartId": {
62               "version": "{{chartVersion}}",
63               "name": "{{chartName}}"
64             },
65             "releaseName": "{{releaseName}}"
66           }
67         },
68         "description": "Deploy {{chartName}}",
69         "version": "1.2.3",
70         "type_version": "1.0.1",
71         "type": "org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement"
72       }
73     }
74   },
75   "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
76   "node_types": {
77     "org.onap.policy.clamp.controlloop.ControlLoop": {
78       "derived_from": "tosca.nodetypes.Root",
79       "properties": {
80         "elements": {
81           "required": true,
82           "entry_schema": {
83             "type": "onap.datatypes.ToscaConceptIdentifier"
84           },
85           "type": "list"
86         },
87         "provider": {
88           "required": false,
89           "type": "string"
90         }
91       },
92       "version": "1.0.1"
93     },
94     "org.onap.policy.clamp.controlloop.K8SMicroserviceControlLoopElement": {
95       "derived_from": "org.onap.policy.clamp.controlloop.ControlLoopElement",
96       "properties": {
97         "templates": {
98           "required": false,
99           "entry_schema": null,
100           "type": "list"
101         },
102         "requirements": {
103           "required": false,
104           "type": "string"
105         },
106         "values": {
107           "required": true,
108           "type": "string"
109         },
110         "configs": {
111           "required": false,
112           "type": "list"
113         },
114         "chart": {
115           "required": true,
116           "type": "string"
117         }
118       },
119       "version": "1.0.1"
120     },
121     "org.onap.policy.clamp.controlloop.Participant": {
122       "derived_from": "tosca.nodetypes.Root",
123       "properties": {
124         "provider": {
125           "required": false,
126           "type": "string"
127         }
128       },
129       "version": "1.0.1"
130     },
131     "org.onap.policy.clamp.controlloop.ControlLoopElement": {
132       "derived_from": "tosca.nodetypes.Root",
133       "properties": {
134         "participant_id": {
135           "required": true,
136           "type": "onap.datatypes.ToscaConceptIdentifier"
137         },
138         "provider": {
139           "required": false,
140           "type": "string"
141         }
142       },
143       "version": "1.0.1"
144     }
145   }
146 }