RanSlice DG, Templates - Integration Testing Fixes
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_activateRANSliceInstance.json
1 [
2     {
3         "id": "7e7f57f9.68d4a8",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 173.75,
8         "y": 113.99999868869781,
9         "z": "c2a8a65f.f4fdf8",
10         "wires": [
11             [
12                 "e0a548b9.052988"
13             ]
14         ]
15     },
16     {
17         "id": "e0a548b9.052988",
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": 258.7500228881836,
26         "y": 180.9999681711197,
27         "z": "c2a8a65f.f4fdf8",
28         "wires": [
29             [
30                 "a75312a.544d3f"
31             ]
32         ]
33     },
34     {
35         "id": "a75312a.544d3f",
36         "type": "method",
37         "name": "method",
38         "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 192.75,
42         "y": 240.9999338388443,
43         "z": "c2a8a65f.f4fdf8",
44         "wires": [
45             [
46                 "ca025241.dabb2"
47             ]
48         ]
49     },
50     {
51         "id": "ca025241.dabb2",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 215.2500114440918,
59         "y": 321.5000025033951,
60         "z": "c2a8a65f.f4fdf8",
61         "wires": [
62             [
63                 "a8976ed2.1843f",
64                 "ea5daf11.a6e81",
65                 "a2693dc1.a5517",
66                 "eea21e4d.c1324",
67                 "321cec92.0945e4",
68                 "15bab992.f28f76",
69                 "414370ce.8928c",
70                 "2f0812f8.b4db6e",
71                 "ad2fd587.1bd148",
72                 "810a8bcc.d27738",
73                 "c1737e13.d4add",
74                 "b7134c47.dc4b9",
75                 "66c6e126.b5c0e",
76                 "1bdc1194.f7cbee",
77                 "ba7f558f.10b808",
78                 "c6c21f7.66307e",
79                 "d112a202.14d86",
80                 "cebd9071.34ebd",
81                 "1cb02382.300dbc",
82                 "9643217e.8cc45",
83                 "5841dea.bd55b2"
84             ]
85         ]
86     },
87     {
88         "id": "a8976ed2.1843f",
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": 797.0000610351562,
95         "y": 516.694458603859,
96         "z": "c2a8a65f.f4fdf8",
97         "wires": [
98             []
99         ]
100     },
101     {
102         "id": "ea5daf11.a6e81",
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": 737.0000152587891,
109         "y": 553.2500258684158,
110         "z": "c2a8a65f.f4fdf8",
111         "wires": [
112             []
113         ]
114     },
115     {
116         "id": "a2693dc1.a5517",
117         "type": "execute",
118         "name": "Get nearRTRIC for NFNSSI",
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": 727.0000915527344,
123         "y": 605.250056385994,
124         "z": "c2a8a65f.f4fdf8",
125         "wires": [
126             [
127                 "78009660.f04068",
128                 "afb10f5f.82d4a"
129             ]
130         ]
131     },
132     {
133         "id": "78009660.f04068",
134         "type": "success",
135         "name": "success",
136         "xml": "<outcome value='success'>\n",
137         "comments": "",
138         "outputs": 1,
139         "x": 1025.8180961608887,
140         "y": 623.0680800676346,
141         "z": "c2a8a65f.f4fdf8",
142         "wires": [
143             [
144                 "6e5d0b68.fb3eb4"
145             ]
146         ]
147     },
148     {
149         "id": "6e5d0b68.fb3eb4",
150         "type": "block",
151         "name": "block : atomic",
152         "xml": "<block atomic='true'>",
153         "atomic": "true",
154         "comments": "",
155         "outputs": 1,
156         "x": 1195.8179931640625,
157         "y": 624.0681954622269,
158         "z": "c2a8a65f.f4fdf8",
159         "wires": [
160             [
161                 "a5285567.465e58",
162                 "a50018dd.454668"
163             ]
164         ]
165     },
166     {
167         "id": "a5285567.465e58",
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": 1418.8177909851074,
174         "y": 569.0681792497635,
175         "z": "c2a8a65f.f4fdf8",
176         "wires": [
177             []
178         ]
179     },
180     {
181         "id": "a50018dd.454668",
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-activateRANSlice-context.log' />\n\n\n",
185         "comments": "",
186         "outputs": 1,
187         "x": 1414.595932006836,
188         "y": 640.068186879158,
189         "z": "c2a8a65f.f4fdf8",
190         "wires": [
191             []
192         ]
193     },
194     {
195         "id": "afb10f5f.82d4a",
196         "type": "failure",
197         "name": "failure",
198         "xml": "<outcome value='failure'>\n",
199         "comments": "",
200         "outputs": 1,
201         "x": 1031.8180503845215,
202         "y": 563.0681639909744,
203         "z": "c2a8a65f.f4fdf8",
204         "wires": [
205             [
206                 "5c56eeae.73a1c"
207             ]
208         ]
209     },
210     {
211         "id": "5c56eeae.73a1c",
212         "type": "block",
213         "name": "block",
214         "xml": "<block>",
215         "atomic": "false",
216         "comments": "",
217         "outputs": 1,
218         "x": 1311.8181266784668,
219         "y": 469.0682178735733,
220         "z": "c2a8a65f.f4fdf8",
221         "wires": [
222             [
223                 "94237ecf.f5aa3",
224                 "538f7285.97feac"
225             ]
226         ]
227     },
228     {
229         "id": "94237ecf.f5aa3",
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": 1489.81791305542,
235         "y": 423.1792446374893,
236         "z": "c2a8a65f.f4fdf8",
237         "wires": []
238     },
239     {
240         "id": "eea21e4d.c1324",
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 activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-instance-input.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-instance-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-instance-input.payload`\"/>",
244         "comments": "",
245         "outputs": 1,
246         "x": 701.75,
247         "y": 129.99998533725739,
248         "z": "c2a8a65f.f4fdf8",
249         "wires": [
250             []
251         ]
252     },
253     {
254         "id": "321cec92.0945e4",
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 activateRANSice RPC' />",
258         "comments": "",
259         "x": 740.749755859375,
260         "y": 172.9999977350235,
261         "z": "c2a8a65f.f4fdf8",
262         "wires": []
263     },
264     {
265         "id": "15bab992.f28f76",
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-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
269         "comments": "",
270         "outputs": 1,
271         "x": 745.7497711181641,
272         "y": 217.74998342990875,
273         "z": "c2a8a65f.f4fdf8",
274         "wires": [
275             [
276                 "61d81fc8.9d5af"
277             ]
278         ]
279     },
280     {
281         "id": "414370ce.8928c",
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-activateRANSlice-context.log' />\n\n\n",
285         "comments": "",
286         "outputs": 1,
287         "x": 705.3886184692383,
288         "y": 306.73953688144684,
289         "z": "c2a8a65f.f4fdf8",
290         "wires": [
291             []
292         ]
293     },
294     {
295         "id": "2f0812f8.b4db6e",
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": 734.2775650024414,
302         "y": 347.74996054172516,
303         "z": "c2a8a65f.f4fdf8",
304         "wires": [
305             []
306         ]
307     },
308     {
309         "id": "ad2fd587.1bd148",
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": 703.3332805633545,
316         "y": 393.1944776773453,
317         "z": "c2a8a65f.f4fdf8",
318         "wires": [
319             []
320         ]
321     },
322     {
323         "id": "61d81fc8.9d5af",
324         "type": "other",
325         "name": "success",
326         "xml": "<outcome value='success'>\n",
327         "comments": "",
328         "outputs": 1,
329         "x": 1012.2497825622559,
330         "y": 219.74997293949127,
331         "z": "c2a8a65f.f4fdf8",
332         "wires": [
333             [
334                 "fd6d7e63.3837"
335             ]
336         ]
337     },
338     {
339         "id": "fd6d7e63.3837",
340         "type": "block",
341         "name": "block : atomic",
342         "xml": "<block atomic='true'>",
343         "atomic": "true",
344         "comments": "",
345         "outputs": 1,
346         "x": 1212.2499389648438,
347         "y": 222.499969124794,
348         "z": "c2a8a65f.f4fdf8",
349         "wires": [
350             [
351                 "5d3f3b83.b6e944",
352                 "3a1c4335.62918c"
353             ]
354         ]
355     },
356     {
357         "id": "5d3f3b83.b6e944",
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-activateRANSlice-context.log' />\n\n\n",
361         "comments": "",
362         "outputs": 1,
363         "x": 1402.250015258789,
364         "y": 184.0000034570694,
365         "z": "c2a8a65f.f4fdf8",
366         "wires": [
367             []
368         ]
369     },
370     {
371         "id": "3a1c4335.62918c",
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 activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.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": 1401.49995803833,
378         "y": 248.00001966953278,
379         "z": "c2a8a65f.f4fdf8",
380         "wires": [
381             []
382         ]
383     },
384     {
385         "id": "810a8bcc.d27738",
386         "type": "for",
387         "name": "foreach NearRTRIC",
388         "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
389         "comments": "",
390         "outputs": 1,
391         "x": 479.6875915527344,
392         "y": 1045.8750158548355,
393         "z": "c2a8a65f.f4fdf8",
394         "wires": [
395             [
396                 "d1d406d5.b352f8",
397                 "d3bfcb5d.5e0c68",
398                 "739e0e6a.a06dc",
399                 "3d251ba4.ddf994"
400             ]
401         ]
402     },
403     {
404         "id": "d1d406d5.b352f8",
405         "type": "block",
406         "name": "Process CUCP",
407         "xml": "<block atomic='true'>",
408         "atomic": "true",
409         "comments": "",
410         "outputs": 1,
411         "x": 744.9375305175781,
412         "y": 1039.3069463968277,
413         "z": "c2a8a65f.f4fdf8",
414         "wires": [
415             [
416                 "73836647.480298",
417                 "ddcee4ff.55dbc8",
418                 "1801b56d.80bfcb"
419             ]
420         ]
421     },
422     {
423         "id": "73836647.480298",
424         "type": "execute",
425         "name": "read CUCP list size",
426         "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    ",
427         "comments": "",
428         "outputs": 1,
429         "x": 1091.187515258789,
430         "y": 909.0568548440933,
431         "z": "c2a8a65f.f4fdf8",
432         "wires": [
433             []
434         ]
435     },
436     {
437         "id": "ddcee4ff.55dbc8",
438         "type": "record",
439         "name": "record",
440         "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.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
441         "comments": "",
442         "outputs": 1,
443         "x": 1050.6874961853027,
444         "y": 956.556932091713,
445         "z": "c2a8a65f.f4fdf8",
446         "wires": [
447             []
448         ]
449     },
450     {
451         "id": "1801b56d.80bfcb",
452         "type": "for",
453         "name": "foreach CUCP",
454         "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
455         "comments": "",
456         "outputs": 1,
457         "x": 1067.4376220703125,
458         "y": 1006.5569328069687,
459         "z": "c2a8a65f.f4fdf8",
460         "wires": [
461             [
462                 "a3b66ccd.4f09"
463             ]
464         ]
465     },
466     {
467         "id": "a3b66ccd.4f09",
468         "type": "block",
469         "name": "block : process CUCP",
470         "xml": "<block atomic='true'>",
471         "atomic": "true",
472         "comments": "",
473         "outputs": 1,
474         "x": 1278.437515258789,
475         "y": 969.8068262338638,
476         "z": "c2a8a65f.f4fdf8",
477         "wires": [
478             [
479                 "8b472262.56054",
480                 "201e764e.7a470a",
481                 "5e82baed.893d74",
482                 "5851fd1b.cfccc4"
483             ]
484         ]
485     },
486     {
487         "id": "8b472262.56054",
488         "type": "execute",
489         "name": "read CUCP name",
490         "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'`\" />",
491         "comments": "",
492         "outputs": 1,
493         "x": 1533.1876068115234,
494         "y": 699.8902269601822,
495         "z": "c2a8a65f.f4fdf8",
496         "wires": [
497             []
498         ]
499     },
500     {
501         "id": "5e82baed.893d74",
502         "type": "record",
503         "name": "record",
504         "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=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
505         "comments": "",
506         "outputs": 1,
507         "x": 1504.937614440918,
508         "y": 755.0568376779556,
509         "z": "c2a8a65f.f4fdf8",
510         "wires": [
511             []
512         ]
513     },
514     {
515         "id": "5851fd1b.cfccc4",
516         "type": "execute",
517         "name": "read cellCU list size",
518         "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    ",
519         "comments": "",
520         "outputs": 1,
521         "x": 1542.1875228881836,
522         "y": 802.8068529367447,
523         "z": "c2a8a65f.f4fdf8",
524         "wires": [
525             []
526         ]
527     },
528     {
529         "id": "201e764e.7a470a",
530         "type": "for",
531         "name": "for cellCUList",
532         "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
533         "comments": "",
534         "outputs": 1,
535         "x": 1517.1874923706055,
536         "y": 855.5568681955338,
537         "z": "c2a8a65f.f4fdf8",
538         "wires": [
539             [
540                 "5ea01a4e.80ba44"
541             ]
542         ]
543     },
544     {
545         "id": "5ea01a4e.80ba44",
546         "type": "block",
547         "name": "block",
548         "xml": "<block atomic='true'>",
549         "atomic": "true",
550         "comments": "",
551         "outputs": 1,
552         "x": 1732.1875343322754,
553         "y": 855.8068853616714,
554         "z": "c2a8a65f.f4fdf8",
555         "wires": [
556             [
557                 "9e3b1dc1.6c61f",
558                 "f07a1efc.c684b",
559                 "ec5e5e59.9e151"
560             ]
561         ]
562     },
563     {
564         "id": "9e3b1dc1.6c61f",
565         "type": "execute",
566         "name": "read PLMNList size",
567         "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'`\" />",
568         "comments": "",
569         "outputs": 1,
570         "x": 1949.1464233398438,
571         "y": 794.459854722023,
572         "z": "c2a8a65f.f4fdf8",
573         "wires": [
574             []
575         ]
576     },
577     {
578         "id": "ec5e5e59.9e151",
579         "type": "for",
580         "name": "foreach PLMNInfo",
581         "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
582         "comments": "",
583         "outputs": 1,
584         "x": 1949.1741485595703,
585         "y": 873.6541213989258,
586         "z": "c2a8a65f.f4fdf8",
587         "wires": [
588             [
589                 "ab10a71a.f0f088"
590             ]
591         ]
592     },
593     {
594         "id": "ab10a71a.f0f088",
595         "type": "block",
596         "name": "block : atomic",
597         "xml": "<block atomic='true'>",
598         "atomic": "true",
599         "comments": "",
600         "outputs": 1,
601         "x": 2156.063056945801,
602         "y": 815.4319158792496,
603         "z": "c2a8a65f.f4fdf8",
604         "wires": [
605             [
606                 "d927155a.039578",
607                 "74ff916a.e9c5b"
608             ]
609         ]
610     },
611     {
612         "id": "1c0a37ea.375948",
613         "type": "execute",
614         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
615         "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['+$id-cunssai+'].sNSSAI'`\" />",
616         "comments": "",
617         "outputs": 1,
618         "x": 2506.5074768066406,
619         "y": 828.431911110878,
620         "z": "c2a8a65f.f4fdf8",
621         "wires": [
622             []
623         ]
624     },
625     {
626         "id": "ecaa22b7.75297",
627         "type": "record",
628         "name": "record",
629         "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`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
630         "comments": "",
631         "outputs": 1,
632         "x": 2365.2853813171387,
633         "y": 861.9874368906021,
634         "z": "c2a8a65f.f4fdf8",
635         "wires": [
636             []
637         ]
638     },
639     {
640         "id": "e298fc24.8e892",
641         "type": "switchNode",
642         "name": "is NSSAI exists",
643         "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
644         "comments": "",
645         "outputs": 1,
646         "x": 2400.8408584594727,
647         "y": 903.209664940834,
648         "z": "c2a8a65f.f4fdf8",
649         "wires": [
650             [
651                 "21911260.2606be"
652             ]
653         ]
654     },
655     {
656         "id": "21911260.2606be",
657         "type": "outcome",
658         "name": "True",
659         "xml": "<outcome value='true'>\n",
660         "comments": "",
661         "outputs": 1,
662         "x": 2590.313056945801,
663         "y": 903.4319940805435,
664         "z": "c2a8a65f.f4fdf8",
665         "wires": [
666             [
667                 "91f70aa6.6b1398"
668             ]
669         ]
670     },
671     {
672         "id": "91f70aa6.6b1398",
673         "type": "block",
674         "name": "block : atomic",
675         "xml": "<block atomic='true'>",
676         "atomic": "true",
677         "comments": "",
678         "outputs": 1,
679         "x": 2810.9375,
680         "y": 901.1874986886978,
681         "z": "c2a8a65f.f4fdf8",
682         "wires": [
683             [
684                 "3ac96f1.5a7c49",
685                 "ed6c8d84.a453d",
686                 "e0580039.6073f",
687                 "95118930.b4f2c8",
688                 "2d01d668.17cdfa",
689                 "3eb0ec20.fcc6e4",
690                 "11949605.39b68a",
691                 "4d5700a7.9e4b9",
692                 "8fd5d47f.d75348"
693             ]
694         ]
695     },
696     {
697         "id": "8fd5d47f.d75348",
698         "type": "record",
699         "name": "record",
700         "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=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
701         "comments": "",
702         "outputs": 1,
703         "x": 3005.9375,
704         "y": 896.1874986886978,
705         "z": "c2a8a65f.f4fdf8",
706         "wires": [
707             []
708         ]
709     },
710     {
711         "id": "4d5700a7.9e4b9",
712         "type": "switchNode",
713         "name": "ransim mounted",
714         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
715         "comments": "",
716         "outputs": 1,
717         "x": 3033.9375,
718         "y": 964.1874986886978,
719         "z": "c2a8a65f.f4fdf8",
720         "wires": [
721             [
722                 "936a32a4.3da42",
723                 "1d0f282f.5a75d8"
724             ]
725         ]
726     },
727     {
728         "id": "936a32a4.3da42",
729         "type": "outcome",
730         "name": "Not Mounted",
731         "xml": "<outcome value='false'>\n",
732         "comments": "",
733         "outputs": 1,
734         "x": 3241.9375,
735         "y": 929.1872545480728,
736         "z": "c2a8a65f.f4fdf8",
737         "wires": [
738             [
739                 "b12f82de.74904"
740             ]
741         ]
742     },
743     {
744         "id": "b12f82de.74904",
745         "type": "execute",
746         "name": "generate patch PLMNInfoListEntry ToNRCellCU",
747         "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",
748         "comments": "",
749         "outputs": 1,
750         "x": 3561.9375,
751         "y": 944.1874986886978,
752         "z": "c2a8a65f.f4fdf8",
753         "wires": [
754             []
755         ]
756     },
757     {
758         "id": "bf71d53a.a976b8",
759         "type": "execute",
760         "name": "generate patchPLMNInfoList.ToNRCellCU",
761         "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`\"/>",
762         "comments": "",
763         "outputs": 1,
764         "x": 3740.437530517578,
765         "y": 1002.1874376535416,
766         "z": "c2a8a65f.f4fdf8",
767         "wires": [
768             []
769         ]
770     },
771     {
772         "id": "6cb878c6.5f97c8",
773         "type": "execute",
774         "name": "populate mountName",
775         "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`\"/>",
776         "comments": "",
777         "outputs": 1,
778         "x": 3684.437931060791,
779         "y": 1055.1876312494278,
780         "z": "c2a8a65f.f4fdf8",
781         "wires": [
782             []
783         ]
784     },
785     {
786         "id": "668c976b.241a38",
787         "type": "block",
788         "name": "ransim  URL",
789         "xml": "<block atomic='true'>",
790         "atomic": "true",
791         "comments": "",
792         "outputs": 1,
793         "x": 3433.4375,
794         "y": 1032.1874986886978,
795         "z": "c2a8a65f.f4fdf8",
796         "wires": [
797             [
798                 "bf71d53a.a976b8",
799                 "6cb878c6.5f97c8"
800             ]
801         ]
802     },
803     {
804         "id": "1d0f282f.5a75d8",
805         "type": "outcome",
806         "name": "Mounted",
807         "xml": "<outcome value='true'>\n",
808         "comments": "",
809         "outputs": 1,
810         "x": 3229.9375,
811         "y": 1031.1874986886978,
812         "z": "c2a8a65f.f4fdf8",
813         "wires": [
814             [
815                 "668c976b.241a38"
816             ]
817         ]
818     },
819     {
820         "id": "3ac96f1.5a7c49",
821         "type": "execute",
822         "name": "read cellCU",
823         "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'`\" />",
824         "comments": "",
825         "outputs": 1,
826         "x": 3000.9375,
827         "y": 1064.1874986886978,
828         "z": "c2a8a65f.f4fdf8",
829         "wires": [
830             []
831         ]
832     },
833     {
834         "id": "2d01d668.17cdfa",
835         "type": "execute",
836         "name": "prepare idGNBCUCPFunction",
837         "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",
838         "comments": "",
839         "outputs": 1,
840         "x": 3027.9375,
841         "y": 1128.1874986886978,
842         "z": "c2a8a65f.f4fdf8",
843         "wires": [
844             []
845         ]
846     },
847     {
848         "id": "3eb0ec20.fcc6e4",
849         "type": "execute",
850         "name": "prepare idNRCellCU",
851         "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",
852         "comments": "",
853         "outputs": 1,
854         "x": 2988.937759399414,
855         "y": 1173.6875272989273,
856         "z": "c2a8a65f.f4fdf8",
857         "wires": [
858             []
859         ]
860     },
861     {
862         "id": "11949605.39b68a",
863         "type": "execute",
864         "name": "prepare mcc",
865         "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   ",
866         "comments": "",
867         "outputs": 1,
868         "x": 2954.6875610351562,
869         "y": 1255.4375549554825,
870         "z": "c2a8a65f.f4fdf8",
871         "wires": [
872             []
873         ]
874     },
875     {
876         "id": "ed6c8d84.a453d",
877         "type": "execute",
878         "name": "prepare mnc",
879         "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`\"/>",
880         "comments": "",
881         "outputs": 1,
882         "x": 2943.43798828125,
883         "y": 1315.6875711679459,
884         "z": "c2a8a65f.f4fdf8",
885         "wires": [
886             []
887         ]
888     },
889     {
890         "id": "e0580039.6073f",
891         "type": "record",
892         "name": "record API params",
893         "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",
894         "comments": "",
895         "outputs": 1,
896         "x": 2939.9375,
897         "y": 1384.1874986886978,
898         "z": "c2a8a65f.f4fdf8",
899         "wires": [
900             []
901         ]
902     },
903     {
904         "id": "95118930.b4f2c8",
905         "type": "execute",
906         "name": "activate PLMNInfoListEntry ToNRCellDU",
907         "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' />",
908         "comments": "",
909         "outputs": 1,
910         "x": 2979.9376068115234,
911         "y": 1447.187471985817,
912         "z": "c2a8a65f.f4fdf8",
913         "wires": [
914             [
915                 "bc546df6.f43d2",
916                 "d876075a.a6f398"
917             ]
918         ]
919     },
920     {
921         "id": "d876075a.a6f398",
922         "type": "failure",
923         "name": "failure",
924         "xml": "<outcome value='failure'>\n",
925         "comments": "",
926         "outputs": 1,
927         "x": 3195.93758392334,
928         "y": 1326.187471985817,
929         "z": "c2a8a65f.f4fdf8",
930         "wires": [
931             [
932                 "ce3d2506.e6dea8"
933             ]
934         ]
935     },
936     {
937         "id": "ce3d2506.e6dea8",
938         "type": "block",
939         "name": "block : atomic",
940         "xml": "<block atomic='true'>",
941         "atomic": "true",
942         "comments": "",
943         "outputs": 1,
944         "x": 3345.937858581543,
945         "y": 1285.1876550912857,
946         "z": "c2a8a65f.f4fdf8",
947         "wires": [
948             [
949                 "dbcb0862.e03178",
950                 "24aba666.9c72aa",
951                 "538f7285.97feac"
952             ]
953         ]
954     },
955     {
956         "id": "24aba666.9c72aa",
957         "type": "set",
958         "name": "set",
959         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
960         "comments": "",
961         "x": 3511.937614440918,
962         "y": 1251.1876550912857,
963         "z": "c2a8a65f.f4fdf8",
964         "wires": []
965     },
966     {
967         "id": "dbcb0862.e03178",
968         "type": "returnFailure",
969         "name": "return failure",
970         "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'/>",
971         "comments": "",
972         "x": 3516.9374923706055,
973         "y": 1346.187716126442,
974         "z": "c2a8a65f.f4fdf8",
975         "wires": []
976     },
977     {
978         "id": "33e06199.cd7fce",
979         "type": "record",
980         "name": "record",
981         "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\"/>",
982         "comments": "",
983         "outputs": 1,
984         "x": 3601.9374618530273,
985         "y": 1439.1878992319107,
986         "z": "c2a8a65f.f4fdf8",
987         "wires": [
988             []
989         ]
990     },
991     {
992         "id": "74ec673a.1a0948",
993         "type": "block",
994         "name": "block : atomic",
995         "xml": "<block atomic='true'>",
996         "atomic": "true",
997         "comments": "",
998         "outputs": 1,
999         "x": 3403.937400817871,
1000         "y": 1442.1877771615982,
1001         "z": "c2a8a65f.f4fdf8",
1002         "wires": [
1003             [
1004                 "33e06199.cd7fce"
1005             ]
1006         ]
1007     },
1008     {
1009         "id": "bc546df6.f43d2",
1010         "type": "success",
1011         "name": "success",
1012         "xml": "<outcome value='success'>\n",
1013         "comments": "",
1014         "outputs": 1,
1015         "x": 3230.937614440918,
1016         "y": 1443.187716126442,
1017         "z": "c2a8a65f.f4fdf8",
1018         "wires": [
1019             [
1020                 "74ec673a.1a0948"
1021             ]
1022         ]
1023     },
1024     {
1025         "id": "c1737e13.d4add",
1026         "type": "execute",
1027         "name": "read sNSSAI from input",
1028         "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
1029         "comments": "",
1030         "outputs": 1,
1031         "x": 753.4375152587891,
1032         "y": 264.0000044107437,
1033         "z": "c2a8a65f.f4fdf8",
1034         "wires": [
1035             []
1036         ]
1037     },
1038     {
1039         "id": "d3bfcb5d.5e0c68",
1040         "type": "block",
1041         "name": "Process CUUP",
1042         "xml": "<block atomic='true'>",
1043         "atomic": "true",
1044         "comments": "",
1045         "outputs": 1,
1046         "x": 745.9375534057617,
1047         "y": 1181.1875244379044,
1048         "z": "c2a8a65f.f4fdf8",
1049         "wires": [
1050             [
1051                 "71fd34c6.f1147c",
1052                 "12958f62.9badf1",
1053                 "f593572e.022718"
1054             ]
1055         ]
1056     },
1057     {
1058         "id": "71fd34c6.f1147c",
1059         "type": "execute",
1060         "name": "read CUUP list size",
1061         "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    ",
1062         "comments": "",
1063         "outputs": 1,
1064         "x": 1076.937557220459,
1065         "y": 1081.1875215768814,
1066         "z": "c2a8a65f.f4fdf8",
1067         "wires": [
1068             []
1069         ]
1070     },
1071     {
1072         "id": "12958f62.9badf1",
1073         "type": "record",
1074         "name": "record",
1075         "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",
1076         "comments": "",
1077         "outputs": 1,
1078         "x": 1033.9376220703125,
1079         "y": 1132.4375239610672,
1080         "z": "c2a8a65f.f4fdf8",
1081         "wires": [
1082             []
1083         ]
1084     },
1085     {
1086         "id": "f593572e.022718",
1087         "type": "for",
1088         "name": "foreach CUUP",
1089         "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
1090         "comments": "",
1091         "outputs": 1,
1092         "x": 1059.437515258789,
1093         "y": 1181.18752348423,
1094         "z": "c2a8a65f.f4fdf8",
1095         "wires": [
1096             [
1097                 "5f700171.8de5"
1098             ]
1099         ]
1100     },
1101     {
1102         "id": "5f700171.8de5",
1103         "type": "block",
1104         "name": "block : process CUUP",
1105         "xml": "<block atomic='true'>",
1106         "atomic": "true",
1107         "comments": "",
1108         "outputs": 1,
1109         "x": 1282.9375610351562,
1110         "y": 1164.4375692605972,
1111         "z": "c2a8a65f.f4fdf8",
1112         "wires": [
1113             [
1114                 "948fba7d.44e2c8",
1115                 "3ad78fe3.15cad",
1116                 "b64d5430.741fb8",
1117                 "9e647c26.5f5ea"
1118             ]
1119         ]
1120     },
1121     {
1122         "id": "948fba7d.44e2c8",
1123         "type": "execute",
1124         "name": "read CUUP id",
1125         "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'`\" />",
1126         "comments": "",
1127         "outputs": 1,
1128         "x": 1526.9375,
1129         "y": 939.6874986886978,
1130         "z": "c2a8a65f.f4fdf8",
1131         "wires": [
1132             []
1133         ]
1134     },
1135     {
1136         "id": "3ad78fe3.15cad",
1137         "type": "record",
1138         "name": "record",
1139         "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",
1140         "comments": "",
1141         "outputs": 1,
1142         "x": 1522.9375,
1143         "y": 993.6874986886978,
1144         "z": "c2a8a65f.f4fdf8",
1145         "wires": [
1146             []
1147         ]
1148     },
1149     {
1150         "id": "b64d5430.741fb8",
1151         "type": "execute",
1152         "name": "read plmninfolist size",
1153         "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'`\" />",
1154         "comments": "",
1155         "outputs": 1,
1156         "x": 1573.9375,
1157         "y": 1058.6874986886978,
1158         "z": "c2a8a65f.f4fdf8",
1159         "wires": [
1160             []
1161         ]
1162     },
1163     {
1164         "id": "9e647c26.5f5ea",
1165         "type": "for",
1166         "name": "foreach pLMNInfo",
1167         "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
1168         "comments": "",
1169         "outputs": 1,
1170         "x": 1559.9375,
1171         "y": 1113.6874986886978,
1172         "z": "c2a8a65f.f4fdf8",
1173         "wires": [
1174             [
1175                 "51ac29dc.473308"
1176             ]
1177         ]
1178     },
1179     {
1180         "id": "aeb42d0d.8b6e2",
1181         "type": "block",
1182         "name": "block : atomic",
1183         "xml": "<block atomic='true'>",
1184         "atomic": "true",
1185         "comments": "",
1186         "outputs": 1,
1187         "x": 1799.0625,
1188         "y": 1110.8749986886978,
1189         "z": "c2a8a65f.f4fdf8",
1190         "wires": [
1191             [
1192                 "623726a6.6ca868",
1193                 "75fa7150.1d74a",
1194                 "8ffa5671.6a9758",
1195                 "d243ac82.e496d",
1196                 "529b3f7c.a9647",
1197                 "c8d88690.37d198"
1198             ]
1199         ]
1200     },
1201     {
1202         "id": "623726a6.6ca868",
1203         "type": "switchNode",
1204         "name": "ransim mounted",
1205         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1206         "comments": "",
1207         "outputs": 1,
1208         "x": 2012.312759399414,
1209         "y": 1111.6251474618912,
1210         "z": "c2a8a65f.f4fdf8",
1211         "wires": [
1212             [
1213                 "1574cbb4.d9d7b4",
1214                 "c27d343d.c9b748"
1215             ]
1216         ]
1217     },
1218     {
1219         "id": "1574cbb4.d9d7b4",
1220         "type": "outcome",
1221         "name": "Not Mounted",
1222         "xml": "<outcome value='false'>\n",
1223         "comments": "",
1224         "outputs": 1,
1225         "x": 2225.312641143799,
1226         "y": 1079.1247659921646,
1227         "z": "c2a8a65f.f4fdf8",
1228         "wires": [
1229             [
1230                 "199eaee.b2dec51"
1231             ]
1232         ]
1233     },
1234     {
1235         "id": "199eaee.b2dec51",
1236         "type": "execute",
1237         "name": "generate patch PLMNInfoListEntry CUUP URL",
1238         "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",
1239         "comments": "",
1240         "outputs": 1,
1241         "x": 2550.3125228881836,
1242         "y": 1034.1250702142715,
1243         "z": "c2a8a65f.f4fdf8",
1244         "wires": [
1245             []
1246         ]
1247     },
1248     {
1249         "id": "35f8c642.f5e20a",
1250         "type": "execute",
1251         "name": "generate patchPLMNInfoList.TogNBCUUP",
1252         "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`\"/>",
1253         "comments": "",
1254         "outputs": 1,
1255         "x": 2661.0620651245117,
1256         "y": 1116.8747812509537,
1257         "z": "c2a8a65f.f4fdf8",
1258         "wires": [
1259             []
1260         ]
1261     },
1262     {
1263         "id": "ccf5dbf1.5ce4e8",
1264         "type": "execute",
1265         "name": "populate mountName",
1266         "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`\"/>",
1267         "comments": "",
1268         "outputs": 1,
1269         "x": 2645.0625858306885,
1270         "y": 1184.875041604042,
1271         "z": "c2a8a65f.f4fdf8",
1272         "wires": [
1273             []
1274         ]
1275     },
1276     {
1277         "id": "104e9bd3.77a704",
1278         "type": "block",
1279         "name": "ransim  URL",
1280         "xml": "<block atomic='true'>",
1281         "atomic": "true",
1282         "comments": "",
1283         "outputs": 1,
1284         "x": 2385.312370300293,
1285         "y": 1175.6247817277908,
1286         "z": "c2a8a65f.f4fdf8",
1287         "wires": [
1288             [
1289                 "35f8c642.f5e20a",
1290                 "ccf5dbf1.5ce4e8"
1291             ]
1292         ]
1293     },
1294     {
1295         "id": "c27d343d.c9b748",
1296         "type": "outcome",
1297         "name": "Mounted",
1298         "xml": "<outcome value='true'>\n",
1299         "comments": "",
1300         "outputs": 1,
1301         "x": 2210.812515258789,
1302         "y": 1164.8750406503677,
1303         "z": "c2a8a65f.f4fdf8",
1304         "wires": [
1305             [
1306                 "104e9bd3.77a704"
1307             ]
1308         ]
1309     },
1310     {
1311         "id": "75fa7150.1d74a",
1312         "type": "execute",
1313         "name": "prepare idGNBCUUPFunction",
1314         "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",
1315         "comments": "",
1316         "outputs": 1,
1317         "x": 2080.972137451172,
1318         "y": 1224.6597052812576,
1319         "z": "c2a8a65f.f4fdf8",
1320         "wires": [
1321             []
1322         ]
1323     },
1324     {
1325         "id": "8ffa5671.6a9758",
1326         "type": "execute",
1327         "name": "patch PLMNInfoListEntry gNBCUUP",
1328         "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' />",
1329         "comments": "",
1330         "outputs": 1,
1331         "x": 2030.3056335449219,
1332         "y": 1338.3263765573502,
1333         "z": "c2a8a65f.f4fdf8",
1334         "wires": [
1335             [
1336                 "aee628aa.1dff38",
1337                 "36758e2f.9d4b12"
1338             ]
1339         ]
1340     },
1341     {
1342         "id": "aee628aa.1dff38",
1343         "type": "failure",
1344         "name": "failure",
1345         "xml": "<outcome value='failure'>\n",
1346         "comments": "",
1347         "outputs": 1,
1348         "x": 2356.7501525878906,
1349         "y": 1301.4377380609512,
1350         "z": "c2a8a65f.f4fdf8",
1351         "wires": [
1352             [
1353                 "6af793d.727876c"
1354             ]
1355         ]
1356     },
1357     {
1358         "id": "36758e2f.9d4b12",
1359         "type": "success",
1360         "name": "success",
1361         "xml": "<outcome value='success'>\n",
1362         "comments": "",
1363         "outputs": 1,
1364         "x": 2350.750030517578,
1365         "y": 1368.437677025795,
1366         "z": "c2a8a65f.f4fdf8",
1367         "wires": [
1368             [
1369                 "4446c6a.38c1b38"
1370             ]
1371         ]
1372     },
1373     {
1374         "id": "6af793d.727876c",
1375         "type": "block",
1376         "name": "block : atomic",
1377         "xml": "<block atomic='true'>",
1378         "atomic": "true",
1379         "comments": "",
1380         "outputs": 1,
1381         "x": 2533.750274658203,
1382         "y": 1290.4376159906387,
1383         "z": "c2a8a65f.f4fdf8",
1384         "wires": [
1385             [
1386                 "2859116f.738e1e",
1387                 "6ecd39bc.1a9398",
1388                 "538f7285.97feac"
1389             ]
1390         ]
1391     },
1392     {
1393         "id": "4446c6a.38c1b38",
1394         "type": "block",
1395         "name": "block : atomic",
1396         "xml": "<block atomic='true'>",
1397         "atomic": "true",
1398         "comments": "",
1399         "outputs": 1,
1400         "x": 2530.750030517578,
1401         "y": 1373.4374939203262,
1402         "z": "c2a8a65f.f4fdf8",
1403         "wires": [
1404             [
1405                 "9b50c133.dc596"
1406             ]
1407         ]
1408     },
1409     {
1410         "id": "9b50c133.dc596",
1411         "type": "record",
1412         "name": "record",
1413         "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\"/>",
1414         "comments": "",
1415         "outputs": 1,
1416         "x": 2683.749725341797,
1417         "y": 1373.4377380609512,
1418         "z": "c2a8a65f.f4fdf8",
1419         "wires": [
1420             []
1421         ]
1422     },
1423     {
1424         "id": "2859116f.738e1e",
1425         "type": "returnFailure",
1426         "name": "return failure",
1427         "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'/>",
1428         "comments": "",
1429         "x": 2738.5002365112305,
1430         "y": 1290.9378954172134,
1431         "z": "c2a8a65f.f4fdf8",
1432         "wires": []
1433     },
1434     {
1435         "id": "6ecd39bc.1a9398",
1436         "type": "set",
1437         "name": "set",
1438         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
1439         "comments": "",
1440         "x": 2743.5004234313965,
1441         "y": 1236.9380313158035,
1442         "z": "c2a8a65f.f4fdf8",
1443         "wires": []
1444     },
1445     {
1446         "id": "739e0e6a.a06dc",
1447         "type": "block",
1448         "name": "Process gNBDU",
1449         "xml": "<block atomic='true'>",
1450         "atomic": "true",
1451         "comments": "",
1452         "outputs": 1,
1453         "x": 740.3125076293945,
1454         "y": 1329.62502348423,
1455         "z": "c2a8a65f.f4fdf8",
1456         "wires": [
1457             [
1458                 "1649d417.1f910c",
1459                 "6b5b1e1d.ae91f",
1460                 "3e526a87.42e9c6"
1461             ]
1462         ]
1463     },
1464     {
1465         "id": "1649d417.1f910c",
1466         "type": "execute",
1467         "name": "read DUlist size",
1468         "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    ",
1469         "comments": "",
1470         "outputs": 1,
1471         "x": 1073.0625305175781,
1472         "y": 1235.6250101327896,
1473         "z": "c2a8a65f.f4fdf8",
1474         "wires": [
1475             []
1476         ]
1477     },
1478     {
1479         "id": "6b5b1e1d.ae91f",
1480         "type": "record",
1481         "name": "record",
1482         "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",
1483         "comments": "",
1484         "outputs": 1,
1485         "x": 1046.062557220459,
1486         "y": 1279.1250711679459,
1487         "z": "c2a8a65f.f4fdf8",
1488         "wires": [
1489             []
1490         ]
1491     },
1492     {
1493         "id": "3e526a87.42e9c6",
1494         "type": "for",
1495         "name": "foreach DU",
1496         "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
1497         "comments": "",
1498         "outputs": 1,
1499         "x": 1058.0625305175781,
1500         "y": 1330.3749986886978,
1501         "z": "c2a8a65f.f4fdf8",
1502         "wires": [
1503             [
1504                 "a9f77ffa.524c5"
1505             ]
1506         ]
1507     },
1508     {
1509         "id": "a9f77ffa.524c5",
1510         "type": "block",
1511         "name": "block : process gNBDU",
1512         "xml": "<block atomic='true'>",
1513         "atomic": "true",
1514         "comments": "",
1515         "outputs": 1,
1516         "x": 1339.0625,
1517         "y": 1331.3749681711197,
1518         "z": "c2a8a65f.f4fdf8",
1519         "wires": [
1520             [
1521                 "25be6f65.10a55",
1522                 "26b26756.cfb158",
1523                 "675f2ac9.3ee7b4",
1524                 "5bce0634.eb0878"
1525             ]
1526         ]
1527     },
1528     {
1529         "id": "25be6f65.10a55",
1530         "type": "execute",
1531         "name": "read DU id",
1532         "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'`\" />",
1533         "comments": "",
1534         "outputs": 1,
1535         "x": 1618.0623245239258,
1536         "y": 1327.37427008152,
1537         "z": "c2a8a65f.f4fdf8",
1538         "wires": [
1539             []
1540         ]
1541     },
1542     {
1543         "id": "26b26756.cfb158",
1544         "type": "record",
1545         "name": "record",
1546         "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",
1547         "comments": "",
1548         "outputs": 1,
1549         "x": 1591.0623245239258,
1550         "y": 1378.37427008152,
1551         "z": "c2a8a65f.f4fdf8",
1552         "wires": [
1553             []
1554         ]
1555     },
1556     {
1557         "id": "675f2ac9.3ee7b4",
1558         "type": "execute",
1559         "name": "read cellDU list size",
1560         "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    ",
1561         "comments": "",
1562         "outputs": 1,
1563         "x": 1632.0623245239258,
1564         "y": 1427.37427008152,
1565         "z": "c2a8a65f.f4fdf8",
1566         "wires": [
1567             []
1568         ]
1569     },
1570     {
1571         "id": "5bce0634.eb0878",
1572         "type": "for",
1573         "name": "for cellDUList",
1574         "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
1575         "comments": "",
1576         "outputs": 1,
1577         "x": 1622.0623245239258,
1578         "y": 1471.37427008152,
1579         "z": "c2a8a65f.f4fdf8",
1580         "wires": [
1581             [
1582                 "794d6324.ce72cc"
1583             ]
1584         ]
1585     },
1586     {
1587         "id": "794d6324.ce72cc",
1588         "type": "block",
1589         "name": "block",
1590         "xml": "<block>\n",
1591         "atomic": "false",
1592         "comments": "",
1593         "outputs": 1,
1594         "x": 1781.812385559082,
1595         "y": 1471.1243950128555,
1596         "z": "c2a8a65f.f4fdf8",
1597         "wires": [
1598             [
1599                 "7333dc3f.3584f4",
1600                 "c357f392.8f3b6",
1601                 "af15dd5.a6c422"
1602             ]
1603         ]
1604     },
1605     {
1606         "id": "7333dc3f.3584f4",
1607         "type": "execute",
1608         "name": "read PLMNList size",
1609         "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'`\" />",
1610         "comments": "",
1611         "outputs": 1,
1612         "x": 2030,
1613         "y": 1470.8749986886978,
1614         "z": "c2a8a65f.f4fdf8",
1615         "wires": [
1616             []
1617         ]
1618     },
1619     {
1620         "id": "c357f392.8f3b6",
1621         "type": "for",
1622         "name": "foreach PLMNInfo",
1623         "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
1624         "comments": "",
1625         "outputs": 1,
1626         "x": 2008.3333740234375,
1627         "y": 1540.8749986886978,
1628         "z": "c2a8a65f.f4fdf8",
1629         "wires": [
1630             [
1631                 "7f76b79e.a609a8"
1632             ]
1633         ]
1634     },
1635     {
1636         "id": "7f76b79e.a609a8",
1637         "type": "block",
1638         "name": "block : atomic",
1639         "xml": "<block atomic='true'>",
1640         "atomic": "true",
1641         "comments": "",
1642         "outputs": 1,
1643         "x": 2193.7221603393555,
1644         "y": 1534.9027086496353,
1645         "z": "c2a8a65f.f4fdf8",
1646         "wires": [
1647             [
1648                 "2a0b3e44.22f042",
1649                 "d2b6fc8.a0801"
1650             ]
1651         ]
1652     },
1653     {
1654         "id": "6d2985a2.a415bc",
1655         "type": "execute",
1656         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
1657         "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['+$id-dunssai+'].sNSSAI'`\" />",
1658         "comments": "",
1659         "outputs": 1,
1660         "x": 2546.277862548828,
1661         "y": 1508.9866495132446,
1662         "z": "c2a8a65f.f4fdf8",
1663         "wires": [
1664             []
1665         ]
1666     },
1667     {
1668         "id": "18e75616.57f2da",
1669         "type": "record",
1670         "name": "record",
1671         "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",
1672         "comments": "",
1673         "outputs": 1,
1674         "x": 2419.6110763549805,
1675         "y": 1551.8753185272217,
1676         "z": "c2a8a65f.f4fdf8",
1677         "wires": [
1678             []
1679         ]
1680     },
1681     {
1682         "id": "244e64a3.dccd7c",
1683         "type": "switchNode",
1684         "name": "is NSSAI exists",
1685         "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
1686         "comments": "",
1687         "outputs": 1,
1688         "x": 2417.7499923706055,
1689         "y": 1592.430830001831,
1690         "z": "c2a8a65f.f4fdf8",
1691         "wires": [
1692             [
1693                 "9b9ba6b.1773458"
1694             ]
1695         ]
1696     },
1697     {
1698         "id": "9b9ba6b.1773458",
1699         "type": "outcome",
1700         "name": "True",
1701         "xml": "<outcome value='true'>\n",
1702         "comments": "",
1703         "outputs": 1,
1704         "x": 2591.2224349975586,
1705         "y": 1598.153151512146,
1706         "z": "c2a8a65f.f4fdf8",
1707         "wires": [
1708             [
1709                 "3c34a824.4a8b78"
1710             ]
1711         ]
1712     },
1713     {
1714         "id": "3c34a824.4a8b78",
1715         "type": "block",
1716         "name": "block : atomic",
1717         "xml": "<block atomic='true'>",
1718         "atomic": "true",
1719         "comments": "",
1720         "outputs": 1,
1721         "x": 2773.250129699707,
1722         "y": 1550.1252218484879,
1723         "z": "c2a8a65f.f4fdf8",
1724         "wires": [
1725             [
1726                 "1111612d.45f1df",
1727                 "ef6a8da8.e0c27",
1728                 "ec70dc8a.269",
1729                 "66d8b8cc.1ef7f8",
1730                 "11ff5d37.9cf913",
1731                 "f49fbb07.7c2b18",
1732                 "3694d5a8.b1ed5a"
1733             ]
1734         ]
1735     },
1736     {
1737         "id": "bb0e0b1d.4af928",
1738         "type": "record",
1739         "name": "record",
1740         "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",
1741         "comments": "",
1742         "outputs": 1,
1743         "x": 2985.7504959106445,
1744         "y": 1518.8752219676971,
1745         "z": "c2a8a65f.f4fdf8",
1746         "wires": [
1747             []
1748         ]
1749     },
1750     {
1751         "id": "1111612d.45f1df",
1752         "type": "switchNode",
1753         "name": "ransim mounted",
1754         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1755         "comments": "",
1756         "outputs": 1,
1757         "x": 2990.0000076293945,
1758         "y": 1576.8752542734146,
1759         "z": "c2a8a65f.f4fdf8",
1760         "wires": [
1761             [
1762                 "6ae15f82.91e01",
1763                 "4b299a62.6808b4"
1764             ]
1765         ]
1766     },
1767     {
1768         "id": "6ae15f82.91e01",
1769         "type": "outcome",
1770         "name": "Not Mounted",
1771         "xml": "<outcome value='false'>\n",
1772         "comments": "",
1773         "outputs": 1,
1774         "x": 3199.250499725342,
1775         "y": 1531.8747955560684,
1776         "z": "c2a8a65f.f4fdf8",
1777         "wires": [
1778             [
1779                 "1bac1a75.adf2a6"
1780             ]
1781         ]
1782     },
1783     {
1784         "id": "4b299a62.6808b4",
1785         "type": "outcome",
1786         "name": "Mounted",
1787         "xml": "<outcome value='true'>\n",
1788         "comments": "",
1789         "outputs": 1,
1790         "x": 3194.250499725342,
1791         "y": 1593.3754984140396,
1792         "z": "c2a8a65f.f4fdf8",
1793         "wires": [
1794             [
1795                 "d1986902.69ea38"
1796             ]
1797         ]
1798     },
1799     {
1800         "id": "1bac1a75.adf2a6",
1801         "type": "execute",
1802         "name": "generate patch PLMNInfoListEntry ToNRCellDU",
1803         "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",
1804         "comments": "",
1805         "outputs": 1,
1806         "x": 3545.500259399414,
1807         "y": 1530.625252366066,
1808         "z": "c2a8a65f.f4fdf8",
1809         "wires": [
1810             []
1811         ]
1812     },
1813     {
1814         "id": "d1986902.69ea38",
1815         "type": "block",
1816         "name": "ransim  URL",
1817         "xml": "<block atomic='true'>",
1818         "atomic": "true",
1819         "comments": "",
1820         "outputs": 1,
1821         "x": 3371.7500762939453,
1822         "y": 1599.875132203102,
1823         "z": "c2a8a65f.f4fdf8",
1824         "wires": [
1825             [
1826                 "7d11036e.cd195c",
1827                 "461385d5.ef603c"
1828             ]
1829         ]
1830     },
1831     {
1832         "id": "7d11036e.cd195c",
1833         "type": "execute",
1834         "name": "generate patchPLMNInfoList.ToNRCellDU",
1835         "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`\"/>",
1836         "comments": "",
1837         "outputs": 1,
1838         "x": 3653.750442504883,
1839         "y": 1588.625132203102,
1840         "z": "c2a8a65f.f4fdf8",
1841         "wires": [
1842             []
1843         ]
1844     },
1845     {
1846         "id": "461385d5.ef603c",
1847         "type": "execute",
1848         "name": "populate mountName",
1849         "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`\"/>",
1850         "comments": "",
1851         "outputs": 1,
1852         "x": 3604.000747680664,
1853         "y": 1649.1251636743546,
1854         "z": "c2a8a65f.f4fdf8",
1855         "wires": [
1856             []
1857         ]
1858     },
1859     {
1860         "id": "ef6a8da8.e0c27",
1861         "type": "execute",
1862         "name": "prepare idGNBDUFunction",
1863         "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",
1864         "comments": "",
1865         "outputs": 1,
1866         "x": 3036.8750610351562,
1867         "y": 1703.6874366998672,
1868         "z": "c2a8a65f.f4fdf8",
1869         "wires": [
1870             []
1871         ]
1872     },
1873     {
1874         "id": "ec70dc8a.269",
1875         "type": "execute",
1876         "name": "prepare idNRCellDU",
1877         "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.cellDULocalId`\"/>\n",
1878         "comments": "",
1879         "outputs": 1,
1880         "x": 3009.875244140625,
1881         "y": 1758.6874386072159,
1882         "z": "c2a8a65f.f4fdf8",
1883         "wires": [
1884             []
1885         ]
1886     },
1887     {
1888         "id": "66d8b8cc.1ef7f8",
1889         "type": "execute",
1890         "name": "prepare mcc",
1891         "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   ",
1892         "comments": "",
1893         "outputs": 1,
1894         "x": 2989.8749389648438,
1895         "y": 1821.6877447366714,
1896         "z": "c2a8a65f.f4fdf8",
1897         "wires": [
1898             []
1899         ]
1900     },
1901     {
1902         "id": "11ff5d37.9cf913",
1903         "type": "execute",
1904         "name": "prepare mnc",
1905         "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`\"/>",
1906         "comments": "",
1907         "outputs": 1,
1908         "x": 2991.8751831054688,
1909         "y": 1879.6873775720596,
1910         "z": "c2a8a65f.f4fdf8",
1911         "wires": [
1912             []
1913         ]
1914     },
1915     {
1916         "id": "f49fbb07.7c2b18",
1917         "type": "record",
1918         "name": "record API params",
1919         "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 cellDU 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",
1920         "comments": "",
1921         "outputs": 1,
1922         "x": 2996.8748168945312,
1923         "y": 1947.6878687143326,
1924         "z": "c2a8a65f.f4fdf8",
1925         "wires": [
1926             []
1927         ]
1928     },
1929     {
1930         "id": "3694d5a8.b1ed5a",
1931         "type": "execute",
1932         "name": "patch PLMNInfoListEntry ToNRCellDU",
1933         "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' />",
1934         "comments": "",
1935         "outputs": 1,
1936         "x": 3053.8748474121094,
1937         "y": 2022.9372545480728,
1938         "z": "c2a8a65f.f4fdf8",
1939         "wires": [
1940             [
1941                 "42db944d.8c0fbc",
1942                 "6035db45.1d73f4"
1943             ]
1944         ]
1945     },
1946     {
1947         "id": "6035db45.1d73f4",
1948         "type": "failure",
1949         "name": "failure",
1950         "xml": "<outcome value='failure'>\n",
1951         "comments": "",
1952         "outputs": 1,
1953         "x": 3320.8748474121094,
1954         "y": 1922.9372545480728,
1955         "z": "c2a8a65f.f4fdf8",
1956         "wires": [
1957             [
1958                 "adfca1f7.0d0c1"
1959             ]
1960         ]
1961     },
1962     {
1963         "id": "adfca1f7.0d0c1",
1964         "type": "block",
1965         "name": "block : atomic",
1966         "xml": "<block atomic='true'>",
1967         "atomic": "true",
1968         "comments": "",
1969         "outputs": 1,
1970         "x": 3478.8750915527344,
1971         "y": 1870.9372545480728,
1972         "z": "c2a8a65f.f4fdf8",
1973         "wires": [
1974             [
1975                 "e7089cb1.1a41d",
1976                 "1274c7c0.6942b8",
1977                 "538f7285.97feac"
1978             ]
1979         ]
1980     },
1981     {
1982         "id": "1274c7c0.6942b8",
1983         "type": "set",
1984         "name": "set",
1985         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
1986         "comments": "",
1987         "x": 3644.8748474121094,
1988         "y": 1836.9372545480728,
1989         "z": "c2a8a65f.f4fdf8",
1990         "wires": []
1991     },
1992     {
1993         "id": "e7089cb1.1a41d",
1994         "type": "returnFailure",
1995         "name": "return failure",
1996         "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'/>",
1997         "comments": "",
1998         "x": 3649.874725341797,
1999         "y": 1931.937315583229,
2000         "z": "c2a8a65f.f4fdf8",
2001         "wires": []
2002     },
2003     {
2004         "id": "b2bdee8f.d0e01",
2005         "type": "record",
2006         "name": "record",
2007         "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\"/>",
2008         "comments": "",
2009         "outputs": 1,
2010         "x": 3633.874725341797,
2011         "y": 2017.9374986886978,
2012         "z": "c2a8a65f.f4fdf8",
2013         "wires": [
2014             []
2015         ]
2016     },
2017     {
2018         "id": "d6013d07.92ca5",
2019         "type": "block",
2020         "name": "block : atomic",
2021         "xml": "<block atomic='true'>",
2022         "atomic": "true",
2023         "comments": "",
2024         "outputs": 1,
2025         "x": 3487.8748474121094,
2026         "y": 2018.9372571706772,
2027         "z": "c2a8a65f.f4fdf8",
2028         "wires": [
2029             [
2030                 "b2bdee8f.d0e01"
2031             ]
2032         ]
2033     },
2034     {
2035         "id": "42db944d.8c0fbc",
2036         "type": "success",
2037         "name": "success",
2038         "xml": "<outcome value='success'>\n",
2039         "comments": "",
2040         "outputs": 1,
2041         "x": 3319.8748474121094,
2042         "y": 2021.9372545480728,
2043         "z": "c2a8a65f.f4fdf8",
2044         "wires": [
2045             [
2046                 "d6013d07.92ca5"
2047             ]
2048         ]
2049     },
2050     {
2051         "id": "b7134c47.dc4b9",
2052         "type": "execute",
2053         "name": "get PLMNId URL",
2054         "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`\"/>",
2055         "comments": "",
2056         "outputs": 1,
2057         "x": 701.5625305175781,
2058         "y": 662.4375101327896,
2059         "z": "c2a8a65f.f4fdf8",
2060         "wires": [
2061             []
2062         ]
2063     },
2064     {
2065         "id": "66c6e126.b5c0e",
2066         "type": "record",
2067         "name": "record",
2068         "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",
2069         "comments": "",
2070         "outputs": 1,
2071         "x": 675.0625305175781,
2072         "y": 717.937541604042,
2073         "z": "c2a8a65f.f4fdf8",
2074         "wires": [
2075             []
2076         ]
2077     },
2078     {
2079         "id": "1bdc1194.f7cbee",
2080         "type": "execute",
2081         "name": "Get PLMN from Sliceprofile id",
2082         "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\"/>",
2083         "comments": "",
2084         "outputs": 1,
2085         "x": 743.8125152587891,
2086         "y": 771.4374777078629,
2087         "z": "c2a8a65f.f4fdf8",
2088         "wires": [
2089             []
2090         ]
2091     },
2092     {
2093         "id": "ba7f558f.10b808",
2094         "type": "execute",
2095         "name": "read PLMN Id",
2096         "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",
2097         "comments": "",
2098         "outputs": 1,
2099         "x": 696.8125076293945,
2100         "y": 810.5487190485001,
2101         "z": "c2a8a65f.f4fdf8",
2102         "wires": [
2103             []
2104         ]
2105     },
2106     {
2107         "id": "eac38896.d67558",
2108         "type": "execute",
2109         "name": "find MCC",
2110         "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\" />",
2111         "comments": "",
2112         "outputs": 1,
2113         "x": 1256.284782409668,
2114         "y": 789.5765886306763,
2115         "z": "c2a8a65f.f4fdf8",
2116         "wires": [
2117             []
2118         ]
2119     },
2120     {
2121         "id": "1d969c9b.373d23",
2122         "type": "execute",
2123         "name": "find MNC",
2124         "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\" />",
2125         "comments": "",
2126         "outputs": 1,
2127         "x": 1266.951530456543,
2128         "y": 827.3542985916138,
2129         "z": "c2a8a65f.f4fdf8",
2130         "wires": [
2131             []
2132         ]
2133     },
2134     {
2135         "id": "c6c21f7.66307e",
2136         "type": "record",
2137         "name": "record",
2138         "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`\"/>",
2139         "comments": "",
2140         "outputs": 1,
2141         "x": 668.1671524047852,
2142         "y": 921.1254831552505,
2143         "z": "c2a8a65f.f4fdf8",
2144         "wires": [
2145             []
2146         ]
2147     },
2148     {
2149         "id": "538f7285.97feac",
2150         "type": "block",
2151         "name": "block : SO Response",
2152         "xml": "<block atomic='true'>",
2153         "atomic": "true",
2154         "comments": "",
2155         "outputs": 1,
2156         "x": 4122.8125,
2157         "y": 1669.4910875558853,
2158         "z": "c2a8a65f.f4fdf8",
2159         "wires": [
2160             [
2161                 "6403be78.5d82",
2162                 "35baae05.3737a2",
2163                 "4f35fe3d.ca573"
2164             ]
2165         ]
2166     },
2167     {
2168         "id": "6403be78.5d82",
2169         "type": "set",
2170         "name": "set tmp variables for SO response",
2171         "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=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n",
2172         "comments": "",
2173         "x": 4501.956283569336,
2174         "y": 1527.1050745248795,
2175         "z": "c2a8a65f.f4fdf8",
2176         "wires": []
2177     },
2178     {
2179         "id": "35baae05.3737a2",
2180         "type": "record",
2181         "name": "record RestAPI parms",
2182         "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`\" />",
2183         "comments": "",
2184         "outputs": 1,
2185         "x": 4505.526741027832,
2186         "y": 1592.7771612405777,
2187         "z": "c2a8a65f.f4fdf8",
2188         "wires": [
2189             []
2190         ]
2191     },
2192     {
2193         "id": "4f35fe3d.ca573",
2194         "type": "execute",
2195         "name": "Send to SO",
2196         "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-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
2197         "comments": "",
2198         "outputs": 1,
2199         "x": 4431.955307006836,
2200         "y": 1671.2057358026505,
2201         "z": "c2a8a65f.f4fdf8",
2202         "wires": [
2203             [
2204                 "55bab65f.15fba8",
2205                 "14008385.7c0d9c"
2206             ]
2207         ]
2208     },
2209     {
2210         "id": "55bab65f.15fba8",
2211         "type": "failure",
2212         "name": "failure",
2213         "xml": "<outcome value='failure'>\n",
2214         "comments": "",
2215         "outputs": 1,
2216         "x": 4669.383865356445,
2217         "y": 1653.9197870492935,
2218         "z": "c2a8a65f.f4fdf8",
2219         "wires": [
2220             [
2221                 "666823a.cd278dc"
2222             ]
2223         ]
2224     },
2225     {
2226         "id": "666823a.cd278dc",
2227         "type": "block",
2228         "name": "block",
2229         "xml": "<block>\n",
2230         "atomic": "false",
2231         "comments": "",
2232         "outputs": 1,
2233         "x": 4861.812232971191,
2234         "y": 1644.6342245340347,
2235         "z": "c2a8a65f.f4fdf8",
2236         "wires": [
2237             [
2238                 "ac397400.1ea37"
2239             ]
2240         ]
2241     },
2242     {
2243         "id": "ac397400.1ea37",
2244         "type": "returnFailure",
2245         "name": "return failure",
2246         "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\" />",
2247         "comments": "",
2248         "x": 5063.5261154174805,
2249         "y": 1633.348336338997,
2250         "z": "c2a8a65f.f4fdf8",
2251         "wires": []
2252     },
2253     {
2254         "id": "13a85374.dc470d",
2255         "type": "record",
2256         "name": "record",
2257         "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 \"/>",
2258         "comments": "",
2259         "outputs": 1,
2260         "x": 5057.66939163208,
2261         "y": 1708.3484026193619,
2262         "z": "c2a8a65f.f4fdf8",
2263         "wires": [
2264             []
2265         ]
2266     },
2267     {
2268         "id": "c5e0bcf5.1da6a",
2269         "type": "block",
2270         "name": "block",
2271         "xml": "<block>\n",
2272         "atomic": "false",
2273         "comments": "",
2274         "outputs": 1,
2275         "x": 4873.669242858887,
2276         "y": 1713.7768446207047,
2277         "z": "c2a8a65f.f4fdf8",
2278         "wires": [
2279             [
2280                 "13a85374.dc470d"
2281             ]
2282         ]
2283     },
2284     {
2285         "id": "14008385.7c0d9c",
2286         "type": "success",
2287         "name": "success",
2288         "xml": "<outcome value='success'>\n",
2289         "comments": "",
2290         "outputs": 1,
2291         "x": 4663.669189453125,
2292         "y": 1717.634083390236,
2293         "z": "c2a8a65f.f4fdf8",
2294         "wires": [
2295             [
2296                 "c5e0bcf5.1da6a"
2297             ]
2298         ]
2299     },
2300     {
2301         "id": "d112a202.14d86",
2302         "type": "block",
2303         "name": "SO Response",
2304         "xml": "<block atomic='true'>",
2305         "atomic": "true",
2306         "comments": "",
2307         "outputs": 1,
2308         "x": 670.3125,
2309         "y": 1646.6339098215103,
2310         "z": "c2a8a65f.f4fdf8",
2311         "wires": [
2312             [
2313                 "be8548bb.49dc68",
2314                 "a7b79856.9ac328",
2315                 "3213abee.d1bdf4",
2316                 "12ab8339.c11cad"
2317             ]
2318         ]
2319     },
2320     {
2321         "id": "3213abee.d1bdf4",
2322         "type": "set",
2323         "name": "set tmp variables for SO response",
2324         "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",
2325         "comments": "",
2326         "x": 950.3136444091797,
2327         "y": 1496.5333944559097,
2328         "z": "c2a8a65f.f4fdf8",
2329         "wires": []
2330     },
2331     {
2332         "id": "be8548bb.49dc68",
2333         "type": "record",
2334         "name": "record SO reply parms",
2335         "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`\" />",
2336         "comments": "",
2337         "outputs": 1,
2338         "x": 947.3124771118164,
2339         "y": 1650.634092926979,
2340         "z": "c2a8a65f.f4fdf8",
2341         "wires": [
2342             []
2343         ]
2344     },
2345     {
2346         "id": "a7b79856.9ac328",
2347         "type": "execute",
2348         "name": "Send to SO",
2349         "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-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
2350         "comments": "",
2351         "outputs": 1,
2352         "x": 816.3125762939453,
2353         "y": 1767.633797287941,
2354         "z": "c2a8a65f.f4fdf8",
2355         "wires": [
2356             [
2357                 "d43e359a.459548",
2358                 "d7154949.62a598"
2359             ]
2360         ]
2361     },
2362     {
2363         "id": "d43e359a.459548",
2364         "type": "failure",
2365         "name": "failure",
2366         "xml": "<outcome value='failure'>\n",
2367         "comments": "",
2368         "outputs": 1,
2369         "x": 981.3125762939453,
2370         "y": 1747.6337963342667,
2371         "z": "c2a8a65f.f4fdf8",
2372         "wires": [
2373             [
2374                 "db93be20.d4c9a"
2375             ]
2376         ]
2377     },
2378     {
2379         "id": "d7154949.62a598",
2380         "type": "success",
2381         "name": "success",
2382         "xml": "<outcome value='success'>\n",
2383         "comments": "",
2384         "outputs": 1,
2385         "x": 973.3124694824219,
2386         "y": 1820.6337467432022,
2387         "z": "c2a8a65f.f4fdf8",
2388         "wires": [
2389             [
2390                 "1cdebc40.cea3d4"
2391             ]
2392         ]
2393     },
2394     {
2395         "id": "1cdebc40.cea3d4",
2396         "type": "block",
2397         "name": "block",
2398         "xml": "<block>\n",
2399         "atomic": "false",
2400         "comments": "",
2401         "outputs": 1,
2402         "x": 1119.312313079834,
2403         "y": 1825.6338554620743,
2404         "z": "c2a8a65f.f4fdf8",
2405         "wires": [
2406             [
2407                 "6a559c9e.74ffb4"
2408             ]
2409         ]
2410     },
2411     {
2412         "id": "db93be20.d4c9a",
2413         "type": "block",
2414         "name": "block",
2415         "xml": "<block>\n",
2416         "atomic": "false",
2417         "comments": "",
2418         "outputs": 1,
2419         "x": 1130.3124771118164,
2420         "y": 1743.6339317560196,
2421         "z": "c2a8a65f.f4fdf8",
2422         "wires": [
2423             [
2424                 "ff299a70.cace58",
2425                 "e497bce3.f3499"
2426             ]
2427         ]
2428     },
2429     {
2430         "id": "ff299a70.cace58",
2431         "type": "returnFailure",
2432         "name": "return failure",
2433         "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\" />",
2434         "comments": "",
2435         "x": 1277.3120956420898,
2436         "y": 1754.6336733102798,
2437         "z": "c2a8a65f.f4fdf8",
2438         "wires": []
2439     },
2440     {
2441         "id": "6a559c9e.74ffb4",
2442         "type": "record",
2443         "name": "record",
2444         "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 \"/>",
2445         "comments": "",
2446         "outputs": 1,
2447         "x": 1280.3122329711914,
2448         "y": 1831.6337476968765,
2449         "z": "c2a8a65f.f4fdf8",
2450         "wires": [
2451             []
2452         ]
2453     },
2454     {
2455         "id": "e497bce3.f3499",
2456         "type": "set",
2457         "name": "set",
2458         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
2459         "comments": "",
2460         "x": 1264.8227043151855,
2461         "y": 1658.6231647729874,
2462         "z": "c2a8a65f.f4fdf8",
2463         "wires": []
2464     },
2465     {
2466         "id": "12ab8339.c11cad",
2467         "type": "execute",
2468         "name": "generate URL for SO Callback",
2469         "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`\"/>",
2470         "comments": "",
2471         "outputs": 1,
2472         "x": 969.652099609375,
2473         "y": 1586.6192470788956,
2474         "z": "c2a8a65f.f4fdf8",
2475         "wires": [
2476             []
2477         ]
2478     },
2479     {
2480         "id": "cebd9071.34ebd",
2481         "type": "returnSuccess",
2482         "name": "return success",
2483         "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\" />",
2484         "comments": "",
2485         "x": 327.8125,
2486         "y": 1163.0624986886978,
2487         "z": "c2a8a65f.f4fdf8",
2488         "wires": []
2489     },
2490     {
2491         "id": "1cb02382.300dbc",
2492         "type": "execute",
2493         "name": "read RIC list size",
2494         "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
2495         "comments": "",
2496         "outputs": 1,
2497         "x": 696.8055038452148,
2498         "y": 953.7221685647964,
2499         "z": "c2a8a65f.f4fdf8",
2500         "wires": [
2501             []
2502         ]
2503     },
2504     {
2505         "id": "8353a8a3.3990f8",
2506         "type": "record",
2507         "name": "record",
2508         "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=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n",
2509         "comments": "",
2510         "outputs": 1,
2511         "x": 1911.2499084472656,
2512         "y": 745.3890291452408,
2513         "z": "c2a8a65f.f4fdf8",
2514         "wires": [
2515             []
2516         ]
2517     },
2518     {
2519         "id": "65ede1f4.b65c2",
2520         "type": "record",
2521         "name": "record",
2522         "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=\"pLMNInfoList_length \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
2523         "comments": "",
2524         "outputs": 1,
2525         "x": 1911.2499465942383,
2526         "y": 836.5000387430191,
2527         "z": "c2a8a65f.f4fdf8",
2528         "wires": [
2529             []
2530         ]
2531     },
2532     {
2533         "id": "43b3554a.d72b5c",
2534         "type": "record",
2535         "name": "record",
2536         "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=\"PLMNInfo exists\"/>\n\n",
2537         "comments": "",
2538         "outputs": 1,
2539         "x": 2371.2498474121094,
2540         "y": 783.7222048044205,
2541         "z": "c2a8a65f.f4fdf8",
2542         "wires": [
2543             []
2544         ]
2545     },
2546     {
2547         "id": "ae3d93e1.a7a45",
2548         "type": "execute",
2549         "name": "read nearRTRICID",
2550         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`\" />\n    ",
2551         "comments": "",
2552         "outputs": 1,
2553         "x": 843.7499923706055,
2554         "y": 986.2221380472183,
2555         "z": "c2a8a65f.f4fdf8",
2556         "wires": [
2557             []
2558         ]
2559     },
2560     {
2561         "id": "3d251ba4.ddf994",
2562         "type": "block",
2563         "name": "block : atomic",
2564         "xml": "<block atomic='true'>",
2565         "atomic": "true",
2566         "comments": "",
2567         "outputs": 1,
2568         "x": 651.5277404785156,
2569         "y": 1002.888830780983,
2570         "z": "c2a8a65f.f4fdf8",
2571         "wires": [
2572             [
2573                 "ae3d93e1.a7a45"
2574             ]
2575         ]
2576     },
2577     {
2578         "id": "d243ac82.e496d",
2579         "type": "execute",
2580         "name": "prepare nearRTRICId",
2581         "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=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
2582         "comments": "",
2583         "outputs": 1,
2584         "x": 2040.4165954589844,
2585         "y": 1188.4444338083267,
2586         "z": "c2a8a65f.f4fdf8",
2587         "wires": [
2588             []
2589         ]
2590     },
2591     {
2592         "id": "529b3f7c.a9647",
2593         "type": "execute",
2594         "name": "prepare mcc",
2595         "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=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n",
2596         "comments": "",
2597         "outputs": 1,
2598         "x": 2037.0832214355469,
2599         "y": 1265.1110597848892,
2600         "z": "c2a8a65f.f4fdf8",
2601         "wires": [
2602             []
2603         ]
2604     },
2605     {
2606         "id": "c8d88690.37d198",
2607         "type": "execute",
2608         "name": "prepare mnc",
2609         "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=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>\n",
2610         "comments": "",
2611         "outputs": 1,
2612         "x": 2033.7498474121094,
2613         "y": 1298.4444338083267,
2614         "z": "c2a8a65f.f4fdf8",
2615         "wires": [
2616             []
2617         ]
2618     },
2619     {
2620         "id": "ec2b70ec.e4dcb",
2621         "type": "execute",
2622         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
2623         "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 +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+$id-cuupnssai+'].sNSSAI'`\" />",
2624         "comments": "",
2625         "outputs": 1,
2626         "x": 2106.5834197998047,
2627         "y": 1002.6666955947876,
2628         "z": "c2a8a65f.f4fdf8",
2629         "wires": [
2630             []
2631         ]
2632     },
2633     {
2634         "id": "72b414ad.1d2d0c",
2635         "type": "record",
2636         "name": "record",
2637         "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`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
2638         "comments": "",
2639         "outputs": 1,
2640         "x": 1963.4726104736328,
2641         "y": 1042.444465637207,
2642         "z": "c2a8a65f.f4fdf8",
2643         "wires": [
2644             []
2645         ]
2646     },
2647     {
2648         "id": "720819d9.bc5d78",
2649         "type": "switchNode",
2650         "name": "is NSSAI exists",
2651         "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
2652         "comments": "",
2653         "outputs": 1,
2654         "x": 1966.6945724487305,
2655         "y": 1077.5555658340454,
2656         "z": "c2a8a65f.f4fdf8",
2657         "wires": [
2658             [
2659                 "ce68019d.d9b15",
2660                 "4c5e2da7.e835f4"
2661             ]
2662         ]
2663     },
2664     {
2665         "id": "ce68019d.d9b15",
2666         "type": "outcome",
2667         "name": "True",
2668         "xml": "<outcome value='true'>\n",
2669         "comments": "",
2670         "outputs": 1,
2671         "x": 2149.3891792297363,
2672         "y": 1047.6667709350586,
2673         "z": "c2a8a65f.f4fdf8",
2674         "wires": [
2675             [
2676                 "aeb42d0d.8b6e2"
2677             ]
2678         ]
2679     },
2680     {
2681         "id": "51ac29dc.473308",
2682         "type": "block",
2683         "name": "block : atomic",
2684         "xml": "<block atomic='true'>",
2685         "atomic": "true",
2686         "comments": "",
2687         "outputs": 1,
2688         "x": 1765.6943054199219,
2689         "y": 1030.6666017770767,
2690         "z": "c2a8a65f.f4fdf8",
2691         "wires": [
2692             [
2693                 "90abe626.d80828",
2694                 "cf5bb551.50bc48",
2695                 "567e4ef1.2569d"
2696             ]
2697         ]
2698     },
2699     {
2700         "id": "4c5e2da7.e835f4",
2701         "type": "outcome",
2702         "name": "false",
2703         "xml": "<outcome value='false'>\n",
2704         "comments": "",
2705         "outputs": 1,
2706         "x": 2284.027576446533,
2707         "y": 1040.3333053588867,
2708         "z": "c2a8a65f.f4fdf8",
2709         "wires": [
2710             [
2711                 "9ef2cf06.62985"
2712             ]
2713         ]
2714     },
2715     {
2716         "id": "9ef2cf06.62985",
2717         "type": "record",
2718         "name": "record",
2719         "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 doesn't match\"/>\n\n",
2720         "comments": "",
2721         "outputs": 1,
2722         "x": 2479.0277366638184,
2723         "y": 987.3332592248917,
2724         "z": "c2a8a65f.f4fdf8",
2725         "wires": [
2726             []
2727         ]
2728     },
2729     {
2730         "id": "f07a1efc.c684b",
2731         "type": "execute",
2732         "name": "read cell id",
2733         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
2734         "comments": "",
2735         "outputs": 1,
2736         "x": 1930.1388397216797,
2737         "y": 692.8888412714005,
2738         "z": "c2a8a65f.f4fdf8",
2739         "wires": [
2740             []
2741         ]
2742     },
2743     {
2744         "id": "af15dd5.a6c422",
2745         "type": "execute",
2746         "name": "read cellDU",
2747         "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 +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
2748         "comments": "",
2749         "outputs": 1,
2750         "x": 2009.3055114746094,
2751         "y": 1396.2221437692642,
2752         "z": "c2a8a65f.f4fdf8",
2753         "wires": [
2754             []
2755         ]
2756     },
2757     {
2758         "id": "23a3ebb3.2e07c4",
2759         "type": "record",
2760         "name": "record",
2761         "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=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n",
2762         "comments": "",
2763         "outputs": 1,
2764         "x": 2008.680191040039,
2765         "y": 1431.5345245599747,
2766         "z": "c2a8a65f.f4fdf8",
2767         "wires": [
2768             []
2769         ]
2770     },
2771     {
2772         "id": "9643217e.8cc45",
2773         "type": "switchNode",
2774         "name": "check the action",
2775         "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
2776         "comments": "",
2777         "outputs": 1,
2778         "x": 712.9166641235352,
2779         "y": 440.6666451692581,
2780         "z": "c2a8a65f.f4fdf8",
2781         "wires": [
2782             [
2783                 "a99d2439.51cb18",
2784                 "87d1a970.979638"
2785             ]
2786         ]
2787     },
2788     {
2789         "id": "a99d2439.51cb18",
2790         "type": "outcome",
2791         "name": "True",
2792         "xml": "<outcome value='true'>\n",
2793         "comments": "",
2794         "outputs": 1,
2795         "x": 940.4166603088379,
2796         "y": 386.222248673439,
2797         "z": "c2a8a65f.f4fdf8",
2798         "wires": [
2799             [
2800                 "bcdf9c78.c8fb1"
2801             ]
2802         ]
2803     },
2804     {
2805         "id": "87d1a970.979638",
2806         "type": "outcome",
2807         "name": "False",
2808         "xml": "<outcome value='false'>\n",
2809         "comments": "",
2810         "outputs": 1,
2811         "x": 942.6388053894043,
2812         "y": 445.11113607883453,
2813         "z": "c2a8a65f.f4fdf8",
2814         "wires": [
2815             [
2816                 "4dba95dc.4decdc"
2817             ]
2818         ]
2819     },
2820     {
2821         "id": "9c35bb65.560c98",
2822         "type": "set",
2823         "name": "set status as ACTIVE",
2824         "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
2825         "comments": "",
2826         "x": 1394.8612327575684,
2827         "y": 356.222212433815,
2828         "z": "c2a8a65f.f4fdf8",
2829         "wires": []
2830     },
2831     {
2832         "id": "1ca88a0f.7c8306",
2833         "type": "set",
2834         "name": "set status as INACTIVE",
2835         "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
2836         "comments": "",
2837         "x": 1369.305576324463,
2838         "y": 389.55556643009186,
2839         "z": "c2a8a65f.f4fdf8",
2840         "wires": []
2841     },
2842     {
2843         "id": "bcdf9c78.c8fb1",
2844         "type": "block",
2845         "name": "block : atomic",
2846         "xml": "<block atomic='true'>",
2847         "atomic": "true",
2848         "comments": "",
2849         "outputs": 1,
2850         "x": 1150.416660308838,
2851         "y": 373.9999586343765,
2852         "z": "c2a8a65f.f4fdf8",
2853         "wires": [
2854             [
2855                 "9c35bb65.560c98"
2856             ]
2857         ]
2858     },
2859     {
2860         "id": "4dba95dc.4decdc",
2861         "type": "block",
2862         "name": "block : atomic",
2863         "xml": "<block atomic='true'>",
2864         "atomic": "true",
2865         "comments": "",
2866         "outputs": 1,
2867         "x": 1147.0834045410156,
2868         "y": 430.66668713092804,
2869         "z": "c2a8a65f.f4fdf8",
2870         "wires": [
2871             [
2872                 "1ca88a0f.7c8306"
2873             ]
2874         ]
2875     },
2876     {
2877         "id": "5841dea.bd55b2",
2878         "type": "block",
2879         "name": "block : atomic",
2880         "xml": "<block atomic=\"true\">",
2881         "atomic": "true",
2882         "outputs": 1,
2883         "x": 717,
2884         "y": 871.75,
2885         "z": "c2a8a65f.f4fdf8",
2886         "wires": [
2887             [
2888                 "a454dbd9.309b08",
2889                 "e2aeea87.1a49f8"
2890             ]
2891         ]
2892     },
2893     {
2894         "id": "a454dbd9.309b08",
2895         "type": "execute",
2896         "name": "split pLMNId",
2897         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"regex\" value=\"-\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
2898         "comments": "",
2899         "outputs": 1,
2900         "x": 978.2724990844727,
2901         "y": 754.262303352356,
2902         "z": "c2a8a65f.f4fdf8",
2903         "wires": [
2904             []
2905         ]
2906     },
2907     {
2908         "id": "e2aeea87.1a49f8",
2909         "type": "set",
2910         "name": "set mcc & mnc Variables",
2911         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
2912         "comments": "",
2913         "x": 1008.7270889282227,
2914         "y": 801.3077440261841,
2915         "z": "c2a8a65f.f4fdf8",
2916         "wires": []
2917     },
2918     {
2919         "id": "d927155a.039578",
2920         "type": "execute",
2921         "name": "read snssailist size",
2922         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+$id-cuplmn+'].sNSSAI_length'`\" />",
2923         "comments": "",
2924         "outputs": 1,
2925         "x": 2368.75,
2926         "y": 711,
2927         "z": "c2a8a65f.f4fdf8",
2928         "wires": [
2929             []
2930         ]
2931     },
2932     {
2933         "id": "74ff916a.e9c5b",
2934         "type": "for",
2935         "name": "foreach snssai",
2936         "xml": "<for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >\n",
2937         "comments": "",
2938         "outputs": 1,
2939         "x": 2376.75,
2940         "y": 751,
2941         "z": "c2a8a65f.f4fdf8",
2942         "wires": [
2943             [
2944                 "f7606cb5.7a1c7"
2945             ]
2946         ]
2947     },
2948     {
2949         "id": "f7606cb5.7a1c7",
2950         "type": "block",
2951         "name": "block : atomic",
2952         "xml": "<block atomic='true'>",
2953         "atomic": "true",
2954         "comments": "",
2955         "outputs": 1,
2956         "x": 2570,
2957         "y": 753.5,
2958         "z": "c2a8a65f.f4fdf8",
2959         "wires": [
2960             [
2961                 "1c0a37ea.375948",
2962                 "ecaa22b7.75297",
2963                 "e298fc24.8e892"
2964             ]
2965         ]
2966     },
2967     {
2968         "id": "90abe626.d80828",
2969         "type": "execute",
2970         "name": "read snssailist size",
2971         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListup_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+$id-plmn+'].sNSSAI_length'`\" />",
2972         "comments": "",
2973         "outputs": 1,
2974         "x": 2002.749984741211,
2975         "y": 903.2500534057617,
2976         "z": "c2a8a65f.f4fdf8",
2977         "wires": [
2978             []
2979         ]
2980     },
2981     {
2982         "id": "cf5bb551.50bc48",
2983         "type": "for",
2984         "name": "foreach snssai",
2985         "xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",
2986         "comments": "",
2987         "outputs": 1,
2988         "x": 1988.7500228881836,
2989         "y": 961.250054359436,
2990         "z": "c2a8a65f.f4fdf8",
2991         "wires": [
2992             [
2993                 "c4f6f336.48282"
2994             ]
2995         ]
2996     },
2997     {
2998         "id": "c4f6f336.48282",
2999         "type": "block",
3000         "name": "block : atomic",
3001         "xml": "<block atomic='true'>",
3002         "atomic": "true",
3003         "comments": "",
3004         "outputs": 1,
3005         "x": 2197.9999923706055,
3006         "y": 957.750054359436,
3007         "z": "c2a8a65f.f4fdf8",
3008         "wires": [
3009             [
3010                 "ec2b70ec.e4dcb",
3011                 "72b414ad.1d2d0c",
3012                 "720819d9.bc5d78"
3013             ]
3014         ]
3015     },
3016     {
3017         "id": "2a0b3e44.22f042",
3018         "type": "execute",
3019         "name": "read snssailist size",
3020         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListdu_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+$id-duplmn+'].sNSSAI_length'`\" />",
3021         "comments": "",
3022         "outputs": 1,
3023         "x": 2390.75,
3024         "y": 1404.25,
3025         "z": "c2a8a65f.f4fdf8",
3026         "wires": [
3027             []
3028         ]
3029     },
3030     {
3031         "id": "d2b6fc8.a0801",
3032         "type": "for",
3033         "name": "foreach snssai",
3034         "xml": "<for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >\n",
3035         "comments": "",
3036         "outputs": 1,
3037         "x": 2398.75,
3038         "y": 1444.25,
3039         "z": "c2a8a65f.f4fdf8",
3040         "wires": [
3041             [
3042                 "2368c209.6d976e"
3043             ]
3044         ]
3045     },
3046     {
3047         "id": "2368c209.6d976e",
3048         "type": "block",
3049         "name": "block : atomic",
3050         "xml": "<block atomic='true'>",
3051         "atomic": "true",
3052         "comments": "",
3053         "outputs": 1,
3054         "x": 2592,
3055         "y": 1446.75,
3056         "z": "c2a8a65f.f4fdf8",
3057         "wires": [
3058             [
3059                 "6d2985a2.a415bc",
3060                 "18e75616.57f2da",
3061                 "244e64a3.dccd7c"
3062             ]
3063         ]
3064     },
3065     {
3066         "id": "567e4ef1.2569d",
3067         "type": "record",
3068         "name": "record",
3069         "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=\"CUUP - snssaiList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>\n\n",
3070         "comments": "",
3071         "outputs": 1,
3072         "x": 2003,
3073         "y": 930.75,
3074         "z": "c2a8a65f.f4fdf8",
3075         "wires": [
3076             []
3077         ]
3078     }
3079 ]