Bugs associated with SDNR OOFPCIPOC DG's
[ccsdk/distribution.git] / platform-logic / oofpcipoc-api / src / main / json / oofpcipoc-api_configuration-phy-cell-id.json
1 [
2     {
3         "id": "5cfe1e32.70c03",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='configuration-phy-cell-id' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 70.00000762939453,
10         "y": 157.98959350585938,
11         "z": "231735cb.81484a",
12         "wires": [
13             [
14                 "3e0b09ab.48e706"
15             ]
16         ]
17     },
18     {
19         "id": "5972e355.1f90dc",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 72.00000762939453,
24         "y": 8.98958969116211,
25         "z": "231735cb.81484a",
26         "wires": [
27             [
28                 "54079cf7.5dc664"
29             ]
30         ]
31     },
32     {
33         "id": "54079cf7.5dc664",
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": 123.99999237060547,
42         "y": 75.98968505859375,
43         "z": "231735cb.81484a",
44         "wires": [
45             [
46                 "5cfe1e32.70c03"
47             ]
48         ]
49     },
50     {
51         "id": "3e0b09ab.48e706",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 91.48960494995117,
59         "y": 327.9896240234375,
60         "z": "231735cb.81484a",
61         "wires": [
62             [
63                 "769a67ee.dde568",
64                 "9f7ed3ae.40866",
65                 "4e6eb75.eedf548",
66                 "9fe3285b.bcd158",
67                 "5791230f.7e399c",
68                 "8025c437.0aac68"
69             ]
70         ]
71     },
72     {
73         "id": "769a67ee.dde568",
74         "type": "returnSuccess",
75         "name": "return success",
76         "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",
77         "comments": "",
78         "x": 89.00027465820312,
79         "y": 605.98974609375,
80         "z": "231735cb.81484a",
81         "wires": []
82     },
83     {
84         "id": "e61e6aa7.761fa8",
85         "type": "record",
86         "name": "record",
87         "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`\"/>",
88         "comments": "",
89         "outputs": 1,
90         "x": 586.0005493164062,
91         "y": 16.989639282226562,
92         "z": "231735cb.81484a",
93         "wires": [
94             []
95         ]
96     },
97     {
98         "id": "a8c7df6e.f7389",
99         "type": "comment",
100         "name": "configuration-phy-cell-id",
101         "info": "",
102         "comments": "",
103         "x": 301,
104         "y": 28.0000057220459,
105         "z": "231735cb.81484a",
106         "wires": []
107     },
108     {
109         "id": "98c7f031.3beb4",
110         "type": "record",
111         "name": "record",
112         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
113         "comments": "",
114         "outputs": 1,
115         "x": 1333.0000762939453,
116         "y": 147.0000033378601,
117         "z": "231735cb.81484a",
118         "wires": [
119             []
120         ]
121     },
122     {
123         "id": "37b670d3.2d75d",
124         "type": "failure",
125         "name": "failure",
126         "xml": "<outcome value='failure'>\n",
127         "comments": "",
128         "outputs": 1,
129         "x": 1033.0002059936523,
130         "y": 112.0000147819519,
131         "z": "231735cb.81484a",
132         "wires": [
133             [
134                 "e5c0ae7e.fb12e"
135             ]
136         ]
137     },
138     {
139         "id": "e5c0ae7e.fb12e",
140         "type": "returnFailure",
141         "name": "return failure",
142         "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\" />",
143         "comments": "",
144         "x": 1349.0001907348633,
145         "y": 104.00003385543823,
146         "z": "231735cb.81484a",
147         "wires": []
148     },
149     {
150         "id": "6807fd7c.9ffd14",
151         "type": "success",
152         "name": "success",
153         "xml": "<outcome value='success'>\n",
154         "comments": "",
155         "outputs": 1,
156         "x": 1070.0003471374512,
157         "y": 209.9999976158142,
158         "z": "231735cb.81484a",
159         "wires": [
160             [
161                 "61cbf7c3.3277c8"
162             ]
163         ]
164     },
165     {
166         "id": "61cbf7c3.3277c8",
167         "type": "block",
168         "name": "block",
169         "xml": "<block>\n",
170         "atomic": "false",
171         "comments": "",
172         "outputs": 1,
173         "x": 1166.000057220459,
174         "y": 152.00000619888306,
175         "z": "231735cb.81484a",
176         "wires": [
177             [
178                 "98c7f031.3beb4"
179             ]
180         ]
181     },
182     {
183         "id": "eb64f79e.fd6af8",
184         "type": "failure",
185         "name": "failure",
186         "xml": "<outcome value='failure'>\n",
187         "comments": "",
188         "outputs": 1,
189         "x": 1065.0001621246338,
190         "y": 464.6666452884674,
191         "z": "231735cb.81484a",
192         "wires": [
193             [
194                 "2883bb3f.bc91d4"
195             ]
196         ]
197     },
198     {
199         "id": "2883bb3f.bc91d4",
200         "type": "returnFailure",
201         "name": "return failure",
202         "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\" />",
203         "comments": "",
204         "x": 1275.0000553131104,
205         "y": 483.66669511795044,
206         "z": "231735cb.81484a",
207         "wires": []
208     },
209     {
210         "id": "6d15fc65.dab3d4",
211         "type": "success",
212         "name": "success",
213         "xml": "<outcome value='success'>\n",
214         "comments": "",
215         "outputs": 1,
216         "x": 1056.000020980835,
217         "y": 603.6667590141296,
218         "z": "231735cb.81484a",
219         "wires": [
220             [
221                 "a0dc8cc1.dd008"
222             ]
223         ]
224     },
225     {
226         "id": "a0dc8cc1.dd008",
227         "type": "block",
228         "name": "block",
229         "xml": "<block>\n",
230         "atomic": "false",
231         "comments": "",
232         "outputs": 1,
233         "x": 1243.999891281128,
234         "y": 601.6666655540466,
235         "z": "231735cb.81484a",
236         "wires": [
237             [
238                 "c1020cf0.6879f"
239             ]
240         ]
241     },
242     {
243         "id": "c1020cf0.6879f",
244         "type": "record",
245         "name": "record",
246         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
247         "comments": "",
248         "outputs": 1,
249         "x": 1427.9998245239258,
250         "y": 575.6668887138367,
251         "z": "231735cb.81484a",
252         "wires": [
253             []
254         ]
255     },
256     {
257         "id": "7ecd6e45.7e277",
258         "type": "record",
259         "name": "record",
260         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>",
261         "comments": "",
262         "outputs": 1,
263         "x": 799.000659942627,
264         "y": 197.0001015663147,
265         "z": "231735cb.81484a",
266         "wires": [
267             []
268         ]
269     },
270     {
271         "id": "4e6eb75.eedf548",
272         "type": "for",
273         "name": "for",
274         "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
275         "comments": "",
276         "outputs": 1,
277         "x": 456.085693359375,
278         "y": 16.95317840576172,
279         "z": "231735cb.81484a",
280         "wires": [
281             [
282                 "e61e6aa7.761fa8"
283             ]
284         ]
285     },
286     {
287         "id": "9f7ed3ae.40866",
288         "type": "record",
289         "name": "record",
290         "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",
291         "comments": "",
292         "outputs": 1,
293         "x": 241.00030517578125,
294         "y": 137.01043701171875,
295         "z": "231735cb.81484a",
296         "wires": [
297             []
298         ]
299     },
300     {
301         "id": "7d38cbac.d25ac4",
302         "type": "for",
303         "name": "for",
304         "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
305         "comments": "",
306         "outputs": 1,
307         "x": 480.00018310546875,
308         "y": 381,
309         "z": "231735cb.81484a",
310         "wires": [
311             [
312                 "ad5896c2.1372a8"
313             ]
314         ]
315     },
316     {
317         "id": "88625aaa.05ac08",
318         "type": "set",
319         "name": "set tmp variables for the requested fap service input parms",
320         "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",
321         "comments": "",
322         "x": 927.0010986328125,
323         "y": 74.88908624649048,
324         "z": "231735cb.81484a",
325         "wires": []
326     },
327     {
328         "id": "f4e5fe0e.4b9c6",
329         "type": "failure",
330         "name": "failure",
331         "xml": "<outcome value='failure'>\n",
332         "comments": "",
333         "outputs": 1,
334         "x": 1068.000343322754,
335         "y": 281.000084400177,
336         "z": "231735cb.81484a",
337         "wires": [
338             [
339                 "78c5715f.569f1"
340             ]
341         ]
342     },
343     {
344         "id": "d86bb55b.e8fa48",
345         "type": "success",
346         "name": "success",
347         "xml": "<outcome value='success'>\n",
348         "comments": "",
349         "outputs": 1,
350         "x": 1065.0002746582031,
351         "y": 410.00000619888306,
352         "z": "231735cb.81484a",
353         "wires": [
354             [
355                 "c51a3fee.9dc2a"
356             ]
357         ]
358     },
359     {
360         "id": "78c5715f.569f1",
361         "type": "block",
362         "name": "block",
363         "xml": "<block>\n",
364         "atomic": "false",
365         "comments": "",
366         "outputs": 1,
367         "x": 1201.0002727508545,
368         "y": 240.00011587142944,
369         "z": "231735cb.81484a",
370         "wires": [
371             [
372                 "4bd1d88c.a2c018"
373             ]
374         ]
375     },
376     {
377         "id": "4bd1d88c.a2c018",
378         "type": "returnFailure",
379         "name": "return failure",
380         "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\" />",
381         "comments": "",
382         "x": 1379.999963760376,
383         "y": 237.00008344650269,
384         "z": "231735cb.81484a",
385         "wires": []
386     },
387     {
388         "id": "c51a3fee.9dc2a",
389         "type": "block",
390         "name": "block",
391         "xml": "<block>\n",
392         "atomic": "false",
393         "comments": "",
394         "outputs": 1,
395         "x": 1223.0000171661377,
396         "y": 376.000066280365,
397         "z": "231735cb.81484a",
398         "wires": [
399             [
400                 "1390b236.ee339e"
401             ]
402         ]
403     },
404     {
405         "id": "1390b236.ee339e",
406         "type": "record",
407         "name": "record",
408         "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 \"/>",
409         "comments": "",
410         "outputs": 1,
411         "x": 1402.0000858306885,
412         "y": 375.00005292892456,
413         "z": "231735cb.81484a",
414         "wires": [
415             []
416         ]
417     },
418     {
419         "id": "ad5896c2.1372a8",
420         "type": "block",
421         "name": "block : atomic",
422         "xml": "<block atomic='true'>",
423         "atomic": "true",
424         "comments": "",
425         "outputs": 1,
426         "x": 584,
427         "y": 227.010498046875,
428         "z": "231735cb.81484a",
429         "wires": [
430             [
431                 "88625aaa.05ac08",
432                 "7ecd6e45.7e277",
433                 "4a8297f3.fab368",
434                 "9f1665ce.4fd9f8",
435                 "f010d789.53a0a8",
436                 "7e3a85f3.f482ac",
437                 "a4027203.6535b",
438                 "47db6df.2075794"
439             ]
440         ]
441     },
442     {
443         "id": "7e3a85f3.f482ac",
444         "type": "record",
445         "name": "record",
446         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n",
447         "comments": "",
448         "outputs": 1,
449         "x": 800.0006637573242,
450         "y": 366.0104355812073,
451         "z": "231735cb.81484a",
452         "wires": [
453             []
454         ]
455     },
456     {
457         "id": "9fe3285b.bcd158",
458         "type": "execute",
459         "name": "execute Properties",
460         "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",
461         "comments": "",
462         "outputs": 1,
463         "x": 482.00018310546875,
464         "y": 68.01042175292969,
465         "z": "231735cb.81484a",
466         "wires": [
467             []
468         ]
469     },
470     {
471         "id": "5791230f.7e399c",
472         "type": "record",
473         "name": "record",
474         "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`\"/>",
475         "comments": "",
476         "outputs": 1,
477         "x": 447.00030517578125,
478         "y": 112.01048278808594,
479         "z": "231735cb.81484a",
480         "wires": [
481             []
482         ]
483     },
484     {
485         "id": "9f1665ce.4fd9f8",
486         "type": "execute",
487         "name": "Get FAP details for a Cell",
488         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
489         "comments": "",
490         "outputs": 1,
491         "x": 828.0005416870117,
492         "y": 268.0103964805603,
493         "z": "231735cb.81484a",
494         "wires": [
495             [
496                 "37b670d3.2d75d",
497                 "6807fd7c.9ffd14"
498             ]
499         ]
500     },
501     {
502         "id": "4a8297f3.fab368",
503         "type": "execute",
504         "name": "generate fap-service url",
505         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.fap-service`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
506         "comments": "",
507         "outputs": 1,
508         "x": 841.000244140625,
509         "y": 141.010498046875,
510         "z": "231735cb.81484a",
511         "wires": [
512             []
513         ]
514     },
515     {
516         "id": "f010d789.53a0a8",
517         "type": "execute",
518         "name": "generate pci patch url for a cell",
519         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
520         "comments": "",
521         "outputs": 1,
522         "x": 838.0001754760742,
523         "y": 311.0104126930237,
524         "z": "231735cb.81484a",
525         "wires": [
526             []
527         ]
528     },
529     {
530         "id": "a4027203.6535b",
531         "type": "execute",
532         "name": "Recofigure PCI for a Cell",
533         "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' />",
534         "comments": "",
535         "outputs": 1,
536         "x": 821.0000762939453,
537         "y": 442.01055097579956,
538         "z": "231735cb.81484a",
539         "wires": [
540             [
541                 "f4e5fe0e.4b9c6",
542                 "d86bb55b.e8fa48"
543             ]
544         ]
545     },
546     {
547         "id": "47db6df.2075794",
548         "type": "execute",
549         "name": "Get FAP details for a Cell",
550         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
551         "comments": "",
552         "outputs": 1,
553         "x": 800.0000305175781,
554         "y": 529.0104422569275,
555         "z": "231735cb.81484a",
556         "wires": [
557             [
558                 "eb64f79e.fd6af8",
559                 "6d15fc65.dab3d4"
560             ]
561         ]
562     },
563     {
564         "id": "8e234f95.57b72",
565         "type": "execute",
566         "name": "Recofigure PCI for a Cell",
567         "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='accept' value='application/yang.patch-status+json' />",
568         "comments": "",
569         "outputs": 1,
570         "x": 111,
571         "y": 867.0104370117188,
572         "z": "231735cb.81484a",
573         "wires": [
574             []
575         ]
576     },
577     {
578         "id": "8025c437.0aac68",
579         "type": "switchNode",
580         "name": "switch mounted",
581         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
582         "comments": "",
583         "outputs": 1,
584         "x": 279,
585         "y": 425,
586         "z": "231735cb.81484a",
587         "wires": [
588             [
589                 "2ba4e078.c9991",
590                 "450d192e.16e4c8"
591             ]
592         ]
593     },
594     {
595         "id": "2ba4e078.c9991",
596         "type": "outcome",
597         "name": "Not Mounted",
598         "xml": "<outcome value='false'>\n",
599         "comments": "",
600         "outputs": 1,
601         "x": 355,
602         "y": 313,
603         "z": "231735cb.81484a",
604         "wires": [
605             [
606                 "7d38cbac.d25ac4"
607             ]
608         ]
609     },
610     {
611         "id": "450d192e.16e4c8",
612         "type": "outcome",
613         "name": "Mounted",
614         "xml": "<outcome value='true'>\n",
615         "comments": "",
616         "outputs": 1,
617         "x": 253,
618         "y": 526,
619         "z": "231735cb.81484a",
620         "wires": [
621             [
622                 "df962bc0.9c4728"
623             ]
624         ]
625     },
626     {
627         "id": "3804aecc.1eda72",
628         "type": "record",
629         "name": "record",
630         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
631         "comments": "",
632         "outputs": 1,
633         "x": 1178.9998779296875,
634         "y": 730,
635         "z": "231735cb.81484a",
636         "wires": [
637             []
638         ]
639     },
640     {
641         "id": "294e9c79.ae0324",
642         "type": "failure",
643         "name": "failure",
644         "xml": "<outcome value='failure'>\n",
645         "comments": "",
646         "outputs": 1,
647         "x": 832,
648         "y": 719,
649         "z": "231735cb.81484a",
650         "wires": [
651             [
652                 "a2629122.94b21"
653             ]
654         ]
655     },
656     {
657         "id": "a2629122.94b21",
658         "type": "returnFailure",
659         "name": "return failure",
660         "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\" />",
661         "comments": "",
662         "x": 1014,
663         "y": 691.0000610351562,
664         "z": "231735cb.81484a",
665         "wires": []
666     },
667     {
668         "id": "855dbbeb.68dac8",
669         "type": "success",
670         "name": "success",
671         "xml": "<outcome value='success'>\n",
672         "comments": "",
673         "outputs": 1,
674         "x": 830.0001831054688,
675         "y": 794,
676         "z": "231735cb.81484a",
677         "wires": [
678             [
679                 "4f5a1521.82fc2c"
680             ]
681         ]
682     },
683     {
684         "id": "4f5a1521.82fc2c",
685         "type": "block",
686         "name": "block",
687         "xml": "<block>\n",
688         "atomic": "false",
689         "comments": "",
690         "outputs": 1,
691         "x": 1016.9998779296875,
692         "y": 743,
693         "z": "231735cb.81484a",
694         "wires": [
695             [
696                 "3804aecc.1eda72"
697             ]
698         ]
699     },
700     {
701         "id": "24eb1ccd.364114",
702         "type": "failure",
703         "name": "failure",
704         "xml": "<outcome value='failure'>\n",
705         "comments": "",
706         "outputs": 1,
707         "x": 713,
708         "y": 1064.6666259765625,
709         "z": "231735cb.81484a",
710         "wires": [
711             [
712                 "9f4cf18c.81994"
713             ]
714         ]
715     },
716     {
717         "id": "9f4cf18c.81994",
718         "type": "returnFailure",
719         "name": "return failure",
720         "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\" />",
721         "comments": "",
722         "x": 900.9998779296875,
723         "y": 1071.666748046875,
724         "z": "231735cb.81484a",
725         "wires": []
726     },
727     {
728         "id": "a0317cac.b10f8",
729         "type": "success",
730         "name": "success",
731         "xml": "<outcome value='success'>\n",
732         "comments": "",
733         "outputs": 1,
734         "x": 698.9998168945312,
735         "y": 1141.666748046875,
736         "z": "231735cb.81484a",
737         "wires": [
738             [
739                 "f2262012.299c4"
740             ]
741         ]
742     },
743     {
744         "id": "f2262012.299c4",
745         "type": "block",
746         "name": "block",
747         "xml": "<block>\n",
748         "atomic": "false",
749         "comments": "",
750         "outputs": 1,
751         "x": 872.999755859375,
752         "y": 1144.6666259765625,
753         "z": "231735cb.81484a",
754         "wires": [
755             [
756                 "85031fd4.e0c19"
757             ]
758         ]
759     },
760     {
761         "id": "85031fd4.e0c19",
762         "type": "record",
763         "name": "record",
764         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>",
765         "comments": "",
766         "outputs": 1,
767         "x": 1050.9996337890625,
768         "y": 1148.6668701171875,
769         "z": "231735cb.81484a",
770         "wires": [
771             []
772         ]
773     },
774     {
775         "id": "41d9ee9a.12b9f",
776         "type": "record",
777         "name": "record",
778         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>",
779         "comments": "",
780         "outputs": 1,
781         "x": 523.00048828125,
782         "y": 719.0001220703125,
783         "z": "231735cb.81484a",
784         "wires": [
785             []
786         ]
787     },
788     {
789         "id": "df962bc0.9c4728",
790         "type": "for",
791         "name": "for",
792         "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >",
793         "comments": "",
794         "outputs": 1,
795         "x": 475,
796         "y": 477,
797         "z": "231735cb.81484a",
798         "wires": [
799             [
800                 "d2092690.d1f398"
801             ]
802         ]
803     },
804     {
805         "id": "3e233d3d.e189b2",
806         "type": "set",
807         "name": "set tmp variables for the requested fap service input parms",
808         "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",
809         "comments": "",
810         "x": 607.0009155273438,
811         "y": 609.8890991210938,
812         "z": "231735cb.81484a",
813         "wires": []
814     },
815     {
816         "id": "8345c5a4.2aa138",
817         "type": "failure",
818         "name": "failure",
819         "xml": "<outcome value='failure'>\n",
820         "comments": "",
821         "outputs": 1,
822         "x": 804.0001831054688,
823         "y": 914.0000610351562,
824         "z": "231735cb.81484a",
825         "wires": [
826             [
827                 "d0914b29.da1bf8"
828             ]
829         ]
830     },
831     {
832         "id": "e412cebf.f2b34",
833         "type": "success",
834         "name": "success",
835         "xml": "<outcome value='success'>\n",
836         "comments": "",
837         "outputs": 1,
838         "x": 773.0001220703125,
839         "y": 1001,
840         "z": "231735cb.81484a",
841         "wires": [
842             [
843                 "9f57f600.00e818"
844             ]
845         ]
846     },
847     {
848         "id": "d0914b29.da1bf8",
849         "type": "block",
850         "name": "block",
851         "xml": "<block>\n",
852         "atomic": "false",
853         "comments": "",
854         "outputs": 1,
855         "x": 977.0001220703125,
856         "y": 886.0001220703125,
857         "z": "231735cb.81484a",
858         "wires": [
859             [
860                 "764300f9.17734"
861             ]
862         ]
863     },
864     {
865         "id": "764300f9.17734",
866         "type": "returnFailure",
867         "name": "return failure",
868         "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\" />",
869         "comments": "",
870         "x": 1164.999755859375,
871         "y": 876.0000610351562,
872         "z": "231735cb.81484a",
873         "wires": []
874     },
875     {
876         "id": "9f57f600.00e818",
877         "type": "block",
878         "name": "block",
879         "xml": "<block>\n",
880         "atomic": "false",
881         "comments": "",
882         "outputs": 1,
883         "x": 954.9998779296875,
884         "y": 988.0000610351562,
885         "z": "231735cb.81484a",
886         "wires": [
887             [
888                 "3925925e.0d365e"
889             ]
890         ]
891     },
892     {
893         "id": "3925925e.0d365e",
894         "type": "record",
895         "name": "record",
896         "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 \"/>",
897         "comments": "",
898         "outputs": 1,
899         "x": 1127.9998779296875,
900         "y": 987.0000610351562,
901         "z": "231735cb.81484a",
902         "wires": [
903             []
904         ]
905     },
906     {
907         "id": "d2092690.d1f398",
908         "type": "block",
909         "name": "block : atomic",
910         "xml": "<block atomic='true'>",
911         "atomic": "true",
912         "comments": "",
913         "outputs": 1,
914         "x": 254.99981689453125,
915         "y": 704.010498046875,
916         "z": "231735cb.81484a",
917         "wires": [
918             [
919                 "3e233d3d.e189b2",
920                 "41d9ee9a.12b9f",
921                 "7e6165e7.675aac",
922                 "6cada962.37cf28",
923                 "5c13f574.f957ac",
924                 "3d1c8150.a42e7e",
925                 "50d1caf4.0f4e94",
926                 "f59ed201.bd8d3",
927                 "2f51ed00.9a5384",
928                 "326141f0.a2e29e"
929             ]
930         ]
931     },
932     {
933         "id": "3d1c8150.a42e7e",
934         "type": "record",
935         "name": "record",
936         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n",
937         "comments": "",
938         "outputs": 1,
939         "x": 506.00048828125,
940         "y": 923.0104370117188,
941         "z": "231735cb.81484a",
942         "wires": [
943             []
944         ]
945     },
946     {
947         "id": "6cada962.37cf28",
948         "type": "execute",
949         "name": "Get FAP details for a Cell",
950         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
951         "comments": "",
952         "outputs": 1,
953         "x": 590.0003662109375,
954         "y": 769.0103759765625,
955         "z": "231735cb.81484a",
956         "wires": [
957             [
958                 "294e9c79.ae0324",
959                 "855dbbeb.68dac8"
960             ]
961         ]
962     },
963     {
964         "id": "7e6165e7.675aac",
965         "type": "execute",
966         "name": "generate fap-service url",
967         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.fap-service.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
968         "comments": "",
969         "outputs": 1,
970         "x": 505.00006103515625,
971         "y": 658.010498046875,
972         "z": "231735cb.81484a",
973         "wires": [
974             []
975         ]
976     },
977     {
978         "id": "5c13f574.f957ac",
979         "type": "execute",
980         "name": "generate pci patch url for a cell",
981         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
982         "comments": "",
983         "outputs": 1,
984         "x": 609,
985         "y": 814.0104370117188,
986         "z": "231735cb.81484a",
987         "wires": [
988             []
989         ]
990     },
991     {
992         "id": "50d1caf4.0f4e94",
993         "type": "execute",
994         "name": "Recofigure PCI for a Cell",
995         "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' />",
996         "comments": "",
997         "outputs": 1,
998         "x": 529.9998779296875,
999         "y": 983.010498046875,
1000         "z": "231735cb.81484a",
1001         "wires": [
1002             [
1003                 "8345c5a4.2aa138",
1004                 "e412cebf.f2b34"
1005             ]
1006         ]
1007     },
1008     {
1009         "id": "f59ed201.bd8d3",
1010         "type": "execute",
1011         "name": "Get FAP details for a Cell",
1012         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />",
1013         "comments": "",
1014         "outputs": 1,
1015         "x": 496.9998779296875,
1016         "y": 1057.010498046875,
1017         "z": "231735cb.81484a",
1018         "wires": [
1019             [
1020                 "24eb1ccd.364114",
1021                 "a0317cac.b10f8"
1022             ]
1023         ]
1024     },
1025     {
1026         "id": "2f51ed00.9a5384",
1027         "type": "execute",
1028         "name": "populate netconf mount",
1029         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.fap-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n    <parameter name=\"target\" value=\"{pnf-name}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
1030         "comments": "",
1031         "outputs": 1,
1032         "x": 757,
1033         "y": 674,
1034         "z": "231735cb.81484a",
1035         "wires": [
1036             []
1037         ]
1038     },
1039     {
1040         "id": "326141f0.a2e29e",
1041         "type": "execute",
1042         "name": "populate netconf mount",
1043         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.oofpcipoc.patch.pci.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n    <parameter name=\"target\" value=\"{pnf-name}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
1044         "comments": "",
1045         "outputs": 1,
1046         "x": 565,
1047         "y": 865,
1048         "z": "231735cb.81484a",
1049         "wires": [
1050             []
1051         ]
1052     }
1053 ]