Modify ANR Payload aligned to A1 schema in SDNR
[dcaegen2/services/son-handler.git] / dpo / spec / sonhandler-componentspec.json
1 {
2   "self": {
3     "version": "1.0.0",
4     "name": "docker.sonhandler.app",
5     "description": "Handles the PCI optimization for SON network",
6     "component_type": "docker"
7   },
8   "streams": {
9     "subscribes": [
10       {
11         "format": "SON_INPUT_FROM_SDNR",
12         "version": "1.0.0",
13         "config_key": "nbr_list_change_topic",
14         "type": "message router"
15       },
16       {
17         "format": "VES_specification",
18         "version": "7.30.1",
19         "config_key": "fault_management_topic",
20         "type": "message router"
21       },
22       {
23         "format": "VES_specification",
24         "version": "7.30.1",
25         "config_key": "performance_management_topic",
26         "type": "message router"
27       },
28       {
29         "format": "SON_OOF_ASYNC_RESP",
30         "version": "1.0.0",
31         "route": "/callbackUrl",
32         "type": "http"
33       },
34                         {
35                                 "format": "POLICY_TO_SON_DMAAP",
36                                 "version": "1.0.0",
37                                 "config_key": "CL_RSP_topic",
38                                 "type": "message router"
39                         }
40     ],
41     "publishes": [
42       {
43         "format": "SON_TO_POLICY_DMAAP",
44         "version": "1.0.0",
45         "config_key": "CL_topic",
46         "type": "message router"
47       }
48     ]
49   },
50   "services": {
51     "calls": [
52       {
53         "config_key": "oof-req",
54         "request": {
55           "format": "SON_TO_OOF_REST_REQ",
56           "version": "1.0.0"
57         },
58         "response": {
59           "format": "SON_OOF_SYNC_RESP",
60           "version": "1.0.0"
61         }
62       },
63       {
64         "config_key": "sdnr-getpnfname",
65         "request": {
66           "format": "CONFIGDB-REQ",
67           "version": "1.0.0"
68         },
69         "response": {
70           "format": "PNFNAME_FROM_SDNR",
71           "version": "1.0.0"
72         }
73       },
74       {
75         "config_key": "sdnr-getcelllist",
76         "request": {
77           "format": "CONFIGDB-REQ",
78           "version": "1.0.0"
79         },
80         "response": {
81           "format": "CELLLIST_FROM_SDNR",
82           "version": "1.0.0"
83         }
84       },
85       {
86         "config_key": "sdnr-getnbrlist",
87         "request": {
88           "format": "CONFIGDB-REQ",
89           "version": "1.0.0"
90         },
91         "response": {
92           "format": "NBRLST_FROM_SDNR",
93           "version": "1.0.0"
94         }
95       },
96       {
97         "config_key": "sdnr-getpci",
98         "request": {
99           "format": "CONFIGDB-REQ",
100           "version": "1.0.0"
101         },
102         "response": {
103           "format": "PCI_FROM_SDNR",
104           "version": "1.0.0"
105         }
106       }
107     ],
108     "provides": []
109   },
110   "parameters": [
111     {
112       "name": "postgres.username",
113       "value": "sonuser",
114       "description": "postgres config",
115       "sourced_at_deployment": false,
116       "policy_editable": false,
117       "designer_editable": false
118     },
119     {
120       "name": "postgres.password",
121       "value": "sonpassword",
122       "description": "postgres config",
123       "sourced_at_deployment": false,
124       "policy_editable": false,
125       "designer_editable": false
126     },
127     {
128       "name": "postgres.host",
129       "value": "10.165.160.148",
130       "description": "postgres config",
131       "sourced_at_deployment": false,
132       "policy_editable": false,
133       "designer_editable": false
134     },
135     {
136       "name": "postgres.port",
137       "value": "5432",
138       "description": "postgres config",
139       "sourced_at_deployment": false,
140       "policy_editable": false,
141       "designer_editable": false
142     },
143     {
144       "name": "cps.username",
145       "value": "cpsuser",
146       "description": "cps configuration",
147       "sourced_at_deployment": false,
148       "policy_editable": false,
149       "designer_editable": false
150     },
151     {
152       "name": "cps.password",
153       "value": "cpsr0cks!",
154       "description": "cps configuration",
155       "sourced_at_deployment": false,
156       "policy_editable": false,
157       "designer_editable": false
158     },
159     {
160       "name": "sonhandler.optimizers",
161       "value": [
162         "pci"
163       ],
164       "description": "son handler optimizers list",
165       "sourced_at_deployment": false,
166       "policy_editable": false,
167       "designer_editable": false
168     },
169     {
170       "name": "sonhandler.buffertime",
171       "value": "60",
172       "description": "buffer time in seconds",
173       "sourced_at_deployment": false,
174       "policy_editable": false,
175       "designer_editable": false
176     },
177     {
178       "name": "sonhandler.numsolutions",
179       "value": "10",
180       "description": "number of solutions",
181       "sourced_at_deployment": false,
182       "policy_editable": false,
183       "designer_editable": false
184     },
185     {
186       "name": "sonhandler.maximumclusters",
187       "value": "5",
188       "description": "maximum number of clusters",
189       "sourced_at_deployment": false,
190       "policy_editable": false,
191       "designer_editable": false
192     },
193     {
194       "name": "sonhandler.cg",
195       "value": "sonhms-cg",
196       "description": "son consumer group",
197       "sourced_at_deployment": false,
198       "policy_editable": false,
199       "designer_editable": false
200     },
201     {
202       "name": "sonhandler.cid",
203       "value": "sonhms-cid",
204       "description": "son consumer Id",
205       "sourced_at_deployment": false,
206       "policy_editable": false,
207       "designer_editable": false
208     },
209     {
210       "name": "sonhandler.clientType",
211       "value": "ConfigDB",
212       "description": "Client type",
213       "sourced_at_deployment": false,
214       "policy_editable": false,
215       "designer_editable": false
216     },
217     {
218       "name": "sonhandler.dmaap.servers",
219       "value": [
220         "message-router:3904"
221       ],
222       "description": "dmaap server location",
223       "sourced_at_deployment": false,
224       "policy_editable": false,
225       "designer_editable": false
226     },
227     {
228       "name": "sonhandler.pollingInterval",
229       "value": "20",
230       "description": "dmaap polling interval",
231       "sourced_at_deployment": false,
232       "policy_editable": false,
233       "designer_editable": false
234     },
235     {
236       "name": "sonhandler.pollingTimeout",
237       "value": "60",
238       "description": "dmaap polling timeout",
239       "sourced_at_deployment": false,
240       "policy_editable": false,
241       "designer_editable": false
242     },
243     {
244       "name": "sonhandler.minCollision",
245       "value": "5",
246       "description": "minimum collision count",
247       "sourced_at_deployment": false,
248       "policy_editable": false,
249       "designer_editable": false
250     },
251     {
252       "name": "sonhandler.minConfusion",
253       "value": "5",
254       "description": "minimum confusion count",
255       "sourced_at_deployment": false,
256       "policy_editable": false,
257       "designer_editable": false
258     },
259     {
260       "name": "sonhandler.configDb.service",
261       "value": "http://sdnc:8282",
262       "description": "configDb service url",
263       "sourced_at_deployment": false,
264       "policy_editable": false,
265       "designer_editable": false
266     },
267     {
268       "name": "sonhandler.cps.service.url",
269       "value": "http://cps-tbdmt:8080",
270       "description": "Cps service url",
271       "sourced_at_deployment": false,
272       "policy_editable": false,
273       "designer_editable": false
274     },
275     {
276       "name": "sonhandler.nearRtricUrl",
277       "value": "https://10.31.4.43:30294/a1-policy/v2/policies",
278       "description": "Cps service url",
279       "sourced_at_deployment": false,
280       "policy_editable": false,
281       "designer_editable": false
282     },
283     {
284       "name": "cps.get.celldata",
285       "value": "execute/cps-ran-schemaset/get-cell-list",
286       "description": "Cps get cell data url",
287       "sourced_at_deployment": false,
288       "policy_editable": false,
289       "designer_editable": false
290     },
291     {
292       "name": "cps.get.nbr.list.url",
293       "value": "execute/cps-ran-schemaset/get-nbr-list",
294       "description": "Cps get nbr list url",
295       "sourced_at_deployment": false,
296       "policy_editable": false,
297       "designer_editable": false
298     },
299     {
300       "name": "cps.get.pci.url",
301       "value": "execute/ran-network-schemaset/get-pci",
302       "description": "Cps get pci url",
303       "sourced_at_deployment": false,
304       "policy_editable": false,
305       "designer_editable": false
306     },
307     {
308       "name": "cps.get.pnf.url",
309       "value": "execute/ran-network-schemaset/get-pnf",
310       "description": "Cps get pnf url",
311       "sourced_at_deployment": false,
312       "policy_editable": false,
313       "designer_editable": false
314     },
315     {
316       "name": "sonhandler.oof.service",
317       "value": "http://oof:8080",
318       "description": "oof service url",
319       "sourced_at_deployment": false,
320       "policy_editable": false,
321       "designer_editable": false
322     },
323     {
324       "name": "sonhandler.sourceId",
325       "value": "SONHMS",
326       "description": "sonhms source ID",
327       "sourced_at_deployment": false,
328       "policy_editable": false,
329       "designer_editable": false
330     },
331     {
332       "name": "sonhandler.badThreshold",
333       "value": "50",
334       "description": "Threshold for bad neighbors",
335       "sourced_at_deployment": false,
336       "policy_editable": false,
337       "designer_editable": false
338     },
339     {
340       "name": "sonhandler.poorThreshold",
341       "value": "70",
342       "description": "Threshold for poor neighbors",
343       "sourced_at_deployment": false,
344       "policy_editable": false,
345       "designer_editable": false
346     },
347     {
348       "name": "sonhandler.namespace",
349       "value": "onap",
350       "description": "namespace where MS will be deployed",
351       "sourced_at_deployment": false,
352       "policy_editable": false,
353       "designer_editable": false
354     }
355   ],
356   "auxilary": {
357     "healthcheck": {
358       "type": "http",
359       "interval": "15s",
360       "timeout": "1s",
361       "endpoint": "/healthckeck"
362     },
363     "volumes": [
364       {
365         "container": {
366           "bind": "/etc/localtime"
367         },
368         "host": {
369           "path": "/etc/localtime"
370         }
371       },
372       {
373         "container": {
374           "bind": "/var/log/onap"
375         },
376         "host": {
377           "path": "/dockerdata-nfs/pci-handler/logs"
378         }
379       }
380     ],
381     "ports": [
382       "8080:8080"
383     ]
384   },
385   "artifacts": [
386     {
387       "type": "docker image",
388       "uri": "k8s-rancher-1:5000/son-handler:1.0.1"
389     }
390   ]
391 }