fix odl patches
[ccsdk/distribution.git] / platform-logic / oofpcipoc-api / src / main / json / oofpcipoc-api_configuration-phy-cell-id.json
1 [
2     {
3         "id": "bc5eb749.049f08",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='configuration-phy-cell-id' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 127,
10         "y": 250,
11         "z": "53ac5fd0.5848d",
12         "wires": [
13             [
14                 "581d586d.790578"
15             ]
16         ]
17     },
18     {
19         "id": "2b47598a.404656",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 129,
24         "y": 20,
25         "z": "53ac5fd0.5848d",
26         "wires": [
27             [
28                 "4532a7a5.10d318"
29             ]
30         ]
31     },
32     {
33         "id": "4532a7a5.10d318",
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": 180.99998474121094,
42         "y": 88.0000991821289,
43         "z": "53ac5fd0.5848d",
44         "wires": [
45             [
46                 "bc5eb749.049f08"
47             ]
48         ]
49     },
50     {
51         "id": "581d586d.790578",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 121.48959350585938,
59         "y": 390.0000305175781,
60         "z": "53ac5fd0.5848d",
61         "wires": [
62             [
63                 "d4995b93.98bc58",
64                 "c5f49c5c.99a04",
65                 "b48ff18c.33815",
66                 "62bc8a33.6849f4",
67                 "330e586.5781aa8",
68                 "1a836b7b.d39e35",
69                 "1402ffdd.7aaa3",
70                 "d3a1a502.8392d8",
71                 "f6e35591.d1d158",
72                 "915b5f1b.acb1",
73                 "2fa4a845.8275d8",
74                 "eb728676.156e58",
75                 "bd606a8d.eeca78",
76                 "be6270f5.aa16d",
77                 "c950590b.012dd8",
78                 "ab7add37.674c1",
79                 "36bfd25c.6ba71e"
80             ]
81         ]
82     },
83     {
84         "id": "d4995b93.98bc58",
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": 142.0002670288086,
90         "y": 2535.000244140625,
91         "z": "53ac5fd0.5848d",
92         "wires": []
93     },
94     {
95         "id": "3edaf765.7e8ad8",
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": 608.0005493164062,
102         "y": 128.0000457763672,
103         "z": "53ac5fd0.5848d",
104         "wires": [
105             []
106         ]
107     },
108     {
109         "id": "5a892962.3b5848",
110         "type": "comment",
111         "name": "configuration-phy-cell-id",
112         "info": "",
113         "comments": "",
114         "x": 357.99999237060547,
115         "y": 39.01041603088379,
116         "z": "53ac5fd0.5848d",
117         "wires": []
118     },
119     {
120         "id": "8ae385dd.d5f038",
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 NRCELLDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
124         "comments": "",
125         "outputs": 1,
126         "x": 3807.0007247924805,
127         "y": 559.0104417800903,
128         "z": "53ac5fd0.5848d",
129         "wires": [
130             []
131         ]
132     },
133     {
134         "id": "125a0785.4f2c48",
135         "type": "failure",
136         "name": "failure",
137         "xml": "<outcome value='failure'>\n",
138         "comments": "",
139         "outputs": 1,
140         "x": 2720.000274658203,
141         "y": 518.0104243755341,
142         "z": "53ac5fd0.5848d",
143         "wires": [
144             [
145                 "aa742465.f16098"
146             ]
147         ]
148     },
149     {
150         "id": "aa742465.f16098",
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": 2939.0003356933594,
156         "y": 518.0104472637177,
157         "z": "53ac5fd0.5848d",
158         "wires": []
159     },
160     {
161         "id": "3e9fa50e.2515fa",
162         "type": "success",
163         "name": "success",
164         "xml": "<outcome value='success'>\n",
165         "comments": "",
166         "outputs": 1,
167         "x": 2725.000457763672,
168         "y": 602.010409116745,
169         "z": "53ac5fd0.5848d",
170         "wires": [
171             [
172                 "40c8cba9.0538a4"
173             ]
174         ]
175     },
176     {
177         "id": "40c8cba9.0538a4",
178         "type": "block",
179         "name": "block : atomic",
180         "xml": "<block atomic='true'>",
181         "atomic": "true",
182         "comments": "",
183         "outputs": 1,
184         "x": 2885,
185         "y": 585.0104336738586,
186         "z": "53ac5fd0.5848d",
187         "wires": [
188             [
189                 "f5cfc304.18074"
190             ]
191         ]
192     },
193     {
194         "id": "e986352f.b94328",
195         "type": "failure",
196         "name": "failure",
197         "xml": "<outcome value='failure'>\n",
198         "comments": "",
199         "outputs": 1,
200         "x": 2719.000213623047,
201         "y": 858.6770656108856,
202         "z": "53ac5fd0.5848d",
203         "wires": [
204             [
205                 "a9254e01.2ea2e"
206             ]
207         ]
208     },
209     {
210         "id": "a9254e01.2ea2e",
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": 2946.0000915527344,
216         "y": 856.6770961284637,
217         "z": "53ac5fd0.5848d",
218         "wires": []
219     },
220     {
221         "id": "9dbdd2a2.3425c",
222         "type": "success",
223         "name": "success",
224         "xml": "<outcome value='success'>\n",
225         "comments": "",
226         "outputs": 1,
227         "x": 2738.0000915527344,
228         "y": 933.6771876811981,
229         "z": "53ac5fd0.5848d",
230         "wires": [
231             [
232                 "43b4001c.7cb41"
233             ]
234         ]
235     },
236     {
237         "id": "43b4001c.7cb41",
238         "type": "block",
239         "name": "block : atomic",
240         "xml": "<block atomic='true'>",
241         "atomic": "true",
242         "comments": "",
243         "outputs": 1,
244         "x": 2895.999969482422,
245         "y": 931.6770656108856,
246         "z": "53ac5fd0.5848d",
247         "wires": [
248             [
249                 "55a6cc6c.29a174"
250             ]
251         ]
252     },
253     {
254         "id": "2e2f13e1.1f2d7c",
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=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
258         "comments": "",
259         "outputs": 1,
260         "x": 3815.5000915527344,
261         "y": 892.6774454116821,
262         "z": "53ac5fd0.5848d",
263         "wires": [
264             []
265         ]
266     },
267     {
268         "id": "5f54d266.4099dc",
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.getGNBDUFunction-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nRPCI`\"/>",
272         "comments": "",
273         "outputs": 1,
274         "x": 2401.0009803771973,
275         "y": 576.3439598083496,
276         "z": "53ac5fd0.5848d",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "b48ff18c.33815",
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": 453.085693359375,
289         "y": 138.96359252929688,
290         "z": "53ac5fd0.5848d",
291         "wires": [
292             [
293                 "3edaf765.7e8ad8"
294             ]
295         ]
296     },
297     {
298         "id": "c5f49c5c.99a04",
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": 456.00030517578125,
305         "y": 82.02084350585938,
306         "z": "53ac5fd0.5848d",
307         "wires": [
308             []
309         ]
310     },
311     {
312         "id": "1e5692df.3d386d",
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": 1938.0004043579102,
319         "y": 1331.0104496479034,
320         "z": "53ac5fd0.5848d",
321         "wires": [
322             [
323                 "d8f8629c.bfa34"
324             ]
325         ]
326     },
327     {
328         "id": "33d8e9d1.c13c16",
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": 2575.001251220703,
334         "y": 355.2328472137451,
335         "z": "53ac5fd0.5848d",
336         "wires": []
337     },
338     {
339         "id": "7f490ca6.0f79b4",
340         "type": "failure",
341         "name": "failure",
342         "xml": "<outcome value='failure'>\n",
343         "comments": "",
344         "outputs": 1,
345         "x": 2728.000457763672,
346         "y": 726.0105006694794,
347         "z": "53ac5fd0.5848d",
348         "wires": [
349             [
350                 "69ffc374.99cfbc"
351             ]
352         ]
353     },
354     {
355         "id": "acb741c0.a04e8",
356         "type": "success",
357         "name": "success",
358         "xml": "<outcome value='success'>\n",
359         "comments": "",
360         "outputs": 1,
361         "x": 2715.0003356933594,
362         "y": 804.010409116745,
363         "z": "53ac5fd0.5848d",
364         "wires": [
365             [
366                 "fbb6737d.7b243"
367             ]
368         ]
369     },
370     {
371         "id": "69ffc374.99cfbc",
372         "type": "block",
373         "name": "block",
374         "xml": "<block>\n",
375         "atomic": "false",
376         "comments": "",
377         "outputs": 1,
378         "x": 2875.0003356933594,
379         "y": 726.0105311870575,
380         "z": "53ac5fd0.5848d",
381         "wires": [
382             [
383                 "2cf2ffd4.474cb"
384             ]
385         ]
386     },
387     {
388         "id": "2cf2ffd4.474cb",
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": 3039.0000915527344,
394         "y": 710.0105006694794,
395         "z": "53ac5fd0.5848d",
396         "wires": []
397     },
398     {
399         "id": "fbb6737d.7b243",
400         "type": "block",
401         "name": "block",
402         "xml": "<block>\n",
403         "atomic": "false",
404         "comments": "",
405         "outputs": 1,
406         "x": 2871.0000915527344,
407         "y": 788.0104701519012,
408         "z": "53ac5fd0.5848d",
409         "wires": [
410             [
411                 "6d021775.20de68"
412             ]
413         ]
414     },
415     {
416         "id": "6d021775.20de68",
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": 3032.000213623047,
423         "y": 790.0104701519012,
424         "z": "53ac5fd0.5848d",
425         "wires": [
426             []
427         ]
428     },
429     {
430         "id": "d8f8629c.bfa34",
431         "type": "block",
432         "name": "block : atomic",
433         "xml": "<block atomic='true'>",
434         "atomic": "true",
435         "comments": "",
436         "outputs": 1,
437         "x": 1984.0000305175781,
438         "y": 677.0209276676178,
439         "z": "53ac5fd0.5848d",
440         "wires": [
441             [
442                 "33d8e9d1.c13c16",
443                 "5f54d266.4099dc",
444                 "f80af4a3.cf75d8",
445                 "aad98597.00dc38",
446                 "a321562e.13d0b8",
447                 "3538c4d0.a2008c",
448                 "92ccecc0.6aa79",
449                 "299044d0.ed447c",
450                 "cb3ee380.a31f6",
451                 "60f37767.9663c8",
452                 "18b65688.6247a9",
453                 "d4275158.f071b",
454                 "2172e92c.2bb7a6",
455                 "cd2e3271.2ab31"
456             ]
457         ]
458     },
459     {
460         "id": "a321562e.13d0b8",
461         "type": "record",
462         "name": "record",
463         "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 PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />",
464         "comments": "",
465         "outputs": 1,
466         "x": 2398.000759124756,
467         "y": 906.020827293396,
468         "z": "53ac5fd0.5848d",
469         "wires": [
470             []
471         ]
472     },
473     {
474         "id": "62bc8a33.6849f4",
475         "type": "execute",
476         "name": "execute Properties",
477         "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",
478         "comments": "",
479         "outputs": 1,
480         "x": 489.00018310546875,
481         "y": 193.02084350585938,
482         "z": "53ac5fd0.5848d",
483         "wires": [
484             []
485         ]
486     },
487     {
488         "id": "330e586.5781aa8",
489         "type": "record",
490         "name": "record",
491         "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`\"/>",
492         "comments": "",
493         "outputs": 1,
494         "x": 450.00030517578125,
495         "y": 245.02090454101562,
496         "z": "53ac5fd0.5848d",
497         "wires": [
498             []
499         ]
500     },
501     {
502         "id": "aad98597.00dc38",
503         "type": "execute",
504         "name": "Get GNBDUFunction Details",
505         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-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=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
506         "comments": "",
507         "outputs": 1,
508         "x": 2435.0009002685547,
509         "y": 637.354133605957,
510         "z": "53ac5fd0.5848d",
511         "wires": [
512             [
513                 "125a0785.4f2c48",
514                 "3e9fa50e.2515fa"
515             ]
516         ]
517     },
518     {
519         "id": "f80af4a3.cf75d8",
520         "type": "execute",
521         "name": "generate getGNBDUFunction url",
522         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.getGNBDUFunction`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
523         "comments": "",
524         "outputs": 1,
525         "x": 2488.000602722168,
526         "y": 437.02091789245605,
527         "z": "53ac5fd0.5848d",
528         "wires": [
529             []
530         ]
531     },
532     {
533         "id": "3538c4d0.a2008c",
534         "type": "execute",
535         "name": "Recofigure PCI for a Cell",
536         "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' />",
537         "comments": "",
538         "outputs": 1,
539         "x": 2426.333526611328,
540         "y": 963.6877822875977,
541         "z": "53ac5fd0.5848d",
542         "wires": [
543             [
544                 "7f490ca6.0f79b4",
545                 "acb741c0.a04e8"
546             ]
547         ]
548     },
549     {
550         "id": "92ccecc0.6aa79",
551         "type": "execute",
552         "name": "Get GNBDUFunction details",
553         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-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=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
554         "comments": "",
555         "outputs": 1,
556         "x": 2419.3333587646484,
557         "y": 1028.3541696071625,
558         "z": "53ac5fd0.5848d",
559         "wires": [
560             [
561                 "e986352f.b94328",
562                 "9dbdd2a2.3425c"
563             ]
564         ]
565     },
566     {
567         "id": "1a836b7b.d39e35",
568         "type": "switchNode",
569         "name": "switch mounted",
570         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
571         "comments": "",
572         "outputs": 1,
573         "x": 609.0000190734863,
574         "y": 1348.010398864746,
575         "z": "53ac5fd0.5848d",
576         "wires": [
577             [
578                 "e66bd0d.449713",
579                 "208e6469.b6e26c"
580             ]
581         ]
582     },
583     {
584         "id": "e66bd0d.449713",
585         "type": "outcome",
586         "name": "Not Mounted",
587         "xml": "<outcome value='false'>\n",
588         "comments": "",
589         "outputs": 1,
590         "x": 1479.0000228881836,
591         "y": 1300.0104351043701,
592         "z": "53ac5fd0.5848d",
593         "wires": [
594             [
595                 "1e5692df.3d386d"
596             ]
597         ]
598     },
599     {
600         "id": "208e6469.b6e26c",
601         "type": "outcome",
602         "name": "Mounted",
603         "xml": "<outcome value='true'>\n",
604         "comments": "",
605         "outputs": 1,
606         "x": 1439.0000267028809,
607         "y": 1585.0104427337646,
608         "z": "53ac5fd0.5848d",
609         "wires": [
610             [
611                 "3e955ea0.b79f22"
612             ]
613         ]
614     },
615     {
616         "id": "3fa84223.41702e",
617         "type": "record",
618         "name": "record",
619         "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 NRCellDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
620         "comments": "",
621         "outputs": 1,
622         "x": 4200.144073486328,
623         "y": 1543.510404586792,
624         "z": "53ac5fd0.5848d",
625         "wires": [
626             []
627         ]
628     },
629     {
630         "id": "29e6206e.562d5",
631         "type": "failure",
632         "name": "failure",
633         "xml": "<outcome value='failure'>\n",
634         "comments": "",
635         "outputs": 1,
636         "x": 3084.0003967285156,
637         "y": 1535.0104217529297,
638         "z": "53ac5fd0.5848d",
639         "wires": [
640             [
641                 "2882707e.6fafc"
642             ]
643         ]
644     },
645     {
646         "id": "2882707e.6fafc",
647         "type": "returnFailure",
648         "name": "return failure",
649         "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\" />",
650         "comments": "",
651         "x": 3280.00040435791,
652         "y": 1517.010419845581,
653         "z": "53ac5fd0.5848d",
654         "wires": []
655     },
656     {
657         "id": "2d6e408.62926c",
658         "type": "success",
659         "name": "success",
660         "xml": "<outcome value='success'>\n",
661         "comments": "",
662         "outputs": 1,
663         "x": 3082.0007247924805,
664         "y": 1596.0104236602783,
665         "z": "53ac5fd0.5848d",
666         "wires": [
667             [
668                 "1b7f6463.3c4afc"
669             ]
670         ]
671     },
672     {
673         "id": "1b7f6463.3c4afc",
674         "type": "block",
675         "name": "block : atomic",
676         "xml": "<block atomic='true'>",
677         "atomic": "true",
678         "comments": "",
679         "outputs": 1,
680         "x": 3257.00040435791,
681         "y": 1579.010422706604,
682         "z": "53ac5fd0.5848d",
683         "wires": [
684             [
685                 "ce3707d5.c47378"
686             ]
687         ]
688     },
689     {
690         "id": "2fe85c6d.53b954",
691         "type": "failure",
692         "name": "failure",
693         "xml": "<outcome value='failure'>\n",
694         "comments": "",
695         "outputs": 1,
696         "x": 3121.6674728393555,
697         "y": 1801.0105285644531,
698         "z": "53ac5fd0.5848d",
699         "wires": [
700             [
701                 "f6104f85.18cb4"
702             ]
703         ]
704     },
705     {
706         "id": "f6104f85.18cb4",
707         "type": "returnFailure",
708         "name": "return failure",
709         "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\" />",
710         "comments": "",
711         "x": 3323.0004119873047,
712         "y": 1788.0106506347656,
713         "z": "53ac5fd0.5848d",
714         "wires": []
715     },
716     {
717         "id": "3b60c1c5.f61d0e",
718         "type": "success",
719         "name": "success",
720         "xml": "<outcome value='success'>\n",
721         "comments": "",
722         "outputs": 1,
723         "x": 3106.000312805176,
724         "y": 1861.3440294265747,
725         "z": "53ac5fd0.5848d",
726         "wires": [
727             [
728                 "eb4c9e4c.8da0d"
729             ]
730         ]
731     },
732     {
733         "id": "eb4c9e4c.8da0d",
734         "type": "block",
735         "name": "block : atomic",
736         "xml": "<block atomic='true'>",
737         "atomic": "true",
738         "comments": "",
739         "outputs": 1,
740         "x": 3281.667007446289,
741         "y": 1839.3440265655518,
742         "z": "53ac5fd0.5848d",
743         "wires": [
744             [
745                 "81c631c6.64bed"
746             ]
747         ]
748     },
749     {
750         "id": "7df1c55c.3df42c",
751         "type": "record",
752         "name": "record",
753         "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 NRCELLDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].attributes.nRPCI`\"/>",
754         "comments": "",
755         "outputs": 1,
756         "x": 4207.166847229004,
757         "y": 1814.0110654830933,
758         "z": "53ac5fd0.5848d",
759         "wires": [
760             []
761         ]
762     },
763     {
764         "id": "c9fb935.38b307",
765         "type": "record",
766         "name": "record",
767         "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.getGNBDUFunction-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nRPCI`\"/>",
768         "comments": "",
769         "outputs": 1,
770         "x": 2757.3344535827637,
771         "y": 1520.6773376464844,
772         "z": "53ac5fd0.5848d",
773         "wires": [
774             []
775         ]
776     },
777     {
778         "id": "3e955ea0.b79f22",
779         "type": "for",
780         "name": "for",
781         "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
782         "comments": "",
783         "outputs": 1,
784         "x": 2143.99995803833,
785         "y": 1534.6771097183228,
786         "z": "53ac5fd0.5848d",
787         "wires": [
788             [
789                 "3f793294.df175e"
790             ]
791         ]
792     },
793     {
794         "id": "35528e0f.7b8ec2",
795         "type": "set",
796         "name": "set tmp variables for the requested fap service input parms",
797         "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",
798         "comments": "",
799         "x": 2844.6681365966797,
800         "y": 1270.5662250518799,
801         "z": "53ac5fd0.5848d",
802         "wires": []
803     },
804     {
805         "id": "de23f1ab.ea25b",
806         "type": "failure",
807         "name": "failure",
808         "xml": "<outcome value='failure'>\n",
809         "comments": "",
810         "outputs": 1,
811         "x": 3096.00057220459,
812         "y": 1652.0105237960815,
813         "z": "53ac5fd0.5848d",
814         "wires": [
815             [
816                 "49382202.17833c"
817             ]
818         ]
819     },
820     {
821         "id": "97abaafa.1d95f8",
822         "type": "success",
823         "name": "success",
824         "xml": "<outcome value='success'>\n",
825         "comments": "",
826         "outputs": 1,
827         "x": 3065.0005111694336,
828         "y": 1739.0104627609253,
829         "z": "53ac5fd0.5848d",
830         "wires": [
831             [
832                 "3df1371.a9568c8"
833             ]
834         ]
835     },
836     {
837         "id": "49382202.17833c",
838         "type": "block",
839         "name": "block",
840         "xml": "<block>\n",
841         "atomic": "false",
842         "comments": "",
843         "outputs": 1,
844         "x": 3269.0005111694336,
845         "y": 1624.0105848312378,
846         "z": "53ac5fd0.5848d",
847         "wires": [
848             [
849                 "f2b1f658.5171f8"
850             ]
851         ]
852     },
853     {
854         "id": "f2b1f658.5171f8",
855         "type": "returnFailure",
856         "name": "return failure",
857         "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\" />",
858         "comments": "",
859         "x": 3457.000144958496,
860         "y": 1614.0105237960815,
861         "z": "53ac5fd0.5848d",
862         "wires": []
863     },
864     {
865         "id": "3df1371.a9568c8",
866         "type": "block",
867         "name": "block",
868         "xml": "<block>\n",
869         "atomic": "false",
870         "comments": "",
871         "outputs": 1,
872         "x": 3247.0002670288086,
873         "y": 1726.0105237960815,
874         "z": "53ac5fd0.5848d",
875         "wires": [
876             [
877                 "76a95310.18f3cc"
878             ]
879         ]
880     },
881     {
882         "id": "76a95310.18f3cc",
883         "type": "record",
884         "name": "record",
885         "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 \"/>",
886         "comments": "",
887         "outputs": 1,
888         "x": 3420.0002670288086,
889         "y": 1725.0105237960815,
890         "z": "53ac5fd0.5848d",
891         "wires": [
892             []
893         ]
894     },
895     {
896         "id": "3f793294.df175e",
897         "type": "block",
898         "name": "block : atomic",
899         "xml": "<block atomic='true'>",
900         "atomic": "true",
901         "comments": "",
902         "outputs": 1,
903         "x": 2496.000213623047,
904         "y": 1534.0209875106812,
905         "z": "53ac5fd0.5848d",
906         "wires": [
907             [
908                 "35528e0f.7b8ec2",
909                 "c9fb935.38b307",
910                 "cf1cb1e7.a54a",
911                 "1046608.be59ca",
912                 "7439cd74.cec184",
913                 "3da2fae9.a7dc26",
914                 "f255168.f1bb8e8",
915                 "71dea216.12285c",
916                 "2b7aacab.d746b4",
917                 "33a72cd2.d27734",
918                 "9ea26627.0c1ef8",
919                 "e50d1970.ba2a28",
920                 "bbc6c31.9895c4",
921                 "d29fc0a2.cbef7",
922                 "9b3c2eb6.b4f39",
923                 "9035e7b3.9c24b8"
924             ]
925         ]
926     },
927     {
928         "id": "3da2fae9.a7dc26",
929         "type": "record",
930         "name": "record",
931         "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 PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.nrcelldu.patch.pci.url`\" />\n",
932         "comments": "",
933         "outputs": 1,
934         "x": 2716.668560028076,
935         "y": 1785.6877613067627,
936         "z": "53ac5fd0.5848d",
937         "wires": [
938             []
939         ]
940     },
941     {
942         "id": "1046608.be59ca",
943         "type": "execute",
944         "name": "Get GNBDUFunction Details",
945         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-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=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
946         "comments": "",
947         "outputs": 1,
948         "x": 2800.3340225219727,
949         "y": 1558.687512397766,
950         "z": "53ac5fd0.5848d",
951         "wires": [
952             [
953                 "29e6206e.562d5",
954                 "2d6e408.62926c"
955             ]
956         ]
957     },
958     {
959         "id": "cf1cb1e7.a54a",
960         "type": "execute",
961         "name": "generate getGNBDUFunction url",
962         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.getGNBDUFunction.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
963         "comments": "",
964         "outputs": 1,
965         "x": 2833.0003509521484,
966         "y": 1394.6877460479736,
967         "z": "53ac5fd0.5848d",
968         "wires": [
969             []
970         ]
971     },
972     {
973         "id": "7439cd74.cec184",
974         "type": "execute",
975         "name": "generate pci patch url for a cell",
976         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
977         "comments": "",
978         "outputs": 1,
979         "x": 2809.333698272705,
980         "y": 1600.3541526794434,
981         "z": "53ac5fd0.5848d",
982         "wires": [
983             []
984         ]
985     },
986     {
987         "id": "f255168.f1bb8e8",
988         "type": "execute",
989         "name": "Recofigure PCI for a Cell",
990         "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.nrcelldu.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=\"nrcelldu-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' />",
991         "comments": "",
992         "outputs": 1,
993         "x": 2759.0484771728516,
994         "y": 1823.2595119476318,
995         "z": "53ac5fd0.5848d",
996         "wires": [
997             [
998                 "de23f1ab.ea25b",
999                 "97abaafa.1d95f8"
1000             ]
1001         ]
1002     },
1003     {
1004         "id": "71dea216.12285c",
1005         "type": "execute",
1006         "name": "Get GNBDUFunction details for a Cell",
1007         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-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=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />",
1008         "comments": "",
1009         "outputs": 1,
1010         "x": 2795.6671295166016,
1011         "y": 1860.0211935043335,
1012         "z": "53ac5fd0.5848d",
1013         "wires": [
1014             [
1015                 "2fe85c6d.53b954",
1016                 "3b60c1c5.f61d0e"
1017             ]
1018         ]
1019     },
1020     {
1021         "id": "2b7aacab.d746b4",
1022         "type": "execute",
1023         "name": "populate idGNBDUFunction",
1024         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
1025         "comments": "",
1026         "outputs": 1,
1027         "x": 2803.667037963867,
1028         "y": 1483.010419845581,
1029         "z": "53ac5fd0.5848d",
1030         "wires": [
1031             []
1032         ]
1033     },
1034     {
1035         "id": "33a72cd2.d27734",
1036         "type": "execute",
1037         "name": "populate idGNBDUFunction",
1038         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
1039         "comments": "",
1040         "outputs": 1,
1041         "x": 2797.001289367676,
1042         "y": 1693.3437595367432,
1043         "z": "53ac5fd0.5848d",
1044         "wires": [
1045             []
1046         ]
1047     },
1048     {
1049         "id": "7ca740c9.78f26",
1050         "type": "block",
1051         "name": "block : atomic",
1052         "xml": "<block atomic='true'>",
1053         "atomic": "true",
1054         "comments": "",
1055         "outputs": 1,
1056         "x": 2886.3336486816406,
1057         "y": 2413.3332653045654,
1058         "z": "53ac5fd0.5848d",
1059         "wires": [
1060             [
1061                 "cd4ac104.c7ca4",
1062                 "37c6c50d.1e713a",
1063                 "2878a7a6.c14518"
1064             ]
1065         ]
1066     },
1067     {
1068         "id": "cd4ac104.c7ca4",
1069         "type": "execute",
1070         "name": "generate configdb phy cell id patch url",
1071         "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`\"/>",
1072         "comments": "",
1073         "outputs": 1,
1074         "x": 3200.3336486816406,
1075         "y": 2325.3332653045654,
1076         "z": "53ac5fd0.5848d",
1077         "wires": [
1078             []
1079         ]
1080     },
1081     {
1082         "id": "37c6c50d.1e713a",
1083         "type": "record",
1084         "name": "record configdb RestAPI parms",
1085         "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`\" />",
1086         "comments": "",
1087         "outputs": 1,
1088         "x": 3170.3336486816406,
1089         "y": 2389.3332653045654,
1090         "z": "53ac5fd0.5848d",
1091         "wires": [
1092             []
1093         ]
1094     },
1095     {
1096         "id": "2878a7a6.c14518",
1097         "type": "execute",
1098         "name": "Configure PCI value in configdb",
1099         "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' />",
1100         "comments": "",
1101         "outputs": 1,
1102         "x": 3144.3336486816406,
1103         "y": 2484.3332653045654,
1104         "z": "53ac5fd0.5848d",
1105         "wires": [
1106             [
1107                 "38fea44f.4893bc",
1108                 "a7752170.3ee07"
1109             ]
1110         ]
1111     },
1112     {
1113         "id": "38fea44f.4893bc",
1114         "type": "failure",
1115         "name": "failure",
1116         "xml": "<outcome value='failure'>\n",
1117         "comments": "",
1118         "outputs": 1,
1119         "x": 3359.3336486816406,
1120         "y": 2427.3332653045654,
1121         "z": "53ac5fd0.5848d",
1122         "wires": [
1123             [
1124                 "b9f63e4d.41f2c"
1125             ]
1126         ]
1127     },
1128     {
1129         "id": "a7752170.3ee07",
1130         "type": "success",
1131         "name": "success",
1132         "xml": "<outcome value='success'>\n",
1133         "comments": "",
1134         "outputs": 1,
1135         "x": 3359.333526611328,
1136         "y": 2523.333143234253,
1137         "z": "53ac5fd0.5848d",
1138         "wires": [
1139             [
1140                 "65321af7.fce354"
1141             ]
1142         ]
1143     },
1144     {
1145         "id": "b9f63e4d.41f2c",
1146         "type": "block",
1147         "name": "block",
1148         "xml": "<block>\n",
1149         "atomic": "false",
1150         "comments": "",
1151         "outputs": 1,
1152         "x": 3528.333526611328,
1153         "y": 2438.3332653045654,
1154         "z": "53ac5fd0.5848d",
1155         "wires": [
1156             [
1157                 "10de0799.23bca8"
1158             ]
1159         ]
1160     },
1161     {
1162         "id": "65321af7.fce354",
1163         "type": "block",
1164         "name": "block",
1165         "xml": "<block>\n",
1166         "atomic": "false",
1167         "comments": "",
1168         "outputs": 1,
1169         "x": 3521.333282470703,
1170         "y": 2524.3332653045654,
1171         "z": "53ac5fd0.5848d",
1172         "wires": [
1173             [
1174                 "9d2947d1.ed9748"
1175             ]
1176         ]
1177     },
1178     {
1179         "id": "10de0799.23bca8",
1180         "type": "returnFailure",
1181         "name": "return failure",
1182         "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\" />",
1183         "comments": "",
1184         "x": 3682.333221435547,
1185         "y": 2431.3332653045654,
1186         "z": "53ac5fd0.5848d",
1187         "wires": []
1188     },
1189     {
1190         "id": "9d2947d1.ed9748",
1191         "type": "record",
1192         "name": "record",
1193         "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\"/>",
1194         "comments": "",
1195         "outputs": 1,
1196         "x": 3672.3334045410156,
1197         "y": 2521.3332653045654,
1198         "z": "53ac5fd0.5848d",
1199         "wires": [
1200             []
1201         ]
1202     },
1203     {
1204         "id": "9ea26627.0c1ef8",
1205         "type": "switchNode",
1206         "name": "switch configdb deployed",
1207         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
1208         "comments": "",
1209         "outputs": 1,
1210         "x": 2756.42911529541,
1211         "y": 1900.571457862854,
1212         "z": "53ac5fd0.5848d",
1213         "wires": [
1214             [
1215                 "9b2b014d.01283",
1216                 "e68f25b7.b74a08"
1217             ]
1218         ]
1219     },
1220     {
1221         "id": "9b2b014d.01283",
1222         "type": "outcome",
1223         "name": "Deployed",
1224         "xml": "<outcome value='true'>\n",
1225         "comments": "",
1226         "outputs": 1,
1227         "x": 2922.6672134399414,
1228         "y": 2095.3334827423096,
1229         "z": "53ac5fd0.5848d",
1230         "wires": [
1231             [
1232                 "7ca740c9.78f26"
1233             ]
1234         ]
1235     },
1236     {
1237         "id": "86d3ebb5.64bbe8",
1238         "type": "block",
1239         "name": "block : atomic",
1240         "xml": "<block atomic='true'>",
1241         "atomic": "true",
1242         "comments": "",
1243         "outputs": 1,
1244         "x": 3211.3333892822266,
1245         "y": 1083.3228778839111,
1246         "z": "53ac5fd0.5848d",
1247         "wires": [
1248             [
1249                 "387cbe4b.d03812",
1250                 "4f4a975.b252f68",
1251                 "98773b4a.65ed28"
1252             ]
1253         ]
1254     },
1255     {
1256         "id": "387cbe4b.d03812",
1257         "type": "execute",
1258         "name": "generate configdb phy cell id patch url",
1259         "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`\"/>",
1260         "comments": "",
1261         "outputs": 1,
1262         "x": 3481.3333892822266,
1263         "y": 989.3228511810303,
1264         "z": "53ac5fd0.5848d",
1265         "wires": [
1266             []
1267         ]
1268     },
1269     {
1270         "id": "4f4a975.b252f68",
1271         "type": "record",
1272         "name": "record configdb RestAPI parms",
1273         "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`\" />",
1274         "comments": "",
1275         "outputs": 1,
1276         "x": 3477.3335132598877,
1277         "y": 1078.3229894638062,
1278         "z": "53ac5fd0.5848d",
1279         "wires": [
1280             []
1281         ]
1282     },
1283     {
1284         "id": "98773b4a.65ed28",
1285         "type": "execute",
1286         "name": "Configure PCI value in configdb",
1287         "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' />",
1288         "comments": "",
1289         "outputs": 1,
1290         "x": 3453.191436767578,
1291         "y": 1143.4658863544464,
1292         "z": "53ac5fd0.5848d",
1293         "wires": [
1294             [
1295                 "a2c27c7c.e07dc",
1296                 "387ed606.5e99aa"
1297             ]
1298         ]
1299     },
1300     {
1301         "id": "a2c27c7c.e07dc",
1302         "type": "failure",
1303         "name": "failure",
1304         "xml": "<outcome value='failure'>\n",
1305         "comments": "",
1306         "outputs": 1,
1307         "x": 3684.3333892822266,
1308         "y": 1097.3228778839111,
1309         "z": "53ac5fd0.5848d",
1310         "wires": [
1311             [
1312                 "73319bd3.a7c854"
1313             ]
1314         ]
1315     },
1316     {
1317         "id": "387ed606.5e99aa",
1318         "type": "success",
1319         "name": "success",
1320         "xml": "<outcome value='success'>\n",
1321         "comments": "",
1322         "outputs": 1,
1323         "x": 3864.3339462280273,
1324         "y": 1188.3229184150696,
1325         "z": "53ac5fd0.5848d",
1326         "wires": [
1327             [
1328                 "2278b0d3.4d38c"
1329             ]
1330         ]
1331     },
1332     {
1333         "id": "73319bd3.a7c854",
1334         "type": "block",
1335         "name": "block",
1336         "xml": "<block>\n",
1337         "atomic": "false",
1338         "comments": "",
1339         "outputs": 1,
1340         "x": 3853.333267211914,
1341         "y": 1108.3228778839111,
1342         "z": "53ac5fd0.5848d",
1343         "wires": [
1344             [
1345                 "5709aa9.6dc1654"
1346             ]
1347         ]
1348     },
1349     {
1350         "id": "2278b0d3.4d38c",
1351         "type": "block",
1352         "name": "block",
1353         "xml": "<block>\n",
1354         "atomic": "false",
1355         "comments": "",
1356         "outputs": 1,
1357         "x": 4026.3337020874023,
1358         "y": 1189.323040485382,
1359         "z": "53ac5fd0.5848d",
1360         "wires": [
1361             [
1362                 "44eb94c8.826edc"
1363             ]
1364         ]
1365     },
1366     {
1367         "id": "5709aa9.6dc1654",
1368         "type": "returnFailure",
1369         "name": "return failure",
1370         "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\" />",
1371         "comments": "",
1372         "x": 4007.332962036133,
1373         "y": 1101.3228778839111,
1374         "z": "53ac5fd0.5848d",
1375         "wires": []
1376     },
1377     {
1378         "id": "44eb94c8.826edc",
1379         "type": "record",
1380         "name": "record",
1381         "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\"/>",
1382         "comments": "",
1383         "outputs": 1,
1384         "x": 4177.333824157715,
1385         "y": 1185.3230137825012,
1386         "z": "53ac5fd0.5848d",
1387         "wires": [
1388             []
1389         ]
1390     },
1391     {
1392         "id": "299044d0.ed447c",
1393         "type": "switchNode",
1394         "name": "switch configdb deployed",
1395         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
1396         "comments": "",
1397         "outputs": 1,
1398         "x": 2395.3334579467773,
1399         "y": 1079.3228225708008,
1400         "z": "53ac5fd0.5848d",
1401         "wires": [
1402             [
1403                 "d54a0170.8e85a",
1404                 "597e0eca.2d59f"
1405             ]
1406         ]
1407     },
1408     {
1409         "id": "d54a0170.8e85a",
1410         "type": "outcome",
1411         "name": "Deployed",
1412         "xml": "<outcome value='true'>\n",
1413         "comments": "",
1414         "outputs": 1,
1415         "x": 2966.333724975586,
1416         "y": 993.9896039962769,
1417         "z": "53ac5fd0.5848d",
1418         "wires": [
1419             [
1420                 "86d3ebb5.64bbe8"
1421             ]
1422         ]
1423     },
1424     {
1425         "id": "c918c86b.bcce58",
1426         "type": "execute",
1427         "name": "execute TemplateNode",
1428         "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",
1429         "comments": "",
1430         "outputs": 1,
1431         "x": 898,
1432         "y": 1830,
1433         "z": "53ac5fd0.5848d",
1434         "wires": [
1435             [
1436                 "23354a7f.abe5a6",
1437                 "b936193a.237718"
1438             ]
1439         ]
1440     },
1441     {
1442         "id": "23354a7f.abe5a6",
1443         "type": "success",
1444         "name": "success",
1445         "xml": "<outcome value='success'>\n",
1446         "comments": "",
1447         "outputs": 1,
1448         "x": 1172,
1449         "y": 1799,
1450         "z": "53ac5fd0.5848d",
1451         "wires": [
1452             [
1453                 "d123e276.4b071"
1454             ]
1455         ]
1456     },
1457     {
1458         "id": "d123e276.4b071",
1459         "type": "block",
1460         "name": "block : atomic",
1461         "xml": "<block atomic='true'>",
1462         "atomic": "true",
1463         "comments": "",
1464         "outputs": 1,
1465         "x": 1363,
1466         "y": 1802,
1467         "z": "53ac5fd0.5848d",
1468         "wires": [
1469             [
1470                 "b152b886.d780a8"
1471             ]
1472         ]
1473     },
1474     {
1475         "id": "b152b886.d780a8",
1476         "type": "record",
1477         "name": "record",
1478         "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`' />",
1479         "comments": "",
1480         "outputs": 1,
1481         "x": 1531,
1482         "y": 1803,
1483         "z": "53ac5fd0.5848d",
1484         "wires": [
1485             []
1486         ]
1487     },
1488     {
1489         "id": "728a3826.841b48",
1490         "type": "execute",
1491         "name": "remove new lines",
1492         "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",
1493         "comments": "",
1494         "outputs": 1,
1495         "x": 870.5,
1496         "y": 1946,
1497         "z": "53ac5fd0.5848d",
1498         "wires": [
1499             [
1500                 "8e344a27.d39c88",
1501                 "4de8d227.762b8c"
1502             ]
1503         ]
1504     },
1505     {
1506         "id": "25a789cd.d929a6",
1507         "type": "execute",
1508         "name": "remove tabs",
1509         "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",
1510         "comments": "",
1511         "outputs": 1,
1512         "x": 860,
1513         "y": 2028,
1514         "z": "53ac5fd0.5848d",
1515         "wires": [
1516             [
1517                 "a490cbb.bee4838",
1518                 "14b4c319.51f5dd"
1519             ]
1520         ]
1521     },
1522     {
1523         "id": "a490cbb.bee4838",
1524         "type": "success",
1525         "name": "success",
1526         "xml": "<outcome value='success'>\n",
1527         "comments": "",
1528         "outputs": 1,
1529         "x": 1042.5,
1530         "y": 2036,
1531         "z": "53ac5fd0.5848d",
1532         "wires": [
1533             [
1534                 "f1b02dbc.cbce4"
1535             ]
1536         ]
1537     },
1538     {
1539         "id": "f1b02dbc.cbce4",
1540         "type": "block",
1541         "name": "block : atomic",
1542         "xml": "<block atomic='true'>",
1543         "atomic": "true",
1544         "comments": "",
1545         "outputs": 1,
1546         "x": 1227.5,
1547         "y": 2034,
1548         "z": "53ac5fd0.5848d",
1549         "wires": [
1550             [
1551                 "6c34c130.2f071"
1552             ]
1553         ]
1554     },
1555     {
1556         "id": "6c34c130.2f071",
1557         "type": "record",
1558         "name": "record",
1559         "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",
1560         "comments": "",
1561         "outputs": 1,
1562         "x": 1429.5,
1563         "y": 2029,
1564         "z": "53ac5fd0.5848d",
1565         "wires": [
1566             []
1567         ]
1568     },
1569     {
1570         "id": "8e344a27.d39c88",
1571         "type": "success",
1572         "name": "success",
1573         "xml": "<outcome value='success'>\n",
1574         "comments": "",
1575         "outputs": 1,
1576         "x": 1064,
1577         "y": 1914,
1578         "z": "53ac5fd0.5848d",
1579         "wires": [
1580             [
1581                 "f6b54c29.74b6b"
1582             ]
1583         ]
1584     },
1585     {
1586         "id": "f6b54c29.74b6b",
1587         "type": "block",
1588         "name": "block : atomic",
1589         "xml": "<block atomic='true'>",
1590         "atomic": "true",
1591         "comments": "",
1592         "outputs": 1,
1593         "x": 1239,
1594         "y": 1928,
1595         "z": "53ac5fd0.5848d",
1596         "wires": [
1597             [
1598                 "d36d1158.04e93"
1599             ]
1600         ]
1601     },
1602     {
1603         "id": "d36d1158.04e93",
1604         "type": "record",
1605         "name": "record",
1606         "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",
1607         "comments": "",
1608         "outputs": 1,
1609         "x": 1427,
1610         "y": 1930,
1611         "z": "53ac5fd0.5848d",
1612         "wires": [
1613             []
1614         ]
1615     },
1616     {
1617         "id": "b936193a.237718",
1618         "type": "failure",
1619         "name": "failure",
1620         "xml": "<outcome value='failure'>\n",
1621         "comments": "",
1622         "outputs": 1,
1623         "x": 1171,
1624         "y": 1856,
1625         "z": "53ac5fd0.5848d",
1626         "wires": [
1627             [
1628                 "286c9885.46df38"
1629             ]
1630         ]
1631     },
1632     {
1633         "id": "286c9885.46df38",
1634         "type": "block",
1635         "name": "block",
1636         "xml": "<block>\n",
1637         "atomic": "false",
1638         "comments": "",
1639         "outputs": 1,
1640         "x": 1339.9998779296875,
1641         "y": 1862,
1642         "z": "53ac5fd0.5848d",
1643         "wires": [
1644             [
1645                 "76e66fd0.02673"
1646             ]
1647         ]
1648     },
1649     {
1650         "id": "76e66fd0.02673",
1651         "type": "returnFailure",
1652         "name": "return failure",
1653         "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\" />",
1654         "comments": "",
1655         "x": 1495.9996337890625,
1656         "y": 1861,
1657         "z": "53ac5fd0.5848d",
1658         "wires": []
1659     },
1660     {
1661         "id": "4de8d227.762b8c",
1662         "type": "failure",
1663         "name": "failure",
1664         "xml": "<outcome value='failure'>\n",
1665         "comments": "",
1666         "outputs": 1,
1667         "x": 1085,
1668         "y": 1985,
1669         "z": "53ac5fd0.5848d",
1670         "wires": [
1671             [
1672                 "e51a49bc.44b938"
1673             ]
1674         ]
1675     },
1676     {
1677         "id": "e51a49bc.44b938",
1678         "type": "block",
1679         "name": "block",
1680         "xml": "<block>\n",
1681         "atomic": "false",
1682         "comments": "",
1683         "outputs": 1,
1684         "x": 1252.9998779296875,
1685         "y": 1980,
1686         "z": "53ac5fd0.5848d",
1687         "wires": [
1688             [
1689                 "7d9d93ab.611b4c"
1690             ]
1691         ]
1692     },
1693     {
1694         "id": "7d9d93ab.611b4c",
1695         "type": "returnFailure",
1696         "name": "return failure",
1697         "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\" />",
1698         "comments": "",
1699         "x": 1410.9995727539062,
1700         "y": 1983,
1701         "z": "53ac5fd0.5848d",
1702         "wires": []
1703     },
1704     {
1705         "id": "14b4c319.51f5dd",
1706         "type": "failure",
1707         "name": "failure",
1708         "xml": "<outcome value='failure'>\n",
1709         "comments": "",
1710         "outputs": 1,
1711         "x": 1045,
1712         "y": 2084,
1713         "z": "53ac5fd0.5848d",
1714         "wires": [
1715             [
1716                 "bccd3dac.0be5d"
1717             ]
1718         ]
1719     },
1720     {
1721         "id": "bccd3dac.0be5d",
1722         "type": "block",
1723         "name": "block",
1724         "xml": "<block>\n",
1725         "atomic": "false",
1726         "comments": "",
1727         "outputs": 1,
1728         "x": 1220.9998779296875,
1729         "y": 2085,
1730         "z": "53ac5fd0.5848d",
1731         "wires": [
1732             [
1733                 "4688e9de.9bfe08"
1734             ]
1735         ]
1736     },
1737     {
1738         "id": "4688e9de.9bfe08",
1739         "type": "returnFailure",
1740         "name": "return failure",
1741         "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\" />",
1742         "comments": "",
1743         "x": 1367.9995727539062,
1744         "y": 2088,
1745         "z": "53ac5fd0.5848d",
1746         "wires": []
1747     },
1748     {
1749         "id": "1402ffdd.7aaa3",
1750         "type": "block",
1751         "name": "DMAAP Payload Generation",
1752         "xml": "<block atomic='true'>",
1753         "atomic": "true",
1754         "comments": "",
1755         "outputs": 1,
1756         "x": 615,
1757         "y": 1951,
1758         "z": "53ac5fd0.5848d",
1759         "wires": [
1760             [
1761                 "c918c86b.bcce58",
1762                 "728a3826.841b48",
1763                 "25a789cd.d929a6"
1764             ]
1765         ]
1766     },
1767     {
1768         "id": "d3a1a502.8392d8",
1769         "type": "block",
1770         "name": "DMAAP Reponse Publish",
1771         "xml": "<block atomic='true'>",
1772         "atomic": "true",
1773         "comments": "",
1774         "outputs": 1,
1775         "x": 578.9999980926514,
1776         "y": 2212.9999556541443,
1777         "z": "53ac5fd0.5848d",
1778         "wires": [
1779             [
1780                 "a274e0c7.04611",
1781                 "12864fab.3866d",
1782                 "aba1f9dc.0c9bd8"
1783             ]
1784         ]
1785     },
1786     {
1787         "id": "12864fab.3866d",
1788         "type": "execute",
1789         "name": "execute DmaapMsg",
1790         "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' />",
1791         "comments": "",
1792         "outputs": 1,
1793         "x": 851.0000972747803,
1794         "y": 2324.999472618103,
1795         "z": "53ac5fd0.5848d",
1796         "wires": [
1797             [
1798                 "b752380f.8a4c28",
1799                 "a0ea2d6b.f914"
1800             ]
1801         ]
1802     },
1803     {
1804         "id": "a274e0c7.04611",
1805         "type": "set",
1806         "name": "set",
1807         "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfig`'/>",
1808         "comments": "",
1809         "x": 915.6667613983154,
1810         "y": 2161.000005722046,
1811         "z": "53ac5fd0.5848d",
1812         "wires": []
1813     },
1814     {
1815         "id": "b752380f.8a4c28",
1816         "type": "failure",
1817         "name": "failure",
1818         "xml": "<outcome value='failure'>\n",
1819         "comments": "",
1820         "outputs": 1,
1821         "x": 1071.500036239624,
1822         "y": 2251.9167337417603,
1823         "z": "53ac5fd0.5848d",
1824         "wires": [
1825             [
1826                 "83870f28.fa9c6"
1827             ]
1828         ]
1829     },
1830     {
1831         "id": "a0ea2d6b.f914",
1832         "type": "success",
1833         "name": "success",
1834         "xml": "<outcome value='success'>\n",
1835         "comments": "",
1836         "outputs": 1,
1837         "x": 1075.4999561309814,
1838         "y": 2390.916576385498,
1839         "z": "53ac5fd0.5848d",
1840         "wires": [
1841             [
1842                 "d3db2d15.8bb35"
1843             ]
1844         ]
1845     },
1846     {
1847         "id": "83870f28.fa9c6",
1848         "type": "block",
1849         "name": "block",
1850         "xml": "<block>\n",
1851         "atomic": "false",
1852         "comments": "",
1853         "outputs": 1,
1854         "x": 1231.499870300293,
1855         "y": 2253.9167346954346,
1856         "z": "53ac5fd0.5848d",
1857         "wires": [
1858             [
1859                 "daf3c9f3.630078"
1860             ]
1861         ]
1862     },
1863     {
1864         "id": "daf3c9f3.630078",
1865         "type": "returnFailure",
1866         "name": "return failure",
1867         "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\" />",
1868         "comments": "",
1869         "x": 1408.4996318817139,
1870         "y": 2243.9167881011963,
1871         "z": "53ac5fd0.5848d",
1872         "wires": []
1873     },
1874     {
1875         "id": "d3db2d15.8bb35",
1876         "type": "block",
1877         "name": "block",
1878         "xml": "<block>\n",
1879         "atomic": "false",
1880         "comments": "",
1881         "outputs": 1,
1882         "x": 1258.499599456787,
1883         "y": 2383.91668510437,
1884         "z": "53ac5fd0.5848d",
1885         "wires": [
1886             [
1887                 "95a6e939.866c08"
1888             ]
1889         ]
1890     },
1891     {
1892         "id": "95a6e939.866c08",
1893         "type": "record",
1894         "name": "record",
1895         "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 \"/>",
1896         "comments": "",
1897         "outputs": 1,
1898         "x": 1440.4997158050537,
1899         "y": 2368.916955947876,
1900         "z": "53ac5fd0.5848d",
1901         "wires": [
1902             []
1903         ]
1904     },
1905     {
1906         "id": "aba1f9dc.0c9bd8",
1907         "type": "record",
1908         "name": "record",
1909         "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",
1910         "comments": "",
1911         "outputs": 1,
1912         "x": 922.5000705718994,
1913         "y": 2232.454870223999,
1914         "z": "53ac5fd0.5848d",
1915         "wires": [
1916             []
1917         ]
1918     },
1919     {
1920         "id": "f6e35591.d1d158",
1921         "type": "set",
1922         "name": "set properties for DMAAP header",
1923         "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`\"/>",
1924         "comments": "",
1925         "x": 456,
1926         "y": 332,
1927         "z": "53ac5fd0.5848d",
1928         "wires": []
1929     },
1930     {
1931         "id": "e50d1970.ba2a28",
1932         "type": "set",
1933         "name": "set tmp variables",
1934         "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",
1935         "comments": "",
1936         "x": 2742.0007400512695,
1937         "y": 1309.333683013916,
1938         "z": "53ac5fd0.5848d",
1939         "wires": []
1940     },
1941     {
1942         "id": "bbc6c31.9895c4",
1943         "type": "execute",
1944         "name": "populate idNRCellDU",
1945         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
1946         "comments": "",
1947         "outputs": 1,
1948         "x": 2768.0008544921875,
1949         "y": 1738.6668243408203,
1950         "z": "53ac5fd0.5848d",
1951         "wires": [
1952             []
1953         ]
1954     },
1955     {
1956         "id": "36fdbbb1.627594",
1957         "type": "record",
1958         "name": "record",
1959         "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=\"CPS is Deployed, ConfigDB Skipped\"/>",
1960         "comments": "",
1961         "outputs": 1,
1962         "x": 3294.333824157715,
1963         "y": 1901.3334140777588,
1964         "z": "53ac5fd0.5848d",
1965         "wires": [
1966             []
1967         ]
1968     },
1969     {
1970         "id": "e68f25b7.b74a08",
1971         "type": "outcome",
1972         "name": "Not Deployed",
1973         "xml": "<outcome value='false'>\n",
1974         "comments": "",
1975         "outputs": 1,
1976         "x": 3007.666980743408,
1977         "y": 1926.4447622299194,
1978         "z": "53ac5fd0.5848d",
1979         "wires": [
1980             [
1981                 "4a2cf544.19442c"
1982             ]
1983         ]
1984     },
1985     {
1986         "id": "eb728676.156e58",
1987         "type": "record",
1988         "name": "record",
1989         "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`\"/>",
1990         "comments": "",
1991         "outputs": 1,
1992         "x": 428.0002136230469,
1993         "y": 531.6666841506958,
1994         "z": "53ac5fd0.5848d",
1995         "wires": [
1996             []
1997         ]
1998     },
1999     {
2000         "id": "2fa4a845.8275d8",
2001         "type": "execute",
2002         "name": "getAnchors URL",
2003         "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
2004         "comments": "",
2005         "outputs": 1,
2006         "x": 439.75012969970703,
2007         "y": 482.48805236816406,
2008         "z": "53ac5fd0.5848d",
2009         "wires": [
2010             []
2011         ]
2012     },
2013     {
2014         "id": "be6270f5.aa16d",
2015         "type": "execute",
2016         "name": "set anchors size",
2017         "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
2018         "comments": "",
2019         "outputs": 1,
2020         "x": 464.2975769042969,
2021         "y": 624.594705581665,
2022         "z": "53ac5fd0.5848d",
2023         "wires": [
2024             []
2025         ]
2026     },
2027     {
2028         "id": "f25730c7.30ea4",
2029         "type": "execute",
2030         "name": "read schemaSet",
2031         "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",
2032         "comments": "",
2033         "outputs": 1,
2034         "x": 868.7973251342773,
2035         "y": 609.4478543996811,
2036         "z": "53ac5fd0.5848d",
2037         "wires": [
2038             []
2039         ]
2040     },
2041     {
2042         "id": "c950590b.012dd8",
2043         "type": "execute",
2044         "name": "initialize nearRTRIC size",
2045         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
2046         "comments": "",
2047         "outputs": 1,
2048         "x": 496.88783264160156,
2049         "y": 667.8329477310181,
2050         "z": "53ac5fd0.5848d",
2051         "wires": [
2052             []
2053         ]
2054     },
2055     {
2056         "id": "c70dbff8.4e894",
2057         "type": "block",
2058         "name": "block : atomic",
2059         "xml": "<block atomic='true'>",
2060         "atomic": "true",
2061         "comments": "",
2062         "outputs": 1,
2063         "x": 665.3056411743164,
2064         "y": 744.3451976776123,
2065         "z": "53ac5fd0.5848d",
2066         "wires": [
2067             [
2068                 "cb57fa9c.a9acc8",
2069                 "d3e9c1b8.3e8bb"
2070             ]
2071         ]
2072     },
2073     {
2074         "id": "f7fe19f3.4ff218",
2075         "type": "execute",
2076         "name": "read anchorName",
2077         "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'`\" />",
2078         "comments": "",
2079         "outputs": 1,
2080         "x": 1602.0041465759277,
2081         "y": 188.2659683227539,
2082         "z": "53ac5fd0.5848d",
2083         "wires": [
2084             []
2085         ]
2086     },
2087     {
2088         "id": "ab7add37.674c1",
2089         "type": "for",
2090         "name": "For anchorsList",
2091         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2092         "comments": "",
2093         "outputs": 1,
2094         "x": 470.1733093261719,
2095         "y": 704.7301654815674,
2096         "z": "53ac5fd0.5848d",
2097         "wires": [
2098             [
2099                 "f5358153.6da27"
2100             ]
2101         ]
2102     },
2103     {
2104         "id": "f5358153.6da27",
2105         "type": "block",
2106         "name": "block : atomic",
2107         "xml": "<block atomic='true'>",
2108         "atomic": "true",
2109         "comments": "",
2110         "outputs": 1,
2111         "x": 674.7052154541016,
2112         "y": 699.6864643096924,
2113         "z": "53ac5fd0.5848d",
2114         "wires": [
2115             [
2116                 "675cd472.bff13c",
2117                 "f25730c7.30ea4"
2118             ]
2119         ]
2120     },
2121     {
2122         "id": "675cd472.bff13c",
2123         "type": "switchNode",
2124         "name": "check schemaSetName",
2125         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2126         "comments": "",
2127         "outputs": 1,
2128         "x": 893.2818832397461,
2129         "y": 656.5436420440674,
2130         "z": "53ac5fd0.5848d",
2131         "wires": [
2132             [
2133                 "294f8977.23db66"
2134             ]
2135         ]
2136     },
2137     {
2138         "id": "294f8977.23db66",
2139         "type": "outcome",
2140         "name": "if ran-network",
2141         "xml": "<outcome value='ran-network'>\n",
2142         "comments": "",
2143         "outputs": 1,
2144         "x": 1076.587474822998,
2145         "y": 621.01589012146,
2146         "z": "53ac5fd0.5848d",
2147         "wires": [
2148             [
2149                 "115c78bf.8ca8f7"
2150             ]
2151         ]
2152     },
2153     {
2154         "id": "115c78bf.8ca8f7",
2155         "type": "block",
2156         "name": "block : atomic",
2157         "xml": "<block atomic='true'>",
2158         "atomic": "true",
2159         "comments": "",
2160         "outputs": 1,
2161         "x": 1397.8898811340332,
2162         "y": 132.34918785095215,
2163         "z": "53ac5fd0.5848d",
2164         "wires": [
2165             [
2166                 "1ebc844e.40168c",
2167                 "d2147f26.09c8d"
2168             ]
2169         ]
2170     },
2171     {
2172         "id": "1ebc844e.40168c",
2173         "type": "record",
2174         "name": "record",
2175         "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`\"/>",
2176         "comments": "",
2177         "outputs": 1,
2178         "x": 1576.8033027648926,
2179         "y": 132.15472984313965,
2180         "z": "53ac5fd0.5848d",
2181         "wires": [
2182             []
2183         ]
2184     },
2185     {
2186         "id": "d3e9c1b8.3e8bb",
2187         "type": "switchNode",
2188         "name": "check schemaSetName",
2189         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2190         "comments": "",
2191         "outputs": 1,
2192         "x": 891.0811309814453,
2193         "y": 734.9170907735825,
2194         "z": "53ac5fd0.5848d",
2195         "wires": [
2196             [
2197                 "6d288f2b.233be"
2198             ]
2199         ]
2200     },
2201     {
2202         "id": "cb57fa9c.a9acc8",
2203         "type": "execute",
2204         "name": "read schemaSet",
2205         "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",
2206         "comments": "",
2207         "outputs": 1,
2208         "x": 875.1089630126953,
2209         "y": 693.6670888662338,
2210         "z": "53ac5fd0.5848d",
2211         "wires": [
2212             []
2213         ]
2214     },
2215     {
2216         "id": "6d288f2b.233be",
2217         "type": "outcome",
2218         "name": "if ran-network",
2219         "xml": "<outcome value='ran-network'>\n",
2220         "comments": "",
2221         "outputs": 1,
2222         "x": 1074.88671875,
2223         "y": 691.3893798589706,
2224         "z": "53ac5fd0.5848d",
2225         "wires": [
2226             [
2227                 "764663a0.fc43fc"
2228             ]
2229         ]
2230     },
2231     {
2232         "id": "764663a0.fc43fc",
2233         "type": "block",
2234         "name": "block : atomic",
2235         "xml": "<block atomic='true'>",
2236         "atomic": "true",
2237         "comments": "",
2238         "outputs": 1,
2239         "x": 1421.0225257873535,
2240         "y": 218.6115493774414,
2241         "z": "53ac5fd0.5848d",
2242         "wires": [
2243             [
2244                 "f7fe19f3.4ff218",
2245                 "917c4aec.1daf98"
2246             ]
2247         ]
2248     },
2249     {
2250         "id": "36bfd25c.6ba71e",
2251         "type": "for",
2252         "name": "For anchorsList",
2253         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2254         "comments": "",
2255         "outputs": 1,
2256         "x": 464.0465202331543,
2257         "y": 750.1909408569336,
2258         "z": "53ac5fd0.5848d",
2259         "wires": [
2260             [
2261                 "c70dbff8.4e894"
2262             ]
2263         ]
2264     },
2265     {
2266         "id": "d2147f26.09c8d",
2267         "type": "execute",
2268         "name": "set nearRTRIC size",
2269         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
2270         "comments": "",
2271         "outputs": 1,
2272         "x": 1575.861415863037,
2273         "y": 83.83377170562744,
2274         "z": "53ac5fd0.5848d",
2275         "wires": [
2276             []
2277         ]
2278     },
2279     {
2280         "id": "917c4aec.1daf98",
2281         "type": "block",
2282         "name": "block : atomic",
2283         "xml": "<block atomic='true'>",
2284         "atomic": "true",
2285         "comments": "",
2286         "outputs": 1,
2287         "x": 1617.948642730713,
2288         "y": 236.98813915252686,
2289         "z": "53ac5fd0.5848d",
2290         "wires": [
2291             [
2292                 "7c189082.ae6cf",
2293                 "bf9f0a37.65b058",
2294                 "5546e92e.2cddf8",
2295                 "cf64a64b.aafba8"
2296             ]
2297         ]
2298     },
2299     {
2300         "id": "ab1371d1.4bb7a",
2301         "type": "failure",
2302         "name": "failure",
2303         "xml": "<outcome value='failure'>\n",
2304         "comments": "",
2305         "outputs": 1,
2306         "x": 677.2541198730469,
2307         "y": 508.0435584783554,
2308         "z": "53ac5fd0.5848d",
2309         "wires": [
2310             [
2311                 "1abb54f3.638f0b"
2312             ]
2313         ]
2314     },
2315     {
2316         "id": "c89731e6.27985",
2317         "type": "success",
2318         "name": "success",
2319         "xml": "<outcome value='success'>\n",
2320         "comments": "",
2321         "outputs": 1,
2322         "x": 691.2542915344238,
2323         "y": 582.2379741668701,
2324         "z": "53ac5fd0.5848d",
2325         "wires": [
2326             [
2327                 "315a5.5e302a5ba"
2328             ]
2329         ]
2330     },
2331     {
2332         "id": "1abb54f3.638f0b",
2333         "type": "block",
2334         "name": "block",
2335         "xml": "<block>",
2336         "atomic": "false",
2337         "comments": "",
2338         "outputs": 1,
2339         "x": 819.948616027832,
2340         "y": 505.6547578573227,
2341         "z": "53ac5fd0.5848d",
2342         "wires": [
2343             [
2344                 "4f2750ab.ef11f",
2345                 "548b6757.689c28"
2346             ]
2347         ]
2348     },
2349     {
2350         "id": "315a5.5e302a5ba",
2351         "type": "block",
2352         "name": "block : atomic",
2353         "xml": "<block atomic='true'>",
2354         "atomic": "true",
2355         "comments": "",
2356         "outputs": 1,
2357         "x": 839.6984519958496,
2358         "y": 558.9046806097031,
2359         "z": "53ac5fd0.5848d",
2360         "wires": [
2361             [
2362                 "50e8ee40.48307",
2363                 "af3d6562.366a98"
2364             ]
2365         ]
2366     },
2367     {
2368         "id": "4f2750ab.ef11f",
2369         "type": "set",
2370         "name": "set",
2371         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2372         "comments": "",
2373         "x": 1003.7260437011719,
2374         "y": 469.48796784877777,
2375         "z": "53ac5fd0.5848d",
2376         "wires": []
2377     },
2378     {
2379         "id": "50e8ee40.48307",
2380         "type": "record",
2381         "name": "record",
2382         "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`\"/>",
2383         "comments": "",
2384         "outputs": 1,
2385         "x": 1021.4482154846191,
2386         "y": 543.1547216176987,
2387         "z": "53ac5fd0.5848d",
2388         "wires": [
2389             []
2390         ]
2391     },
2392     {
2393         "id": "af3d6562.366a98",
2394         "type": "execute",
2395         "name": "printContext",
2396         "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' />",
2397         "comments": "",
2398         "outputs": 1,
2399         "x": 1034.9764556884766,
2400         "y": 575.9047235250473,
2401         "z": "53ac5fd0.5848d",
2402         "wires": [
2403             []
2404         ]
2405     },
2406     {
2407         "id": "548b6757.689c28",
2408         "type": "record",
2409         "name": "record",
2410         "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\"/>",
2411         "comments": "",
2412         "outputs": 1,
2413         "x": 997.5319557189941,
2414         "y": 506.01580369472504,
2415         "z": "53ac5fd0.5848d",
2416         "wires": [
2417             []
2418         ]
2419     },
2420     {
2421         "id": "bd606a8d.eeca78",
2422         "type": "execute",
2423         "name": "Get list of anchors from CPS",
2424         "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\"/>",
2425         "comments": "",
2426         "outputs": 1,
2427         "x": 484.9485397338867,
2428         "y": 580.2618999481201,
2429         "z": "53ac5fd0.5848d",
2430         "wires": [
2431             [
2432                 "c89731e6.27985",
2433                 "ab1371d1.4bb7a"
2434             ]
2435         ]
2436     },
2437     {
2438         "id": "a1f73290.969ff",
2439         "type": "success",
2440         "name": "success",
2441         "xml": "<outcome value='success'>\n",
2442         "comments": "",
2443         "outputs": 1,
2444         "x": 2123.8028144836426,
2445         "y": 265.78018283843994,
2446         "z": "53ac5fd0.5848d",
2447         "wires": [
2448             [
2449                 "b06e715a.41dfd"
2450             ]
2451         ]
2452     },
2453     {
2454         "id": "b06e715a.41dfd",
2455         "type": "block",
2456         "name": "block : atomic",
2457         "xml": "<block atomic='true'>",
2458         "atomic": "true",
2459         "comments": "",
2460         "outputs": 1,
2461         "x": 2332.802780151367,
2462         "y": 236.7803249359131,
2463         "z": "53ac5fd0.5848d",
2464         "wires": [
2465             [
2466                 "796fd782.6521b8",
2467                 "76e465da.15eacc",
2468                 "128b99cd.e3ed16"
2469             ]
2470         ]
2471     },
2472     {
2473         "id": "e518a3e9.1eb8e",
2474         "type": "failure",
2475         "name": "failure",
2476         "xml": "<outcome value='failure'>\n",
2477         "comments": "",
2478         "outputs": 1,
2479         "x": 2146.8027782440186,
2480         "y": 211.7803249359131,
2481         "z": "53ac5fd0.5848d",
2482         "wires": [
2483             [
2484                 "d8156f1a.ef18e"
2485             ]
2486         ]
2487     },
2488     {
2489         "id": "d8156f1a.ef18e",
2490         "type": "block",
2491         "name": "block",
2492         "xml": "<block>",
2493         "atomic": "false",
2494         "comments": "",
2495         "outputs": 1,
2496         "x": 2369.660140991211,
2497         "y": 164.06601810455322,
2498         "z": "53ac5fd0.5848d",
2499         "wires": [
2500             [
2501                 "65ab80d4.dabf2"
2502             ]
2503         ]
2504     },
2505     {
2506         "id": "7c189082.ae6cf",
2507         "type": "execute",
2508         "name": "generate getNearRTRIC From idGNBDUFunction URL",
2509         "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`\"/>",
2510         "comments": "",
2511         "outputs": 1,
2512         "x": 1928.7349700927734,
2513         "y": 124.71218967437744,
2514         "z": "53ac5fd0.5848d",
2515         "wires": [
2516             []
2517         ]
2518     },
2519     {
2520         "id": "bf9f0a37.65b058",
2521         "type": "execute",
2522         "name": "prepare tbdmt template",
2523         "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`\"/>",
2524         "comments": "",
2525         "outputs": 1,
2526         "x": 1848.7350234985352,
2527         "y": 166.71219062805176,
2528         "z": "53ac5fd0.5848d",
2529         "wires": [
2530             []
2531         ]
2532     },
2533     {
2534         "id": "5546e92e.2cddf8",
2535         "type": "record",
2536         "name": "record TBDMT RestAPI params",
2537         "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`\" />",
2538         "comments": "",
2539         "outputs": 1,
2540         "x": 1875.7349853515625,
2541         "y": 207.71219158172607,
2542         "z": "53ac5fd0.5848d",
2543         "wires": [
2544             []
2545         ]
2546     },
2547     {
2548         "id": "cf64a64b.aafba8",
2549         "type": "execute",
2550         "name": "Get nearRTRIC for idGNBDUFunction",
2551         "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\"/>",
2552         "comments": "",
2553         "outputs": 1,
2554         "x": 1875.7349243164062,
2555         "y": 252.7121934890747,
2556         "z": "53ac5fd0.5848d",
2557         "wires": [
2558             [
2559                 "e518a3e9.1eb8e",
2560                 "a1f73290.969ff"
2561             ]
2562         ]
2563     },
2564     {
2565         "id": "76e465da.15eacc",
2566         "type": "record",
2567         "name": "record",
2568         "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`\"/>",
2569         "comments": "",
2570         "outputs": 1,
2571         "x": 2519.735179901123,
2572         "y": 263.71212577819824,
2573         "z": "53ac5fd0.5848d",
2574         "wires": [
2575             []
2576         ]
2577     },
2578     {
2579         "id": "796fd782.6521b8",
2580         "type": "execute",
2581         "name": "printContext",
2582         "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",
2583         "comments": "",
2584         "outputs": 1,
2585         "x": 2518.5128593444824,
2586         "y": 313.7123476266861,
2587         "z": "53ac5fd0.5848d",
2588         "wires": [
2589             []
2590         ]
2591     },
2592     {
2593         "id": "65ab80d4.dabf2",
2594         "type": "set",
2595         "name": "set",
2596         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2597         "comments": "",
2598         "x": 2515.735019683838,
2599         "y": 147.8232078552246,
2600         "z": "53ac5fd0.5848d",
2601         "wires": []
2602     },
2603     {
2604         "id": "915b5f1b.acb1",
2605         "type": "set",
2606         "name": "set tmp variables",
2607         "xml": "<set>\n<parameter name=\"tmp.idGNBDU\" value=\"`$configuration-phy-cell-id-input.fap-service[0].pnf-name`\"/>\n",
2608         "comments": "",
2609         "x": 447.8028259277344,
2610         "y": 417.11352920532227,
2611         "z": "53ac5fd0.5848d",
2612         "wires": []
2613     },
2614     {
2615         "id": "128b99cd.e3ed16",
2616         "type": "execute",
2617         "name": "read nearRTRICId",
2618         "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",
2619         "comments": "",
2620         "outputs": 1,
2621         "x": 2541.803379058838,
2622         "y": 213.4468650817871,
2623         "z": "53ac5fd0.5848d",
2624         "wires": [
2625             []
2626         ]
2627     },
2628     {
2629         "id": "d29fc0a2.cbef7",
2630         "type": "execute",
2631         "name": "populate mount name",
2632         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
2633         "comments": "",
2634         "outputs": 1,
2635         "x": 2780.0000381469727,
2636         "y": 1648.3333625793457,
2637         "z": "53ac5fd0.5848d",
2638         "wires": [
2639             []
2640         ]
2641     },
2642     {
2643         "id": "9b3c2eb6.b4f39",
2644         "type": "execute",
2645         "name": "populate mount name",
2646         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
2647         "comments": "",
2648         "outputs": 1,
2649         "x": 2798.666702270508,
2650         "y": 1437.2222127914429,
2651         "z": "53ac5fd0.5848d",
2652         "wires": [
2653             []
2654         ]
2655     },
2656     {
2657         "id": "9035e7b3.9c24b8",
2658         "type": "record",
2659         "name": "record",
2660         "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`\"/>",
2661         "comments": "",
2662         "outputs": 1,
2663         "x": 2738.111011505127,
2664         "y": 1352.7776546478271,
2665         "z": "53ac5fd0.5848d",
2666         "wires": [
2667             []
2668         ]
2669     },
2670     {
2671         "id": "cb3ee380.a31f6",
2672         "type": "set",
2673         "name": "set tmp variables",
2674         "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",
2675         "comments": "",
2676         "x": 2444.555374145508,
2677         "y": 395.00002002716064,
2678         "z": "53ac5fd0.5848d",
2679         "wires": []
2680     },
2681     {
2682         "id": "18b65688.6247a9",
2683         "type": "execute",
2684         "name": "populate idGNBDUFunction",
2685         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
2686         "comments": "",
2687         "outputs": 1,
2688         "x": 2459.555419921875,
2689         "y": 515.5555419921875,
2690         "z": "53ac5fd0.5848d",
2691         "wires": [
2692             []
2693         ]
2694     },
2695     {
2696         "id": "60f37767.9663c8",
2697         "type": "execute",
2698         "name": "populate mount name",
2699         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
2700         "comments": "",
2701         "outputs": 1,
2702         "x": 2447.888458251953,
2703         "y": 473.1006660461426,
2704         "z": "53ac5fd0.5848d",
2705         "wires": [
2706             []
2707         ]
2708     },
2709     {
2710         "id": "d4275158.f071b",
2711         "type": "execute",
2712         "name": "generate pci patch url for a cell",
2713         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
2714         "comments": "",
2715         "outputs": 1,
2716         "x": 2437.8888397216797,
2717         "y": 703.3332843780518,
2718         "z": "53ac5fd0.5848d",
2719         "wires": [
2720             []
2721         ]
2722     },
2723     {
2724         "id": "2172e92c.2bb7a6",
2725         "type": "execute",
2726         "name": "populate idGNBDUFunction",
2727         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>",
2728         "comments": "",
2729         "outputs": 1,
2730         "x": 2433.8895950317383,
2731         "y": 781.3229923248291,
2732         "z": "53ac5fd0.5848d",
2733         "wires": [
2734             []
2735         ]
2736     },
2737     {
2738         "id": "cd2e3271.2ab31",
2739         "type": "execute",
2740         "name": "populate idNRCellDU",
2741         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>",
2742         "comments": "",
2743         "outputs": 1,
2744         "x": 2419.8893508911133,
2745         "y": 836.646032333374,
2746         "z": "53ac5fd0.5848d",
2747         "wires": [
2748             []
2749         ]
2750     },
2751     {
2752         "id": "4939df4b.81aa3",
2753         "type": "failure",
2754         "name": "failure",
2755         "xml": "<outcome value='failure'>\n",
2756         "comments": "",
2757         "outputs": 1,
2758         "x": 3545,
2759         "y": 2006.5554428100586,
2760         "z": "53ac5fd0.5848d",
2761         "wires": [
2762             [
2763                 "c3225e8e.a8c0f"
2764             ]
2765         ]
2766     },
2767     {
2768         "id": "c3225e8e.a8c0f",
2769         "type": "block",
2770         "name": "block : atomic",
2771         "xml": "<block atomic='true'>",
2772         "atomic": "true",
2773         "comments": "",
2774         "outputs": 1,
2775         "x": 3711.6665115356445,
2776         "y": 2016.2221221923828,
2777         "z": "53ac5fd0.5848d",
2778         "wires": [
2779             [
2780                 "f87e7389.9784a",
2781                 "ff9432eb.2057f"
2782             ]
2783         ]
2784     },
2785     {
2786         "id": "ff9432eb.2057f",
2787         "type": "set",
2788         "name": "set",
2789         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
2790         "comments": "",
2791         "x": 3892.333511352539,
2792         "y": 1987.6664142608643,
2793         "z": "53ac5fd0.5848d",
2794         "wires": []
2795     },
2796     {
2797         "id": "f87e7389.9784a",
2798         "type": "returnFailure",
2799         "name": "return failure",
2800         "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 nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
2801         "comments": "",
2802         "x": 3911.333351135254,
2803         "y": 2042.555417060852,
2804         "z": "53ac5fd0.5848d",
2805         "wires": []
2806     },
2807     {
2808         "id": "90d9112e.d5cdf",
2809         "type": "success",
2810         "name": "success",
2811         "xml": "<outcome value='success'>\n",
2812         "comments": "",
2813         "outputs": 1,
2814         "x": 3546.8180351257324,
2815         "y": 2143.1311712265015,
2816         "z": "53ac5fd0.5848d",
2817         "wires": [
2818             [
2819                 "18f212e1.91964d"
2820             ]
2821         ]
2822     },
2823     {
2824         "id": "18f212e1.91964d",
2825         "type": "block",
2826         "name": "block : atomic",
2827         "xml": "<block atomic='true'>",
2828         "atomic": "true",
2829         "comments": "",
2830         "outputs": 1,
2831         "x": 3734.8178787231445,
2832         "y": 2128.1313123703003,
2833         "z": "53ac5fd0.5848d",
2834         "wires": [
2835             [
2836                 "396ba563.4859ca"
2837             ]
2838         ]
2839     },
2840     {
2841         "id": "396ba563.4859ca",
2842         "type": "record",
2843         "name": "record",
2844         "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 Updated NRCellDU info in cps\"/>",
2845         "comments": "",
2846         "outputs": 1,
2847         "x": 3920.151382446289,
2848         "y": 2106.1315155029297,
2849         "z": "53ac5fd0.5848d",
2850         "wires": [
2851             []
2852         ]
2853     },
2854     {
2855         "id": "8429e54b.dc5a28",
2856         "type": "execute",
2857         "name": "generate put nrpci nrcelldu url",
2858         "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.putnrpci.nrcelldu.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
2859         "comments": "",
2860         "outputs": 1,
2861         "x": 3360.5322265625,
2862         "y": 1951.8493860960007,
2863         "z": "53ac5fd0.5848d",
2864         "wires": [
2865             []
2866         ]
2867     },
2868     {
2869         "id": "db83a8cd.a7e918",
2870         "type": "execute",
2871         "name": "prepare tbdmt template",
2872         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>",
2873         "comments": "",
2874         "outputs": 1,
2875         "x": 3335.5322189331055,
2876         "y": 2000.1830463409424,
2877         "z": "53ac5fd0.5848d",
2878         "wires": [
2879             []
2880         ]
2881     },
2882     {
2883         "id": "707fba60.3b30b4",
2884         "type": "execute",
2885         "name": "put nrpci nrcelldu",
2886         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-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\"/>",
2887         "comments": "",
2888         "outputs": 1,
2889         "x": 3302.3320236206055,
2890         "y": 2104.982894897461,
2891         "z": "53ac5fd0.5848d",
2892         "wires": [
2893             [
2894                 "4939df4b.81aa3",
2895                 "90d9112e.d5cdf"
2896             ]
2897         ]
2898     },
2899     {
2900         "id": "9be28260.a1a7a",
2901         "type": "record",
2902         "name": "record",
2903         "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 put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />",
2904         "comments": "",
2905         "outputs": 1,
2906         "x": 3280.1721954345703,
2907         "y": 2052.8990716934204,
2908         "z": "53ac5fd0.5848d",
2909         "wires": [
2910             []
2911         ]
2912     },
2913     {
2914         "id": "4a2cf544.19442c",
2915         "type": "block",
2916         "name": "block : atomic",
2917         "xml": "<block atomic='true'>",
2918         "atomic": "true",
2919         "comments": "",
2920         "outputs": 1,
2921         "x": 3062.2223205566406,
2922         "y": 2010.3334369659424,
2923         "z": "53ac5fd0.5848d",
2924         "wires": [
2925             [
2926                 "36fdbbb1.627594",
2927                 "8429e54b.dc5a28",
2928                 "db83a8cd.a7e918",
2929                 "9be28260.a1a7a",
2930                 "707fba60.3b30b4"
2931             ]
2932         ]
2933     },
2934     {
2935         "id": "7791894d.479ba8",
2936         "type": "record",
2937         "name": "record",
2938         "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=\"CPS is Deployed, ConfigDB Skipped\"/>",
2939         "comments": "",
2940         "outputs": 1,
2941         "x": 3580.8889770507812,
2942         "y": 1217.6666278839111,
2943         "z": "53ac5fd0.5848d",
2944         "wires": [
2945             []
2946         ]
2947     },
2948     {
2949         "id": "597e0eca.2d59f",
2950         "type": "outcome",
2951         "name": "Not Deployed",
2952         "xml": "<outcome value='false'>\n",
2953         "comments": "",
2954         "outputs": 1,
2955         "x": 2934.2224082946777,
2956         "y": 1126.7779941558838,
2957         "z": "53ac5fd0.5848d",
2958         "wires": [
2959             [
2960                 "fae83536.2ee118"
2961             ]
2962         ]
2963     },
2964     {
2965         "id": "6a55128a.0aafbc",
2966         "type": "failure",
2967         "name": "failure",
2968         "xml": "<outcome value='failure'>\n",
2969         "comments": "",
2970         "outputs": 1,
2971         "x": 3831.5551528930664,
2972         "y": 1322.888656616211,
2973         "z": "53ac5fd0.5848d",
2974         "wires": [
2975             [
2976                 "34abfa0f.cd5386"
2977             ]
2978         ]
2979     },
2980     {
2981         "id": "34abfa0f.cd5386",
2982         "type": "block",
2983         "name": "block : atomic",
2984         "xml": "<block atomic='true'>",
2985         "atomic": "true",
2986         "comments": "",
2987         "outputs": 1,
2988         "x": 3998.221664428711,
2989         "y": 1332.5553359985352,
2990         "z": "53ac5fd0.5848d",
2991         "wires": [
2992             [
2993                 "9c7d15fc.305158",
2994                 "5530b818.47cf08"
2995             ]
2996         ]
2997     },
2998     {
2999         "id": "5530b818.47cf08",
3000         "type": "set",
3001         "name": "set",
3002         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
3003         "comments": "",
3004         "x": 4178.8886642456055,
3005         "y": 1303.9996280670166,
3006         "z": "53ac5fd0.5848d",
3007         "wires": []
3008     },
3009     {
3010         "id": "9c7d15fc.305158",
3011         "type": "returnFailure",
3012         "name": "return failure",
3013         "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 nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
3014         "comments": "",
3015         "x": 4197.88850402832,
3016         "y": 1358.8886308670044,
3017         "z": "53ac5fd0.5848d",
3018         "wires": []
3019     },
3020     {
3021         "id": "f95e6860.2de3a8",
3022         "type": "success",
3023         "name": "success",
3024         "xml": "<outcome value='success'>\n",
3025         "comments": "",
3026         "outputs": 1,
3027         "x": 3833.373188018799,
3028         "y": 1459.4643850326538,
3029         "z": "53ac5fd0.5848d",
3030         "wires": [
3031             [
3032                 "e1494908.f2c328"
3033             ]
3034         ]
3035     },
3036     {
3037         "id": "e1494908.f2c328",
3038         "type": "block",
3039         "name": "block : atomic",
3040         "xml": "<block atomic='true'>",
3041         "atomic": "true",
3042         "comments": "",
3043         "outputs": 1,
3044         "x": 4021.373031616211,
3045         "y": 1444.4645261764526,
3046         "z": "53ac5fd0.5848d",
3047         "wires": [
3048             [
3049                 "db563586.a6db78"
3050             ]
3051         ]
3052     },
3053     {
3054         "id": "db563586.a6db78",
3055         "type": "record",
3056         "name": "record",
3057         "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 Updated NRCellDU info in cps\"/>",
3058         "comments": "",
3059         "outputs": 1,
3060         "x": 4206.7065353393555,
3061         "y": 1422.464729309082,
3062         "z": "53ac5fd0.5848d",
3063         "wires": [
3064             []
3065         ]
3066     },
3067     {
3068         "id": "2f3e942b.14ac9c",
3069         "type": "execute",
3070         "name": "generate put nrpci nrcelldu url",
3071         "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.putnrpci.nrcelldu.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
3072         "comments": "",
3073         "outputs": 1,
3074         "x": 3647.0873794555664,
3075         "y": 1268.182599902153,
3076         "z": "53ac5fd0.5848d",
3077         "wires": [
3078             []
3079         ]
3080     },
3081     {
3082         "id": "b369408e.4fccf",
3083         "type": "execute",
3084         "name": "prepare tbdmt template",
3085         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>",
3086         "comments": "",
3087         "outputs": 1,
3088         "x": 3622.087371826172,
3089         "y": 1316.5162601470947,
3090         "z": "53ac5fd0.5848d",
3091         "wires": [
3092             []
3093         ]
3094     },
3095     {
3096         "id": "efeff4e7.80ec88",
3097         "type": "execute",
3098         "name": "put nrpci nrcelldu",
3099         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-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\"/>",
3100         "comments": "",
3101         "outputs": 1,
3102         "x": 3588.887176513672,
3103         "y": 1421.3161087036133,
3104         "z": "53ac5fd0.5848d",
3105         "wires": [
3106             [
3107                 "6a55128a.0aafbc",
3108                 "f95e6860.2de3a8"
3109             ]
3110         ]
3111     },
3112     {
3113         "id": "8e1315a5.9d0c48",
3114         "type": "record",
3115         "name": "record",
3116         "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 put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />",
3117         "comments": "",
3118         "outputs": 1,
3119         "x": 3566.7273483276367,
3120         "y": 1369.2322854995728,
3121         "z": "53ac5fd0.5848d",
3122         "wires": [
3123             []
3124         ]
3125     },
3126     {
3127         "id": "fae83536.2ee118",
3128         "type": "block",
3129         "name": "block : atomic",
3130         "xml": "<block atomic='true'>",
3131         "atomic": "true",
3132         "comments": "",
3133         "outputs": 1,
3134         "x": 3348.777473449707,
3135         "y": 1326.6666507720947,
3136         "z": "53ac5fd0.5848d",
3137         "wires": [
3138             [
3139                 "7791894d.479ba8",
3140                 "2f3e942b.14ac9c",
3141                 "b369408e.4fccf",
3142                 "8e1315a5.9d0c48",
3143                 "efeff4e7.80ec88"
3144             ]
3145         ]
3146     },
3147     {
3148         "id": "6cd14351.41d5ec",
3149         "type": "switchNode",
3150         "name": "check idNRCellDU",
3151         "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
3152         "comments": "",
3153         "outputs": 1,
3154         "x": 3810.6668395996094,
3155         "y": 1561.9999885559082,
3156         "z": "53ac5fd0.5848d",
3157         "wires": [
3158             [
3159                 "2e5d3156.82819e"
3160             ]
3161         ]
3162     },
3163     {
3164         "id": "2e5d3156.82819e",
3165         "type": "outcomeTrue",
3166         "name": "true",
3167         "xml": "<outcome value='true'>\n",
3168         "comments": "",
3169         "outputs": 1,
3170         "x": 4023.3335189819336,
3171         "y": 1552.3333206176758,
3172         "z": "53ac5fd0.5848d",
3173         "wires": [
3174             [
3175                 "3fa84223.41702e"
3176             ]
3177         ]
3178     },
3179     {
3180         "id": "ce3707d5.c47378",
3181         "type": "for",
3182         "name": "for",
3183         "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
3184         "comments": "",
3185         "outputs": 1,
3186         "x": 3432.5,
3187         "y": 1563.333251953125,
3188         "z": "53ac5fd0.5848d",
3189         "wires": [
3190             [
3191                 "ca7aecd9.fef1e"
3192             ]
3193         ]
3194     },
3195     {
3196         "id": "ca7aecd9.fef1e",
3197         "type": "block",
3198         "name": "block : atomic",
3199         "xml": "<block atomic='true'>",
3200         "atomic": "true",
3201         "comments": "",
3202         "outputs": 1,
3203         "x": 3595,
3204         "y": 1565.833251953125,
3205         "z": "53ac5fd0.5848d",
3206         "wires": [
3207             [
3208                 "6cd14351.41d5ec"
3209             ]
3210         ]
3211     },
3212     {
3213         "id": "d68d11a5.ab646",
3214         "type": "switchNode",
3215         "name": "check idNRCellDU",
3216         "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
3217         "comments": "",
3218         "outputs": 1,
3219         "x": 3832.5,
3220         "y": 1840.833251953125,
3221         "z": "53ac5fd0.5848d",
3222         "wires": [
3223             [
3224                 "b5b85352.e9887"
3225             ]
3226         ]
3227     },
3228     {
3229         "id": "b5b85352.e9887",
3230         "type": "outcomeTrue",
3231         "name": "true",
3232         "xml": "<outcome value='true'>\n",
3233         "comments": "",
3234         "outputs": 1,
3235         "x": 4045.166679382324,
3236         "y": 1831.1665840148926,
3237         "z": "53ac5fd0.5848d",
3238         "wires": [
3239             [
3240                 "7df1c55c.3df42c"
3241             ]
3242         ]
3243     },
3244     {
3245         "id": "81c631c6.64bed",
3246         "type": "for",
3247         "name": "for",
3248         "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
3249         "comments": "",
3250         "outputs": 1,
3251         "x": 3454.3331604003906,
3252         "y": 1842.1665153503418,
3253         "z": "53ac5fd0.5848d",
3254         "wires": [
3255             [
3256                 "186afe59.10a2a2"
3257             ]
3258         ]
3259     },
3260     {
3261         "id": "186afe59.10a2a2",
3262         "type": "block",
3263         "name": "block : atomic",
3264         "xml": "<block atomic='true'>",
3265         "atomic": "true",
3266         "comments": "",
3267         "outputs": 1,
3268         "x": 3616.8331604003906,
3269         "y": 1844.6665153503418,
3270         "z": "53ac5fd0.5848d",
3271         "wires": [
3272             [
3273                 "d68d11a5.ab646"
3274             ]
3275         ]
3276     },
3277     {
3278         "id": "42ef0bb7.4422e4",
3279         "type": "switchNode",
3280         "name": "check idNRCellDU",
3281         "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
3282         "comments": "",
3283         "outputs": 1,
3284         "x": 3420.833251953125,
3285         "y": 572.5,
3286         "z": "53ac5fd0.5848d",
3287         "wires": [
3288             [
3289                 "352618e0.125aa8"
3290             ]
3291         ]
3292     },
3293     {
3294         "id": "352618e0.125aa8",
3295         "type": "outcomeTrue",
3296         "name": "true",
3297         "xml": "<outcome value='true'>\n",
3298         "comments": "",
3299         "outputs": 1,
3300         "x": 3633.499931335449,
3301         "y": 562.8333320617676,
3302         "z": "53ac5fd0.5848d",
3303         "wires": [
3304             [
3305                 "8ae385dd.d5f038"
3306             ]
3307         ]
3308     },
3309     {
3310         "id": "f5cfc304.18074",
3311         "type": "for",
3312         "name": "for",
3313         "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
3314         "comments": "",
3315         "outputs": 1,
3316         "x": 3042.6664123535156,
3317         "y": 573.8332633972168,
3318         "z": "53ac5fd0.5848d",
3319         "wires": [
3320             [
3321                 "9681ccad.3a6ca"
3322             ]
3323         ]
3324     },
3325     {
3326         "id": "9681ccad.3a6ca",
3327         "type": "block",
3328         "name": "block : atomic",
3329         "xml": "<block atomic='true'>",
3330         "atomic": "true",
3331         "comments": "",
3332         "outputs": 1,
3333         "x": 3205.1664123535156,
3334         "y": 576.3332633972168,
3335         "z": "53ac5fd0.5848d",
3336         "wires": [
3337             [
3338                 "42ef0bb7.4422e4"
3339             ]
3340         ]
3341     },
3342     {
3343         "id": "adebd19d.9df39",
3344         "type": "switchNode",
3345         "name": "check idNRCellDU",
3346         "xml": "<switch test='`$getgnbdufunction.GNBDUFunction[0].NRCellDU[$idq].idNRCellDU == $tmp.idNRCellDU`'>\n",
3347         "comments": "",
3348         "outputs": 1,
3349         "x": 3445.833251953125,
3350         "y": 910,
3351         "z": "53ac5fd0.5848d",
3352         "wires": [
3353             [
3354                 "cdf289ed.631ff8"
3355             ]
3356         ]
3357     },
3358     {
3359         "id": "cdf289ed.631ff8",
3360         "type": "outcomeTrue",
3361         "name": "true",
3362         "xml": "<outcome value='true'>\n",
3363         "comments": "",
3364         "outputs": 1,
3365         "x": 3658.499931335449,
3366         "y": 900.3333320617676,
3367         "z": "53ac5fd0.5848d",
3368         "wires": [
3369             [
3370                 "2e2f13e1.1f2d7c"
3371             ]
3372         ]
3373     },
3374     {
3375         "id": "55a6cc6c.29a174",
3376         "type": "for",
3377         "name": "for",
3378         "xml": "<for index='idq' start='0' end=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU_length`\" >",
3379         "comments": "",
3380         "outputs": 1,
3381         "x": 3067.6664123535156,
3382         "y": 911.3332633972168,
3383         "z": "53ac5fd0.5848d",
3384         "wires": [
3385             [
3386                 "151a131b.871b2d"
3387             ]
3388         ]
3389     },
3390     {
3391         "id": "151a131b.871b2d",
3392         "type": "block",
3393         "name": "block : atomic",
3394         "xml": "<block atomic='true'>",
3395         "atomic": "true",
3396         "comments": "",
3397         "outputs": 1,
3398         "x": 3230.1664123535156,
3399         "y": 913.8332633972168,
3400         "z": "53ac5fd0.5848d",
3401         "wires": [
3402             [
3403                 "adebd19d.9df39"
3404             ]
3405         ]
3406     }
3407 ]