CPS Integration
[ccsdk/distribution.git] / platform-logic / oofpcipoc-api / src / main / json / oofpcipoc-api_configuration-phy-cell-id.json
1 [
2     {
3         "id": "fb9312cb.df841",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='configuration-phy-cell-id' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 182.77777099609375,
10         "y": 274.99999809265137,
11         "z": "46bc844c.8e713c",
12         "wires": [
13             [
14                 "acb53eba.62053"
15             ]
16         ]
17     },
18     {
19         "id": "2d48d97c.48c706",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 184.77777099609375,
24         "y": 44.99999809265137,
25         "z": "46bc844c.8e713c",
26         "wires": [
27             [
28                 "dcfac214.65cac"
29             ]
30         ]
31     },
32     {
33         "id": "dcfac214.65cac",
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": 236.7777557373047,
42         "y": 113.00009727478027,
43         "z": "46bc844c.8e713c",
44         "wires": [
45             [
46                 "fb9312cb.df841"
47             ]
48         ]
49     },
50     {
51         "id": "acb53eba.62053",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 177.26736450195312,
59         "y": 415.0000286102295,
60         "z": "46bc844c.8e713c",
61         "wires": [
62             [
63                 "666ef42c.dbf21c",
64                 "83d62b88.e91be8",
65                 "373916d1.d4e0aa",
66                 "f648c0a1.d6307",
67                 "3b60a7fe.d09838",
68                 "3f2bea0e.c0a8f6",
69                 "46e24d05.b33174",
70                 "ae0bbeed.2287",
71                 "b716ea71.c1a2f8",
72                 "bc1e082b.24b418",
73                 "aef3c2b4.b7175",
74                 "b16469e6.4fa108",
75                 "88b8100a.1ccdd",
76                 "b4637758.354448",
77                 "825e99ea.480a28",
78                 "f7fee6a.2700118",
79                 "2e1b5ff3.7da19"
80             ]
81         ]
82     },
83     {
84         "id": "666ef42c.dbf21c",
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": 197.77803802490234,
90         "y": 2560.0002422332764,
91         "z": "46bc844c.8e713c",
92         "wires": []
93     },
94     {
95         "id": "e3f72452.752038",
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": 663.7783203125,
102         "y": 153.00004386901855,
103         "z": "46bc844c.8e713c",
104         "wires": [
105             []
106         ]
107     },
108     {
109         "id": "5f18efb5.a3e18",
110         "type": "comment",
111         "name": "configuration-phy-cell-id",
112         "info": "",
113         "comments": "",
114         "x": 413.7777633666992,
115         "y": 64.01041412353516,
116         "z": "46bc844c.8e713c",
117         "wires": []
118     },
119     {
120         "id": "294cdf2c.1d487",
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[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>",
124         "comments": "",
125         "outputs": 1,
126         "x": 3080.7779846191406,
127         "y": 601.0104072093964,
128         "z": "46bc844c.8e713c",
129         "wires": [
130             []
131         ]
132     },
133     {
134         "id": "5027884d.96e058",
135         "type": "failure",
136         "name": "failure",
137         "xml": "<outcome value='failure'>\n",
138         "comments": "",
139         "outputs": 1,
140         "x": 2775.778045654297,
141         "y": 543.0104224681854,
142         "z": "46bc844c.8e713c",
143         "wires": [
144             [
145                 "726ba216.8f27fc"
146             ]
147         ]
148     },
149     {
150         "id": "726ba216.8f27fc",
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": 2994.778106689453,
156         "y": 543.010445356369,
157         "z": "46bc844c.8e713c",
158         "wires": []
159     },
160     {
161         "id": "ae519d18.8cfb5",
162         "type": "success",
163         "name": "success",
164         "xml": "<outcome value='success'>\n",
165         "comments": "",
166         "outputs": 1,
167         "x": 2780.7782287597656,
168         "y": 627.0104072093964,
169         "z": "46bc844c.8e713c",
170         "wires": [
171             [
172                 "551d0312.f9874c"
173             ]
174         ]
175     },
176     {
177         "id": "551d0312.f9874c",
178         "type": "block",
179         "name": "block",
180         "xml": "<block>\n",
181         "atomic": "false",
182         "comments": "",
183         "outputs": 1,
184         "x": 2926.777862548828,
185         "y": 610.0104224681854,
186         "z": "46bc844c.8e713c",
187         "wires": [
188             [
189                 "294cdf2c.1d487"
190             ]
191         ]
192     },
193     {
194         "id": "17ee19da.2e06a6",
195         "type": "failure",
196         "name": "failure",
197         "xml": "<outcome value='failure'>\n",
198         "comments": "",
199         "outputs": 1,
200         "x": 2774.7779846191406,
201         "y": 883.677063703537,
202         "z": "46bc844c.8e713c",
203         "wires": [
204             [
205                 "cc177d1d.fc75d"
206             ]
207         ]
208     },
209     {
210         "id": "cc177d1d.fc75d",
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": 3001.777862548828,
216         "y": 881.6770942211151,
217         "z": "46bc844c.8e713c",
218         "wires": []
219     },
220     {
221         "id": "8b7658a1.932cf8",
222         "type": "success",
223         "name": "success",
224         "xml": "<outcome value='success'>\n",
225         "comments": "",
226         "outputs": 1,
227         "x": 2793.777862548828,
228         "y": 958.6771857738495,
229         "z": "46bc844c.8e713c",
230         "wires": [
231             [
232                 "8b7ad198.ac349"
233             ]
234         ]
235     },
236     {
237         "id": "8b7ad198.ac349",
238         "type": "block",
239         "name": "block",
240         "xml": "<block>\n",
241         "atomic": "false",
242         "comments": "",
243         "outputs": 1,
244         "x": 2951.7777404785156,
245         "y": 956.677063703537,
246         "z": "46bc844c.8e713c",
247         "wires": [
248             [
249                 "2f66525f.a6502e"
250             ]
251         ]
252     },
253     {
254         "id": "2f66525f.a6502e",
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[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>",
258         "comments": "",
259         "outputs": 1,
260         "x": 3124.7777404785156,
261         "y": 951.677307844162,
262         "z": "46bc844c.8e713c",
263         "wires": [
264             []
265         ]
266     },
267     {
268         "id": "70d967aa.1a9368",
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": 2456.778751373291,
275         "y": 601.343957901001,
276         "z": "46bc844c.8e713c",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "373916d1.d4e0aa",
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": 508.86346435546875,
289         "y": 163.96359062194824,
290         "z": "46bc844c.8e713c",
291         "wires": [
292             [
293                 "e3f72452.752038"
294             ]
295         ]
296     },
297     {
298         "id": "83d62b88.e91be8",
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": 511.778076171875,
305         "y": 107.02084159851074,
306         "z": "46bc844c.8e713c",
307         "wires": [
308             []
309         ]
310     },
311     {
312         "id": "bbd4941e.bc1188",
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": 1993.778175354004,
319         "y": 1356.0104477405548,
320         "z": "46bc844c.8e713c",
321         "wires": [
322             [
323                 "94835642.096968"
324             ]
325         ]
326     },
327     {
328         "id": "9c695549.3b8488",
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": 2630.779022216797,
334         "y": 380.2328453063965,
335         "z": "46bc844c.8e713c",
336         "wires": []
337     },
338     {
339         "id": "3e649634.74249a",
340         "type": "failure",
341         "name": "failure",
342         "xml": "<outcome value='failure'>\n",
343         "comments": "",
344         "outputs": 1,
345         "x": 2783.7782287597656,
346         "y": 751.0104987621307,
347         "z": "46bc844c.8e713c",
348         "wires": [
349             [
350                 "30dd730e.cbc33c"
351             ]
352         ]
353     },
354     {
355         "id": "8847ee55.0cb05",
356         "type": "success",
357         "name": "success",
358         "xml": "<outcome value='success'>\n",
359         "comments": "",
360         "outputs": 1,
361         "x": 2770.778106689453,
362         "y": 829.0104072093964,
363         "z": "46bc844c.8e713c",
364         "wires": [
365             [
366                 "821b7f1d.9e832"
367             ]
368         ]
369     },
370     {
371         "id": "30dd730e.cbc33c",
372         "type": "block",
373         "name": "block",
374         "xml": "<block>\n",
375         "atomic": "false",
376         "comments": "",
377         "outputs": 1,
378         "x": 2930.778106689453,
379         "y": 751.0105292797089,
380         "z": "46bc844c.8e713c",
381         "wires": [
382             [
383                 "3c56450a.5cb1da"
384             ]
385         ]
386     },
387     {
388         "id": "3c56450a.5cb1da",
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": 3094.777862548828,
394         "y": 735.0104987621307,
395         "z": "46bc844c.8e713c",
396         "wires": []
397     },
398     {
399         "id": "821b7f1d.9e832",
400         "type": "block",
401         "name": "block",
402         "xml": "<block>\n",
403         "atomic": "false",
404         "comments": "",
405         "outputs": 1,
406         "x": 2926.777862548828,
407         "y": 813.0104682445526,
408         "z": "46bc844c.8e713c",
409         "wires": [
410             [
411                 "36568511.01697a"
412             ]
413         ]
414     },
415     {
416         "id": "36568511.01697a",
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": 3087.7779846191406,
423         "y": 815.0104682445526,
424         "z": "46bc844c.8e713c",
425         "wires": [
426             []
427         ]
428     },
429     {
430         "id": "94835642.096968",
431         "type": "block",
432         "name": "block : atomic",
433         "xml": "<block atomic='true'>",
434         "atomic": "true",
435         "comments": "",
436         "outputs": 1,
437         "x": 2039.7778015136719,
438         "y": 702.0209257602692,
439         "z": "46bc844c.8e713c",
440         "wires": [
441             [
442                 "9c695549.3b8488",
443                 "70d967aa.1a9368",
444                 "af547e24.b9f33",
445                 "86002496.ca4a78",
446                 "322df922.bec876",
447                 "ecdf8b8b.2aabe8",
448                 "d50b972d.2b7b58",
449                 "ffd4c30f.165a9",
450                 "ea1be66.4084218",
451                 "35b9952f.955e5a",
452                 "ac7df1f6.d8a71",
453                 "8bfa8e24.f1519",
454                 "90027a5c.f27a28",
455                 "5d0e468e.907008"
456             ]
457         ]
458     },
459     {
460         "id": "322df922.bec876",
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": 2453.7785301208496,
467         "y": 931.0208253860474,
468         "z": "46bc844c.8e713c",
469         "wires": [
470             []
471         ]
472     },
473     {
474         "id": "f648c0a1.d6307",
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": 544.7779541015625,
481         "y": 218.02084159851074,
482         "z": "46bc844c.8e713c",
483         "wires": [
484             []
485         ]
486     },
487     {
488         "id": "3b60a7fe.d09838",
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": 505.778076171875,
495         "y": 270.020902633667,
496         "z": "46bc844c.8e713c",
497         "wires": [
498             []
499         ]
500     },
501     {
502         "id": "86002496.ca4a78",
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": 2490.7786712646484,
509         "y": 662.3541316986084,
510         "z": "46bc844c.8e713c",
511         "wires": [
512             [
513                 "5027884d.96e058",
514                 "ae519d18.8cfb5"
515             ]
516         ]
517     },
518     {
519         "id": "af547e24.b9f33",
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": 2543.7783737182617,
526         "y": 462.0209159851074,
527         "z": "46bc844c.8e713c",
528         "wires": [
529             []
530         ]
531     },
532     {
533         "id": "ecdf8b8b.2aabe8",
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": 2482.111297607422,
540         "y": 988.687780380249,
541         "z": "46bc844c.8e713c",
542         "wires": [
543             [
544                 "3e649634.74249a",
545                 "8847ee55.0cb05"
546             ]
547         ]
548     },
549     {
550         "id": "d50b972d.2b7b58",
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": 2475.111129760742,
557         "y": 1053.3541676998138,
558         "z": "46bc844c.8e713c",
559         "wires": [
560             [
561                 "17ee19da.2e06a6",
562                 "8b7658a1.932cf8"
563             ]
564         ]
565     },
566     {
567         "id": "3f2bea0e.c0a8f6",
568         "type": "switchNode",
569         "name": "switch mounted",
570         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
571         "comments": "",
572         "outputs": 1,
573         "x": 664.7777900695801,
574         "y": 1373.0103969573975,
575         "z": "46bc844c.8e713c",
576         "wires": [
577             [
578                 "375513bb.b2e1ec",
579                 "be7b0f6c.4d6ac"
580             ]
581         ]
582     },
583     {
584         "id": "375513bb.b2e1ec",
585         "type": "outcome",
586         "name": "Not Mounted",
587         "xml": "<outcome value='false'>\n",
588         "comments": "",
589         "outputs": 1,
590         "x": 1534.7777938842773,
591         "y": 1325.0104331970215,
592         "z": "46bc844c.8e713c",
593         "wires": [
594             [
595                 "bbd4941e.bc1188"
596             ]
597         ]
598     },
599     {
600         "id": "be7b0f6c.4d6ac",
601         "type": "outcome",
602         "name": "Mounted",
603         "xml": "<outcome value='true'>\n",
604         "comments": "",
605         "outputs": 1,
606         "x": 1494.7777976989746,
607         "y": 1610.010440826416,
608         "z": "46bc844c.8e713c",
609         "wires": [
610             [
611                 "1b1395c5.64a32a"
612             ]
613         ]
614     },
615     {
616         "id": "34948b7c.411194",
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[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>",
620         "comments": "",
621         "outputs": 1,
622         "x": 3467.9214096069336,
623         "y": 1595.010419845581,
624         "z": "46bc844c.8e713c",
625         "wires": [
626             []
627         ]
628     },
629     {
630         "id": "c2b62a90.f121c8",
631         "type": "failure",
632         "name": "failure",
633         "xml": "<outcome value='failure'>\n",
634         "comments": "",
635         "outputs": 1,
636         "x": 3139.7781677246094,
637         "y": 1560.010419845581,
638         "z": "46bc844c.8e713c",
639         "wires": [
640             [
641                 "eee15f2.8ab05a"
642             ]
643         ]
644     },
645     {
646         "id": "eee15f2.8ab05a",
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": 3335.778175354004,
652         "y": 1542.0104179382324,
653         "z": "46bc844c.8e713c",
654         "wires": []
655     },
656     {
657         "id": "80f9ac99.c2f1f",
658         "type": "success",
659         "name": "success",
660         "xml": "<outcome value='success'>\n",
661         "comments": "",
662         "outputs": 1,
663         "x": 3137.778495788574,
664         "y": 1621.0104217529297,
665         "z": "46bc844c.8e713c",
666         "wires": [
667             [
668                 "735961fb.29e61"
669             ]
670         ]
671     },
672     {
673         "id": "735961fb.29e61",
674         "type": "block",
675         "name": "block",
676         "xml": "<block>\n",
677         "atomic": "false",
678         "comments": "",
679         "outputs": 1,
680         "x": 3312.778175354004,
681         "y": 1604.0104207992554,
682         "z": "46bc844c.8e713c",
683         "wires": [
684             [
685                 "34948b7c.411194"
686             ]
687         ]
688     },
689     {
690         "id": "66c7192b.6893e8",
691         "type": "failure",
692         "name": "failure",
693         "xml": "<outcome value='failure'>\n",
694         "comments": "",
695         "outputs": 1,
696         "x": 3177.445243835449,
697         "y": 1826.0105266571045,
698         "z": "46bc844c.8e713c",
699         "wires": [
700             [
701                 "410622a9.ef9b2c"
702             ]
703         ]
704     },
705     {
706         "id": "410622a9.ef9b2c",
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": 3378.7781829833984,
712         "y": 1813.010648727417,
713         "z": "46bc844c.8e713c",
714         "wires": []
715     },
716     {
717         "id": "c4b58dc7.2495d",
718         "type": "success",
719         "name": "success",
720         "xml": "<outcome value='success'>\n",
721         "comments": "",
722         "outputs": 1,
723         "x": 3161.7780838012695,
724         "y": 1886.344027519226,
725         "z": "46bc844c.8e713c",
726         "wires": [
727             [
728                 "f70188e5.6dc938"
729             ]
730         ]
731     },
732     {
733         "id": "f70188e5.6dc938",
734         "type": "block",
735         "name": "block",
736         "xml": "<block>\n",
737         "atomic": "false",
738         "comments": "",
739         "outputs": 1,
740         "x": 3337.444778442383,
741         "y": 1864.3440246582031,
742         "z": "46bc844c.8e713c",
743         "wires": [
744             [
745                 "3c615c20.6e2054"
746             ]
747         ]
748     },
749     {
750         "id": "3c615c20.6e2054",
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[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>",
754         "comments": "",
755         "outputs": 1,
756         "x": 3495.4444580078125,
757         "y": 1855.0108532905579,
758         "z": "46bc844c.8e713c",
759         "wires": [
760             []
761         ]
762     },
763     {
764         "id": "c54d6e1c.96714",
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": 2813.1122245788574,
771         "y": 1545.6773357391357,
772         "z": "46bc844c.8e713c",
773         "wires": [
774             []
775         ]
776     },
777     {
778         "id": "1b1395c5.64a32a",
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": 2199.777729034424,
785         "y": 1559.6771078109741,
786         "z": "46bc844c.8e713c",
787         "wires": [
788             [
789                 "1ba0989.c572267"
790             ]
791         ]
792     },
793     {
794         "id": "d3095e1a.dc8c7",
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": 2900.4459075927734,
800         "y": 1295.5662231445312,
801         "z": "46bc844c.8e713c",
802         "wires": []
803     },
804     {
805         "id": "f75dac7e.96a98",
806         "type": "failure",
807         "name": "failure",
808         "xml": "<outcome value='failure'>\n",
809         "comments": "",
810         "outputs": 1,
811         "x": 3151.7783432006836,
812         "y": 1677.010521888733,
813         "z": "46bc844c.8e713c",
814         "wires": [
815             [
816                 "7a1c2b3d.89ce94"
817             ]
818         ]
819     },
820     {
821         "id": "13c00070.16003",
822         "type": "success",
823         "name": "success",
824         "xml": "<outcome value='success'>\n",
825         "comments": "",
826         "outputs": 1,
827         "x": 3120.7782821655273,
828         "y": 1764.0104608535767,
829         "z": "46bc844c.8e713c",
830         "wires": [
831             [
832                 "198a6704.2543c9"
833             ]
834         ]
835     },
836     {
837         "id": "7a1c2b3d.89ce94",
838         "type": "block",
839         "name": "block",
840         "xml": "<block>\n",
841         "atomic": "false",
842         "comments": "",
843         "outputs": 1,
844         "x": 3324.7782821655273,
845         "y": 1649.0105829238892,
846         "z": "46bc844c.8e713c",
847         "wires": [
848             [
849                 "e2096717.c8e7f8"
850             ]
851         ]
852     },
853     {
854         "id": "e2096717.c8e7f8",
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": 3512.77791595459,
860         "y": 1639.010521888733,
861         "z": "46bc844c.8e713c",
862         "wires": []
863     },
864     {
865         "id": "198a6704.2543c9",
866         "type": "block",
867         "name": "block",
868         "xml": "<block>\n",
869         "atomic": "false",
870         "comments": "",
871         "outputs": 1,
872         "x": 3302.7780380249023,
873         "y": 1751.010521888733,
874         "z": "46bc844c.8e713c",
875         "wires": [
876             [
877                 "dc539a4f.c57b98"
878             ]
879         ]
880     },
881     {
882         "id": "dc539a4f.c57b98",
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": 3475.7780380249023,
889         "y": 1750.010521888733,
890         "z": "46bc844c.8e713c",
891         "wires": [
892             []
893         ]
894     },
895     {
896         "id": "1ba0989.c572267",
897         "type": "block",
898         "name": "block : atomic",
899         "xml": "<block atomic='true'>",
900         "atomic": "true",
901         "comments": "",
902         "outputs": 1,
903         "x": 2551.7779846191406,
904         "y": 1559.0209856033325,
905         "z": "46bc844c.8e713c",
906         "wires": [
907             [
908                 "d3095e1a.dc8c7",
909                 "c54d6e1c.96714",
910                 "1a8f6d1.45ffc93",
911                 "d386b163.bc8aa",
912                 "56c3f024.c3091",
913                 "63f4817c.d7041",
914                 "2d5b4ac.7a5e3b6",
915                 "7e0a0654.bac798",
916                 "29d59eaa.ea4ea2",
917                 "3a58bcdb.d3c6c4",
918                 "cf8f100a.ca136",
919                 "55b11952.8ee478",
920                 "88f0830.251918",
921                 "7a26d7bd.2a31d8",
922                 "6598c410.436e2c",
923                 "599ef68c.e836f8"
924             ]
925         ]
926     },
927     {
928         "id": "63f4817c.d7041",
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": 2772.44633102417,
935         "y": 1810.687759399414,
936         "z": "46bc844c.8e713c",
937         "wires": [
938             []
939         ]
940     },
941     {
942         "id": "d386b163.bc8aa",
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": 2856.1117935180664,
949         "y": 1583.6875104904175,
950         "z": "46bc844c.8e713c",
951         "wires": [
952             [
953                 "c2b62a90.f121c8",
954                 "80f9ac99.c2f1f"
955             ]
956         ]
957     },
958     {
959         "id": "1a8f6d1.45ffc93",
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": 2888.778121948242,
966         "y": 1419.687744140625,
967         "z": "46bc844c.8e713c",
968         "wires": [
969             []
970         ]
971     },
972     {
973         "id": "56c3f024.c3091",
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": 2865.111469268799,
980         "y": 1625.3541507720947,
981         "z": "46bc844c.8e713c",
982         "wires": [
983             []
984         ]
985     },
986     {
987         "id": "2d5b4ac.7a5e3b6",
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": 2814.8262481689453,
994         "y": 1848.2595100402832,
995         "z": "46bc844c.8e713c",
996         "wires": [
997             [
998                 "f75dac7e.96a98",
999                 "13c00070.16003"
1000             ]
1001         ]
1002     },
1003     {
1004         "id": "7e0a0654.bac798",
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": 2851.4449005126953,
1011         "y": 1885.0211915969849,
1012         "z": "46bc844c.8e713c",
1013         "wires": [
1014             [
1015                 "66c7192b.6893e8",
1016                 "c4b58dc7.2495d"
1017             ]
1018         ]
1019     },
1020     {
1021         "id": "29d59eaa.ea4ea2",
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": 2859.444808959961,
1028         "y": 1508.0104179382324,
1029         "z": "46bc844c.8e713c",
1030         "wires": [
1031             []
1032         ]
1033     },
1034     {
1035         "id": "3a58bcdb.d3c6c4",
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": 2852.7790603637695,
1042         "y": 1718.3437576293945,
1043         "z": "46bc844c.8e713c",
1044         "wires": [
1045             []
1046         ]
1047     },
1048     {
1049         "id": "d3458f81.be02e",
1050         "type": "block",
1051         "name": "block : atomic",
1052         "xml": "<block atomic='true'>",
1053         "atomic": "true",
1054         "comments": "",
1055         "outputs": 1,
1056         "x": 2942.1114196777344,
1057         "y": 2438.333263397217,
1058         "z": "46bc844c.8e713c",
1059         "wires": [
1060             [
1061                 "c965d4.a77afa3",
1062                 "c8260c37.8cf93",
1063                 "3d4f49ec.033946"
1064             ]
1065         ]
1066     },
1067     {
1068         "id": "c965d4.a77afa3",
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": 3256.1114196777344,
1075         "y": 2350.333263397217,
1076         "z": "46bc844c.8e713c",
1077         "wires": [
1078             []
1079         ]
1080     },
1081     {
1082         "id": "c8260c37.8cf93",
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": 3226.1114196777344,
1089         "y": 2414.333263397217,
1090         "z": "46bc844c.8e713c",
1091         "wires": [
1092             []
1093         ]
1094     },
1095     {
1096         "id": "3d4f49ec.033946",
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": 3200.1114196777344,
1103         "y": 2509.333263397217,
1104         "z": "46bc844c.8e713c",
1105         "wires": [
1106             [
1107                 "d7998446.09dcb8",
1108                 "61fc8b16.f26b34"
1109             ]
1110         ]
1111     },
1112     {
1113         "id": "d7998446.09dcb8",
1114         "type": "failure",
1115         "name": "failure",
1116         "xml": "<outcome value='failure'>\n",
1117         "comments": "",
1118         "outputs": 1,
1119         "x": 3415.1114196777344,
1120         "y": 2452.333263397217,
1121         "z": "46bc844c.8e713c",
1122         "wires": [
1123             [
1124                 "758a5388.68859c"
1125             ]
1126         ]
1127     },
1128     {
1129         "id": "61fc8b16.f26b34",
1130         "type": "success",
1131         "name": "success",
1132         "xml": "<outcome value='success'>\n",
1133         "comments": "",
1134         "outputs": 1,
1135         "x": 3415.111297607422,
1136         "y": 2548.3331413269043,
1137         "z": "46bc844c.8e713c",
1138         "wires": [
1139             [
1140                 "8b87c140.569f5"
1141             ]
1142         ]
1143     },
1144     {
1145         "id": "758a5388.68859c",
1146         "type": "block",
1147         "name": "block",
1148         "xml": "<block>\n",
1149         "atomic": "false",
1150         "comments": "",
1151         "outputs": 1,
1152         "x": 3584.111297607422,
1153         "y": 2463.333263397217,
1154         "z": "46bc844c.8e713c",
1155         "wires": [
1156             [
1157                 "9dea66c8.312c48"
1158             ]
1159         ]
1160     },
1161     {
1162         "id": "8b87c140.569f5",
1163         "type": "block",
1164         "name": "block",
1165         "xml": "<block>\n",
1166         "atomic": "false",
1167         "comments": "",
1168         "outputs": 1,
1169         "x": 3577.111053466797,
1170         "y": 2549.333263397217,
1171         "z": "46bc844c.8e713c",
1172         "wires": [
1173             [
1174                 "5729c283.31b30c"
1175             ]
1176         ]
1177     },
1178     {
1179         "id": "9dea66c8.312c48",
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": 3738.1109924316406,
1185         "y": 2456.333263397217,
1186         "z": "46bc844c.8e713c",
1187         "wires": []
1188     },
1189     {
1190         "id": "5729c283.31b30c",
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": 3728.1111755371094,
1197         "y": 2546.333263397217,
1198         "z": "46bc844c.8e713c",
1199         "wires": [
1200             []
1201         ]
1202     },
1203     {
1204         "id": "cf8f100a.ca136",
1205         "type": "switchNode",
1206         "name": "switch configdb deployed",
1207         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
1208         "comments": "",
1209         "outputs": 1,
1210         "x": 2812.206886291504,
1211         "y": 1925.5714559555054,
1212         "z": "46bc844c.8e713c",
1213         "wires": [
1214             [
1215                 "5396f997.0d37f8",
1216                 "45a4d496.91e70c"
1217             ]
1218         ]
1219     },
1220     {
1221         "id": "5396f997.0d37f8",
1222         "type": "outcome",
1223         "name": "Deployed",
1224         "xml": "<outcome value='true'>\n",
1225         "comments": "",
1226         "outputs": 1,
1227         "x": 2978.444984436035,
1228         "y": 2120.333480834961,
1229         "z": "46bc844c.8e713c",
1230         "wires": [
1231             [
1232                 "d3458f81.be02e"
1233             ]
1234         ]
1235     },
1236     {
1237         "id": "7c6eefc1.72219",
1238         "type": "block",
1239         "name": "block : atomic",
1240         "xml": "<block atomic='true'>",
1241         "atomic": "true",
1242         "comments": "",
1243         "outputs": 1,
1244         "x": 3267.1111602783203,
1245         "y": 1108.3228759765625,
1246         "z": "46bc844c.8e713c",
1247         "wires": [
1248             [
1249                 "26e5de13.14d962",
1250                 "d95cd707.d63a58",
1251                 "24800.765fb8008"
1252             ]
1253         ]
1254     },
1255     {
1256         "id": "26e5de13.14d962",
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": 3537.1111602783203,
1263         "y": 1014.3228492736816,
1264         "z": "46bc844c.8e713c",
1265         "wires": [
1266             []
1267         ]
1268     },
1269     {
1270         "id": "d95cd707.d63a58",
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": 3533.1112842559814,
1277         "y": 1103.3229875564575,
1278         "z": "46bc844c.8e713c",
1279         "wires": [
1280             []
1281         ]
1282     },
1283     {
1284         "id": "24800.765fb8008",
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": 3508.969207763672,
1291         "y": 1168.4658844470978,
1292         "z": "46bc844c.8e713c",
1293         "wires": [
1294             [
1295                 "35321bd9.a49cf4",
1296                 "ce6bfff6.e9068"
1297             ]
1298         ]
1299     },
1300     {
1301         "id": "35321bd9.a49cf4",
1302         "type": "failure",
1303         "name": "failure",
1304         "xml": "<outcome value='failure'>\n",
1305         "comments": "",
1306         "outputs": 1,
1307         "x": 3740.1111602783203,
1308         "y": 1122.3228759765625,
1309         "z": "46bc844c.8e713c",
1310         "wires": [
1311             [
1312                 "9e3914cb.22e1d8"
1313             ]
1314         ]
1315     },
1316     {
1317         "id": "ce6bfff6.e9068",
1318         "type": "success",
1319         "name": "success",
1320         "xml": "<outcome value='success'>\n",
1321         "comments": "",
1322         "outputs": 1,
1323         "x": 3920.111717224121,
1324         "y": 1213.322916507721,
1325         "z": "46bc844c.8e713c",
1326         "wires": [
1327             [
1328                 "c943d932.58f028"
1329             ]
1330         ]
1331     },
1332     {
1333         "id": "9e3914cb.22e1d8",
1334         "type": "block",
1335         "name": "block",
1336         "xml": "<block>\n",
1337         "atomic": "false",
1338         "comments": "",
1339         "outputs": 1,
1340         "x": 3909.111038208008,
1341         "y": 1133.3228759765625,
1342         "z": "46bc844c.8e713c",
1343         "wires": [
1344             [
1345                 "ba05d7db.445d78"
1346             ]
1347         ]
1348     },
1349     {
1350         "id": "c943d932.58f028",
1351         "type": "block",
1352         "name": "block",
1353         "xml": "<block>\n",
1354         "atomic": "false",
1355         "comments": "",
1356         "outputs": 1,
1357         "x": 4082.111473083496,
1358         "y": 1214.3230385780334,
1359         "z": "46bc844c.8e713c",
1360         "wires": [
1361             [
1362                 "c25a3f62.75b5c"
1363             ]
1364         ]
1365     },
1366     {
1367         "id": "ba05d7db.445d78",
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": 4063.1107330322266,
1373         "y": 1126.3228759765625,
1374         "z": "46bc844c.8e713c",
1375         "wires": []
1376     },
1377     {
1378         "id": "c25a3f62.75b5c",
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": 4233.111595153809,
1385         "y": 1210.3230118751526,
1386         "z": "46bc844c.8e713c",
1387         "wires": [
1388             []
1389         ]
1390     },
1391     {
1392         "id": "ffd4c30f.165a9",
1393         "type": "switchNode",
1394         "name": "switch configdb deployed",
1395         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
1396         "comments": "",
1397         "outputs": 1,
1398         "x": 2451.111228942871,
1399         "y": 1104.3228206634521,
1400         "z": "46bc844c.8e713c",
1401         "wires": [
1402             [
1403                 "250b0031.e6ba4",
1404                 "af5e8f30.17624"
1405             ]
1406         ]
1407     },
1408     {
1409         "id": "250b0031.e6ba4",
1410         "type": "outcome",
1411         "name": "Deployed",
1412         "xml": "<outcome value='true'>\n",
1413         "comments": "",
1414         "outputs": 1,
1415         "x": 3022.1114959716797,
1416         "y": 1018.9896020889282,
1417         "z": "46bc844c.8e713c",
1418         "wires": [
1419             [
1420                 "7c6eefc1.72219"
1421             ]
1422         ]
1423     },
1424     {
1425         "id": "628d6d71.42f8e4",
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": 953.7777709960938,
1432         "y": 1854.9999980926514,
1433         "z": "46bc844c.8e713c",
1434         "wires": [
1435             [
1436                 "5e95a432.c93fac",
1437                 "e5b17b3c.7109a8"
1438             ]
1439         ]
1440     },
1441     {
1442         "id": "5e95a432.c93fac",
1443         "type": "success",
1444         "name": "success",
1445         "xml": "<outcome value='success'>\n",
1446         "comments": "",
1447         "outputs": 1,
1448         "x": 1227.7777709960938,
1449         "y": 1823.9999980926514,
1450         "z": "46bc844c.8e713c",
1451         "wires": [
1452             [
1453                 "3a1e1c0c.d37884"
1454             ]
1455         ]
1456     },
1457     {
1458         "id": "3a1e1c0c.d37884",
1459         "type": "block",
1460         "name": "block : atomic",
1461         "xml": "<block atomic='true'>",
1462         "atomic": "true",
1463         "comments": "",
1464         "outputs": 1,
1465         "x": 1418.7777709960938,
1466         "y": 1826.9999980926514,
1467         "z": "46bc844c.8e713c",
1468         "wires": [
1469             [
1470                 "cd46b553.cd3788"
1471             ]
1472         ]
1473     },
1474     {
1475         "id": "cd46b553.cd3788",
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": 1586.7777709960938,
1482         "y": 1827.9999980926514,
1483         "z": "46bc844c.8e713c",
1484         "wires": [
1485             []
1486         ]
1487     },
1488     {
1489         "id": "ee0b8032.b89a6",
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": 926.2777709960938,
1496         "y": 1970.9999980926514,
1497         "z": "46bc844c.8e713c",
1498         "wires": [
1499             [
1500                 "12693b89.537cd4",
1501                 "8af458db.b9e108"
1502             ]
1503         ]
1504     },
1505     {
1506         "id": "31844626.61416a",
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": 915.7777709960938,
1513         "y": 2052.9999980926514,
1514         "z": "46bc844c.8e713c",
1515         "wires": [
1516             [
1517                 "d67e2614.0ca168",
1518                 "9351a9d4.1b3748"
1519             ]
1520         ]
1521     },
1522     {
1523         "id": "d67e2614.0ca168",
1524         "type": "success",
1525         "name": "success",
1526         "xml": "<outcome value='success'>\n",
1527         "comments": "",
1528         "outputs": 1,
1529         "x": 1098.2777709960938,
1530         "y": 2060.9999980926514,
1531         "z": "46bc844c.8e713c",
1532         "wires": [
1533             [
1534                 "2e2c4594.7e808a"
1535             ]
1536         ]
1537     },
1538     {
1539         "id": "2e2c4594.7e808a",
1540         "type": "block",
1541         "name": "block : atomic",
1542         "xml": "<block atomic='true'>",
1543         "atomic": "true",
1544         "comments": "",
1545         "outputs": 1,
1546         "x": 1283.2777709960938,
1547         "y": 2058.9999980926514,
1548         "z": "46bc844c.8e713c",
1549         "wires": [
1550             [
1551                 "f877e600.537b58"
1552             ]
1553         ]
1554     },
1555     {
1556         "id": "f877e600.537b58",
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": 1485.2777709960938,
1563         "y": 2053.9999980926514,
1564         "z": "46bc844c.8e713c",
1565         "wires": [
1566             []
1567         ]
1568     },
1569     {
1570         "id": "12693b89.537cd4",
1571         "type": "success",
1572         "name": "success",
1573         "xml": "<outcome value='success'>\n",
1574         "comments": "",
1575         "outputs": 1,
1576         "x": 1119.7777709960938,
1577         "y": 1938.9999980926514,
1578         "z": "46bc844c.8e713c",
1579         "wires": [
1580             [
1581                 "3a1665a0.d783da"
1582             ]
1583         ]
1584     },
1585     {
1586         "id": "3a1665a0.d783da",
1587         "type": "block",
1588         "name": "block : atomic",
1589         "xml": "<block atomic='true'>",
1590         "atomic": "true",
1591         "comments": "",
1592         "outputs": 1,
1593         "x": 1294.7777709960938,
1594         "y": 1952.9999980926514,
1595         "z": "46bc844c.8e713c",
1596         "wires": [
1597             [
1598                 "418c7ed4.a4dd1"
1599             ]
1600         ]
1601     },
1602     {
1603         "id": "418c7ed4.a4dd1",
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": 1482.7777709960938,
1610         "y": 1954.9999980926514,
1611         "z": "46bc844c.8e713c",
1612         "wires": [
1613             []
1614         ]
1615     },
1616     {
1617         "id": "e5b17b3c.7109a8",
1618         "type": "failure",
1619         "name": "failure",
1620         "xml": "<outcome value='failure'>\n",
1621         "comments": "",
1622         "outputs": 1,
1623         "x": 1226.7777709960938,
1624         "y": 1880.9999980926514,
1625         "z": "46bc844c.8e713c",
1626         "wires": [
1627             [
1628                 "511f63ea.f348dc"
1629             ]
1630         ]
1631     },
1632     {
1633         "id": "511f63ea.f348dc",
1634         "type": "block",
1635         "name": "block",
1636         "xml": "<block>\n",
1637         "atomic": "false",
1638         "comments": "",
1639         "outputs": 1,
1640         "x": 1395.7776489257812,
1641         "y": 1886.9999980926514,
1642         "z": "46bc844c.8e713c",
1643         "wires": [
1644             [
1645                 "b6492206.1878"
1646             ]
1647         ]
1648     },
1649     {
1650         "id": "b6492206.1878",
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": 1551.7774047851562,
1656         "y": 1885.9999980926514,
1657         "z": "46bc844c.8e713c",
1658         "wires": []
1659     },
1660     {
1661         "id": "8af458db.b9e108",
1662         "type": "failure",
1663         "name": "failure",
1664         "xml": "<outcome value='failure'>\n",
1665         "comments": "",
1666         "outputs": 1,
1667         "x": 1140.7777709960938,
1668         "y": 2009.9999980926514,
1669         "z": "46bc844c.8e713c",
1670         "wires": [
1671             [
1672                 "a19e0d3a.a5352"
1673             ]
1674         ]
1675     },
1676     {
1677         "id": "a19e0d3a.a5352",
1678         "type": "block",
1679         "name": "block",
1680         "xml": "<block>\n",
1681         "atomic": "false",
1682         "comments": "",
1683         "outputs": 1,
1684         "x": 1308.7776489257812,
1685         "y": 2004.9999980926514,
1686         "z": "46bc844c.8e713c",
1687         "wires": [
1688             [
1689                 "db18dde1.0a225"
1690             ]
1691         ]
1692     },
1693     {
1694         "id": "db18dde1.0a225",
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": 1466.77734375,
1700         "y": 2007.9999980926514,
1701         "z": "46bc844c.8e713c",
1702         "wires": []
1703     },
1704     {
1705         "id": "9351a9d4.1b3748",
1706         "type": "failure",
1707         "name": "failure",
1708         "xml": "<outcome value='failure'>\n",
1709         "comments": "",
1710         "outputs": 1,
1711         "x": 1100.7777709960938,
1712         "y": 2108.9999980926514,
1713         "z": "46bc844c.8e713c",
1714         "wires": [
1715             [
1716                 "5a1ef025.55213"
1717             ]
1718         ]
1719     },
1720     {
1721         "id": "5a1ef025.55213",
1722         "type": "block",
1723         "name": "block",
1724         "xml": "<block>\n",
1725         "atomic": "false",
1726         "comments": "",
1727         "outputs": 1,
1728         "x": 1276.7776489257812,
1729         "y": 2109.9999980926514,
1730         "z": "46bc844c.8e713c",
1731         "wires": [
1732             [
1733                 "9e81d6af.ff55f8"
1734             ]
1735         ]
1736     },
1737     {
1738         "id": "9e81d6af.ff55f8",
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": 1423.77734375,
1744         "y": 2112.9999980926514,
1745         "z": "46bc844c.8e713c",
1746         "wires": []
1747     },
1748     {
1749         "id": "46e24d05.b33174",
1750         "type": "block",
1751         "name": "DMAAP Payload Generation",
1752         "xml": "<block atomic='true'>",
1753         "atomic": "true",
1754         "comments": "",
1755         "outputs": 1,
1756         "x": 670.7777709960938,
1757         "y": 1975.9999980926514,
1758         "z": "46bc844c.8e713c",
1759         "wires": [
1760             [
1761                 "628d6d71.42f8e4",
1762                 "ee0b8032.b89a6",
1763                 "31844626.61416a"
1764             ]
1765         ]
1766     },
1767     {
1768         "id": "ae0bbeed.2287",
1769         "type": "block",
1770         "name": "DMAAP Reponse Publish",
1771         "xml": "<block atomic='true'>",
1772         "atomic": "true",
1773         "comments": "",
1774         "outputs": 1,
1775         "x": 634.7777690887451,
1776         "y": 2237.9999537467957,
1777         "z": "46bc844c.8e713c",
1778         "wires": [
1779             [
1780                 "8c4162a5.d81ad",
1781                 "70f89d30.b13c64",
1782                 "4a55c768.5405d8"
1783             ]
1784         ]
1785     },
1786     {
1787         "id": "70f89d30.b13c64",
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": 906.777868270874,
1794         "y": 2349.9994707107544,
1795         "z": "46bc844c.8e713c",
1796         "wires": [
1797             [
1798                 "3cdfa381.8f652c",
1799                 "bb39b817.930928"
1800             ]
1801         ]
1802     },
1803     {
1804         "id": "8c4162a5.d81ad",
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": 971.4445323944092,
1810         "y": 2186.0000038146973,
1811         "z": "46bc844c.8e713c",
1812         "wires": []
1813     },
1814     {
1815         "id": "3cdfa381.8f652c",
1816         "type": "failure",
1817         "name": "failure",
1818         "xml": "<outcome value='failure'>\n",
1819         "comments": "",
1820         "outputs": 1,
1821         "x": 1127.2778072357178,
1822         "y": 2276.9167318344116,
1823         "z": "46bc844c.8e713c",
1824         "wires": [
1825             [
1826                 "e3c8fec8.7984"
1827             ]
1828         ]
1829     },
1830     {
1831         "id": "bb39b817.930928",
1832         "type": "success",
1833         "name": "success",
1834         "xml": "<outcome value='success'>\n",
1835         "comments": "",
1836         "outputs": 1,
1837         "x": 1131.2777271270752,
1838         "y": 2415.9165744781494,
1839         "z": "46bc844c.8e713c",
1840         "wires": [
1841             [
1842                 "3c65a06e.1bb79"
1843             ]
1844         ]
1845     },
1846     {
1847         "id": "e3c8fec8.7984",
1848         "type": "block",
1849         "name": "block",
1850         "xml": "<block>\n",
1851         "atomic": "false",
1852         "comments": "",
1853         "outputs": 1,
1854         "x": 1287.2776412963867,
1855         "y": 2278.916732788086,
1856         "z": "46bc844c.8e713c",
1857         "wires": [
1858             [
1859                 "e9015563.f77e98"
1860             ]
1861         ]
1862     },
1863     {
1864         "id": "e9015563.f77e98",
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": 1464.2774028778076,
1870         "y": 2268.9167861938477,
1871         "z": "46bc844c.8e713c",
1872         "wires": []
1873     },
1874     {
1875         "id": "3c65a06e.1bb79",
1876         "type": "block",
1877         "name": "block",
1878         "xml": "<block>\n",
1879         "atomic": "false",
1880         "comments": "",
1881         "outputs": 1,
1882         "x": 1314.2773704528809,
1883         "y": 2408.9166831970215,
1884         "z": "46bc844c.8e713c",
1885         "wires": [
1886             [
1887                 "c5ff3621.7153e8"
1888             ]
1889         ]
1890     },
1891     {
1892         "id": "c5ff3621.7153e8",
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": 1496.2774868011475,
1899         "y": 2393.9169540405273,
1900         "z": "46bc844c.8e713c",
1901         "wires": [
1902             []
1903         ]
1904     },
1905     {
1906         "id": "4a55c768.5405d8",
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": 978.2778415679932,
1913         "y": 2257.4548683166504,
1914         "z": "46bc844c.8e713c",
1915         "wires": [
1916             []
1917         ]
1918     },
1919     {
1920         "id": "b716ea71.c1a2f8",
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": 511.77777099609375,
1926         "y": 356.99999809265137,
1927         "z": "46bc844c.8e713c",
1928         "wires": []
1929     },
1930     {
1931         "id": "55b11952.8ee478",
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": 2797.7785110473633,
1937         "y": 1334.3336811065674,
1938         "z": "46bc844c.8e713c",
1939         "wires": []
1940     },
1941     {
1942         "id": "88f0830.251918",
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": 2823.7786254882812,
1949         "y": 1763.6668224334717,
1950         "z": "46bc844c.8e713c",
1951         "wires": [
1952             []
1953         ]
1954     },
1955     {
1956         "id": "7c01eeb.3d55d1",
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": 3350.1115951538086,
1963         "y": 1926.3334121704102,
1964         "z": "46bc844c.8e713c",
1965         "wires": [
1966             []
1967         ]
1968     },
1969     {
1970         "id": "45a4d496.91e70c",
1971         "type": "outcome",
1972         "name": "Not Deployed",
1973         "xml": "<outcome value='false'>\n",
1974         "comments": "",
1975         "outputs": 1,
1976         "x": 3063.444751739502,
1977         "y": 1951.4447603225708,
1978         "z": "46bc844c.8e713c",
1979         "wires": [
1980             [
1981                 "552b5e4f.154ca"
1982             ]
1983         ]
1984     },
1985     {
1986         "id": "b16469e6.4fa108",
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": 483.7779846191406,
1993         "y": 556.6666822433472,
1994         "z": "46bc844c.8e713c",
1995         "wires": [
1996             []
1997         ]
1998     },
1999     {
2000         "id": "aef3c2b4.b7175",
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": 495.5279006958008,
2007         "y": 507.48805046081543,
2008         "z": "46bc844c.8e713c",
2009         "wires": [
2010             []
2011         ]
2012     },
2013     {
2014         "id": "b4637758.354448",
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": 520.0753479003906,
2021         "y": 649.5947036743164,
2022         "z": "46bc844c.8e713c",
2023         "wires": [
2024             []
2025         ]
2026     },
2027     {
2028         "id": "c2d8e1b0.cdd98",
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": 924.5750961303711,
2035         "y": 634.4478524923325,
2036         "z": "46bc844c.8e713c",
2037         "wires": [
2038             []
2039         ]
2040     },
2041     {
2042         "id": "825e99ea.480a28",
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": 552.6656036376953,
2049         "y": 692.8329458236694,
2050         "z": "46bc844c.8e713c",
2051         "wires": [
2052             []
2053         ]
2054     },
2055     {
2056         "id": "358268ea.d2df38",
2057         "type": "block",
2058         "name": "block : atomic",
2059         "xml": "<block atomic='true'>",
2060         "atomic": "true",
2061         "comments": "",
2062         "outputs": 1,
2063         "x": 721.0834121704102,
2064         "y": 769.3451957702637,
2065         "z": "46bc844c.8e713c",
2066         "wires": [
2067             [
2068                 "f81dcbde.e63948",
2069                 "cf8bff84.7959f"
2070             ]
2071         ]
2072     },
2073     {
2074         "id": "e66db74.667c448",
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": 1657.7819175720215,
2081         "y": 213.26596641540527,
2082         "z": "46bc844c.8e713c",
2083         "wires": [
2084             []
2085         ]
2086     },
2087     {
2088         "id": "f7fee6a.2700118",
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": 525.9510803222656,
2095         "y": 729.7301635742188,
2096         "z": "46bc844c.8e713c",
2097         "wires": [
2098             [
2099                 "44e05c8c.adf1d4"
2100             ]
2101         ]
2102     },
2103     {
2104         "id": "44e05c8c.adf1d4",
2105         "type": "block",
2106         "name": "block : atomic",
2107         "xml": "<block atomic='true'>",
2108         "atomic": "true",
2109         "comments": "",
2110         "outputs": 1,
2111         "x": 730.4829864501953,
2112         "y": 724.6864624023438,
2113         "z": "46bc844c.8e713c",
2114         "wires": [
2115             [
2116                 "1478bac0.b9e245",
2117                 "c2d8e1b0.cdd98"
2118             ]
2119         ]
2120     },
2121     {
2122         "id": "1478bac0.b9e245",
2123         "type": "switchNode",
2124         "name": "check schemaSetName",
2125         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2126         "comments": "",
2127         "outputs": 1,
2128         "x": 949.0596542358398,
2129         "y": 681.5436401367188,
2130         "z": "46bc844c.8e713c",
2131         "wires": [
2132             [
2133                 "23f3c2e7.b2256e"
2134             ]
2135         ]
2136     },
2137     {
2138         "id": "23f3c2e7.b2256e",
2139         "type": "outcome",
2140         "name": "if ran-network",
2141         "xml": "<outcome value='ran-network'>\n",
2142         "comments": "",
2143         "outputs": 1,
2144         "x": 1132.3652458190918,
2145         "y": 646.0158882141113,
2146         "z": "46bc844c.8e713c",
2147         "wires": [
2148             [
2149                 "d5569fc5.e6a2"
2150             ]
2151         ]
2152     },
2153     {
2154         "id": "d5569fc5.e6a2",
2155         "type": "block",
2156         "name": "block : atomic",
2157         "xml": "<block atomic='true'>",
2158         "atomic": "true",
2159         "comments": "",
2160         "outputs": 1,
2161         "x": 1453.667652130127,
2162         "y": 157.34918594360352,
2163         "z": "46bc844c.8e713c",
2164         "wires": [
2165             [
2166                 "d8f9145c.df6b18",
2167                 "3ea829a5.c173f6"
2168             ]
2169         ]
2170     },
2171     {
2172         "id": "d8f9145c.df6b18",
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": 1632.5810737609863,
2179         "y": 157.15472793579102,
2180         "z": "46bc844c.8e713c",
2181         "wires": [
2182             []
2183         ]
2184     },
2185     {
2186         "id": "cf8bff84.7959f",
2187         "type": "switchNode",
2188         "name": "check schemaSetName",
2189         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2190         "comments": "",
2191         "outputs": 1,
2192         "x": 946.8589019775391,
2193         "y": 759.9170888662338,
2194         "z": "46bc844c.8e713c",
2195         "wires": [
2196             [
2197                 "157de446.c219ec"
2198             ]
2199         ]
2200     },
2201     {
2202         "id": "f81dcbde.e63948",
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": 930.8867340087891,
2209         "y": 718.6670869588852,
2210         "z": "46bc844c.8e713c",
2211         "wires": [
2212             []
2213         ]
2214     },
2215     {
2216         "id": "157de446.c219ec",
2217         "type": "outcome",
2218         "name": "if ran-network",
2219         "xml": "<outcome value='ran-network'>\n",
2220         "comments": "",
2221         "outputs": 1,
2222         "x": 1130.6644897460938,
2223         "y": 716.389377951622,
2224         "z": "46bc844c.8e713c",
2225         "wires": [
2226             [
2227                 "c2330e5e.e47bd"
2228             ]
2229         ]
2230     },
2231     {
2232         "id": "c2330e5e.e47bd",
2233         "type": "block",
2234         "name": "block : atomic",
2235         "xml": "<block atomic='true'>",
2236         "atomic": "true",
2237         "comments": "",
2238         "outputs": 1,
2239         "x": 1476.8002967834473,
2240         "y": 243.61154747009277,
2241         "z": "46bc844c.8e713c",
2242         "wires": [
2243             [
2244                 "e66db74.667c448",
2245                 "89ae2b32.b0fc38"
2246             ]
2247         ]
2248     },
2249     {
2250         "id": "2e1b5ff3.7da19",
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": 519.824291229248,
2257         "y": 775.190938949585,
2258         "z": "46bc844c.8e713c",
2259         "wires": [
2260             [
2261                 "358268ea.d2df38"
2262             ]
2263         ]
2264     },
2265     {
2266         "id": "3ea829a5.c173f6",
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": 1631.6391868591309,
2273         "y": 108.83376979827881,
2274         "z": "46bc844c.8e713c",
2275         "wires": [
2276             []
2277         ]
2278     },
2279     {
2280         "id": "89ae2b32.b0fc38",
2281         "type": "block",
2282         "name": "block : atomic",
2283         "xml": "<block atomic='true'>",
2284         "atomic": "true",
2285         "comments": "",
2286         "outputs": 1,
2287         "x": 1673.7264137268066,
2288         "y": 261.9881372451782,
2289         "z": "46bc844c.8e713c",
2290         "wires": [
2291             [
2292                 "60c1bc1c.4fc694",
2293                 "731eea74.fdba64",
2294                 "af700d79.af35b",
2295                 "9130729b.2cc6a"
2296             ]
2297         ]
2298     },
2299     {
2300         "id": "c221caea.8d05e8",
2301         "type": "failure",
2302         "name": "failure",
2303         "xml": "<outcome value='failure'>\n",
2304         "comments": "",
2305         "outputs": 1,
2306         "x": 733.0318908691406,
2307         "y": 533.0435565710068,
2308         "z": "46bc844c.8e713c",
2309         "wires": [
2310             [
2311                 "58a2743.4c9548c"
2312             ]
2313         ]
2314     },
2315     {
2316         "id": "6682b05a.b4663",
2317         "type": "success",
2318         "name": "success",
2319         "xml": "<outcome value='success'>\n",
2320         "comments": "",
2321         "outputs": 1,
2322         "x": 747.0320625305176,
2323         "y": 607.2379722595215,
2324         "z": "46bc844c.8e713c",
2325         "wires": [
2326             [
2327                 "112c3ee5.3804b1"
2328             ]
2329         ]
2330     },
2331     {
2332         "id": "58a2743.4c9548c",
2333         "type": "block",
2334         "name": "block",
2335         "xml": "<block>",
2336         "atomic": "false",
2337         "comments": "",
2338         "outputs": 1,
2339         "x": 875.7263870239258,
2340         "y": 530.6547559499741,
2341         "z": "46bc844c.8e713c",
2342         "wires": [
2343             [
2344                 "c8f4ffb8.dce39",
2345                 "b85d1e50.469e9"
2346             ]
2347         ]
2348     },
2349     {
2350         "id": "112c3ee5.3804b1",
2351         "type": "block",
2352         "name": "block : atomic",
2353         "xml": "<block atomic='true'>",
2354         "atomic": "true",
2355         "comments": "",
2356         "outputs": 1,
2357         "x": 895.4762229919434,
2358         "y": 583.9046787023544,
2359         "z": "46bc844c.8e713c",
2360         "wires": [
2361             [
2362                 "ab95a6e4.ee8118",
2363                 "34378aaf.798d46"
2364             ]
2365         ]
2366     },
2367     {
2368         "id": "c8f4ffb8.dce39",
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": 1059.5038146972656,
2374         "y": 494.48796594142914,
2375         "z": "46bc844c.8e713c",
2376         "wires": []
2377     },
2378     {
2379         "id": "ab95a6e4.ee8118",
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": 1077.225986480713,
2386         "y": 568.15471971035,
2387         "z": "46bc844c.8e713c",
2388         "wires": [
2389             []
2390         ]
2391     },
2392     {
2393         "id": "34378aaf.798d46",
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": 1090.7542266845703,
2400         "y": 600.9047216176987,
2401         "z": "46bc844c.8e713c",
2402         "wires": [
2403             []
2404         ]
2405     },
2406     {
2407         "id": "b85d1e50.469e9",
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": 1053.309726715088,
2414         "y": 531.0158017873764,
2415         "z": "46bc844c.8e713c",
2416         "wires": [
2417             []
2418         ]
2419     },
2420     {
2421         "id": "88b8100a.1ccdd",
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": 540.7263107299805,
2428         "y": 605.2618980407715,
2429         "z": "46bc844c.8e713c",
2430         "wires": [
2431             [
2432                 "6682b05a.b4663",
2433                 "c221caea.8d05e8"
2434             ]
2435         ]
2436     },
2437     {
2438         "id": "71f0ae82.b9807",
2439         "type": "success",
2440         "name": "success",
2441         "xml": "<outcome value='success'>\n",
2442         "comments": "",
2443         "outputs": 1,
2444         "x": 2179.5805854797363,
2445         "y": 290.7801809310913,
2446         "z": "46bc844c.8e713c",
2447         "wires": [
2448             [
2449                 "4975a161.3151"
2450             ]
2451         ]
2452     },
2453     {
2454         "id": "4975a161.3151",
2455         "type": "block",
2456         "name": "block : atomic",
2457         "xml": "<block atomic='true'>",
2458         "atomic": "true",
2459         "comments": "",
2460         "outputs": 1,
2461         "x": 2388.580551147461,
2462         "y": 261.78032302856445,
2463         "z": "46bc844c.8e713c",
2464         "wires": [
2465             [
2466                 "f650848f.c55138",
2467                 "20bd7e3e.d98032",
2468                 "186aa1f7.7c683e"
2469             ]
2470         ]
2471     },
2472     {
2473         "id": "44fed0f9.b287c",
2474         "type": "failure",
2475         "name": "failure",
2476         "xml": "<outcome value='failure'>\n",
2477         "comments": "",
2478         "outputs": 1,
2479         "x": 2202.5805492401123,
2480         "y": 236.78032302856445,
2481         "z": "46bc844c.8e713c",
2482         "wires": [
2483             [
2484                 "29e71e49.aeeae2"
2485             ]
2486         ]
2487     },
2488     {
2489         "id": "29e71e49.aeeae2",
2490         "type": "block",
2491         "name": "block",
2492         "xml": "<block>",
2493         "atomic": "false",
2494         "comments": "",
2495         "outputs": 1,
2496         "x": 2425.4379119873047,
2497         "y": 189.0660161972046,
2498         "z": "46bc844c.8e713c",
2499         "wires": [
2500             [
2501                 "5f3eb114.47032"
2502             ]
2503         ]
2504     },
2505     {
2506         "id": "60c1bc1c.4fc694",
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": 1984.5127410888672,
2513         "y": 149.7121877670288,
2514         "z": "46bc844c.8e713c",
2515         "wires": [
2516             []
2517         ]
2518     },
2519     {
2520         "id": "731eea74.fdba64",
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": 1904.512794494629,
2527         "y": 191.71218872070312,
2528         "z": "46bc844c.8e713c",
2529         "wires": [
2530             []
2531         ]
2532     },
2533     {
2534         "id": "af700d79.af35b",
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": 1931.5127563476562,
2541         "y": 232.71218967437744,
2542         "z": "46bc844c.8e713c",
2543         "wires": [
2544             []
2545         ]
2546     },
2547     {
2548         "id": "9130729b.2cc6a",
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": 1931.5126953125,
2555         "y": 277.7121915817261,
2556         "z": "46bc844c.8e713c",
2557         "wires": [
2558             [
2559                 "44fed0f9.b287c",
2560                 "71f0ae82.b9807"
2561             ]
2562         ]
2563     },
2564     {
2565         "id": "20bd7e3e.d98032",
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": 2575.512950897217,
2572         "y": 288.7121238708496,
2573         "z": "46bc844c.8e713c",
2574         "wires": [
2575             []
2576         ]
2577     },
2578     {
2579         "id": "f650848f.c55138",
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": 2574.290630340576,
2586         "y": 338.71234571933746,
2587         "z": "46bc844c.8e713c",
2588         "wires": [
2589             []
2590         ]
2591     },
2592     {
2593         "id": "5f3eb114.47032",
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": 2571.5127906799316,
2599         "y": 172.82320594787598,
2600         "z": "46bc844c.8e713c",
2601         "wires": []
2602     },
2603     {
2604         "id": "bc1e082b.24b418",
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": 503.5805969238281,
2610         "y": 442.11352729797363,
2611         "z": "46bc844c.8e713c",
2612         "wires": []
2613     },
2614     {
2615         "id": "186aa1f7.7c683e",
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": 2597.5811500549316,
2622         "y": 238.44686317443848,
2623         "z": "46bc844c.8e713c",
2624         "wires": [
2625             []
2626         ]
2627     },
2628     {
2629         "id": "7a26d7bd.2a31d8",
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": 2835.7778091430664,
2636         "y": 1673.333360671997,
2637         "z": "46bc844c.8e713c",
2638         "wires": [
2639             []
2640         ]
2641     },
2642     {
2643         "id": "6598c410.436e2c",
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": 2854.4444732666016,
2650         "y": 1462.2222108840942,
2651         "z": "46bc844c.8e713c",
2652         "wires": [
2653             []
2654         ]
2655     },
2656     {
2657         "id": "599ef68c.e836f8",
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": 2793.8887825012207,
2664         "y": 1377.7776527404785,
2665         "z": "46bc844c.8e713c",
2666         "wires": [
2667             []
2668         ]
2669     },
2670     {
2671         "id": "ea1be66.4084218",
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": 2500.3331451416016,
2677         "y": 420.000018119812,
2678         "z": "46bc844c.8e713c",
2679         "wires": []
2680     },
2681     {
2682         "id": "ac7df1f6.d8a71",
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": 2515.3331909179688,
2689         "y": 540.5555400848389,
2690         "z": "46bc844c.8e713c",
2691         "wires": [
2692             []
2693         ]
2694     },
2695     {
2696         "id": "35b9952f.955e5a",
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": 2503.666229248047,
2703         "y": 498.10066413879395,
2704         "z": "46bc844c.8e713c",
2705         "wires": [
2706             []
2707         ]
2708     },
2709     {
2710         "id": "8bfa8e24.f1519",
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": 2493.6666107177734,
2717         "y": 728.3332824707031,
2718         "z": "46bc844c.8e713c",
2719         "wires": [
2720             []
2721         ]
2722     },
2723     {
2724         "id": "90027a5c.f27a28",
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": 2489.667366027832,
2731         "y": 806.3229904174805,
2732         "z": "46bc844c.8e713c",
2733         "wires": [
2734             []
2735         ]
2736     },
2737     {
2738         "id": "5d0e468e.907008",
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": 2475.667121887207,
2745         "y": 861.6460304260254,
2746         "z": "46bc844c.8e713c",
2747         "wires": [
2748             []
2749         ]
2750     },
2751     {
2752         "id": "39e743ea.9c4c0c",
2753         "type": "failure",
2754         "name": "failure",
2755         "xml": "<outcome value='failure'>\n",
2756         "comments": "",
2757         "outputs": 1,
2758         "x": 3600.7777709960938,
2759         "y": 2031.55544090271,
2760         "z": "46bc844c.8e713c",
2761         "wires": [
2762             [
2763                 "4c667e51.d22c1"
2764             ]
2765         ]
2766     },
2767     {
2768         "id": "4c667e51.d22c1",
2769         "type": "block",
2770         "name": "block : atomic",
2771         "xml": "<block atomic='true'>",
2772         "atomic": "true",
2773         "comments": "",
2774         "outputs": 1,
2775         "x": 3767.4442825317383,
2776         "y": 2041.2221202850342,
2777         "z": "46bc844c.8e713c",
2778         "wires": [
2779             [
2780                 "b53ba38a.c512e",
2781                 "3c60c294.872b2e"
2782             ]
2783         ]
2784     },
2785     {
2786         "id": "3c60c294.872b2e",
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": 3948.111282348633,
2792         "y": 2012.6664123535156,
2793         "z": "46bc844c.8e713c",
2794         "wires": []
2795     },
2796     {
2797         "id": "b53ba38a.c512e",
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": 3967.1111221313477,
2803         "y": 2067.5554151535034,
2804         "z": "46bc844c.8e713c",
2805         "wires": []
2806     },
2807     {
2808         "id": "fc4550e.2f1ccb",
2809         "type": "success",
2810         "name": "success",
2811         "xml": "<outcome value='success'>\n",
2812         "comments": "",
2813         "outputs": 1,
2814         "x": 3602.595806121826,
2815         "y": 2168.131169319153,
2816         "z": "46bc844c.8e713c",
2817         "wires": [
2818             [
2819                 "93c78852.dc7fc8"
2820             ]
2821         ]
2822     },
2823     {
2824         "id": "93c78852.dc7fc8",
2825         "type": "block",
2826         "name": "block : atomic",
2827         "xml": "<block atomic='true'>",
2828         "atomic": "true",
2829         "comments": "",
2830         "outputs": 1,
2831         "x": 3790.5956497192383,
2832         "y": 2153.1313104629517,
2833         "z": "46bc844c.8e713c",
2834         "wires": [
2835             [
2836                 "74656fd1.5993e"
2837             ]
2838         ]
2839     },
2840     {
2841         "id": "74656fd1.5993e",
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": 3975.929153442383,
2848         "y": 2131.131513595581,
2849         "z": "46bc844c.8e713c",
2850         "wires": [
2851             []
2852         ]
2853     },
2854     {
2855         "id": "61d4f50d.8aed8c",
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": 3416.3099975585938,
2862         "y": 1976.849384188652,
2863         "z": "46bc844c.8e713c",
2864         "wires": [
2865             []
2866         ]
2867     },
2868     {
2869         "id": "2cecd473.8d9bfc",
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": 3391.309989929199,
2876         "y": 2025.1830444335938,
2877         "z": "46bc844c.8e713c",
2878         "wires": [
2879             []
2880         ]
2881     },
2882     {
2883         "id": "4567c211.7a242c",
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": 3358.109794616699,
2890         "y": 2129.9828929901123,
2891         "z": "46bc844c.8e713c",
2892         "wires": [
2893             [
2894                 "39e743ea.9c4c0c",
2895                 "fc4550e.2f1ccb"
2896             ]
2897         ]
2898     },
2899     {
2900         "id": "845a226c.f938",
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": 3335.949966430664,
2907         "y": 2077.899069786072,
2908         "z": "46bc844c.8e713c",
2909         "wires": [
2910             []
2911         ]
2912     },
2913     {
2914         "id": "552b5e4f.154ca",
2915         "type": "block",
2916         "name": "block : atomic",
2917         "xml": "<block atomic='true'>",
2918         "atomic": "true",
2919         "comments": "",
2920         "outputs": 1,
2921         "x": 3118.0000915527344,
2922         "y": 2035.3334350585938,
2923         "z": "46bc844c.8e713c",
2924         "wires": [
2925             [
2926                 "7c01eeb.3d55d1",
2927                 "61d4f50d.8aed8c",
2928                 "2cecd473.8d9bfc",
2929                 "845a226c.f938",
2930                 "4567c211.7a242c"
2931             ]
2932         ]
2933     },
2934     {
2935         "id": "6d96ad4b.d71d24",
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": 3636.666748046875,
2942         "y": 1242.6666259765625,
2943         "z": "46bc844c.8e713c",
2944         "wires": [
2945             []
2946         ]
2947     },
2948     {
2949         "id": "af5e8f30.17624",
2950         "type": "outcome",
2951         "name": "Not Deployed",
2952         "xml": "<outcome value='false'>\n",
2953         "comments": "",
2954         "outputs": 1,
2955         "x": 2990.0001792907715,
2956         "y": 1151.7779922485352,
2957         "z": "46bc844c.8e713c",
2958         "wires": [
2959             [
2960                 "8492e23c.e47ad"
2961             ]
2962         ]
2963     },
2964     {
2965         "id": "9522198.2b734e8",
2966         "type": "failure",
2967         "name": "failure",
2968         "xml": "<outcome value='failure'>\n",
2969         "comments": "",
2970         "outputs": 1,
2971         "x": 3887.33292388916,
2972         "y": 1347.8886547088623,
2973         "z": "46bc844c.8e713c",
2974         "wires": [
2975             [
2976                 "9384946b.7d4f08"
2977             ]
2978         ]
2979     },
2980     {
2981         "id": "9384946b.7d4f08",
2982         "type": "block",
2983         "name": "block : atomic",
2984         "xml": "<block atomic='true'>",
2985         "atomic": "true",
2986         "comments": "",
2987         "outputs": 1,
2988         "x": 4053.9994354248047,
2989         "y": 1357.5553340911865,
2990         "z": "46bc844c.8e713c",
2991         "wires": [
2992             [
2993                 "e30d846f.d3e1f8",
2994                 "47520dbb.c29804"
2995             ]
2996         ]
2997     },
2998     {
2999         "id": "47520dbb.c29804",
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": 4234.666435241699,
3005         "y": 1328.999626159668,
3006         "z": "46bc844c.8e713c",
3007         "wires": []
3008     },
3009     {
3010         "id": "e30d846f.d3e1f8",
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": 4253.666275024414,
3016         "y": 1383.8886289596558,
3017         "z": "46bc844c.8e713c",
3018         "wires": []
3019     },
3020     {
3021         "id": "1785d968.9c7f67",
3022         "type": "success",
3023         "name": "success",
3024         "xml": "<outcome value='success'>\n",
3025         "comments": "",
3026         "outputs": 1,
3027         "x": 3889.1509590148926,
3028         "y": 1484.4643831253052,
3029         "z": "46bc844c.8e713c",
3030         "wires": [
3031             [
3032                 "489ffb78.e71864"
3033             ]
3034         ]
3035     },
3036     {
3037         "id": "489ffb78.e71864",
3038         "type": "block",
3039         "name": "block : atomic",
3040         "xml": "<block atomic='true'>",
3041         "atomic": "true",
3042         "comments": "",
3043         "outputs": 1,
3044         "x": 4077.1508026123047,
3045         "y": 1469.464524269104,
3046         "z": "46bc844c.8e713c",
3047         "wires": [
3048             [
3049                 "7568cc55.701ad4"
3050             ]
3051         ]
3052     },
3053     {
3054         "id": "7568cc55.701ad4",
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": 4262.484306335449,
3061         "y": 1447.4647274017334,
3062         "z": "46bc844c.8e713c",
3063         "wires": [
3064             []
3065         ]
3066     },
3067     {
3068         "id": "afe6df24.7406f",
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": 3702.86515045166,
3075         "y": 1293.1825979948044,
3076         "z": "46bc844c.8e713c",
3077         "wires": [
3078             []
3079         ]
3080     },
3081     {
3082         "id": "3bead5c3.8d6cda",
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": 3677.8651428222656,
3089         "y": 1341.516258239746,
3090         "z": "46bc844c.8e713c",
3091         "wires": [
3092             []
3093         ]
3094     },
3095     {
3096         "id": "e140bcea.b8b74",
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": 3644.6649475097656,
3103         "y": 1446.3161067962646,
3104         "z": "46bc844c.8e713c",
3105         "wires": [
3106             [
3107                 "9522198.2b734e8",
3108                 "1785d968.9c7f67"
3109             ]
3110         ]
3111     },
3112     {
3113         "id": "7be69543.1d3b6c",
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": 3622.5051193237305,
3120         "y": 1394.2322835922241,
3121         "z": "46bc844c.8e713c",
3122         "wires": [
3123             []
3124         ]
3125     },
3126     {
3127         "id": "8492e23c.e47ad",
3128         "type": "block",
3129         "name": "block : atomic",
3130         "xml": "<block atomic='true'>",
3131         "atomic": "true",
3132         "comments": "",
3133         "outputs": 1,
3134         "x": 3404.555244445801,
3135         "y": 1351.666648864746,
3136         "z": "46bc844c.8e713c",
3137         "wires": [
3138             [
3139                 "6d96ad4b.d71d24",
3140                 "afe6df24.7406f",
3141                 "3bead5c3.8d6cda",
3142                 "7be69543.1d3b6c",
3143                 "e140bcea.b8b74"
3144             ]
3145         ]
3146     }
3147 ]