DG Implementation - RAN Slice RPCS
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_activateRANSliceInstance.json
1 [
2     {
3         "id": "761c81c0.93298",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 118.4375,
8         "y": 113.4375,
9         "z": "73e537e.8932bc8",
10         "wires": [
11             [
12                 "9f552ddd.503aa"
13             ]
14         ]
15     },
16     {
17         "id": "9f552ddd.503aa",
18         "type": "service-logic",
19         "name": "ran-slice-api ${project.version}",
20         "module": "ran-slice-api",
21         "version": "${project.version}",
22         "comments": "",
23         "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='ran-slice-api' version='${project.version}'>",
24         "outputs": 1,
25         "x": 203.4375228881836,
26         "y": 180.43746948242188,
27         "z": "73e537e.8932bc8",
28         "wires": [
29             [
30                 "f4b6fe3c.09964"
31             ]
32         ]
33     },
34     {
35         "id": "f4b6fe3c.09964",
36         "type": "method",
37         "name": "method",
38         "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 137.4375,
42         "y": 240.43743515014648,
43         "z": "73e537e.8932bc8",
44         "wires": [
45             [
46                 "43cfd799.e43718"
47             ]
48         ]
49     },
50     {
51         "id": "43cfd799.e43718",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 159.9375114440918,
59         "y": 320.93750381469727,
60         "z": "73e537e.8932bc8",
61         "wires": [
62             [
63                 "f0cba510.d429c8",
64                 "61526ba5.4b2eb4",
65                 "1045a904.a81917",
66                 "db76a950.2c38e8",
67                 "952aa6bf.fd8938",
68                 "d3040b3a.dd43a8",
69                 "66891c41.e89ca4",
70                 "a052b62c.1fa458",
71                 "67aabd43.7b3e14",
72                 "198c87cb.f1d948",
73                 "d302afcf.237ef",
74                 "f2b8e61a.a5c8c8",
75                 "738ca283.54ba9c",
76                 "c80b56a5.99a988",
77                 "1c09cf50.00c361",
78                 "20d20dea.8129f2",
79                 "a16a753b.c1e978",
80                 "ef19e8dd.548808",
81                 "b72487f2.f75598",
82                 "8eaff649.12a058",
83                 "f53bf76b.8dba48"
84             ]
85         ]
86     },
87     {
88         "id": "f0cba510.d429c8",
89         "type": "execute",
90         "name": "generate getNearRTRICsFromRANNFNSSI URL",
91         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n    <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n    <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
92         "comments": "",
93         "outputs": 1,
94         "x": 741.6875,
95         "y": 501.6875081062317,
96         "z": "73e537e.8932bc8",
97         "wires": [
98             []
99         ]
100     },
101     {
102         "id": "61526ba5.4b2eb4",
103         "type": "record",
104         "name": "record configdb RestAPI params",
105         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
106         "comments": "",
107         "outputs": 1,
108         "x": 681.6875152587891,
109         "y": 552.687527179718,
110         "z": "73e537e.8932bc8",
111         "wires": [
112             []
113         ]
114     },
115     {
116         "id": "1045a904.a81917",
117         "type": "execute",
118         "name": "Get nearRTRIC for TrackingArea",
119         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-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\"/>",
120         "comments": "",
121         "outputs": 1,
122         "x": 671.6875915527344,
123         "y": 604.6875576972961,
124         "z": "73e537e.8932bc8",
125         "wires": [
126             [
127                 "12546ac7.74cd65",
128                 "dcd91128.9ebfa"
129             ]
130         ]
131     },
132     {
133         "id": "12546ac7.74cd65",
134         "type": "success",
135         "name": "success",
136         "xml": "<outcome value='success'>\n",
137         "comments": "",
138         "outputs": 1,
139         "x": 970.5055961608887,
140         "y": 622.5055813789368,
141         "z": "73e537e.8932bc8",
142         "wires": [
143             [
144                 "2520024f.3e60fe"
145             ]
146         ]
147     },
148     {
149         "id": "2520024f.3e60fe",
150         "type": "block",
151         "name": "block : atomic",
152         "xml": "<block atomic='true'>",
153         "atomic": "true",
154         "comments": "",
155         "outputs": 1,
156         "x": 1140.5054931640625,
157         "y": 623.505696773529,
158         "z": "73e537e.8932bc8",
159         "wires": [
160             [
161                 "c854edfe.78e89",
162                 "80b014dc.086ba8"
163             ]
164         ]
165     },
166     {
167         "id": "c854edfe.78e89",
168         "type": "record",
169         "name": "record",
170         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
171         "comments": "",
172         "outputs": 1,
173         "x": 1363.5052909851074,
174         "y": 568.5056805610657,
175         "z": "73e537e.8932bc8",
176         "wires": [
177             []
178         ]
179     },
180     {
181         "id": "80b014dc.086ba8",
182         "type": "execute",
183         "name": "printContext",
184         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
185         "comments": "",
186         "outputs": 1,
187         "x": 1359.283432006836,
188         "y": 639.5056881904602,
189         "z": "73e537e.8932bc8",
190         "wires": [
191             []
192         ]
193     },
194     {
195         "id": "dcd91128.9ebfa",
196         "type": "failure",
197         "name": "failure",
198         "xml": "<outcome value='failure'>\n",
199         "comments": "",
200         "outputs": 1,
201         "x": 976.5055503845215,
202         "y": 562.5056653022766,
203         "z": "73e537e.8932bc8",
204         "wires": [
205             [
206                 "62e0747d.afde9c"
207             ]
208         ]
209     },
210     {
211         "id": "62e0747d.afde9c",
212         "type": "block",
213         "name": "block",
214         "xml": "<block>",
215         "atomic": "false",
216         "comments": "",
217         "outputs": 1,
218         "x": 1256.5056266784668,
219         "y": 468.5057191848755,
220         "z": "73e537e.8932bc8",
221         "wires": [
222             [
223                 "11953360.467cdd",
224                 "cf52b92f.10a1a8"
225             ]
226         ]
227     },
228     {
229         "id": "11953360.467cdd",
230         "type": "set",
231         "name": "set",
232         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
233         "comments": "",
234         "x": 1434.50541305542,
235         "y": 422.6167459487915,
236         "z": "73e537e.8932bc8",
237         "wires": []
238     },
239     {
240         "id": "db76a950.2c38e8",
241         "type": "record",
242         "name": "record",
243         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-input.payload`\"/>",
244         "comments": "",
245         "outputs": 1,
246         "x": 646.4375,
247         "y": 129.43748664855957,
248         "z": "73e537e.8932bc8",
249         "wires": [
250             []
251         ]
252     },
253     {
254         "id": "952aa6bf.fd8938",
255         "type": "set",
256         "name": "set default status value",
257         "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of terminateRANSice RPC' />",
258         "comments": "",
259         "x": 685.437255859375,
260         "y": 172.43749904632568,
261         "z": "73e537e.8932bc8",
262         "wires": []
263     },
264     {
265         "id": "d3040b3a.dd43a8",
266         "type": "execute",
267         "name": "execute jsonStringToCtx",
268         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
269         "comments": "",
270         "outputs": 1,
271         "x": 690.4372711181641,
272         "y": 217.18748474121094,
273         "z": "73e537e.8932bc8",
274         "wires": [
275             [
276                 "34ba53e7.4fbc7c"
277             ]
278         ]
279     },
280     {
281         "id": "66891c41.e89ca4",
282         "type": "execute",
283         "name": "printContext",
284         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
285         "comments": "",
286         "outputs": 1,
287         "x": 661.1872253417969,
288         "y": 316.1770477294922,
289         "z": "73e537e.8932bc8",
290         "wires": [
291             []
292         ]
293     },
294     {
295         "id": "a052b62c.1fa458",
296         "type": "execute",
297         "name": "execute Properties",
298         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
299         "comments": "",
300         "outputs": 1,
301         "x": 681.1872100830078,
302         "y": 357.1874132156372,
303         "z": "73e537e.8932bc8",
304         "wires": [
305             []
306         ]
307     },
308     {
309         "id": "67aabd43.7b3e14",
310         "type": "record",
311         "name": "record",
312         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
313         "comments": "",
314         "outputs": 1,
315         "x": 654.6872825622559,
316         "y": 408.18753147125244,
317         "z": "73e537e.8932bc8",
318         "wires": [
319             []
320         ]
321     },
322     {
323         "id": "34ba53e7.4fbc7c",
324         "type": "other",
325         "name": "success",
326         "xml": "<outcome value='success'>\n",
327         "comments": "",
328         "outputs": 1,
329         "x": 956.9372825622559,
330         "y": 219.18747425079346,
331         "z": "73e537e.8932bc8",
332         "wires": [
333             [
334                 "5b6cca11.9cad94"
335             ]
336         ]
337     },
338     {
339         "id": "5b6cca11.9cad94",
340         "type": "block",
341         "name": "block : atomic",
342         "xml": "<block atomic='true'>",
343         "atomic": "true",
344         "comments": "",
345         "outputs": 1,
346         "x": 1156.9374389648438,
347         "y": 221.9374704360962,
348         "z": "73e537e.8932bc8",
349         "wires": [
350             [
351                 "98c043ee.951b8",
352                 "423b0303.ed9b0c"
353             ]
354         ]
355     },
356     {
357         "id": "98c043ee.951b8",
358         "type": "execute",
359         "name": "printContext",
360         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
361         "comments": "",
362         "outputs": 1,
363         "x": 1346.937515258789,
364         "y": 183.43750476837158,
365         "z": "73e537e.8932bc8",
366         "wires": [
367             []
368         ]
369     },
370     {
371         "id": "423b0303.ed9b0c",
372         "type": "record",
373         "name": "record",
374         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
375         "comments": "",
376         "outputs": 1,
377         "x": 1346.18745803833,
378         "y": 247.43752098083496,
379         "z": "73e537e.8932bc8",
380         "wires": [
381             []
382         ]
383     },
384     {
385         "id": "198c87cb.f1d948",
386         "type": "for",
387         "name": "foreach NearRTRIC",
388         "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
389         "comments": "",
390         "outputs": 1,
391         "x": 424.3750915527344,
392         "y": 1045.3125171661377,
393         "z": "73e537e.8932bc8",
394         "wires": [
395             [
396                 "bb11e40f.ebaa68",
397                 "623b8887.a167d8",
398                 "52b3e00e.e5abf"
399             ]
400         ]
401     },
402     {
403         "id": "bb11e40f.ebaa68",
404         "type": "block",
405         "name": "Process CUCP",
406         "xml": "<block atomic='true'>",
407         "atomic": "true",
408         "comments": "",
409         "outputs": 1,
410         "x": 689.6250305175781,
411         "y": 1038.7444477081299,
412         "z": "73e537e.8932bc8",
413         "wires": [
414             [
415                 "4e224bda.30d0a4",
416                 "d8c32c5c.092ed",
417                 "8b1c383c.6f0db8"
418             ]
419         ]
420     },
421     {
422         "id": "4e224bda.30d0a4",
423         "type": "execute",
424         "name": "read CUCP list size",
425         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n    ",
426         "comments": "",
427         "outputs": 1,
428         "x": 1035.875015258789,
429         "y": 908.4943561553955,
430         "z": "73e537e.8932bc8",
431         "wires": [
432             []
433         ]
434     },
435     {
436         "id": "d8c32c5c.092ed",
437         "type": "record",
438         "name": "record",
439         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
440         "comments": "",
441         "outputs": 1,
442         "x": 995.3749961853027,
443         "y": 955.9944334030151,
444         "z": "73e537e.8932bc8",
445         "wires": [
446             []
447         ]
448     },
449     {
450         "id": "8b1c383c.6f0db8",
451         "type": "for",
452         "name": "foreach CUCP",
453         "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
454         "comments": "",
455         "outputs": 1,
456         "x": 1012.1251220703125,
457         "y": 1005.9944341182709,
458         "z": "73e537e.8932bc8",
459         "wires": [
460             [
461                 "52cdfc02.d2b554"
462             ]
463         ]
464     },
465     {
466         "id": "52cdfc02.d2b554",
467         "type": "block",
468         "name": "block : process CUCP",
469         "xml": "<block atomic='true'>",
470         "atomic": "true",
471         "comments": "",
472         "outputs": 1,
473         "x": 1223.125015258789,
474         "y": 969.244327545166,
475         "z": "73e537e.8932bc8",
476         "wires": [
477             [
478                 "646b737c.114bfc",
479                 "a4f6f876.fca2c8",
480                 "705aec8e.889684",
481                 "effc97f7.aa0768"
482             ]
483         ]
484     },
485     {
486         "id": "646b737c.114bfc",
487         "type": "execute",
488         "name": "read CUCP name",
489         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
490         "comments": "",
491         "outputs": 1,
492         "x": 1477.8750228881836,
493         "y": 705.9943523406982,
494         "z": "73e537e.8932bc8",
495         "wires": [
496             []
497         ]
498     },
499     {
500         "id": "705aec8e.889684",
501         "type": "record",
502         "name": "record",
503         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
504         "comments": "",
505         "outputs": 1,
506         "x": 1449.625114440918,
507         "y": 754.4943389892578,
508         "z": "73e537e.8932bc8",
509         "wires": [
510             []
511         ]
512     },
513     {
514         "id": "effc97f7.aa0768",
515         "type": "execute",
516         "name": "read cellCU list size",
517         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n    ",
518         "comments": "",
519         "outputs": 1,
520         "x": 1486.8750228881836,
521         "y": 802.2443542480469,
522         "z": "73e537e.8932bc8",
523         "wires": [
524             []
525         ]
526     },
527     {
528         "id": "a4f6f876.fca2c8",
529         "type": "for",
530         "name": "for cellCUList",
531         "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
532         "comments": "",
533         "outputs": 1,
534         "x": 1461.8749923706055,
535         "y": 854.9943695068359,
536         "z": "73e537e.8932bc8",
537         "wires": [
538             [
539                 "e61d08b.c8d36f8"
540             ]
541         ]
542     },
543     {
544         "id": "e61d08b.c8d36f8",
545         "type": "block",
546         "name": "block",
547         "xml": "<block atomic='true'>",
548         "atomic": "true",
549         "comments": "",
550         "outputs": 1,
551         "x": 1676.8750343322754,
552         "y": 855.2443866729736,
553         "z": "73e537e.8932bc8",
554         "wires": [
555             [
556                 "d3fb7cf3.0407",
557                 "90d4169b.0cd418"
558             ]
559         ]
560     },
561     {
562         "id": "d3fb7cf3.0407",
563         "type": "execute",
564         "name": "read PLMNList size",
565         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
566         "comments": "",
567         "outputs": 1,
568         "x": 1908.2781448364258,
569         "y": 828.3415851593018,
570         "z": "73e537e.8932bc8",
571         "wires": [
572             []
573         ]
574     },
575     {
576         "id": "90d4169b.0cd418",
577         "type": "for",
578         "name": "foreach PLMNInfo",
579         "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
580         "comments": "",
581         "outputs": 1,
582         "x": 1922.8615798950195,
583         "y": 892.091628074646,
584         "z": "73e537e.8932bc8",
585         "wires": [
586             [
587                 "1306eaa1.403c05"
588             ]
589         ]
590     },
591     {
592         "id": "1306eaa1.403c05",
593         "type": "block",
594         "name": "block : atomic",
595         "xml": "<block atomic='true'>",
596         "atomic": "true",
597         "comments": "",
598         "outputs": 1,
599         "x": 2100.750556945801,
600         "y": 814.8694171905518,
601         "z": "73e537e.8932bc8",
602         "wires": [
603             [
604                 "d2c18ab3.c24978",
605                 "eaa59340.e8939",
606                 "980da038.262e2"
607             ]
608         ]
609     },
610     {
611         "id": "980da038.262e2",
612         "type": "execute",
613         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
614         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
615         "comments": "",
616         "outputs": 1,
617         "x": 2435.6394119262695,
618         "y": 770.0916481018066,
619         "z": "73e537e.8932bc8",
620         "wires": [
621             []
622         ]
623     },
624     {
625         "id": "d2c18ab3.c24978",
626         "type": "record",
627         "name": "record",
628         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
629         "comments": "",
630         "outputs": 1,
631         "x": 2306.639518737793,
632         "y": 838.0915994644165,
633         "z": "73e537e.8932bc8",
634         "wires": [
635             []
636         ]
637     },
638     {
639         "id": "eaa59340.e8939",
640         "type": "switchNode",
641         "name": "is NSSAI exists",
642         "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
643         "comments": "",
644         "outputs": 1,
645         "x": 2345.5283584594727,
646         "y": 902.6471662521362,
647         "z": "73e537e.8932bc8",
648         "wires": [
649             [
650                 "4f3107a.2937ef8"
651             ]
652         ]
653     },
654     {
655         "id": "4f3107a.2937ef8",
656         "type": "outcome",
657         "name": "True",
658         "xml": "<outcome value='true'>\n",
659         "comments": "",
660         "outputs": 1,
661         "x": 2535.000556945801,
662         "y": 902.8694953918457,
663         "z": "73e537e.8932bc8",
664         "wires": [
665             [
666                 "1d241be7.c8bbc4"
667             ]
668         ]
669     },
670     {
671         "id": "1d241be7.c8bbc4",
672         "type": "block",
673         "name": "block : atomic",
674         "xml": "<block atomic='true'>",
675         "atomic": "true",
676         "comments": "",
677         "outputs": 1,
678         "x": 2755.625,
679         "y": 900.625,
680         "z": "73e537e.8932bc8",
681         "wires": [
682             [
683                 "a302bf1.efd614",
684                 "3fd39755.b5cbf8",
685                 "3a12865a.0d117a",
686                 "299e60f.af51ea",
687                 "ba736919.8a3b38",
688                 "bccb9a19.543658",
689                 "29628860.8b8dc8",
690                 "a04a1ff1.c04b6",
691                 "45de62b8.cced2c"
692             ]
693         ]
694     },
695     {
696         "id": "45de62b8.cced2c",
697         "type": "record",
698         "name": "record",
699         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
700         "comments": "",
701         "outputs": 1,
702         "x": 2950.625,
703         "y": 895.625,
704         "z": "73e537e.8932bc8",
705         "wires": [
706             []
707         ]
708     },
709     {
710         "id": "a04a1ff1.c04b6",
711         "type": "switchNode",
712         "name": "ransim mounted",
713         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
714         "comments": "",
715         "outputs": 1,
716         "x": 2978.625,
717         "y": 963.625,
718         "z": "73e537e.8932bc8",
719         "wires": [
720             [
721                 "27bc8985.294fc6",
722                 "3ce10ed5.092432"
723             ]
724         ]
725     },
726     {
727         "id": "27bc8985.294fc6",
728         "type": "outcome",
729         "name": "Not Mounted",
730         "xml": "<outcome value='false'>\n",
731         "comments": "",
732         "outputs": 1,
733         "x": 3186.625,
734         "y": 928.624755859375,
735         "z": "73e537e.8932bc8",
736         "wires": [
737             [
738                 "5c98a9b7.805fb8"
739             ]
740         ]
741     },
742     {
743         "id": "5c98a9b7.805fb8",
744         "type": "execute",
745         "name": "generate patch PLMNInfoListEntry ToNRCellCU",
746         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
747         "comments": "",
748         "outputs": 1,
749         "x": 3506.625,
750         "y": 943.625,
751         "z": "73e537e.8932bc8",
752         "wires": [
753             []
754         ]
755     },
756     {
757         "id": "c0149f76.a0f0e",
758         "type": "execute",
759         "name": "generate patchPLMNInfoList.ToNRCellCU",
760         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
761         "comments": "",
762         "outputs": 1,
763         "x": 3685.125030517578,
764         "y": 1001.6249389648438,
765         "z": "73e537e.8932bc8",
766         "wires": [
767             []
768         ]
769     },
770     {
771         "id": "986e780a.2b92f8",
772         "type": "execute",
773         "name": "populate mountName",
774         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
775         "comments": "",
776         "outputs": 1,
777         "x": 3629.125431060791,
778         "y": 1054.62513256073,
779         "z": "73e537e.8932bc8",
780         "wires": [
781             []
782         ]
783     },
784     {
785         "id": "ceac5f2d.de7c3",
786         "type": "block",
787         "name": "ransim  URL",
788         "xml": "<block atomic='true'>",
789         "atomic": "true",
790         "comments": "",
791         "outputs": 1,
792         "x": 3378.125,
793         "y": 1031.625,
794         "z": "73e537e.8932bc8",
795         "wires": [
796             [
797                 "c0149f76.a0f0e",
798                 "986e780a.2b92f8"
799             ]
800         ]
801     },
802     {
803         "id": "3ce10ed5.092432",
804         "type": "outcome",
805         "name": "Mounted",
806         "xml": "<outcome value='true'>\n",
807         "comments": "",
808         "outputs": 1,
809         "x": 3174.625,
810         "y": 1030.625,
811         "z": "73e537e.8932bc8",
812         "wires": [
813             [
814                 "ceac5f2d.de7c3"
815             ]
816         ]
817     },
818     {
819         "id": "a302bf1.efd614",
820         "type": "execute",
821         "name": "read cellCU",
822         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
823         "comments": "",
824         "outputs": 1,
825         "x": 2945.625,
826         "y": 1063.625,
827         "z": "73e537e.8932bc8",
828         "wires": [
829             []
830         ]
831     },
832     {
833         "id": "ba736919.8a3b38",
834         "type": "execute",
835         "name": "prepare idGNBCUCPFunction",
836         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
837         "comments": "",
838         "outputs": 1,
839         "x": 2972.625,
840         "y": 1127.625,
841         "z": "73e537e.8932bc8",
842         "wires": [
843             []
844         ]
845     },
846     {
847         "id": "bccb9a19.543658",
848         "type": "execute",
849         "name": "prepare idNRCellCU",
850         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
851         "comments": "",
852         "outputs": 1,
853         "x": 2933.625259399414,
854         "y": 1173.1250286102295,
855         "z": "73e537e.8932bc8",
856         "wires": [
857             []
858         ]
859     },
860     {
861         "id": "29628860.8b8dc8",
862         "type": "execute",
863         "name": "prepare mcc",
864         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n   ",
865         "comments": "",
866         "outputs": 1,
867         "x": 2899.3750610351562,
868         "y": 1254.8750562667847,
869         "z": "73e537e.8932bc8",
870         "wires": [
871             []
872         ]
873     },
874     {
875         "id": "3fd39755.b5cbf8",
876         "type": "execute",
877         "name": "prepare mnc",
878         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
879         "comments": "",
880         "outputs": 1,
881         "x": 2888.12548828125,
882         "y": 1315.125072479248,
883         "z": "73e537e.8932bc8",
884         "wires": [
885             []
886         ]
887     },
888     {
889         "id": "3a12865a.0d117a",
890         "type": "record",
891         "name": "record API params",
892         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
893         "comments": "",
894         "outputs": 1,
895         "x": 2884.625,
896         "y": 1383.625,
897         "z": "73e537e.8932bc8",
898         "wires": [
899             []
900         ]
901     },
902     {
903         "id": "299e60f.af51ea",
904         "type": "execute",
905         "name": "activate PLMNInfoListEntry ToNRCellCU",
906         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.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=\"activate-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
907         "comments": "",
908         "outputs": 1,
909         "x": 2924.6251068115234,
910         "y": 1446.6249732971191,
911         "z": "73e537e.8932bc8",
912         "wires": [
913             [
914                 "2cf676c2.3fd4ea",
915                 "f8fba380.e8c38"
916             ]
917         ]
918     },
919     {
920         "id": "f8fba380.e8c38",
921         "type": "failure",
922         "name": "failure",
923         "xml": "<outcome value='failure'>\n",
924         "comments": "",
925         "outputs": 1,
926         "x": 3140.62508392334,
927         "y": 1325.6249732971191,
928         "z": "73e537e.8932bc8",
929         "wires": [
930             [
931                 "930a46d3.3df258"
932             ]
933         ]
934     },
935     {
936         "id": "930a46d3.3df258",
937         "type": "block",
938         "name": "block : atomic",
939         "xml": "<block atomic='true'>",
940         "atomic": "true",
941         "comments": "",
942         "outputs": 1,
943         "x": 3290.625358581543,
944         "y": 1284.625156402588,
945         "z": "73e537e.8932bc8",
946         "wires": [
947             [
948                 "debf2a5f.a15d48",
949                 "62751a13.a72014",
950                 "cf52b92f.10a1a8"
951             ]
952         ]
953     },
954     {
955         "id": "62751a13.a72014",
956         "type": "set",
957         "name": "set",
958         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
959         "comments": "",
960         "x": 3456.625114440918,
961         "y": 1250.625156402588,
962         "z": "73e537e.8932bc8",
963         "wires": []
964     },
965     {
966         "id": "debf2a5f.a15d48",
967         "type": "returnFailure",
968         "name": "return failure",
969         "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 NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
970         "comments": "",
971         "x": 3461.6249923706055,
972         "y": 1345.6252174377441,
973         "z": "73e537e.8932bc8",
974         "wires": []
975     },
976     {
977         "id": "54cfb6bf.e47b78",
978         "type": "record",
979         "name": "record",
980         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
981         "comments": "",
982         "outputs": 1,
983         "x": 3546.6249618530273,
984         "y": 1438.625400543213,
985         "z": "73e537e.8932bc8",
986         "wires": [
987             []
988         ]
989     },
990     {
991         "id": "188f83ea.3d48fc",
992         "type": "block",
993         "name": "block : atomic",
994         "xml": "<block atomic='true'>",
995         "atomic": "true",
996         "comments": "",
997         "outputs": 1,
998         "x": 3348.624900817871,
999         "y": 1441.6252784729004,
1000         "z": "73e537e.8932bc8",
1001         "wires": [
1002             [
1003                 "54cfb6bf.e47b78"
1004             ]
1005         ]
1006     },
1007     {
1008         "id": "2cf676c2.3fd4ea",
1009         "type": "success",
1010         "name": "success",
1011         "xml": "<outcome value='success'>\n",
1012         "comments": "",
1013         "outputs": 1,
1014         "x": 3175.625114440918,
1015         "y": 1442.6252174377441,
1016         "z": "73e537e.8932bc8",
1017         "wires": [
1018             [
1019                 "188f83ea.3d48fc"
1020             ]
1021         ]
1022     },
1023     {
1024         "id": "d302afcf.237ef",
1025         "type": "set",
1026         "name": "set status as ACTIVE",
1027         "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
1028         "comments": "",
1029         "x": 693.4375,
1030         "y": 454.375,
1031         "z": "73e537e.8932bc8",
1032         "wires": []
1033     },
1034     {
1035         "id": "f2b8e61a.a5c8c8",
1036         "type": "execute",
1037         "name": "read sNSSAI from input",
1038         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.NSSAI`\" />\n",
1039         "comments": "",
1040         "outputs": 1,
1041         "x": 698.1250152587891,
1042         "y": 263.4375057220459,
1043         "z": "73e537e.8932bc8",
1044         "wires": [
1045             []
1046         ]
1047     },
1048     {
1049         "id": "623b8887.a167d8",
1050         "type": "block",
1051         "name": "Process CUUP",
1052         "xml": "<block atomic='true'>",
1053         "atomic": "true",
1054         "comments": "",
1055         "outputs": 1,
1056         "x": 690.6250534057617,
1057         "y": 1180.6250257492065,
1058         "z": "73e537e.8932bc8",
1059         "wires": [
1060             [
1061                 "5edb379d.514778",
1062                 "4d3d871.621e378",
1063                 "b3a7abd3.ab2ac8"
1064             ]
1065         ]
1066     },
1067     {
1068         "id": "5edb379d.514778",
1069         "type": "execute",
1070         "name": "read CUUP list size",
1071         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n    ",
1072         "comments": "",
1073         "outputs": 1,
1074         "x": 1021.625057220459,
1075         "y": 1080.6250228881836,
1076         "z": "73e537e.8932bc8",
1077         "wires": [
1078             []
1079         ]
1080     },
1081     {
1082         "id": "4d3d871.621e378",
1083         "type": "record",
1084         "name": "record",
1085         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
1086         "comments": "",
1087         "outputs": 1,
1088         "x": 978.6251220703125,
1089         "y": 1131.8750252723694,
1090         "z": "73e537e.8932bc8",
1091         "wires": [
1092             []
1093         ]
1094     },
1095     {
1096         "id": "b3a7abd3.ab2ac8",
1097         "type": "for",
1098         "name": "foreach CUUP",
1099         "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
1100         "comments": "",
1101         "outputs": 1,
1102         "x": 1004.1250152587891,
1103         "y": 1180.6250247955322,
1104         "z": "73e537e.8932bc8",
1105         "wires": [
1106             [
1107                 "b36e4008.81623"
1108             ]
1109         ]
1110     },
1111     {
1112         "id": "b36e4008.81623",
1113         "type": "block",
1114         "name": "block : process CUUP",
1115         "xml": "<block atomic='true'>",
1116         "atomic": "true",
1117         "comments": "",
1118         "outputs": 1,
1119         "x": 1227.6250610351562,
1120         "y": 1163.8750705718994,
1121         "z": "73e537e.8932bc8",
1122         "wires": [
1123             [
1124                 "22f58645.55e61a",
1125                 "62e419e7.9c4ab8",
1126                 "7516a8f.7a59058",
1127                 "5c4c4274.95bb3c"
1128             ]
1129         ]
1130     },
1131     {
1132         "id": "22f58645.55e61a",
1133         "type": "execute",
1134         "name": "read CUUP id",
1135         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
1136         "comments": "",
1137         "outputs": 1,
1138         "x": 1471.625,
1139         "y": 939.125,
1140         "z": "73e537e.8932bc8",
1141         "wires": [
1142             []
1143         ]
1144     },
1145     {
1146         "id": "62e419e7.9c4ab8",
1147         "type": "record",
1148         "name": "record",
1149         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
1150         "comments": "",
1151         "outputs": 1,
1152         "x": 1467.625,
1153         "y": 993.125,
1154         "z": "73e537e.8932bc8",
1155         "wires": [
1156             []
1157         ]
1158     },
1159     {
1160         "id": "7516a8f.7a59058",
1161         "type": "execute",
1162         "name": "read plmninfolist size",
1163         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
1164         "comments": "",
1165         "outputs": 1,
1166         "x": 1518.625,
1167         "y": 1058.125,
1168         "z": "73e537e.8932bc8",
1169         "wires": [
1170             []
1171         ]
1172     },
1173     {
1174         "id": "5c4c4274.95bb3c",
1175         "type": "for",
1176         "name": "foreach pLMNInfo",
1177         "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
1178         "comments": "",
1179         "outputs": 1,
1180         "x": 1504.625,
1181         "y": 1113.125,
1182         "z": "73e537e.8932bc8",
1183         "wires": [
1184             [
1185                 "2c5e82ef.5ab08e"
1186             ]
1187         ]
1188     },
1189     {
1190         "id": "2c5e82ef.5ab08e",
1191         "type": "block",
1192         "name": "block : atomic",
1193         "xml": "<block atomic='true'>",
1194         "atomic": "true",
1195         "comments": "",
1196         "outputs": 1,
1197         "x": 1743.75,
1198         "y": 1110.3125,
1199         "z": "73e537e.8932bc8",
1200         "wires": [
1201             [
1202                 "d7e78b50.130018",
1203                 "ae1fc405.ff2a58",
1204                 "ce7f221.e3090e"
1205             ]
1206         ]
1207     },
1208     {
1209         "id": "d7e78b50.130018",
1210         "type": "switchNode",
1211         "name": "ransim mounted",
1212         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1213         "comments": "",
1214         "outputs": 1,
1215         "x": 1957.000259399414,
1216         "y": 1111.0626487731934,
1217         "z": "73e537e.8932bc8",
1218         "wires": [
1219             [
1220                 "43dda371.85d0cc",
1221                 "b28fc0c6.768a6"
1222             ]
1223         ]
1224     },
1225     {
1226         "id": "43dda371.85d0cc",
1227         "type": "outcome",
1228         "name": "Not Mounted",
1229         "xml": "<outcome value='false'>\n",
1230         "comments": "",
1231         "outputs": 1,
1232         "x": 2170.000141143799,
1233         "y": 1078.5622673034668,
1234         "z": "73e537e.8932bc8",
1235         "wires": [
1236             [
1237                 "92eabe0e.0ecdb"
1238             ]
1239         ]
1240     },
1241     {
1242         "id": "92eabe0e.0ecdb",
1243         "type": "execute",
1244         "name": "generate patch PLMNInfoListEntry CUUP URL",
1245         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
1246         "comments": "",
1247         "outputs": 1,
1248         "x": 2495.0000228881836,
1249         "y": 1033.5625715255737,
1250         "z": "73e537e.8932bc8",
1251         "wires": [
1252             []
1253         ]
1254     },
1255     {
1256         "id": "1e03d99f.4b54d6",
1257         "type": "execute",
1258         "name": "generate patchPLMNInfoList.TogNBCUUP",
1259         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
1260         "comments": "",
1261         "outputs": 1,
1262         "x": 2605.7495651245117,
1263         "y": 1116.3122825622559,
1264         "z": "73e537e.8932bc8",
1265         "wires": [
1266             []
1267         ]
1268     },
1269     {
1270         "id": "cfddd286.9a08f",
1271         "type": "execute",
1272         "name": "populate mountName",
1273         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
1274         "comments": "",
1275         "outputs": 1,
1276         "x": 2589.7500858306885,
1277         "y": 1184.3125429153442,
1278         "z": "73e537e.8932bc8",
1279         "wires": [
1280             []
1281         ]
1282     },
1283     {
1284         "id": "1e46f7a0.12e1b8",
1285         "type": "block",
1286         "name": "ransim  URL",
1287         "xml": "<block atomic='true'>",
1288         "atomic": "true",
1289         "comments": "",
1290         "outputs": 1,
1291         "x": 2329.999870300293,
1292         "y": 1175.062283039093,
1293         "z": "73e537e.8932bc8",
1294         "wires": [
1295             [
1296                 "1e03d99f.4b54d6",
1297                 "cfddd286.9a08f"
1298             ]
1299         ]
1300     },
1301     {
1302         "id": "b28fc0c6.768a6",
1303         "type": "outcome",
1304         "name": "Mounted",
1305         "xml": "<outcome value='true'>\n",
1306         "comments": "",
1307         "outputs": 1,
1308         "x": 2155.500015258789,
1309         "y": 1164.31254196167,
1310         "z": "73e537e.8932bc8",
1311         "wires": [
1312             [
1313                 "1e46f7a0.12e1b8"
1314             ]
1315         ]
1316     },
1317     {
1318         "id": "ae1fc405.ff2a58",
1319         "type": "execute",
1320         "name": "prepare idGNBCUUPFunction",
1321         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
1322         "comments": "",
1323         "outputs": 1,
1324         "x": 1983.4375,
1325         "y": 1241.875,
1326         "z": "73e537e.8932bc8",
1327         "wires": [
1328             []
1329         ]
1330     },
1331     {
1332         "id": "ce7f221.e3090e",
1333         "type": "execute",
1334         "name": "patch PLMNInfoListEntry gNBCUUP",
1335         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.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=\"activate-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
1336         "comments": "",
1337         "outputs": 1,
1338         "x": 1999.4375,
1339         "y": 1298.875,
1340         "z": "73e537e.8932bc8",
1341         "wires": [
1342             [
1343                 "aee81218.72027",
1344                 "7d297bbe.d06bd4"
1345             ]
1346         ]
1347     },
1348     {
1349         "id": "aee81218.72027",
1350         "type": "failure",
1351         "name": "failure",
1352         "xml": "<outcome value='failure'>\n",
1353         "comments": "",
1354         "outputs": 1,
1355         "x": 2301.4376525878906,
1356         "y": 1300.8752393722534,
1357         "z": "73e537e.8932bc8",
1358         "wires": [
1359             [
1360                 "8453c6af.a13a18"
1361             ]
1362         ]
1363     },
1364     {
1365         "id": "7d297bbe.d06bd4",
1366         "type": "success",
1367         "name": "success",
1368         "xml": "<outcome value='success'>\n",
1369         "comments": "",
1370         "outputs": 1,
1371         "x": 2295.437530517578,
1372         "y": 1367.8751783370972,
1373         "z": "73e537e.8932bc8",
1374         "wires": [
1375             [
1376                 "d8b21643.b8fd78"
1377             ]
1378         ]
1379     },
1380     {
1381         "id": "8453c6af.a13a18",
1382         "type": "block",
1383         "name": "block : atomic",
1384         "xml": "<block atomic='true'>",
1385         "atomic": "true",
1386         "comments": "",
1387         "outputs": 1,
1388         "x": 2478.437774658203,
1389         "y": 1289.875117301941,
1390         "z": "73e537e.8932bc8",
1391         "wires": [
1392             [
1393                 "1de38af1.68ef85",
1394                 "484c6fd2.3298c",
1395                 "cf52b92f.10a1a8"
1396             ]
1397         ]
1398     },
1399     {
1400         "id": "d8b21643.b8fd78",
1401         "type": "block",
1402         "name": "block : atomic",
1403         "xml": "<block atomic='true'>",
1404         "atomic": "true",
1405         "comments": "",
1406         "outputs": 1,
1407         "x": 2475.437530517578,
1408         "y": 1372.8749952316284,
1409         "z": "73e537e.8932bc8",
1410         "wires": [
1411             [
1412                 "bd12c7c4.296008"
1413             ]
1414         ]
1415     },
1416     {
1417         "id": "bd12c7c4.296008",
1418         "type": "record",
1419         "name": "record",
1420         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
1421         "comments": "",
1422         "outputs": 1,
1423         "x": 2628.437225341797,
1424         "y": 1372.8752393722534,
1425         "z": "73e537e.8932bc8",
1426         "wires": [
1427             []
1428         ]
1429     },
1430     {
1431         "id": "1de38af1.68ef85",
1432         "type": "returnFailure",
1433         "name": "return failure",
1434         "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 patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
1435         "comments": "",
1436         "x": 2683.1877365112305,
1437         "y": 1290.3753967285156,
1438         "z": "73e537e.8932bc8",
1439         "wires": []
1440     },
1441     {
1442         "id": "484c6fd2.3298c",
1443         "type": "set",
1444         "name": "set",
1445         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
1446         "comments": "",
1447         "x": 2688.1879234313965,
1448         "y": 1236.3755326271057,
1449         "z": "73e537e.8932bc8",
1450         "wires": []
1451     },
1452     {
1453         "id": "52b3e00e.e5abf",
1454         "type": "block",
1455         "name": "Process gNBDU",
1456         "xml": "<block atomic='true'>",
1457         "atomic": "true",
1458         "comments": "",
1459         "outputs": 1,
1460         "x": 685.0000076293945,
1461         "y": 1329.0625247955322,
1462         "z": "73e537e.8932bc8",
1463         "wires": [
1464             [
1465                 "7e06ceca.74922",
1466                 "1051a27a.b8e44e",
1467                 "352a5eb7.c4dff2"
1468             ]
1469         ]
1470     },
1471     {
1472         "id": "7e06ceca.74922",
1473         "type": "execute",
1474         "name": "read DUlist size",
1475         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n    ",
1476         "comments": "",
1477         "outputs": 1,
1478         "x": 1017.7500305175781,
1479         "y": 1235.0625114440918,
1480         "z": "73e537e.8932bc8",
1481         "wires": [
1482             []
1483         ]
1484     },
1485     {
1486         "id": "1051a27a.b8e44e",
1487         "type": "record",
1488         "name": "record",
1489         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
1490         "comments": "",
1491         "outputs": 1,
1492         "x": 990.750057220459,
1493         "y": 1278.562572479248,
1494         "z": "73e537e.8932bc8",
1495         "wires": [
1496             []
1497         ]
1498     },
1499     {
1500         "id": "352a5eb7.c4dff2",
1501         "type": "for",
1502         "name": "foreach DU",
1503         "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
1504         "comments": "",
1505         "outputs": 1,
1506         "x": 1002.7500305175781,
1507         "y": 1329.8125,
1508         "z": "73e537e.8932bc8",
1509         "wires": [
1510             [
1511                 "e932e598.a8e4d8"
1512             ]
1513         ]
1514     },
1515     {
1516         "id": "e932e598.a8e4d8",
1517         "type": "block",
1518         "name": "block : process gNBDU",
1519         "xml": "<block atomic='true'>",
1520         "atomic": "true",
1521         "comments": "",
1522         "outputs": 1,
1523         "x": 1283.75,
1524         "y": 1330.8124694824219,
1525         "z": "73e537e.8932bc8",
1526         "wires": [
1527             [
1528                 "67418177.4b675",
1529                 "76ffbff1.a238b",
1530                 "4501d8aa.3adbf8",
1531                 "48d81af7.03f064"
1532             ]
1533         ]
1534     },
1535     {
1536         "id": "67418177.4b675",
1537         "type": "execute",
1538         "name": "read DU id",
1539         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
1540         "comments": "",
1541         "outputs": 1,
1542         "x": 1562.7498245239258,
1543         "y": 1326.8117713928223,
1544         "z": "73e537e.8932bc8",
1545         "wires": [
1546             []
1547         ]
1548     },
1549     {
1550         "id": "76ffbff1.a238b",
1551         "type": "record",
1552         "name": "record",
1553         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
1554         "comments": "",
1555         "outputs": 1,
1556         "x": 1535.7498245239258,
1557         "y": 1377.8117713928223,
1558         "z": "73e537e.8932bc8",
1559         "wires": [
1560             []
1561         ]
1562     },
1563     {
1564         "id": "4501d8aa.3adbf8",
1565         "type": "execute",
1566         "name": "read cellDU list size",
1567         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n    ",
1568         "comments": "",
1569         "outputs": 1,
1570         "x": 1576.7498245239258,
1571         "y": 1426.8117713928223,
1572         "z": "73e537e.8932bc8",
1573         "wires": [
1574             []
1575         ]
1576     },
1577     {
1578         "id": "48d81af7.03f064",
1579         "type": "for",
1580         "name": "for cellDUList",
1581         "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
1582         "comments": "",
1583         "outputs": 1,
1584         "x": 1566.7498245239258,
1585         "y": 1470.8117713928223,
1586         "z": "73e537e.8932bc8",
1587         "wires": [
1588             [
1589                 "98b4252b.430ee8"
1590             ]
1591         ]
1592     },
1593     {
1594         "id": "98b4252b.430ee8",
1595         "type": "block",
1596         "name": "block",
1597         "xml": "<block>\n",
1598         "atomic": "false",
1599         "comments": "",
1600         "outputs": 1,
1601         "x": 1726.499885559082,
1602         "y": 1470.5618963241577,
1603         "z": "73e537e.8932bc8",
1604         "wires": [
1605             [
1606                 "13016587.c7632a",
1607                 "c22a6693.7c9d58"
1608             ]
1609         ]
1610     },
1611     {
1612         "id": "13016587.c7632a",
1613         "type": "execute",
1614         "name": "read PLMNList size",
1615         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
1616         "comments": "",
1617         "outputs": 1,
1618         "x": 1974.6875,
1619         "y": 1470.3125,
1620         "z": "73e537e.8932bc8",
1621         "wires": [
1622             []
1623         ]
1624     },
1625     {
1626         "id": "c22a6693.7c9d58",
1627         "type": "for",
1628         "name": "foreach PLMNInfo",
1629         "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
1630         "comments": "",
1631         "outputs": 1,
1632         "x": 1953.0208740234375,
1633         "y": 1540.3125,
1634         "z": "73e537e.8932bc8",
1635         "wires": [
1636             [
1637                 "ae921aff.c45078"
1638             ]
1639         ]
1640     },
1641     {
1642         "id": "ae921aff.c45078",
1643         "type": "block",
1644         "name": "block : atomic",
1645         "xml": "<block atomic='true'>",
1646         "atomic": "true",
1647         "comments": "",
1648         "outputs": 1,
1649         "x": 2138.4096603393555,
1650         "y": 1534.3402099609375,
1651         "z": "73e537e.8932bc8",
1652         "wires": [
1653             [
1654                 "7383ae7b.5b99f",
1655                 "7503b7ce.7796d8",
1656                 "e0761d19.bc37e"
1657             ]
1658         ]
1659     },
1660     {
1661         "id": "e0761d19.bc37e",
1662         "type": "execute",
1663         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
1664         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
1665         "comments": "",
1666         "outputs": 1,
1667         "x": 2513.2986068725586,
1668         "y": 1453.3128719329834,
1669         "z": "73e537e.8932bc8",
1670         "wires": [
1671             []
1672         ]
1673     },
1674     {
1675         "id": "7383ae7b.5b99f",
1676         "type": "record",
1677         "name": "record",
1678         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
1679         "comments": "",
1680         "outputs": 1,
1681         "x": 2374.2986030578613,
1682         "y": 1511.3127517700195,
1683         "z": "73e537e.8932bc8",
1684         "wires": [
1685             []
1686         ]
1687     },
1688     {
1689         "id": "7503b7ce.7796d8",
1690         "type": "switchNode",
1691         "name": "is NSSAI exists",
1692         "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
1693         "comments": "",
1694         "outputs": 1,
1695         "x": 2369.43758392334,
1696         "y": 1560.8682289123535,
1697         "z": "73e537e.8932bc8",
1698         "wires": [
1699             [
1700                 "8ded1517.4c32d8"
1701             ]
1702         ]
1703     },
1704     {
1705         "id": "8ded1517.4c32d8",
1706         "type": "outcome",
1707         "name": "True",
1708         "xml": "<outcome value='true'>\n",
1709         "comments": "",
1710         "outputs": 1,
1711         "x": 2543.909828186035,
1712         "y": 1553.5905861854553,
1713         "z": "73e537e.8932bc8",
1714         "wires": [
1715             [
1716                 "50499d51.fe3e14"
1717             ]
1718         ]
1719     },
1720     {
1721         "id": "50499d51.fe3e14",
1722         "type": "block",
1723         "name": "block : atomic",
1724         "xml": "<block atomic='true'>",
1725         "atomic": "true",
1726         "comments": "",
1727         "outputs": 1,
1728         "x": 2717.937629699707,
1729         "y": 1549.56272315979,
1730         "z": "73e537e.8932bc8",
1731         "wires": [
1732             [
1733                 "4efbb0f2.f7229",
1734                 "67913975.042ea8",
1735                 "b11b382e.43f478",
1736                 "9472e52c.249c78",
1737                 "7eb7f6b8.3dba48",
1738                 "9a055ee1.e66aa",
1739                 "b402baa1.acbe58",
1740                 "b43da734.c06b08",
1741                 "3b663477.76ed6c"
1742             ]
1743         ]
1744     },
1745     {
1746         "id": "67913975.042ea8",
1747         "type": "record",
1748         "name": "record",
1749         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
1750         "comments": "",
1751         "outputs": 1,
1752         "x": 2930.4379959106445,
1753         "y": 1518.3127232789993,
1754         "z": "73e537e.8932bc8",
1755         "wires": [
1756             []
1757         ]
1758     },
1759     {
1760         "id": "4efbb0f2.f7229",
1761         "type": "switchNode",
1762         "name": "ransim mounted",
1763         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1764         "comments": "",
1765         "outputs": 1,
1766         "x": 2934.6875076293945,
1767         "y": 1576.3127555847168,
1768         "z": "73e537e.8932bc8",
1769         "wires": [
1770             [
1771                 "c638f3de.dea5",
1772                 "78e627e0.d15b08"
1773             ]
1774         ]
1775     },
1776     {
1777         "id": "c638f3de.dea5",
1778         "type": "outcome",
1779         "name": "Not Mounted",
1780         "xml": "<outcome value='false'>\n",
1781         "comments": "",
1782         "outputs": 1,
1783         "x": 3143.937999725342,
1784         "y": 1531.3122968673706,
1785         "z": "73e537e.8932bc8",
1786         "wires": [
1787             [
1788                 "a42b1236.4707e"
1789             ]
1790         ]
1791     },
1792     {
1793         "id": "78e627e0.d15b08",
1794         "type": "outcome",
1795         "name": "Mounted",
1796         "xml": "<outcome value='true'>\n",
1797         "comments": "",
1798         "outputs": 1,
1799         "x": 3138.937999725342,
1800         "y": 1592.8129997253418,
1801         "z": "73e537e.8932bc8",
1802         "wires": [
1803             [
1804                 "8131e6bc.784858"
1805             ]
1806         ]
1807     },
1808     {
1809         "id": "a42b1236.4707e",
1810         "type": "execute",
1811         "name": "generate patch PLMNInfoListEntry ToNRCellDU",
1812         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
1813         "comments": "",
1814         "outputs": 1,
1815         "x": 3490.187759399414,
1816         "y": 1530.0627536773682,
1817         "z": "73e537e.8932bc8",
1818         "wires": [
1819             []
1820         ]
1821     },
1822     {
1823         "id": "8131e6bc.784858",
1824         "type": "block",
1825         "name": "ransim  URL",
1826         "xml": "<block atomic='true'>",
1827         "atomic": "true",
1828         "comments": "",
1829         "outputs": 1,
1830         "x": 3316.4375762939453,
1831         "y": 1599.3126335144043,
1832         "z": "73e537e.8932bc8",
1833         "wires": [
1834             [
1835                 "1754b665.854bca",
1836                 "b0b55a4d.efcde8"
1837             ]
1838         ]
1839     },
1840     {
1841         "id": "1754b665.854bca",
1842         "type": "execute",
1843         "name": "generate patchPLMNInfoList.ToNRCellDU",
1844         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
1845         "comments": "",
1846         "outputs": 1,
1847         "x": 3598.437942504883,
1848         "y": 1588.0626335144043,
1849         "z": "73e537e.8932bc8",
1850         "wires": [
1851             []
1852         ]
1853     },
1854     {
1855         "id": "b0b55a4d.efcde8",
1856         "type": "execute",
1857         "name": "populate mountName",
1858         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
1859         "comments": "",
1860         "outputs": 1,
1861         "x": 3548.688247680664,
1862         "y": 1648.5626649856567,
1863         "z": "73e537e.8932bc8",
1864         "wires": [
1865             []
1866         ]
1867     },
1868     {
1869         "id": "b11b382e.43f478",
1870         "type": "execute",
1871         "name": "read cellDU",
1872         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
1873         "comments": "",
1874         "outputs": 1,
1875         "x": 2926.5625,
1876         "y": 1638.125,
1877         "z": "73e537e.8932bc8",
1878         "wires": [
1879             []
1880         ]
1881     },
1882     {
1883         "id": "9472e52c.249c78",
1884         "type": "execute",
1885         "name": "prepare idGNBDUFunction",
1886         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
1887         "comments": "",
1888         "outputs": 1,
1889         "x": 2981.5625610351562,
1890         "y": 1703.1249380111694,
1891         "z": "73e537e.8932bc8",
1892         "wires": [
1893             []
1894         ]
1895     },
1896     {
1897         "id": "7eb7f6b8.3dba48",
1898         "type": "execute",
1899         "name": "prepare idNRCellDU",
1900         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
1901         "comments": "",
1902         "outputs": 1,
1903         "x": 2954.562744140625,
1904         "y": 1758.124939918518,
1905         "z": "73e537e.8932bc8",
1906         "wires": [
1907             []
1908         ]
1909     },
1910     {
1911         "id": "9a055ee1.e66aa",
1912         "type": "execute",
1913         "name": "prepare mcc",
1914         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n   ",
1915         "comments": "",
1916         "outputs": 1,
1917         "x": 2934.5624389648438,
1918         "y": 1821.1252460479736,
1919         "z": "73e537e.8932bc8",
1920         "wires": [
1921             []
1922         ]
1923     },
1924     {
1925         "id": "b402baa1.acbe58",
1926         "type": "execute",
1927         "name": "prepare mnc",
1928         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
1929         "comments": "",
1930         "outputs": 1,
1931         "x": 2936.5626831054688,
1932         "y": 1879.1248788833618,
1933         "z": "73e537e.8932bc8",
1934         "wires": [
1935             []
1936         ]
1937     },
1938     {
1939         "id": "b43da734.c06b08",
1940         "type": "record",
1941         "name": "record API params",
1942         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
1943         "comments": "",
1944         "outputs": 1,
1945         "x": 2941.5623168945312,
1946         "y": 1947.1253700256348,
1947         "z": "73e537e.8932bc8",
1948         "wires": [
1949             []
1950         ]
1951     },
1952     {
1953         "id": "3b663477.76ed6c",
1954         "type": "execute",
1955         "name": "patch PLMNInfoListEntry ToNRCellDU",
1956         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.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=\"activate-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
1957         "comments": "",
1958         "outputs": 1,
1959         "x": 2998.5623474121094,
1960         "y": 2022.374755859375,
1961         "z": "73e537e.8932bc8",
1962         "wires": [
1963             [
1964                 "e9376312.2afc9",
1965                 "3fa0b327.7d77bc"
1966             ]
1967         ]
1968     },
1969     {
1970         "id": "3fa0b327.7d77bc",
1971         "type": "failure",
1972         "name": "failure",
1973         "xml": "<outcome value='failure'>\n",
1974         "comments": "",
1975         "outputs": 1,
1976         "x": 3265.5623474121094,
1977         "y": 1922.374755859375,
1978         "z": "73e537e.8932bc8",
1979         "wires": [
1980             [
1981                 "7812bc5b.b7e9e4"
1982             ]
1983         ]
1984     },
1985     {
1986         "id": "7812bc5b.b7e9e4",
1987         "type": "block",
1988         "name": "block : atomic",
1989         "xml": "<block atomic='true'>",
1990         "atomic": "true",
1991         "comments": "",
1992         "outputs": 1,
1993         "x": 3423.5625915527344,
1994         "y": 1870.374755859375,
1995         "z": "73e537e.8932bc8",
1996         "wires": [
1997             [
1998                 "dc07a63a.07b3e8",
1999                 "b8e4a7fe.f431d8",
2000                 "cf52b92f.10a1a8"
2001             ]
2002         ]
2003     },
2004     {
2005         "id": "b8e4a7fe.f431d8",
2006         "type": "set",
2007         "name": "set",
2008         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
2009         "comments": "",
2010         "x": 3589.5623474121094,
2011         "y": 1836.374755859375,
2012         "z": "73e537e.8932bc8",
2013         "wires": []
2014     },
2015     {
2016         "id": "dc07a63a.07b3e8",
2017         "type": "returnFailure",
2018         "name": "return failure",
2019         "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 NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
2020         "comments": "",
2021         "x": 3594.562225341797,
2022         "y": 1931.3748168945312,
2023         "z": "73e537e.8932bc8",
2024         "wires": []
2025     },
2026     {
2027         "id": "bbe2b1be.4721c",
2028         "type": "record",
2029         "name": "record",
2030         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
2031         "comments": "",
2032         "outputs": 1,
2033         "x": 3578.562225341797,
2034         "y": 2017.375,
2035         "z": "73e537e.8932bc8",
2036         "wires": [
2037             []
2038         ]
2039     },
2040     {
2041         "id": "dbdffb78.99de48",
2042         "type": "block",
2043         "name": "block : atomic",
2044         "xml": "<block atomic='true'>",
2045         "atomic": "true",
2046         "comments": "",
2047         "outputs": 1,
2048         "x": 3432.5623474121094,
2049         "y": 2018.3747584819794,
2050         "z": "73e537e.8932bc8",
2051         "wires": [
2052             [
2053                 "bbe2b1be.4721c"
2054             ]
2055         ]
2056     },
2057     {
2058         "id": "e9376312.2afc9",
2059         "type": "success",
2060         "name": "success",
2061         "xml": "<outcome value='success'>\n",
2062         "comments": "",
2063         "outputs": 1,
2064         "x": 3264.5623474121094,
2065         "y": 2021.374755859375,
2066         "z": "73e537e.8932bc8",
2067         "wires": [
2068             [
2069                 "dbdffb78.99de48"
2070             ]
2071         ]
2072     },
2073     {
2074         "id": "738ca283.54ba9c",
2075         "type": "execute",
2076         "name": "get PLMNId URL",
2077         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n    <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n    <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
2078         "comments": "",
2079         "outputs": 1,
2080         "x": 646.2500305175781,
2081         "y": 661.8750114440918,
2082         "z": "73e537e.8932bc8",
2083         "wires": [
2084             []
2085         ]
2086     },
2087     {
2088         "id": "c80b56a5.99a988",
2089         "type": "record",
2090         "name": "record",
2091         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
2092         "comments": "",
2093         "outputs": 1,
2094         "x": 619.7500305175781,
2095         "y": 717.3750429153442,
2096         "z": "73e537e.8932bc8",
2097         "wires": [
2098             []
2099         ]
2100     },
2101     {
2102         "id": "1c09cf50.00c361",
2103         "type": "execute",
2104         "name": "Get PLMN from Sliceprofile id",
2105         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-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\"/>",
2106         "comments": "",
2107         "outputs": 1,
2108         "x": 688.5000152587891,
2109         "y": 770.874979019165,
2110         "z": "73e537e.8932bc8",
2111         "wires": [
2112             []
2113         ]
2114     },
2115     {
2116         "id": "20d20dea.8129f2",
2117         "type": "execute",
2118         "name": "read PLMN Id",
2119         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.pLMNId`\" />\n",
2120         "comments": "",
2121         "outputs": 1,
2122         "x": 641.5000076293945,
2123         "y": 828.8750276565552,
2124         "z": "73e537e.8932bc8",
2125         "wires": [
2126             []
2127         ]
2128     },
2129     {
2130         "id": "a16a753b.c1e978",
2131         "type": "execute",
2132         "name": "find MCC",
2133         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mcc\"/>\n    <parameter name=\"begin-index\" value=\"0\" />\n    <parameter name=\"end-index\" value=\"3\" />",
2134         "comments": "",
2135         "outputs": 1,
2136         "x": 634.7500152587891,
2137         "y": 888.1250905990601,
2138         "z": "73e537e.8932bc8",
2139         "wires": [
2140             []
2141         ]
2142     },
2143     {
2144         "id": "ef19e8dd.548808",
2145         "type": "execute",
2146         "name": "find MNC",
2147         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mnc\"/>\n    <parameter name=\"begin-index\" value=\"4\" />",
2148         "comments": "",
2149         "outputs": 1,
2150         "x": 634.7500686645508,
2151         "y": 939.1249685287476,
2152         "z": "73e537e.8932bc8",
2153         "wires": [
2154             []
2155         ]
2156     },
2157     {
2158         "id": "b72487f2.f75598",
2159         "type": "record",
2160         "name": "record",
2161         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
2162         "comments": "",
2163         "outputs": 1,
2164         "x": 631.743537902832,
2165         "y": 996.118483543396,
2166         "z": "73e537e.8932bc8",
2167         "wires": [
2168             []
2169         ]
2170     },
2171     {
2172         "id": "cf52b92f.10a1a8",
2173         "type": "block",
2174         "name": "block : SO Response",
2175         "xml": "<block atomic='true'>",
2176         "atomic": "true",
2177         "comments": "",
2178         "outputs": 1,
2179         "x": 4067.5,
2180         "y": 1668.9285888671875,
2181         "z": "73e537e.8932bc8",
2182         "wires": [
2183             [
2184                 "862727fd.1c2328",
2185                 "ba2f13e6.fb244",
2186                 "48d208ea.6b73a8"
2187             ]
2188         ]
2189     },
2190     {
2191         "id": "862727fd.1c2328",
2192         "type": "set",
2193         "name": "set tmp variables for SO response",
2194         "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
2195         "comments": "",
2196         "x": 4446.643783569336,
2197         "y": 1526.5425758361816,
2198         "z": "73e537e.8932bc8",
2199         "wires": []
2200     },
2201     {
2202         "id": "ba2f13e6.fb244",
2203         "type": "record",
2204         "name": "record configdb RestAPI parms",
2205         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
2206         "comments": "",
2207         "outputs": 1,
2208         "x": 4450.214241027832,
2209         "y": 1592.2146625518799,
2210         "z": "73e537e.8932bc8",
2211         "wires": [
2212             []
2213         ]
2214     },
2215     {
2216         "id": "48d208ea.6b73a8",
2217         "type": "execute",
2218         "name": "Send to SO",
2219         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-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\"/>",
2220         "comments": "",
2221         "outputs": 1,
2222         "x": 4376.642807006836,
2223         "y": 1670.6432371139526,
2224         "z": "73e537e.8932bc8",
2225         "wires": [
2226             [
2227                 "866030e9.b444e",
2228                 "4f0f6de5.73b094"
2229             ]
2230         ]
2231     },
2232     {
2233         "id": "866030e9.b444e",
2234         "type": "failure",
2235         "name": "failure",
2236         "xml": "<outcome value='failure'>\n",
2237         "comments": "",
2238         "outputs": 1,
2239         "x": 4614.071365356445,
2240         "y": 1653.3572883605957,
2241         "z": "73e537e.8932bc8",
2242         "wires": [
2243             [
2244                 "52d6b739.76f9c8"
2245             ]
2246         ]
2247     },
2248     {
2249         "id": "52d6b739.76f9c8",
2250         "type": "block",
2251         "name": "block",
2252         "xml": "<block>\n",
2253         "atomic": "false",
2254         "comments": "",
2255         "outputs": 1,
2256         "x": 4806.499732971191,
2257         "y": 1644.071725845337,
2258         "z": "73e537e.8932bc8",
2259         "wires": [
2260             [
2261                 "cb07e63f.970f58"
2262             ]
2263         ]
2264     },
2265     {
2266         "id": "cb07e63f.970f58",
2267         "type": "returnFailure",
2268         "name": "return failure",
2269         "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 sending SO Response\" />",
2270         "comments": "",
2271         "x": 5008.2136154174805,
2272         "y": 1632.785837650299,
2273         "z": "73e537e.8932bc8",
2274         "wires": []
2275     },
2276     {
2277         "id": "589e3583.45b27c",
2278         "type": "record",
2279         "name": "record",
2280         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
2281         "comments": "",
2282         "outputs": 1,
2283         "x": 5002.35689163208,
2284         "y": 1707.785903930664,
2285         "z": "73e537e.8932bc8",
2286         "wires": [
2287             []
2288         ]
2289     },
2290     {
2291         "id": "e5f066ec.ee08a8",
2292         "type": "block",
2293         "name": "block",
2294         "xml": "<block>\n",
2295         "atomic": "false",
2296         "comments": "",
2297         "outputs": 1,
2298         "x": 4818.356742858887,
2299         "y": 1713.2143459320068,
2300         "z": "73e537e.8932bc8",
2301         "wires": [
2302             [
2303                 "589e3583.45b27c"
2304             ]
2305         ]
2306     },
2307     {
2308         "id": "4f0f6de5.73b094",
2309         "type": "success",
2310         "name": "success",
2311         "xml": "<outcome value='success'>\n",
2312         "comments": "",
2313         "outputs": 1,
2314         "x": 4608.356689453125,
2315         "y": 1717.071584701538,
2316         "z": "73e537e.8932bc8",
2317         "wires": [
2318             [
2319                 "e5f066ec.ee08a8"
2320             ]
2321         ]
2322     },
2323     {
2324         "id": "8eaff649.12a058",
2325         "type": "block",
2326         "name": "SO Response",
2327         "xml": "<block atomic='true'>",
2328         "atomic": "true",
2329         "comments": "",
2330         "outputs": 1,
2331         "x": 615,
2332         "y": 1646.0714111328125,
2333         "z": "73e537e.8932bc8",
2334         "wires": [
2335             [
2336                 "e7d5db02.65b2d8",
2337                 "dad1b3aa.d6985",
2338                 "e85cda54.0fe538",
2339                 "b91c3aef.b188c8"
2340             ]
2341         ]
2342     },
2343     {
2344         "id": "e85cda54.0fe538",
2345         "type": "set",
2346         "name": "set tmp variables for SO response",
2347         "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n",
2348         "comments": "",
2349         "x": 895.0011444091797,
2350         "y": 1495.970895767212,
2351         "z": "73e537e.8932bc8",
2352         "wires": []
2353     },
2354     {
2355         "id": "e7d5db02.65b2d8",
2356         "type": "record",
2357         "name": "record SO reply parms",
2358         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
2359         "comments": "",
2360         "outputs": 1,
2361         "x": 891.9999771118164,
2362         "y": 1650.0715942382812,
2363         "z": "73e537e.8932bc8",
2364         "wires": [
2365             []
2366         ]
2367     },
2368     {
2369         "id": "dad1b3aa.d6985",
2370         "type": "execute",
2371         "name": "Send to SO",
2372         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
2373         "comments": "",
2374         "outputs": 1,
2375         "x": 761.0000762939453,
2376         "y": 1767.0712985992432,
2377         "z": "73e537e.8932bc8",
2378         "wires": [
2379             [
2380                 "2999f62a.11666a",
2381                 "a0ffbca7.ce015"
2382             ]
2383         ]
2384     },
2385     {
2386         "id": "2999f62a.11666a",
2387         "type": "failure",
2388         "name": "failure",
2389         "xml": "<outcome value='failure'>\n",
2390         "comments": "",
2391         "outputs": 1,
2392         "x": 926.0000762939453,
2393         "y": 1747.0712976455688,
2394         "z": "73e537e.8932bc8",
2395         "wires": [
2396             [
2397                 "77937eda.00d3c"
2398             ]
2399         ]
2400     },
2401     {
2402         "id": "a0ffbca7.ce015",
2403         "type": "success",
2404         "name": "success",
2405         "xml": "<outcome value='success'>\n",
2406         "comments": "",
2407         "outputs": 1,
2408         "x": 917.9999694824219,
2409         "y": 1820.0712480545044,
2410         "z": "73e537e.8932bc8",
2411         "wires": [
2412             [
2413                 "bbd0fc65.b213e"
2414             ]
2415         ]
2416     },
2417     {
2418         "id": "bbd0fc65.b213e",
2419         "type": "block",
2420         "name": "block",
2421         "xml": "<block>\n",
2422         "atomic": "false",
2423         "comments": "",
2424         "outputs": 1,
2425         "x": 1063.999813079834,
2426         "y": 1825.0713567733765,
2427         "z": "73e537e.8932bc8",
2428         "wires": [
2429             [
2430                 "3b8c718a.3fa84e"
2431             ]
2432         ]
2433     },
2434     {
2435         "id": "77937eda.00d3c",
2436         "type": "block",
2437         "name": "block",
2438         "xml": "<block>\n",
2439         "atomic": "false",
2440         "comments": "",
2441         "outputs": 1,
2442         "x": 1074.9999771118164,
2443         "y": 1743.0714330673218,
2444         "z": "73e537e.8932bc8",
2445         "wires": [
2446             [
2447                 "88a2ea8a.397928",
2448                 "f5257e8c.2252a"
2449             ]
2450         ]
2451     },
2452     {
2453         "id": "88a2ea8a.397928",
2454         "type": "returnFailure",
2455         "name": "return failure",
2456         "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 sending SO Response\" />",
2457         "comments": "",
2458         "x": 1221.9995956420898,
2459         "y": 1754.071174621582,
2460         "z": "73e537e.8932bc8",
2461         "wires": []
2462     },
2463     {
2464         "id": "3b8c718a.3fa84e",
2465         "type": "record",
2466         "name": "record",
2467         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
2468         "comments": "",
2469         "outputs": 1,
2470         "x": 1224.9997329711914,
2471         "y": 1831.0712490081787,
2472         "z": "73e537e.8932bc8",
2473         "wires": [
2474             []
2475         ]
2476     },
2477     {
2478         "id": "f5257e8c.2252a",
2479         "type": "set",
2480         "name": "set",
2481         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
2482         "comments": "",
2483         "x": 1209.5102043151855,
2484         "y": 1658.0606660842896,
2485         "z": "73e537e.8932bc8",
2486         "wires": []
2487     },
2488     {
2489         "id": "b91c3aef.b188c8",
2490         "type": "execute",
2491         "name": "generate URL for SO Callback",
2492         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n    <parameter name=\"target\" value=\"{requestId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
2493         "comments": "",
2494         "outputs": 1,
2495         "x": 914.339599609375,
2496         "y": 1586.0567483901978,
2497         "z": "73e537e.8932bc8",
2498         "wires": [
2499             []
2500         ]
2501     },
2502     {
2503         "id": "f53bf76b.8dba48",
2504         "type": "returnSuccess",
2505         "name": "return success",
2506         "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
2507         "comments": "",
2508         "x": 272.5,
2509         "y": 1162.5,
2510         "z": "73e537e.8932bc8",
2511         "wires": []
2512     }
2513 ]