Add idNearRTRIC in configuration-phy-cell-id
[ccsdk/distribution.git] / platform-logic / oofpcipoc-api / src / main / json / oofpcipoc-api_configuration-phy-cell-id.json
1 [
2     {
3         "id": "b597980.d00b068",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='configuration-phy-cell-id' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 178.3333282470703,
10         "y": 250,
11         "z": "c58377cf.746c38",
12         "wires": [
13             [
14                 "8943c880.32f118"
15             ]
16         ]
17     },
18     {
19         "id": "7d5fb60e.e4ca28",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 180.3333282470703,
24         "y": 20,
25         "z": "c58377cf.746c38",
26         "wires": [
27             [
28                 "cbc23f7b.bdd3e"
29             ]
30         ]
31     },
32     {
33         "id": "cbc23f7b.bdd3e",
34         "type": "service-logic",
35         "name": "oofpcipoc-api ${project.version}",
36         "module": "oofpcipoc-api",
37         "version": "${project.version}",
38         "comments": "",
39         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='oofpcipoc-api' version='${project.version}'>",
40         "outputs": 1,
41         "x": 232.33331298828125,
42         "y": 88.0000991821289,
43         "z": "c58377cf.746c38",
44         "wires": [
45             [
46                 "b597980.d00b068"
47             ]
48         ]
49     },
50     {
51         "id": "8943c880.32f118",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 172.8229217529297,
59         "y": 390.0000305175781,
60         "z": "c58377cf.746c38",
61         "wires": [
62             [
63                 "97d8e7ab.1a8aa8",
64                 "db81fb52.aa42c8",
65                 "2e2b598f.1dab86",
66                 "6f26f93c.46f918",
67                 "47c5c664.d239d8",
68                 "fd3ca9d4.49f218",
69                 "fdf8b14.ee8015",
70                 "961718a3.21d988",
71                 "cd63a3fb.08b76",
72                 "6dc5ee71.cb084",
73                 "fcd1c02a.dc8b9",
74                 "3ef32216.34dcde",
75                 "139219ea.fde996",
76                 "276139cb.601476",
77                 "90553fd2.d04e2",
78                 "dbe33f92.36491",
79                 "cab68aad.8e5a38"
80             ]
81         ]
82     },
83     {
84         "id": "97d8e7ab.1a8aa8",
85         "type": "returnSuccess",
86         "name": "return success",
87         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
88         "comments": "",
89         "x": 193.3335952758789,
90         "y": 2535.000244140625,
91         "z": "c58377cf.746c38",
92         "wires": []
93     },
94     {
95         "id": "4abb38a8.f574e8",
96         "type": "record",
97         "name": "record",
98         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #:  \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>",
99         "comments": "",
100         "outputs": 1,
101         "x": 659.3338775634766,
102         "y": 128.0000457763672,
103         "z": "c58377cf.746c38",
104         "wires": [
105             []
106         ]
107     },
108     {
109         "id": "5b26170d.302738",
110         "type": "comment",
111         "name": "configuration-phy-cell-id",
112         "info": "",
113         "comments": "",
114         "x": 409.3333206176758,
115         "y": 39.01041603088379,
116         "z": "c58377cf.746c38",
117         "wires": []
118     },
119     {
120         "id": "11264402.65a0ac",
121         "type": "record",
122         "name": "record",
123         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
124         "comments": "",
125         "outputs": 1,
126         "x": 3076.333541870117,
127         "y": 576.010409116745,
128         "z": "c58377cf.746c38",
129         "wires": [
130             []
131         ]
132     },
133     {
134         "id": "d747393a.b75728",
135         "type": "failure",
136         "name": "failure",
137         "xml": "<outcome value='failure'>\n",
138         "comments": "",
139         "outputs": 1,
140         "x": 2771.3336029052734,
141         "y": 518.0104243755341,
142         "z": "c58377cf.746c38",
143         "wires": [
144             [
145                 "b9389afe.f9d0e8"
146             ]
147         ]
148     },
149     {
150         "id": "b9389afe.f9d0e8",
151         "type": "returnFailure",
152         "name": "return failure",
153         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node details rest api\" />",
154         "comments": "",
155         "x": 2990.3336639404297,
156         "y": 518.0104472637177,
157         "z": "c58377cf.746c38",
158         "wires": []
159     },
160     {
161         "id": "e5f93917.276248",
162         "type": "success",
163         "name": "success",
164         "xml": "<outcome value='success'>\n",
165         "comments": "",
166         "outputs": 1,
167         "x": 2776.333786010742,
168         "y": 602.010409116745,
169         "z": "c58377cf.746c38",
170         "wires": [
171             [
172                 "943a2f92.630a1"
173             ]
174         ]
175     },
176     {
177         "id": "943a2f92.630a1",
178         "type": "block",
179         "name": "block",
180         "xml": "<block>\n",
181         "atomic": "false",
182         "comments": "",
183         "outputs": 1,
184         "x": 2922.3334197998047,
185         "y": 585.0104243755341,
186         "z": "c58377cf.746c38",
187         "wires": [
188             [
189                 "11264402.65a0ac"
190             ]
191         ]
192     },
193     {
194         "id": "1439b4cc.e0fb5b",
195         "type": "failure",
196         "name": "failure",
197         "xml": "<outcome value='failure'>\n",
198         "comments": "",
199         "outputs": 1,
200         "x": 2770.333541870117,
201         "y": 858.6770656108856,
202         "z": "c58377cf.746c38",
203         "wires": [
204             [
205                 "ebc982d7.a8e99"
206             ]
207         ]
208     },
209     {
210         "id": "ebc982d7.a8e99",
211         "type": "returnFailure",
212         "name": "return failure",
213         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing patch rest api\" />",
214         "comments": "",
215         "x": 2997.3334197998047,
216         "y": 856.6770961284637,
217         "z": "c58377cf.746c38",
218         "wires": []
219     },
220     {
221         "id": "6b424d29.f8c794",
222         "type": "success",
223         "name": "success",
224         "xml": "<outcome value='success'>\n",
225         "comments": "",
226         "outputs": 1,
227         "x": 2789.3334197998047,
228         "y": 933.6771876811981,
229         "z": "c58377cf.746c38",
230         "wires": [
231             [
232                 "1423304.92370d"
233             ]
234         ]
235     },
236     {
237         "id": "1423304.92370d",
238         "type": "block",
239         "name": "block",
240         "xml": "<block>\n",
241         "atomic": "false",
242         "comments": "",
243         "outputs": 1,
244         "x": 2947.333297729492,
245         "y": 931.6770656108856,
246         "z": "c58377cf.746c38",
247         "wires": [
248             [
249                 "b5e6bfc0.18026"
250             ]
251         ]
252     },
253     {
254         "id": "b5e6bfc0.18026",
255         "type": "record",
256         "name": "record",
257         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
258         "comments": "",
259         "outputs": 1,
260         "x": 3120.333297729492,
261         "y": 926.6773097515106,
262         "z": "c58377cf.746c38",
263         "wires": [
264             []
265         ]
266     },
267     {
268         "id": "5ce879d1.3c75a8",
269         "type": "record",
270         "name": "record",
271         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>",
272         "comments": "",
273         "outputs": 1,
274         "x": 2512.334072113037,
275         "y": 543.010514497757,
276         "z": "c58377cf.746c38",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "2e2b598f.1dab86",
283         "type": "for",
284         "name": "for",
285         "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
286         "comments": "",
287         "outputs": 1,
288         "x": 504.4190216064453,
289         "y": 138.96359252929688,
290         "z": "c58377cf.746c38",
291         "wires": [
292             [
293                 "4abb38a8.f574e8"
294             ]
295         ]
296     },
297     {
298         "id": "db81fb52.aa42c8",
299         "type": "record",
300         "name": "record",
301         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure PCI INVOKED. Number of Cells to configure: \"/>\n<parameter name=\"field2\" value=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\"/>\n",
302         "comments": "",
303         "outputs": 1,
304         "x": 507.33363342285156,
305         "y": 82.02084350585938,
306         "z": "c58377cf.746c38",
307         "wires": [
308             []
309         ]
310     },
311     {
312         "id": "3cfb6193.6677ee",
313         "type": "for",
314         "name": "for",
315         "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
316         "comments": "",
317         "outputs": 1,
318         "x": 1989.3337326049805,
319         "y": 1331.0104496479034,
320         "z": "c58377cf.746c38",
321         "wires": [
322             [
323                 "e8126a3c.6eec98"
324             ]
325         ]
326     },
327     {
328         "id": "ef244210.ce328",
329         "type": "set",
330         "name": "set tmp variables for the requested fap service input parms",
331         "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n",
332         "comments": "",
333         "x": 2636.334518432617,
334         "y": 411.8995006084442,
335         "z": "c58377cf.746c38",
336         "wires": []
337     },
338     {
339         "id": "70360548.62681c",
340         "type": "failure",
341         "name": "failure",
342         "xml": "<outcome value='failure'>\n",
343         "comments": "",
344         "outputs": 1,
345         "x": 2779.333786010742,
346         "y": 726.0105006694794,
347         "z": "c58377cf.746c38",
348         "wires": [
349             [
350                 "8051b85f.0c9a88"
351             ]
352         ]
353     },
354     {
355         "id": "df219c80.8806e",
356         "type": "success",
357         "name": "success",
358         "xml": "<outcome value='success'>\n",
359         "comments": "",
360         "outputs": 1,
361         "x": 2766.3336639404297,
362         "y": 804.010409116745,
363         "z": "c58377cf.746c38",
364         "wires": [
365             [
366                 "3f7c3254.c621ce"
367             ]
368         ]
369     },
370     {
371         "id": "8051b85f.0c9a88",
372         "type": "block",
373         "name": "block",
374         "xml": "<block>\n",
375         "atomic": "false",
376         "comments": "",
377         "outputs": 1,
378         "x": 2926.3336639404297,
379         "y": 726.0105311870575,
380         "z": "c58377cf.746c38",
381         "wires": [
382             [
383                 "952f4f95.295a5"
384             ]
385         ]
386     },
387     {
388         "id": "952f4f95.295a5",
389         "type": "returnFailure",
390         "name": "return failure",
391         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing patch rest api\" />",
392         "comments": "",
393         "x": 3090.3334197998047,
394         "y": 710.0105006694794,
395         "z": "c58377cf.746c38",
396         "wires": []
397     },
398     {
399         "id": "3f7c3254.c621ce",
400         "type": "block",
401         "name": "block",
402         "xml": "<block>\n",
403         "atomic": "false",
404         "comments": "",
405         "outputs": 1,
406         "x": 2922.3334197998047,
407         "y": 788.0104701519012,
408         "z": "c58377cf.746c38",
409         "wires": [
410             [
411                 "c9455cc6.63a2e"
412             ]
413         ]
414     },
415     {
416         "id": "c9455cc6.63a2e",
417         "type": "record",
418         "name": "record",
419         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>",
420         "comments": "",
421         "outputs": 1,
422         "x": 3083.333541870117,
423         "y": 790.0104701519012,
424         "z": "c58377cf.746c38",
425         "wires": [
426             []
427         ]
428     },
429     {
430         "id": "e8126a3c.6eec98",
431         "type": "block",
432         "name": "block : atomic",
433         "xml": "<block atomic='true'>",
434         "atomic": "true",
435         "comments": "",
436         "outputs": 1,
437         "x": 2035.3333587646484,
438         "y": 677.0209276676178,
439         "z": "c58377cf.746c38",
440         "wires": [
441             [
442                 "ef244210.ce328",
443                 "5ce879d1.3c75a8",
444                 "76ed4fed.d0073",
445                 "c78bb3df.09a61",
446                 "fee0889f.0d7778",
447                 "1aeffa78.56c836",
448                 "e383d6d7.392758",
449                 "f49ce3d4.0ac94",
450                 "941d5352.508c4"
451             ]
452         ]
453     },
454     {
455         "id": "1aeffa78.56c836",
456         "type": "record",
457         "name": "record",
458         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n",
459         "comments": "",
460         "outputs": 1,
461         "x": 2524.3340911865234,
462         "y": 716.0208461284637,
463         "z": "c58377cf.746c38",
464         "wires": [
465             []
466         ]
467     },
468     {
469         "id": "6f26f93c.46f918",
470         "type": "execute",
471         "name": "execute Properties",
472         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
473         "comments": "",
474         "outputs": 1,
475         "x": 540.3335113525391,
476         "y": 193.02084350585938,
477         "z": "c58377cf.746c38",
478         "wires": [
479             []
480         ]
481     },
482     {
483         "id": "47c5c664.d239d8",
484         "type": "record",
485         "name": "record",
486         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. pci patch target\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc.patch.pci.target`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field6\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field7\" value=\"`$prop.ransim-mounted`\"/>",
487         "comments": "",
488         "outputs": 1,
489         "x": 501.33363342285156,
490         "y": 245.02090454101562,
491         "z": "c58377cf.746c38",
492         "wires": [
493             []
494         ]
495     },
496     {
497         "id": "c78bb3df.09a61",
498         "type": "execute",
499         "name": "Get FAP details for a Cell",
500         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
501         "comments": "",
502         "outputs": 1,
503         "x": 2561.333969116211,
504         "y": 594.0208156108856,
505         "z": "c58377cf.746c38",
506         "wires": [
507             [
508                 "d747393a.b75728",
509                 "e5f93917.276248"
510             ]
511         ]
512     },
513     {
514         "id": "76ed4fed.d0073",
515         "type": "execute",
516         "name": "generate fap-service url",
517         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.fap-service`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
518         "comments": "",
519         "outputs": 1,
520         "x": 2554.333656311035,
521         "y": 487.02091097831726,
522         "z": "c58377cf.746c38",
523         "wires": [
524             []
525         ]
526     },
527     {
528         "id": "fee0889f.0d7778",
529         "type": "execute",
530         "name": "generate pci patch url for a cell",
531         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
532         "comments": "",
533         "outputs": 1,
534         "x": 2619.3336029052734,
535         "y": 660.0208156108856,
536         "z": "c58377cf.746c38",
537         "wires": [
538             []
539         ]
540     },
541     {
542         "id": "e383d6d7.392758",
543         "type": "execute",
544         "name": "Recofigure PCI for a Cell",
545         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
546         "comments": "",
547         "outputs": 1,
548         "x": 2569.333480834961,
549         "y": 787.0209681987762,
550         "z": "c58377cf.746c38",
551         "wires": [
552             [
553                 "70360548.62681c",
554                 "df219c80.8806e"
555             ]
556         ]
557     },
558     {
559         "id": "f49ce3d4.0ac94",
560         "type": "execute",
561         "name": "Get FAP details for a Cell",
562         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
563         "comments": "",
564         "outputs": 1,
565         "x": 2547.3334197998047,
566         "y": 870.0208766460419,
567         "z": "c58377cf.746c38",
568         "wires": [
569             [
570                 "1439b4cc.e0fb5b",
571                 "6b424d29.f8c794"
572             ]
573         ]
574     },
575     {
576         "id": "fd3ca9d4.49f218",
577         "type": "switchNode",
578         "name": "switch mounted",
579         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
580         "comments": "",
581         "outputs": 1,
582         "x": 660.3333473205566,
583         "y": 1348.010398864746,
584         "z": "c58377cf.746c38",
585         "wires": [
586             [
587                 "c2d30597.23c3e8",
588                 "13e5ee59.00d5c2"
589             ]
590         ]
591     },
592     {
593         "id": "c2d30597.23c3e8",
594         "type": "outcome",
595         "name": "Not Mounted",
596         "xml": "<outcome value='false'>\n",
597         "comments": "",
598         "outputs": 1,
599         "x": 1530.333351135254,
600         "y": 1300.0104351043701,
601         "z": "c58377cf.746c38",
602         "wires": [
603             [
604                 "3cfb6193.6677ee"
605             ]
606         ]
607     },
608     {
609         "id": "13e5ee59.00d5c2",
610         "type": "outcome",
611         "name": "Mounted",
612         "xml": "<outcome value='true'>\n",
613         "comments": "",
614         "outputs": 1,
615         "x": 1490.3333549499512,
616         "y": 1585.0104427337646,
617         "z": "c58377cf.746c38",
618         "wires": [
619             [
620                 "155f8b1c.14be25"
621             ]
622         ]
623     },
624     {
625         "id": "e4ba3c6b.34c43",
626         "type": "record",
627         "name": "record",
628         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
629         "comments": "",
630         "outputs": 1,
631         "x": 3522.333595275879,
632         "y": 1468.0104627609253,
633         "z": "c58377cf.746c38",
634         "wires": [
635             []
636         ]
637     },
638     {
639         "id": "2e2325b3.caf4fa",
640         "type": "failure",
641         "name": "failure",
642         "xml": "<outcome value='failure'>\n",
643         "comments": "",
644         "outputs": 1,
645         "x": 3175.3337173461914,
646         "y": 1457.0104627609253,
647         "z": "c58377cf.746c38",
648         "wires": [
649             [
650                 "92af0cb0.da314"
651             ]
652         ]
653     },
654     {
655         "id": "92af0cb0.da314",
656         "type": "returnFailure",
657         "name": "return failure",
658         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node details rest api\" />",
659         "comments": "",
660         "x": 3357.3337173461914,
661         "y": 1429.0105237960815,
662         "z": "c58377cf.746c38",
663         "wires": []
664     },
665     {
666         "id": "dbe372cf.0227e",
667         "type": "success",
668         "name": "success",
669         "xml": "<outcome value='success'>\n",
670         "comments": "",
671         "outputs": 1,
672         "x": 3173.33390045166,
673         "y": 1532.0104627609253,
674         "z": "c58377cf.746c38",
675         "wires": [
676             [
677                 "1e4afaae.eef585"
678             ]
679         ]
680     },
681     {
682         "id": "1e4afaae.eef585",
683         "type": "block",
684         "name": "block",
685         "xml": "<block>\n",
686         "atomic": "false",
687         "comments": "",
688         "outputs": 1,
689         "x": 3360.333595275879,
690         "y": 1481.0104627609253,
691         "z": "c58377cf.746c38",
692         "wires": [
693             [
694                 "e4ba3c6b.34c43"
695             ]
696         ]
697     },
698     {
699         "id": "b75e3ce6.384e6",
700         "type": "failure",
701         "name": "failure",
702         "xml": "<outcome value='failure'>\n",
703         "comments": "",
704         "outputs": 1,
705         "x": 3056.3337173461914,
706         "y": 1802.6770887374878,
707         "z": "c58377cf.746c38",
708         "wires": [
709             [
710                 "95ee587a.5fa6c8"
711             ]
712         ]
713     },
714     {
715         "id": "95ee587a.5fa6c8",
716         "type": "returnFailure",
717         "name": "return failure",
718         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing patch rest api\" />",
719         "comments": "",
720         "x": 3244.333595275879,
721         "y": 1809.6772108078003,
722         "z": "c58377cf.746c38",
723         "wires": []
724     },
725     {
726         "id": "1f001a7c.41df16",
727         "type": "success",
728         "name": "success",
729         "xml": "<outcome value='success'>\n",
730         "comments": "",
731         "outputs": 1,
732         "x": 3042.3335342407227,
733         "y": 1879.6772108078003,
734         "z": "c58377cf.746c38",
735         "wires": [
736             [
737                 "5974fda7.dc80a4"
738             ]
739         ]
740     },
741     {
742         "id": "5974fda7.dc80a4",
743         "type": "block",
744         "name": "block",
745         "xml": "<block>\n",
746         "atomic": "false",
747         "comments": "",
748         "outputs": 1,
749         "x": 3216.3334732055664,
750         "y": 1882.6770887374878,
751         "z": "c58377cf.746c38",
752         "wires": [
753             [
754                 "4ed37212.009a4c"
755             ]
756         ]
757     },
758     {
759         "id": "4ed37212.009a4c",
760         "type": "record",
761         "name": "record",
762         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
763         "comments": "",
764         "outputs": 1,
765         "x": 3394.333351135254,
766         "y": 1886.6773328781128,
767         "z": "c58377cf.746c38",
768         "wires": [
769             []
770         ]
771     },
772     {
773         "id": "d619bb83.a66628",
774         "type": "record",
775         "name": "record",
776         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>",
777         "comments": "",
778         "outputs": 1,
779         "x": 2808.667781829834,
780         "y": 1520.6773376464844,
781         "z": "c58377cf.746c38",
782         "wires": [
783             []
784         ]
785     },
786     {
787         "id": "155f8b1c.14be25",
788         "type": "for",
789         "name": "for",
790         "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
791         "comments": "",
792         "outputs": 1,
793         "x": 1790.3333587646484,
794         "y": 1558.0104484558105,
795         "z": "c58377cf.746c38",
796         "wires": [
797             [
798                 "4157b1b.cf6a45"
799             ]
800         ]
801     },
802     {
803         "id": "be955efb.e78a2",
804         "type": "set",
805         "name": "set tmp variables for the requested fap service input parms",
806         "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n",
807         "comments": "",
808         "x": 2896.00146484375,
809         "y": 1270.5662250518799,
810         "z": "c58377cf.746c38",
811         "wires": []
812     },
813     {
814         "id": "92452073.8cfb9",
815         "type": "failure",
816         "name": "failure",
817         "xml": "<outcome value='failure'>\n",
818         "comments": "",
819         "outputs": 1,
820         "x": 3147.33390045166,
821         "y": 1652.0105237960815,
822         "z": "c58377cf.746c38",
823         "wires": [
824             [
825                 "ad2cd277.3b2a2"
826             ]
827         ]
828     },
829     {
830         "id": "41d9252.97d78dc",
831         "type": "success",
832         "name": "success",
833         "xml": "<outcome value='success'>\n",
834         "comments": "",
835         "outputs": 1,
836         "x": 3116.333839416504,
837         "y": 1739.0104627609253,
838         "z": "c58377cf.746c38",
839         "wires": [
840             [
841                 "15a7383a.280288"
842             ]
843         ]
844     },
845     {
846         "id": "ad2cd277.3b2a2",
847         "type": "block",
848         "name": "block",
849         "xml": "<block>\n",
850         "atomic": "false",
851         "comments": "",
852         "outputs": 1,
853         "x": 3320.333839416504,
854         "y": 1624.0105848312378,
855         "z": "c58377cf.746c38",
856         "wires": [
857             [
858                 "a4153a1a.a447d8"
859             ]
860         ]
861     },
862     {
863         "id": "a4153a1a.a447d8",
864         "type": "returnFailure",
865         "name": "return failure",
866         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing patch rest api\" />",
867         "comments": "",
868         "x": 3508.3334732055664,
869         "y": 1614.0105237960815,
870         "z": "c58377cf.746c38",
871         "wires": []
872     },
873     {
874         "id": "15a7383a.280288",
875         "type": "block",
876         "name": "block",
877         "xml": "<block>\n",
878         "atomic": "false",
879         "comments": "",
880         "outputs": 1,
881         "x": 3298.333595275879,
882         "y": 1726.0105237960815,
883         "z": "c58377cf.746c38",
884         "wires": [
885             [
886                 "9cdbb85b.36e988"
887             ]
888         ]
889     },
890     {
891         "id": "9cdbb85b.36e988",
892         "type": "record",
893         "name": "record",
894         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>",
895         "comments": "",
896         "outputs": 1,
897         "x": 3471.333595275879,
898         "y": 1725.0105237960815,
899         "z": "c58377cf.746c38",
900         "wires": [
901             []
902         ]
903     },
904     {
905         "id": "4157b1b.cf6a45",
906         "type": "block",
907         "name": "block : atomic",
908         "xml": "<block atomic='true'>",
909         "atomic": "true",
910         "comments": "",
911         "outputs": 1,
912         "x": 2547.333541870117,
913         "y": 1534.0209875106812,
914         "z": "c58377cf.746c38",
915         "wires": [
916             [
917                 "be955efb.e78a2",
918                 "d619bb83.a66628",
919                 "c492cc4e.cdb05",
920                 "40f21f84.61773",
921                 "b0db6e69.c723d",
922                 "d0c9f490.3e2d68",
923                 "7d4c2012.8e245",
924                 "a00f80db.91416",
925                 "cf8cfe25.ced3c",
926                 "9e5acde4.14af",
927                 "906140c7.266f9",
928                 "d49ac97a.90e568",
929                 "16c3686d.fbd258",
930                 "42e6b286.6d1cdc",
931                 "4188657a.7ee05c",
932                 "ce7631de.a2bdc"
933             ]
934         ]
935     },
936     {
937         "id": "d0c9f490.3e2d68",
938         "type": "record",
939         "name": "record",
940         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n",
941         "comments": "",
942         "outputs": 1,
943         "x": 2778.0016593933105,
944         "y": 1785.687663078308,
945         "z": "c58377cf.746c38",
946         "wires": [
947             []
948         ]
949     },
950     {
951         "id": "40f21f84.61773",
952         "type": "execute",
953         "name": "Get FAP details for a Cell",
954         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
955         "comments": "",
956         "outputs": 1,
957         "x": 2851.667350769043,
958         "y": 1558.687512397766,
959         "z": "c58377cf.746c38",
960         "wires": [
961             [
962                 "2e2325b3.caf4fa",
963                 "dbe372cf.0227e"
964             ]
965         ]
966     },
967     {
968         "id": "c492cc4e.cdb05",
969         "type": "execute",
970         "name": "generate fap-service url",
971         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.fap-service.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
972         "comments": "",
973         "outputs": 1,
974         "x": 2857.667106628418,
975         "y": 1391.3543300628662,
976         "z": "c58377cf.746c38",
977         "wires": [
978             []
979         ]
980     },
981     {
982         "id": "b0db6e69.c723d",
983         "type": "execute",
984         "name": "generate pci patch url for a cell",
985         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
986         "comments": "",
987         "outputs": 1,
988         "x": 2860.6670265197754,
989         "y": 1600.3541526794434,
990         "z": "c58377cf.746c38",
991         "wires": [
992             []
993         ]
994     },
995     {
996         "id": "7d4c2012.8e245",
997         "type": "execute",
998         "name": "Recofigure PCI for a Cell",
999         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
1000         "comments": "",
1001         "outputs": 1,
1002         "x": 2814.6674270629883,
1003         "y": 1824.6878290176392,
1004         "z": "c58377cf.746c38",
1005         "wires": [
1006             [
1007                 "92452073.8cfb9",
1008                 "41d9252.97d78dc"
1009             ]
1010         ]
1011     },
1012     {
1013         "id": "a00f80db.91416",
1014         "type": "execute",
1015         "name": "Get FAP details for a Cell",
1016         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
1017         "comments": "",
1018         "outputs": 1,
1019         "x": 2812.000274658203,
1020         "y": 1860.0212059020996,
1021         "z": "c58377cf.746c38",
1022         "wires": [
1023             [
1024                 "b75e3ce6.384e6",
1025                 "1f001a7c.41df16"
1026             ]
1027         ]
1028     },
1029     {
1030         "id": "cf8cfe25.ced3c",
1031         "type": "execute",
1032         "name": "populate idGNBDUFunction",
1033         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.fap-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
1034         "comments": "",
1035         "outputs": 1,
1036         "x": 2855.0003662109375,
1037         "y": 1483.010419845581,
1038         "z": "c58377cf.746c38",
1039         "wires": [
1040             []
1041         ]
1042     },
1043     {
1044         "id": "9e5acde4.14af",
1045         "type": "execute",
1046         "name": "populate idGNBDUFunction",
1047         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.oofpcipoc.patch.pci.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
1048         "comments": "",
1049         "outputs": 1,
1050         "x": 2828.3345108032227,
1051         "y": 1693.3437414169312,
1052         "z": "c58377cf.746c38",
1053         "wires": [
1054             []
1055         ]
1056     },
1057     {
1058         "id": "19707492.336ebb",
1059         "type": "block",
1060         "name": "block : atomic",
1061         "xml": "<block atomic='true'>",
1062         "atomic": "true",
1063         "comments": "",
1064         "outputs": 1,
1065         "x": 2899.333724975586,
1066         "y": 2080.0000524520874,
1067         "z": "c58377cf.746c38",
1068         "wires": [
1069             [
1070                 "3f56a771.b96478",
1071                 "8af1995a.23c1a8",
1072                 "5dd565d1.862cac"
1073             ]
1074         ]
1075     },
1076     {
1077         "id": "3f56a771.b96478",
1078         "type": "execute",
1079         "name": "generate configdb phy cell id patch url",
1080         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n    <parameter name=\"target\" value=\"{cellId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
1081         "comments": "",
1082         "outputs": 1,
1083         "x": 3213.333724975586,
1084         "y": 1992.0000524520874,
1085         "z": "c58377cf.746c38",
1086         "wires": [
1087             []
1088         ]
1089     },
1090     {
1091         "id": "8af1995a.23c1a8",
1092         "type": "record",
1093         "name": "record configdb RestAPI parms",
1094         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />",
1095         "comments": "",
1096         "outputs": 1,
1097         "x": 3183.333724975586,
1098         "y": 2056.0000524520874,
1099         "z": "c58377cf.746c38",
1100         "wires": [
1101             []
1102         ]
1103     },
1104     {
1105         "id": "5dd565d1.862cac",
1106         "type": "execute",
1107         "name": "Configure PCI value in configdb",
1108         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
1109         "comments": "",
1110         "outputs": 1,
1111         "x": 3157.333724975586,
1112         "y": 2151.0000524520874,
1113         "z": "c58377cf.746c38",
1114         "wires": [
1115             [
1116                 "d494a007.8bd97",
1117                 "65eff3d9.f6f53c"
1118             ]
1119         ]
1120     },
1121     {
1122         "id": "d494a007.8bd97",
1123         "type": "failure",
1124         "name": "failure",
1125         "xml": "<outcome value='failure'>\n",
1126         "comments": "",
1127         "outputs": 1,
1128         "x": 3372.333724975586,
1129         "y": 2094.0000524520874,
1130         "z": "c58377cf.746c38",
1131         "wires": [
1132             [
1133                 "a1c26e21.d1084"
1134             ]
1135         ]
1136     },
1137     {
1138         "id": "65eff3d9.f6f53c",
1139         "type": "success",
1140         "name": "success",
1141         "xml": "<outcome value='success'>\n",
1142         "comments": "",
1143         "outputs": 1,
1144         "x": 3372.3336029052734,
1145         "y": 2189.999930381775,
1146         "z": "c58377cf.746c38",
1147         "wires": [
1148             [
1149                 "f106146a.66d138"
1150             ]
1151         ]
1152     },
1153     {
1154         "id": "a1c26e21.d1084",
1155         "type": "block",
1156         "name": "block",
1157         "xml": "<block>\n",
1158         "atomic": "false",
1159         "comments": "",
1160         "outputs": 1,
1161         "x": 3541.3336029052734,
1162         "y": 2105.0000524520874,
1163         "z": "c58377cf.746c38",
1164         "wires": [
1165             [
1166                 "ced6db3c.563b78"
1167             ]
1168         ]
1169     },
1170     {
1171         "id": "f106146a.66d138",
1172         "type": "block",
1173         "name": "block",
1174         "xml": "<block>\n",
1175         "atomic": "false",
1176         "comments": "",
1177         "outputs": 1,
1178         "x": 3534.3333587646484,
1179         "y": 2191.0000524520874,
1180         "z": "c58377cf.746c38",
1181         "wires": [
1182             [
1183                 "3dec8a05.3ac886"
1184             ]
1185         ]
1186     },
1187     {
1188         "id": "ced6db3c.563b78",
1189         "type": "returnFailure",
1190         "name": "return failure",
1191         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting PCI configuration\" />",
1192         "comments": "",
1193         "x": 3695.333297729492,
1194         "y": 2098.0000524520874,
1195         "z": "c58377cf.746c38",
1196         "wires": []
1197     },
1198     {
1199         "id": "3dec8a05.3ac886",
1200         "type": "record",
1201         "name": "record",
1202         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>",
1203         "comments": "",
1204         "outputs": 1,
1205         "x": 3685.333480834961,
1206         "y": 2188.0000524520874,
1207         "z": "c58377cf.746c38",
1208         "wires": [
1209             []
1210         ]
1211     },
1212     {
1213         "id": "906140c7.266f9",
1214         "type": "switchNode",
1215         "name": "switch configdb deployed",
1216         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
1217         "comments": "",
1218         "outputs": 1,
1219         "x": 2786.333724975586,
1220         "y": 1902.0000524520874,
1221         "z": "c58377cf.746c38",
1222         "wires": [
1223             [
1224                 "c0478edb.d3de6",
1225                 "d74e3845.3c3728"
1226             ]
1227         ]
1228     },
1229     {
1230         "id": "c0478edb.d3de6",
1231         "type": "outcome",
1232         "name": "Deployed",
1233         "xml": "<outcome value='true'>\n",
1234         "comments": "",
1235         "outputs": 1,
1236         "x": 2824.333724975586,
1237         "y": 2004.0000524520874,
1238         "z": "c58377cf.746c38",
1239         "wires": [
1240             [
1241                 "19707492.336ebb"
1242             ]
1243         ]
1244     },
1245     {
1246         "id": "213aa2e3.174f0e",
1247         "type": "block",
1248         "name": "block : atomic",
1249         "xml": "<block atomic='true'>",
1250         "atomic": "true",
1251         "comments": "",
1252         "outputs": 1,
1253         "x": 2544.3334197998047,
1254         "y": 1098.3228442668915,
1255         "z": "c58377cf.746c38",
1256         "wires": [
1257             [
1258                 "728afd28.7cb854",
1259                 "12cacc83.e2aa33",
1260                 "c83fe351.3785c"
1261             ]
1262         ]
1263     },
1264     {
1265         "id": "728afd28.7cb854",
1266         "type": "execute",
1267         "name": "generate configdb phy cell id patch url",
1268         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n    <parameter name=\"target\" value=\"{cellId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
1269         "comments": "",
1270         "outputs": 1,
1271         "x": 2814.3334197998047,
1272         "y": 1004.3228175640106,
1273         "z": "c58377cf.746c38",
1274         "wires": [
1275             []
1276         ]
1277     },
1278     {
1279         "id": "12cacc83.e2aa33",
1280         "type": "record",
1281         "name": "record configdb RestAPI parms",
1282         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />",
1283         "comments": "",
1284         "outputs": 1,
1285         "x": 2815.3334197998047,
1286         "y": 1068.3228175640106,
1287         "z": "c58377cf.746c38",
1288         "wires": [
1289             []
1290         ]
1291     },
1292     {
1293         "id": "c83fe351.3785c",
1294         "type": "execute",
1295         "name": "Configure PCI value in configdb",
1296         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
1297         "comments": "",
1298         "outputs": 1,
1299         "x": 2843.334297180176,
1300         "y": 1211.323044538498,
1301         "z": "c58377cf.746c38",
1302         "wires": [
1303             [
1304                 "df5e400b.76a6e",
1305                 "cc94f7b8.1e29d8"
1306             ]
1307         ]
1308     },
1309     {
1310         "id": "df5e400b.76a6e",
1311         "type": "failure",
1312         "name": "failure",
1313         "xml": "<outcome value='failure'>\n",
1314         "comments": "",
1315         "outputs": 1,
1316         "x": 3017.3334197998047,
1317         "y": 1112.3228442668915,
1318         "z": "c58377cf.746c38",
1319         "wires": [
1320             [
1321                 "f85867d7.2d5b08"
1322             ]
1323         ]
1324     },
1325     {
1326         "id": "cc94f7b8.1e29d8",
1327         "type": "success",
1328         "name": "success",
1329         "xml": "<outcome value='success'>\n",
1330         "comments": "",
1331         "outputs": 1,
1332         "x": 3197.3339767456055,
1333         "y": 1203.32288479805,
1334         "z": "c58377cf.746c38",
1335         "wires": [
1336             [
1337                 "2d200e34.abe802"
1338             ]
1339         ]
1340     },
1341     {
1342         "id": "f85867d7.2d5b08",
1343         "type": "block",
1344         "name": "block",
1345         "xml": "<block>\n",
1346         "atomic": "false",
1347         "comments": "",
1348         "outputs": 1,
1349         "x": 3186.333297729492,
1350         "y": 1123.3228442668915,
1351         "z": "c58377cf.746c38",
1352         "wires": [
1353             [
1354                 "326e0bce.f9a324"
1355             ]
1356         ]
1357     },
1358     {
1359         "id": "2d200e34.abe802",
1360         "type": "block",
1361         "name": "block",
1362         "xml": "<block>\n",
1363         "atomic": "false",
1364         "comments": "",
1365         "outputs": 1,
1366         "x": 3359.3337326049805,
1367         "y": 1204.3230068683624,
1368         "z": "c58377cf.746c38",
1369         "wires": [
1370             [
1371                 "e811224.8fafce"
1372             ]
1373         ]
1374     },
1375     {
1376         "id": "326e0bce.f9a324",
1377         "type": "returnFailure",
1378         "name": "return failure",
1379         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification handler\" />",
1380         "comments": "",
1381         "x": 3340.332992553711,
1382         "y": 1116.3228442668915,
1383         "z": "c58377cf.746c38",
1384         "wires": []
1385     },
1386     {
1387         "id": "e811224.8fafce",
1388         "type": "record",
1389         "name": "record",
1390         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>",
1391         "comments": "",
1392         "outputs": 1,
1393         "x": 3510.333854675293,
1394         "y": 1200.3229801654816,
1395         "z": "c58377cf.746c38",
1396         "wires": [
1397             []
1398         ]
1399     },
1400     {
1401         "id": "941d5352.508c4",
1402         "type": "switchNode",
1403         "name": "switch configdb deployed",
1404         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
1405         "comments": "",
1406         "outputs": 1,
1407         "x": 2473.3334197998047,
1408         "y": 924.3228175640106,
1409         "z": "c58377cf.746c38",
1410         "wires": [
1411             [
1412                 "d287ec90.65392"
1413             ]
1414         ]
1415     },
1416     {
1417         "id": "d287ec90.65392",
1418         "type": "outcome",
1419         "name": "Deployed",
1420         "xml": "<outcome value='true'>\n",
1421         "comments": "",
1422         "outputs": 1,
1423         "x": 2469.3334197998047,
1424         "y": 1022.3228442668915,
1425         "z": "c58377cf.746c38",
1426         "wires": [
1427             [
1428                 "213aa2e3.174f0e"
1429             ]
1430         ]
1431     },
1432     {
1433         "id": "f482fb64.3c4cb8",
1434         "type": "execute",
1435         "name": "execute TemplateNode",
1436         "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n    <parameter name='templatePath' value='oofpcipoc-dmaap-publish-modifyconfig-resp-payload-template.vtl' />\n    <parameter name='output' value='resp-payload' />\n    <parameter name='prefix' value='sdnr' />\n",
1437         "comments": "",
1438         "outputs": 1,
1439         "x": 949.3333282470703,
1440         "y": 1830,
1441         "z": "c58377cf.746c38",
1442         "wires": [
1443             [
1444                 "2b8e6e1b.eb4732",
1445                 "9728a93d.954dd8"
1446             ]
1447         ]
1448     },
1449     {
1450         "id": "2b8e6e1b.eb4732",
1451         "type": "success",
1452         "name": "success",
1453         "xml": "<outcome value='success'>\n",
1454         "comments": "",
1455         "outputs": 1,
1456         "x": 1223.3333282470703,
1457         "y": 1799,
1458         "z": "c58377cf.746c38",
1459         "wires": [
1460             [
1461                 "b62146d2.a556f8"
1462             ]
1463         ]
1464     },
1465     {
1466         "id": "b62146d2.a556f8",
1467         "type": "block",
1468         "name": "block : atomic",
1469         "xml": "<block atomic='true'>",
1470         "atomic": "true",
1471         "comments": "",
1472         "outputs": 1,
1473         "x": 1414.3333282470703,
1474         "y": 1802,
1475         "z": "c58377cf.746c38",
1476         "wires": [
1477             [
1478                 "ff4554c5.d52088"
1479             ]
1480         ]
1481     },
1482     {
1483         "id": "ff4554c5.d52088",
1484         "type": "record",
1485         "name": "record",
1486         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred sdnr payload template as a string\"/>\n<parameter name='field3' value='`$sdnr.resp-payload`' />",
1487         "comments": "",
1488         "outputs": 1,
1489         "x": 1582.3333282470703,
1490         "y": 1803,
1491         "z": "c58377cf.746c38",
1492         "wires": [
1493             []
1494         ]
1495     },
1496     {
1497         "id": "6b1bf445.9469bc",
1498         "type": "execute",
1499         "name": "remove new lines",
1500         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n    <parameter name=\"source\" value=\"`$sdnr.resp-payload`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n    <parameter name=\"target\" value=\"\\n\"/>\n    <parameter name=\"replacement\" value=\"\"/>\n\n",
1501         "comments": "",
1502         "outputs": 1,
1503         "x": 921.8333282470703,
1504         "y": 1946,
1505         "z": "c58377cf.746c38",
1506         "wires": [
1507             [
1508                 "c120e2b2.88ffc",
1509                 "5381eaea.b64024"
1510             ]
1511         ]
1512     },
1513     {
1514         "id": "d59c933.00ed37",
1515         "type": "execute",
1516         "name": "remove tabs",
1517         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n    <parameter name=\"source\" value=\"`$tmp.oofpcipoc-dmaap-config-resp.payload`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n    <parameter name=\"target\" value=\"\\t\"/>\n    <parameter name=\"replacement\" value=\"\"/>\n\n",
1518         "comments": "",
1519         "outputs": 1,
1520         "x": 911.3333282470703,
1521         "y": 2028,
1522         "z": "c58377cf.746c38",
1523         "wires": [
1524             [
1525                 "e7378303.03e32",
1526                 "a4d388c6.e1d378"
1527             ]
1528         ]
1529     },
1530     {
1531         "id": "e7378303.03e32",
1532         "type": "success",
1533         "name": "success",
1534         "xml": "<outcome value='success'>\n",
1535         "comments": "",
1536         "outputs": 1,
1537         "x": 1093.8333282470703,
1538         "y": 2036,
1539         "z": "c58377cf.746c38",
1540         "wires": [
1541             [
1542                 "ebd1ae03.9350c"
1543             ]
1544         ]
1545     },
1546     {
1547         "id": "ebd1ae03.9350c",
1548         "type": "block",
1549         "name": "block : atomic",
1550         "xml": "<block atomic='true'>",
1551         "atomic": "true",
1552         "comments": "",
1553         "outputs": 1,
1554         "x": 1278.8333282470703,
1555         "y": 2034,
1556         "z": "c58377cf.746c38",
1557         "wires": [
1558             [
1559                 "73d410fe.f0a35"
1560             ]
1561         ]
1562     },
1563     {
1564         "id": "73d410fe.f0a35",
1565         "type": "record",
1566         "name": "record",
1567         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with tabs removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
1568         "comments": "",
1569         "outputs": 1,
1570         "x": 1480.8333282470703,
1571         "y": 2029,
1572         "z": "c58377cf.746c38",
1573         "wires": [
1574             []
1575         ]
1576     },
1577     {
1578         "id": "c120e2b2.88ffc",
1579         "type": "success",
1580         "name": "success",
1581         "xml": "<outcome value='success'>\n",
1582         "comments": "",
1583         "outputs": 1,
1584         "x": 1115.3333282470703,
1585         "y": 1914,
1586         "z": "c58377cf.746c38",
1587         "wires": [
1588             [
1589                 "2f121d3c.9e5a52"
1590             ]
1591         ]
1592     },
1593     {
1594         "id": "2f121d3c.9e5a52",
1595         "type": "block",
1596         "name": "block : atomic",
1597         "xml": "<block atomic='true'>",
1598         "atomic": "true",
1599         "comments": "",
1600         "outputs": 1,
1601         "x": 1290.3333282470703,
1602         "y": 1928,
1603         "z": "c58377cf.746c38",
1604         "wires": [
1605             [
1606                 "26ac8b92.155984"
1607             ]
1608         ]
1609     },
1610     {
1611         "id": "26ac8b92.155984",
1612         "type": "record",
1613         "name": "record",
1614         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
1615         "comments": "",
1616         "outputs": 1,
1617         "x": 1478.3333282470703,
1618         "y": 1930,
1619         "z": "c58377cf.746c38",
1620         "wires": [
1621             []
1622         ]
1623     },
1624     {
1625         "id": "9728a93d.954dd8",
1626         "type": "failure",
1627         "name": "failure",
1628         "xml": "<outcome value='failure'>\n",
1629         "comments": "",
1630         "outputs": 1,
1631         "x": 1222.3333282470703,
1632         "y": 1856,
1633         "z": "c58377cf.746c38",
1634         "wires": [
1635             [
1636                 "5ec885df.3b369c"
1637             ]
1638         ]
1639     },
1640     {
1641         "id": "5ec885df.3b369c",
1642         "type": "block",
1643         "name": "block",
1644         "xml": "<block>\n",
1645         "atomic": "false",
1646         "comments": "",
1647         "outputs": 1,
1648         "x": 1391.3332061767578,
1649         "y": 1862,
1650         "z": "c58377cf.746c38",
1651         "wires": [
1652             [
1653                 "784d9d63.e35d24"
1654             ]
1655         ]
1656     },
1657     {
1658         "id": "784d9d63.e35d24",
1659         "type": "returnFailure",
1660         "name": "return failure",
1661         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting PCI configuration\" />",
1662         "comments": "",
1663         "x": 1547.3329620361328,
1664         "y": 1861,
1665         "z": "c58377cf.746c38",
1666         "wires": []
1667     },
1668     {
1669         "id": "5381eaea.b64024",
1670         "type": "failure",
1671         "name": "failure",
1672         "xml": "<outcome value='failure'>\n",
1673         "comments": "",
1674         "outputs": 1,
1675         "x": 1136.3333282470703,
1676         "y": 1985,
1677         "z": "c58377cf.746c38",
1678         "wires": [
1679             [
1680                 "feda35aa.2dd568"
1681             ]
1682         ]
1683     },
1684     {
1685         "id": "feda35aa.2dd568",
1686         "type": "block",
1687         "name": "block",
1688         "xml": "<block>\n",
1689         "atomic": "false",
1690         "comments": "",
1691         "outputs": 1,
1692         "x": 1304.3332061767578,
1693         "y": 1980,
1694         "z": "c58377cf.746c38",
1695         "wires": [
1696             [
1697                 "394a8d28.e8bf62"
1698             ]
1699         ]
1700     },
1701     {
1702         "id": "394a8d28.e8bf62",
1703         "type": "returnFailure",
1704         "name": "return failure",
1705         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting PCI configuration\" />",
1706         "comments": "",
1707         "x": 1462.3329010009766,
1708         "y": 1983,
1709         "z": "c58377cf.746c38",
1710         "wires": []
1711     },
1712     {
1713         "id": "a4d388c6.e1d378",
1714         "type": "failure",
1715         "name": "failure",
1716         "xml": "<outcome value='failure'>\n",
1717         "comments": "",
1718         "outputs": 1,
1719         "x": 1096.3333282470703,
1720         "y": 2084,
1721         "z": "c58377cf.746c38",
1722         "wires": [
1723             [
1724                 "4eb3efa7.06956"
1725             ]
1726         ]
1727     },
1728     {
1729         "id": "4eb3efa7.06956",
1730         "type": "block",
1731         "name": "block",
1732         "xml": "<block>\n",
1733         "atomic": "false",
1734         "comments": "",
1735         "outputs": 1,
1736         "x": 1272.3332061767578,
1737         "y": 2085,
1738         "z": "c58377cf.746c38",
1739         "wires": [
1740             [
1741                 "c8930846.1da0f8"
1742             ]
1743         ]
1744     },
1745     {
1746         "id": "c8930846.1da0f8",
1747         "type": "returnFailure",
1748         "name": "return failure",
1749         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting PCI configuration\" />",
1750         "comments": "",
1751         "x": 1419.3329010009766,
1752         "y": 2088,
1753         "z": "c58377cf.746c38",
1754         "wires": []
1755     },
1756     {
1757         "id": "fdf8b14.ee8015",
1758         "type": "block",
1759         "name": "DMAAP Payload Generation",
1760         "xml": "<block atomic='true'>",
1761         "atomic": "true",
1762         "comments": "",
1763         "outputs": 1,
1764         "x": 666.3333282470703,
1765         "y": 1951,
1766         "z": "c58377cf.746c38",
1767         "wires": [
1768             [
1769                 "f482fb64.3c4cb8",
1770                 "6b1bf445.9469bc",
1771                 "d59c933.00ed37"
1772             ]
1773         ]
1774     },
1775     {
1776         "id": "961718a3.21d988",
1777         "type": "block",
1778         "name": "DMAAP Reponse Publish",
1779         "xml": "<block atomic='true'>",
1780         "atomic": "true",
1781         "comments": "",
1782         "outputs": 1,
1783         "x": 630.3333263397217,
1784         "y": 2212.9999556541443,
1785         "z": "c58377cf.746c38",
1786         "wires": [
1787             [
1788                 "645b2b18.b78554",
1789                 "7e41b7cf.948fb8",
1790                 "4e0d291e.342408"
1791             ]
1792         ]
1793     },
1794     {
1795         "id": "7e41b7cf.948fb8",
1796         "type": "execute",
1797         "name": "execute DmaapMsg",
1798         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n    <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='contentType' value='application/json' />\n    <parameter name='responsePrefix' value='dmaap' />",
1799         "comments": "",
1800         "outputs": 1,
1801         "x": 902.3334255218506,
1802         "y": 2324.999472618103,
1803         "z": "c58377cf.746c38",
1804         "wires": [
1805             [
1806                 "5faadc8c.00efb4",
1807                 "c55193fd.7ba17"
1808             ]
1809         ]
1810     },
1811     {
1812         "id": "645b2b18.b78554",
1813         "type": "set",
1814         "name": "set",
1815         "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfig`'/>",
1816         "comments": "",
1817         "x": 967.0000896453857,
1818         "y": 2161.000005722046,
1819         "z": "c58377cf.746c38",
1820         "wires": []
1821     },
1822     {
1823         "id": "5faadc8c.00efb4",
1824         "type": "failure",
1825         "name": "failure",
1826         "xml": "<outcome value='failure'>\n",
1827         "comments": "",
1828         "outputs": 1,
1829         "x": 1122.8333644866943,
1830         "y": 2251.9167337417603,
1831         "z": "c58377cf.746c38",
1832         "wires": [
1833             [
1834                 "827e4a31.8811c8"
1835             ]
1836         ]
1837     },
1838     {
1839         "id": "c55193fd.7ba17",
1840         "type": "success",
1841         "name": "success",
1842         "xml": "<outcome value='success'>\n",
1843         "comments": "",
1844         "outputs": 1,
1845         "x": 1126.8332843780518,
1846         "y": 2390.916576385498,
1847         "z": "c58377cf.746c38",
1848         "wires": [
1849             [
1850                 "bec9ce8b.12804"
1851             ]
1852         ]
1853     },
1854     {
1855         "id": "827e4a31.8811c8",
1856         "type": "block",
1857         "name": "block",
1858         "xml": "<block>\n",
1859         "atomic": "false",
1860         "comments": "",
1861         "outputs": 1,
1862         "x": 1282.8331985473633,
1863         "y": 2253.9167346954346,
1864         "z": "c58377cf.746c38",
1865         "wires": [
1866             [
1867                 "79df5c7e.676ca4"
1868             ]
1869         ]
1870     },
1871     {
1872         "id": "79df5c7e.676ca4",
1873         "type": "returnFailure",
1874         "name": "return failure",
1875         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
1876         "comments": "",
1877         "x": 1459.8329601287842,
1878         "y": 2243.9167881011963,
1879         "z": "c58377cf.746c38",
1880         "wires": []
1881     },
1882     {
1883         "id": "bec9ce8b.12804",
1884         "type": "block",
1885         "name": "block",
1886         "xml": "<block>\n",
1887         "atomic": "false",
1888         "comments": "",
1889         "outputs": 1,
1890         "x": 1309.8329277038574,
1891         "y": 2383.91668510437,
1892         "z": "c58377cf.746c38",
1893         "wires": [
1894             [
1895                 "7e059f72.a8d6a"
1896             ]
1897         ]
1898     },
1899     {
1900         "id": "7e059f72.a8d6a",
1901         "type": "record",
1902         "name": "record",
1903         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>",
1904         "comments": "",
1905         "outputs": 1,
1906         "x": 1491.833044052124,
1907         "y": 2368.916955947876,
1908         "z": "c58377cf.746c38",
1909         "wires": [
1910             []
1911         ]
1912     },
1913     {
1914         "id": "4e0d291e.342408",
1915         "type": "record",
1916         "name": "record",
1917         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Before DMAAP Event - template file name, restapiURL\"/>\n<parameter name='field3' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n<parameter name='field4' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n",
1918         "comments": "",
1919         "outputs": 1,
1920         "x": 973.8333988189697,
1921         "y": 2232.454870223999,
1922         "z": "c58377cf.746c38",
1923         "wires": [
1924             []
1925         ]
1926     },
1927     {
1928         "id": "cd63a3fb.08b76",
1929         "type": "set",
1930         "name": "set properties for DMAAP header",
1931         "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$configuration-phy-cell-id-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$configuration-phy-cell-id-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$configuration-phy-cell-id-input.subRequestID`\"/>",
1932         "comments": "",
1933         "x": 507.3333282470703,
1934         "y": 332,
1935         "z": "c58377cf.746c38",
1936         "wires": []
1937     },
1938     {
1939         "id": "d49ac97a.90e568",
1940         "type": "set",
1941         "name": "set tmp variables",
1942         "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n",
1943         "comments": "",
1944         "x": 2793.33406829834,
1945         "y": 1309.333683013916,
1946         "z": "c58377cf.746c38",
1947         "wires": []
1948     },
1949     {
1950         "id": "16c3686d.fbd258",
1951         "type": "execute",
1952         "name": "populate idNRCellDU",
1953         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.oofpcipoc.patch.pci.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
1954         "comments": "",
1955         "outputs": 1,
1956         "x": 2819.334182739258,
1957         "y": 1738.6668243408203,
1958         "z": "c58377cf.746c38",
1959         "wires": [
1960             []
1961         ]
1962     },
1963     {
1964         "id": "e304e842.d74c08",
1965         "type": "record",
1966         "name": "record",
1967         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>",
1968         "comments": "",
1969         "outputs": 1,
1970         "x": 3209.0003509521484,
1971         "y": 1948.0000524520874,
1972         "z": "c58377cf.746c38",
1973         "wires": [
1974             []
1975         ]
1976     },
1977     {
1978         "id": "d74e3845.3c3728",
1979         "type": "outcome",
1980         "name": "Not Deployed",
1981         "xml": "<outcome value='false'>\n",
1982         "comments": "",
1983         "outputs": 1,
1984         "x": 3030.0002765655518,
1985         "y": 1935.111270904541,
1986         "z": "c58377cf.746c38",
1987         "wires": [
1988             [
1989                 "e304e842.d74c08"
1990             ]
1991         ]
1992     },
1993     {
1994         "id": "3ef32216.34dcde",
1995         "type": "record",
1996         "name": "record",
1997         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
1998         "comments": "",
1999         "outputs": 1,
2000         "x": 479.3335418701172,
2001         "y": 531.6666841506958,
2002         "z": "c58377cf.746c38",
2003         "wires": [
2004             []
2005         ]
2006     },
2007     {
2008         "id": "fcd1c02a.dc8b9",
2009         "type": "execute",
2010         "name": "getAnchors URL",
2011         "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
2012         "comments": "",
2013         "outputs": 1,
2014         "x": 491.08345794677734,
2015         "y": 482.48805236816406,
2016         "z": "c58377cf.746c38",
2017         "wires": [
2018             []
2019         ]
2020     },
2021     {
2022         "id": "276139cb.601476",
2023         "type": "execute",
2024         "name": "set anchors size",
2025         "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
2026         "comments": "",
2027         "outputs": 1,
2028         "x": 515.6309051513672,
2029         "y": 624.594705581665,
2030         "z": "c58377cf.746c38",
2031         "wires": [
2032             []
2033         ]
2034     },
2035     {
2036         "id": "5e046b0c.0bfa04",
2037         "type": "execute",
2038         "name": "read schemaSet",
2039         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
2040         "comments": "",
2041         "outputs": 1,
2042         "x": 920.1306533813477,
2043         "y": 609.4478543996811,
2044         "z": "c58377cf.746c38",
2045         "wires": [
2046             []
2047         ]
2048     },
2049     {
2050         "id": "90553fd2.d04e2",
2051         "type": "execute",
2052         "name": "initialize nearRTRIC size",
2053         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
2054         "comments": "",
2055         "outputs": 1,
2056         "x": 548.2211608886719,
2057         "y": 667.8329477310181,
2058         "z": "c58377cf.746c38",
2059         "wires": [
2060             []
2061         ]
2062     },
2063     {
2064         "id": "2f040fc3.7b741",
2065         "type": "block",
2066         "name": "block : atomic",
2067         "xml": "<block atomic='true'>",
2068         "atomic": "true",
2069         "comments": "",
2070         "outputs": 1,
2071         "x": 716.6389694213867,
2072         "y": 744.3451976776123,
2073         "z": "c58377cf.746c38",
2074         "wires": [
2075             [
2076                 "d95f3f10.e9b42",
2077                 "b34f9533.d06528"
2078             ]
2079         ]
2080     },
2081     {
2082         "id": "3dee2f06.40933",
2083         "type": "execute",
2084         "name": "read anchorName",
2085         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
2086         "comments": "",
2087         "outputs": 1,
2088         "x": 1653.337474822998,
2089         "y": 188.2659683227539,
2090         "z": "c58377cf.746c38",
2091         "wires": [
2092             []
2093         ]
2094     },
2095     {
2096         "id": "dbe33f92.36491",
2097         "type": "for",
2098         "name": "For anchorsList",
2099         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2100         "comments": "",
2101         "outputs": 1,
2102         "x": 521.5066375732422,
2103         "y": 704.7301654815674,
2104         "z": "c58377cf.746c38",
2105         "wires": [
2106             [
2107                 "64bd3b05.fbf404"
2108             ]
2109         ]
2110     },
2111     {
2112         "id": "64bd3b05.fbf404",
2113         "type": "block",
2114         "name": "block : atomic",
2115         "xml": "<block atomic='true'>",
2116         "atomic": "true",
2117         "comments": "",
2118         "outputs": 1,
2119         "x": 726.0385437011719,
2120         "y": 699.6864643096924,
2121         "z": "c58377cf.746c38",
2122         "wires": [
2123             [
2124                 "f74e7a90.28f4e8",
2125                 "5e046b0c.0bfa04"
2126             ]
2127         ]
2128     },
2129     {
2130         "id": "f74e7a90.28f4e8",
2131         "type": "switchNode",
2132         "name": "check schemaSetName",
2133         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2134         "comments": "",
2135         "outputs": 1,
2136         "x": 944.6152114868164,
2137         "y": 656.5436420440674,
2138         "z": "c58377cf.746c38",
2139         "wires": [
2140             [
2141                 "b918aa56.1e2b58"
2142             ]
2143         ]
2144     },
2145     {
2146         "id": "b918aa56.1e2b58",
2147         "type": "outcome",
2148         "name": "if ran-network",
2149         "xml": "<outcome value='ran-network'>\n",
2150         "comments": "",
2151         "outputs": 1,
2152         "x": 1127.9208030700684,
2153         "y": 621.01589012146,
2154         "z": "c58377cf.746c38",
2155         "wires": [
2156             [
2157                 "c8ff510d.8a4e4"
2158             ]
2159         ]
2160     },
2161     {
2162         "id": "c8ff510d.8a4e4",
2163         "type": "block",
2164         "name": "block : atomic",
2165         "xml": "<block atomic='true'>",
2166         "atomic": "true",
2167         "comments": "",
2168         "outputs": 1,
2169         "x": 1449.2232093811035,
2170         "y": 132.34918785095215,
2171         "z": "c58377cf.746c38",
2172         "wires": [
2173             [
2174                 "e2710b27.4b2068",
2175                 "2ee6585d.3f7de8"
2176             ]
2177         ]
2178     },
2179     {
2180         "id": "e2710b27.4b2068",
2181         "type": "record",
2182         "name": "record",
2183         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
2184         "comments": "",
2185         "outputs": 1,
2186         "x": 1628.136631011963,
2187         "y": 132.15472984313965,
2188         "z": "c58377cf.746c38",
2189         "wires": [
2190             []
2191         ]
2192     },
2193     {
2194         "id": "b34f9533.d06528",
2195         "type": "switchNode",
2196         "name": "check schemaSetName",
2197         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2198         "comments": "",
2199         "outputs": 1,
2200         "x": 942.4144592285156,
2201         "y": 734.9170907735825,
2202         "z": "c58377cf.746c38",
2203         "wires": [
2204             [
2205                 "567dac79.83e914"
2206             ]
2207         ]
2208     },
2209     {
2210         "id": "d95f3f10.e9b42",
2211         "type": "execute",
2212         "name": "read schemaSet",
2213         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
2214         "comments": "",
2215         "outputs": 1,
2216         "x": 926.4422912597656,
2217         "y": 693.6670888662338,
2218         "z": "c58377cf.746c38",
2219         "wires": [
2220             []
2221         ]
2222     },
2223     {
2224         "id": "567dac79.83e914",
2225         "type": "outcome",
2226         "name": "if ran-network",
2227         "xml": "<outcome value='ran-network'>\n",
2228         "comments": "",
2229         "outputs": 1,
2230         "x": 1126.2200469970703,
2231         "y": 691.3893798589706,
2232         "z": "c58377cf.746c38",
2233         "wires": [
2234             [
2235                 "ca67e08a.c000e"
2236             ]
2237         ]
2238     },
2239     {
2240         "id": "ca67e08a.c000e",
2241         "type": "block",
2242         "name": "block : atomic",
2243         "xml": "<block atomic='true'>",
2244         "atomic": "true",
2245         "comments": "",
2246         "outputs": 1,
2247         "x": 1472.3558540344238,
2248         "y": 218.6115493774414,
2249         "z": "c58377cf.746c38",
2250         "wires": [
2251             [
2252                 "3dee2f06.40933",
2253                 "73b26530.51d98c"
2254             ]
2255         ]
2256     },
2257     {
2258         "id": "cab68aad.8e5a38",
2259         "type": "for",
2260         "name": "For anchorsList",
2261         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2262         "comments": "",
2263         "outputs": 1,
2264         "x": 515.3798484802246,
2265         "y": 750.1909408569336,
2266         "z": "c58377cf.746c38",
2267         "wires": [
2268             [
2269                 "2f040fc3.7b741"
2270             ]
2271         ]
2272     },
2273     {
2274         "id": "2ee6585d.3f7de8",
2275         "type": "execute",
2276         "name": "set nearRTRIC size",
2277         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
2278         "comments": "",
2279         "outputs": 1,
2280         "x": 1627.1947441101074,
2281         "y": 83.83377170562744,
2282         "z": "c58377cf.746c38",
2283         "wires": [
2284             []
2285         ]
2286     },
2287     {
2288         "id": "73b26530.51d98c",
2289         "type": "block",
2290         "name": "block : atomic",
2291         "xml": "<block atomic='true'>",
2292         "atomic": "true",
2293         "comments": "",
2294         "outputs": 1,
2295         "x": 1669.2819709777832,
2296         "y": 236.98813915252686,
2297         "z": "c58377cf.746c38",
2298         "wires": [
2299             [
2300                 "2961f4b6.76787c",
2301                 "c9ec4072.853ac",
2302                 "898e9ed2.7d262",
2303                 "6cb4485a.40b988"
2304             ]
2305         ]
2306     },
2307     {
2308         "id": "aa82d9f0.031178",
2309         "type": "failure",
2310         "name": "failure",
2311         "xml": "<outcome value='failure'>\n",
2312         "comments": "",
2313         "outputs": 1,
2314         "x": 728.5874481201172,
2315         "y": 508.0435584783554,
2316         "z": "c58377cf.746c38",
2317         "wires": [
2318             [
2319                 "52f9b872.cb1f08"
2320             ]
2321         ]
2322     },
2323     {
2324         "id": "c1745830.c79c28",
2325         "type": "success",
2326         "name": "success",
2327         "xml": "<outcome value='success'>\n",
2328         "comments": "",
2329         "outputs": 1,
2330         "x": 742.5876197814941,
2331         "y": 582.2379741668701,
2332         "z": "c58377cf.746c38",
2333         "wires": [
2334             [
2335                 "d16d7e85.f040a"
2336             ]
2337         ]
2338     },
2339     {
2340         "id": "52f9b872.cb1f08",
2341         "type": "block",
2342         "name": "block",
2343         "xml": "<block>",
2344         "atomic": "false",
2345         "comments": "",
2346         "outputs": 1,
2347         "x": 871.2819442749023,
2348         "y": 505.6547578573227,
2349         "z": "c58377cf.746c38",
2350         "wires": [
2351             [
2352                 "6e4671dc.37a73",
2353                 "ca554988.aee148"
2354             ]
2355         ]
2356     },
2357     {
2358         "id": "d16d7e85.f040a",
2359         "type": "block",
2360         "name": "block : atomic",
2361         "xml": "<block atomic='true'>",
2362         "atomic": "true",
2363         "comments": "",
2364         "outputs": 1,
2365         "x": 891.0317802429199,
2366         "y": 558.9046806097031,
2367         "z": "c58377cf.746c38",
2368         "wires": [
2369             [
2370                 "22a64b3b.f79184",
2371                 "2ccf9ec1.323512"
2372             ]
2373         ]
2374     },
2375     {
2376         "id": "6e4671dc.37a73",
2377         "type": "set",
2378         "name": "set",
2379         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2380         "comments": "",
2381         "x": 1055.0593719482422,
2382         "y": 469.48796784877777,
2383         "z": "c58377cf.746c38",
2384         "wires": []
2385     },
2386     {
2387         "id": "22a64b3b.f79184",
2388         "type": "record",
2389         "name": "record",
2390         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
2391         "comments": "",
2392         "outputs": 1,
2393         "x": 1072.7815437316895,
2394         "y": 543.1547216176987,
2395         "z": "c58377cf.746c38",
2396         "wires": [
2397             []
2398         ]
2399     },
2400     {
2401         "id": "2ccf9ec1.323512",
2402         "type": "execute",
2403         "name": "printContext",
2404         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/configuration-phy-cell-id-context.log' />",
2405         "comments": "",
2406         "outputs": 1,
2407         "x": 1086.3097839355469,
2408         "y": 575.9047235250473,
2409         "z": "c58377cf.746c38",
2410         "wires": [
2411             []
2412         ]
2413     },
2414     {
2415         "id": "ca554988.aee148",
2416         "type": "record",
2417         "name": "record",
2418         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>",
2419         "comments": "",
2420         "outputs": 1,
2421         "x": 1048.8652839660645,
2422         "y": 506.01580369472504,
2423         "z": "c58377cf.746c38",
2424         "wires": [
2425             []
2426         ]
2427     },
2428     {
2429         "id": "139219ea.fde996",
2430         "type": "execute",
2431         "name": "Get list of anchors from CPS",
2432         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
2433         "comments": "",
2434         "outputs": 1,
2435         "x": 536.281867980957,
2436         "y": 580.2618999481201,
2437         "z": "c58377cf.746c38",
2438         "wires": [
2439             [
2440                 "c1745830.c79c28",
2441                 "aa82d9f0.031178"
2442             ]
2443         ]
2444     },
2445     {
2446         "id": "ef35386d.f4d498",
2447         "type": "success",
2448         "name": "success",
2449         "xml": "<outcome value='success'>\n",
2450         "comments": "",
2451         "outputs": 1,
2452         "x": 2175.136142730713,
2453         "y": 265.78018283843994,
2454         "z": "c58377cf.746c38",
2455         "wires": [
2456             [
2457                 "e5c8fa32.f982b8"
2458             ]
2459         ]
2460     },
2461     {
2462         "id": "e5c8fa32.f982b8",
2463         "type": "block",
2464         "name": "block : atomic",
2465         "xml": "<block atomic='true'>",
2466         "atomic": "true",
2467         "comments": "",
2468         "outputs": 1,
2469         "x": 2384.1361083984375,
2470         "y": 236.7803249359131,
2471         "z": "c58377cf.746c38",
2472         "wires": [
2473             [
2474                 "cb16367d.88f608",
2475                 "990802f8.cc45e",
2476                 "6dfb5d3d.74c2b4"
2477             ]
2478         ]
2479     },
2480     {
2481         "id": "aa047f42.496c3",
2482         "type": "failure",
2483         "name": "failure",
2484         "xml": "<outcome value='failure'>\n",
2485         "comments": "",
2486         "outputs": 1,
2487         "x": 2198.136106491089,
2488         "y": 211.7803249359131,
2489         "z": "c58377cf.746c38",
2490         "wires": [
2491             [
2492                 "d9aa5f2c.f450c"
2493             ]
2494         ]
2495     },
2496     {
2497         "id": "d9aa5f2c.f450c",
2498         "type": "block",
2499         "name": "block",
2500         "xml": "<block>",
2501         "atomic": "false",
2502         "comments": "",
2503         "outputs": 1,
2504         "x": 2420.9934692382812,
2505         "y": 164.06601810455322,
2506         "z": "c58377cf.746c38",
2507         "wires": [
2508             [
2509                 "9e4f9599.04c0a8"
2510             ]
2511         ]
2512     },
2513     {
2514         "id": "2961f4b6.76787c",
2515         "type": "execute",
2516         "name": "generate getNearRTRIC From idGNBDUFunction URL",
2517         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBDUFunction.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
2518         "comments": "",
2519         "outputs": 1,
2520         "x": 1980.0682983398438,
2521         "y": 124.71218967437744,
2522         "z": "c58377cf.746c38",
2523         "wires": [
2524             []
2525         ]
2526     },
2527     {
2528         "id": "c9ec4072.853ac",
2529         "type": "execute",
2530         "name": "prepare tbdmt template",
2531         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBDUFunction.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-idgnbdufunction`\"/>",
2532         "comments": "",
2533         "outputs": 1,
2534         "x": 1900.0683517456055,
2535         "y": 166.71219062805176,
2536         "z": "c58377cf.746c38",
2537         "wires": [
2538             []
2539         ]
2540     },
2541     {
2542         "id": "898e9ed2.7d262",
2543         "type": "record",
2544         "name": "record TBDMT RestAPI params",
2545         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for idGNBDUFunction\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\" />",
2546         "comments": "",
2547         "outputs": 1,
2548         "x": 1927.0683135986328,
2549         "y": 207.71219158172607,
2550         "z": "c58377cf.746c38",
2551         "wires": [
2552             []
2553         ]
2554     },
2555     {
2556         "id": "6cb4485a.40b988",
2557         "type": "execute",
2558         "name": "Get nearRTRIC for idGNBDUFunction",
2559         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-idgnbdufunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
2560         "comments": "",
2561         "outputs": 1,
2562         "x": 1927.0682525634766,
2563         "y": 252.7121934890747,
2564         "z": "c58377cf.746c38",
2565         "wires": [
2566             [
2567                 "aa047f42.496c3",
2568                 "ef35386d.f4d498"
2569             ]
2570         ]
2571     },
2572     {
2573         "id": "990802f8.cc45e",
2574         "type": "record",
2575         "name": "record",
2576         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRTRIC ID info from CPS\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>",
2577         "comments": "",
2578         "outputs": 1,
2579         "x": 2571.0685081481934,
2580         "y": 263.71212577819824,
2581         "z": "c58377cf.746c38",
2582         "wires": [
2583             []
2584         ]
2585     },
2586     {
2587         "id": "cb16367d.88f608",
2588         "type": "execute",
2589         "name": "printContext",
2590         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/configuration-phy-cell-id-context.log' />\n\n\n",
2591         "comments": "",
2592         "outputs": 1,
2593         "x": 2569.8461875915527,
2594         "y": 313.7123476266861,
2595         "z": "c58377cf.746c38",
2596         "wires": [
2597             []
2598         ]
2599     },
2600     {
2601         "id": "9e4f9599.04c0a8",
2602         "type": "set",
2603         "name": "set",
2604         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2605         "comments": "",
2606         "x": 2567.068347930908,
2607         "y": 147.8232078552246,
2608         "z": "c58377cf.746c38",
2609         "wires": []
2610     },
2611     {
2612         "id": "6dc5ee71.cb084",
2613         "type": "set",
2614         "name": "set tmp variables",
2615         "xml": "<set>\n<parameter name=\"tmp.idGNBDU\" value=\"`$configuration-phy-cell-id-input.fap-service[0].pnf-name`\"/>\n",
2616         "comments": "",
2617         "x": 499.1361541748047,
2618         "y": 417.11352920532227,
2619         "z": "c58377cf.746c38",
2620         "wires": []
2621     },
2622     {
2623         "id": "6dfb5d3d.74c2b4",
2624         "type": "execute",
2625         "name": "read nearRTRICId",
2626         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.[0]'`\" />\n",
2627         "comments": "",
2628         "outputs": 1,
2629         "x": 2593.136707305908,
2630         "y": 213.4468650817871,
2631         "z": "c58377cf.746c38",
2632         "wires": [
2633             []
2634         ]
2635     },
2636     {
2637         "id": "42e6b286.6d1cdc",
2638         "type": "execute",
2639         "name": "populate mount name",
2640         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
2641         "comments": "",
2642         "outputs": 1,
2643         "x": 2831.333366394043,
2644         "y": 1648.3333625793457,
2645         "z": "c58377cf.746c38",
2646         "wires": [
2647             []
2648         ]
2649     },
2650     {
2651         "id": "4188657a.7ee05c",
2652         "type": "execute",
2653         "name": "populate mount name",
2654         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.fap-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
2655         "comments": "",
2656         "outputs": 1,
2657         "x": 2850.000030517578,
2658         "y": 1437.2222127914429,
2659         "z": "c58377cf.746c38",
2660         "wires": [
2661             []
2662         ]
2663     },
2664     {
2665         "id": "ce7631de.a2bdc",
2666         "type": "record",
2667         "name": "record",
2668         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field3\" value=\"idGNBDUFunction\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"nRPCI\"/>\n<parameter name=\"field6\" value=\"`$tmp.nRPCI`\"/>",
2669         "comments": "",
2670         "outputs": 1,
2671         "x": 2789.4443397521973,
2672         "y": 1352.7776546478271,
2673         "z": "c58377cf.746c38",
2674         "wires": [
2675             []
2676         ]
2677     }
2678 ]