80a62b66ec866f7bef6d3fc59ed94d120c6dead6
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_activateRANSliceInstance-cps.json
1 [\r
2     {\r
3         "id": "a6cabde9.61956",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 164.00000381469727,\r
8         "y": 600.9999980926514,\r
9         "z": "f3e1d289.cac95",\r
10         "wires": [\r
11             [\r
12                 "328d40d0.197ce"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "328d40d0.197ce",\r
18         "type": "service-logic",\r
19         "name": "ran-slice-api ${project.version}",\r
20         "module": "ran-slice-api",\r
21         "version": "${project.version}",\r
22         "comments": "",\r
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}'>",\r
24         "outputs": 1,\r
25         "x": 260.00002670288086,\r
26         "y": 690.9999904632568,\r
27         "z": "f3e1d289.cac95",\r
28         "wires": [\r
29             [\r
30                 "b84b2858.60f378"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "b84b2858.60f378",\r
36         "type": "method",\r
37         "name": "method",\r
38         "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 194.00000381469727,\r
42         "y": 750.9999561309814,\r
43         "z": "f3e1d289.cac95",\r
44         "wires": [\r
45             [\r
46                 "892ae408.5068c8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "892ae408.5068c8",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic='true'>",\r
55         "atomic": "true",\r
56         "comments": "",\r
57         "outputs": 1,\r
58         "x": 122.50003051757812,\r
59         "y": 975.5000610351562,\r
60         "z": "f3e1d289.cac95",\r
61         "wires": [\r
62             [\r
63                 "c48152e0.42c3a",\r
64                 "c50cf103.ec45d",\r
65                 "92f87327.58a7f",\r
66                 "47fba020.d6181",\r
67                 "322b31cf.1ee57e",\r
68                 "7fe08e14.e069a",\r
69                 "7aec3d2c.379dd4",\r
70                 "1f3d7d4e.c118f3",\r
71                 "565d0f86.e63b6",\r
72                 "25ec2edb.5190e2",\r
73                 "6018a94e.523c68",\r
74                 "37f8ca4b.bc4116",\r
75                 "f7cfb69b.9c27d8",\r
76                 "116c7858.aac138",\r
77                 "d7780e63.dfef7",\r
78                 "940dfe19.cae3c",\r
79                 "f07e8ef0.f0f35",\r
80                 "23542b05.dc2d04",\r
81                 "ab179ac7.711488",\r
82                 "40671fa8.d6f66",\r
83                 "2fe6cae9.b1b516",\r
84                 "3c2d99e7.498126"\r
85             ]\r
86         ]\r
87     },\r
88     {\r
89         "id": "fdf4ad99.2cfdf",\r
90         "type": "success",\r
91         "name": "success",\r
92         "xml": "<outcome value='success'>\n",\r
93         "comments": "",\r
94         "outputs": 1,\r
95         "x": 1068.0681457519531,\r
96         "y": 1333.0680770874023,\r
97         "z": "f3e1d289.cac95",\r
98         "wires": [\r
99             [\r
100                 "d803a559.e3a978"\r
101             ]\r
102         ]\r
103     },\r
104     {\r
105         "id": "d803a559.e3a978",\r
106         "type": "block",\r
107         "name": "block : atomic",\r
108         "xml": "<block atomic='true'>",\r
109         "atomic": "true",\r
110         "comments": "",\r
111         "outputs": 1,\r
112         "x": 1269.0680656433105,\r
113         "y": 1320.0682487487793,\r
114         "z": "f3e1d289.cac95",\r
115         "wires": [\r
116             [\r
117                 "f7e28921.7b5d18",\r
118                 "10de8a80.d7e346"\r
119             ]\r
120         ]\r
121     },\r
122     {\r
123         "id": "34d78223.0c58ce",\r
124         "type": "failure",\r
125         "name": "failure",\r
126         "xml": "<outcome value='failure'>\n",\r
127         "comments": "",\r
128         "outputs": 1,\r
129         "x": 1125.068063735962,\r
130         "y": 1269.068247795105,\r
131         "z": "f3e1d289.cac95",\r
132         "wires": [\r
133             [\r
134                 "805528d9.829e58"\r
135             ]\r
136         ]\r
137     },\r
138     {\r
139         "id": "805528d9.829e58",\r
140         "type": "block",\r
141         "name": "block",\r
142         "xml": "<block>",\r
143         "atomic": "false",\r
144         "comments": "",\r
145         "outputs": 1,\r
146         "x": 1305.068229675293,\r
147         "y": 1237.0682458877563,\r
148         "z": "f3e1d289.cac95",\r
149         "wires": [\r
150             [\r
151                 "41b2c593.f9442c",\r
152                 "3f7b61b1.4ea72e"\r
153             ]\r
154         ]\r
155     },\r
156     {\r
157         "id": "c48152e0.42c3a",\r
158         "type": "record",\r
159         "name": "record",\r
160         "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`\"/>",\r
161         "comments": "",\r
162         "outputs": 1,\r
163         "x": 585.0000228881836,\r
164         "y": 630.0000076293945,\r
165         "z": "f3e1d289.cac95",\r
166         "wires": [\r
167             []\r
168         ]\r
169     },\r
170     {\r
171         "id": "c50cf103.ec45d",\r
172         "type": "set",\r
173         "name": "set default status value",\r
174         "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of activateRANSice RPC' />",\r
175         "comments": "",\r
176         "x": 828.9997596740723,\r
177         "y": 609.0000267028809,\r
178         "z": "f3e1d289.cac95",\r
179         "wires": []\r
180     },\r
181     {\r
182         "id": "92f87327.58a7f",\r
183         "type": "execute",\r
184         "name": "execute jsonStringToCtx",\r
185         "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' />",\r
186         "comments": "",\r
187         "outputs": 1,\r
188         "x": 833.9997596740723,\r
189         "y": 649.7500076293945,\r
190         "z": "f3e1d289.cac95",\r
191         "wires": [\r
192             [\r
193                 "9f092da5.e65fd"\r
194             ]\r
195         ]\r
196     },\r
197     {\r
198         "id": "47fba020.d6181",\r
199         "type": "execute",\r
200         "name": "printContext",\r
201         "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",\r
202         "comments": "",\r
203         "outputs": 1,\r
204         "x": 795.6385917663574,\r
205         "y": 725.7395677566528,\r
206         "z": "f3e1d289.cac95",\r
207         "wires": [\r
208             []\r
209         ]\r
210     },\r
211     {\r
212         "id": "322b31cf.1ee57e",\r
213         "type": "execute",\r
214         "name": "execute Properties",\r
215         "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",\r
216         "comments": "",\r
217         "outputs": 1,\r
218         "x": 813.527587890625,\r
219         "y": 762.7499856948853,\r
220         "z": "f3e1d289.cac95",\r
221         "wires": [\r
222             []\r
223         ]\r
224     },\r
225     {\r
226         "id": "7fe08e14.e069a",\r
227         "type": "record",\r
228         "name": "record",\r
229         "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`\"/>",\r
230         "comments": "",\r
231         "outputs": 1,\r
232         "x": 776.5832538604736,\r
233         "y": 802.1945266723633,\r
234         "z": "f3e1d289.cac95",\r
235         "wires": [\r
236             []\r
237         ]\r
238     },\r
239     {\r
240         "id": "9f092da5.e65fd",\r
241         "type": "other",\r
242         "name": "success",\r
243         "xml": "<outcome value='success'>\n",\r
244         "comments": "",\r
245         "outputs": 1,\r
246         "x": 1114.9442176818848,\r
247         "y": 651.8611936569214,\r
248         "z": "f3e1d289.cac95",\r
249         "wires": [\r
250             [\r
251                 "5fbd9f7f.48db9"\r
252             ]\r
253         ]\r
254     },\r
255     {\r
256         "id": "5fbd9f7f.48db9",\r
257         "type": "block",\r
258         "name": "block : atomic",\r
259         "xml": "<block atomic='true'>",\r
260         "atomic": "true",\r
261         "comments": "",\r
262         "outputs": 1,\r
263         "x": 1369.5000381469727,\r
264         "y": 656.4999942779541,\r
265         "z": "f3e1d289.cac95",\r
266         "wires": [\r
267             [\r
268                 "a5837cca.c9d93",\r
269                 "4ab67361.c7254c"\r
270             ]\r
271         ]\r
272     },\r
273     {\r
274         "id": "a5837cca.c9d93",\r
275         "type": "execute",\r
276         "name": "printContext",\r
277         "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",\r
278         "comments": "",\r
279         "outputs": 1,\r
280         "x": 1531.50004196167,\r
281         "y": 624.0000343322754,\r
282         "z": "f3e1d289.cac95",\r
283         "wires": [\r
284             []\r
285         ]\r
286     },\r
287     {\r
288         "id": "4ab67361.c7254c",\r
289         "type": "record",\r
290         "name": "record",\r
291         "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",\r
292         "comments": "",\r
293         "outputs": 1,\r
294         "x": 1546.75004196167,\r
295         "y": 688.0000457763672,\r
296         "z": "f3e1d289.cac95",\r
297         "wires": [\r
298             []\r
299         ]\r
300     },\r
301     {\r
302         "id": "7aec3d2c.379dd4",\r
303         "type": "for",\r
304         "name": "foreach NearRTRIC",\r
305         "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",\r
306         "comments": "",\r
307         "outputs": 1,\r
308         "x": 175.9376106262207,\r
309         "y": 2244.875436782837,\r
310         "z": "f3e1d289.cac95",\r
311         "wires": [\r
312             [\r
313                 "8d86a77c.2c5b58",\r
314                 "6c75da5f.7f31b4",\r
315                 "f1418956.9bf3f8",\r
316                 "9f973845.f5fb18"\r
317             ]\r
318         ]\r
319     },\r
320     {\r
321         "id": "8d86a77c.2c5b58",\r
322         "type": "block",\r
323         "name": "Process CUCP",\r
324         "xml": "<block atomic='true'>",\r
325         "atomic": "true",\r
326         "comments": "",\r
327         "outputs": 1,\r
328         "x": 358.187557220459,\r
329         "y": 2157.307029724121,\r
330         "z": "f3e1d289.cac95",\r
331         "wires": [\r
332             [\r
333                 "a5b3b0a6.0cef1",\r
334                 "58c76ee2.8c12a",\r
335                 "565ecb56.fe78a4"\r
336             ]\r
337         ]\r
338     },\r
339     {\r
340         "id": "a5b3b0a6.0cef1",\r
341         "type": "execute",\r
342         "name": "read CUCP list size",\r
343         "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    ",\r
344         "comments": "",\r
345         "outputs": 1,\r
346         "x": 936.4375343322754,\r
347         "y": 1955.0570278167725,\r
348         "z": "f3e1d289.cac95",\r
349         "wires": [\r
350             []\r
351         ]\r
352     },\r
353     {\r
354         "id": "58c76ee2.8c12a",\r
355         "type": "record",\r
356         "name": "record",\r
357         "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",\r
358         "comments": "",\r
359         "outputs": 1,\r
360         "x": 885.9375305175781,\r
361         "y": 1994.5570240020752,\r
362         "z": "f3e1d289.cac95",\r
363         "wires": [\r
364             []\r
365         ]\r
366     },\r
367     {\r
368         "id": "565ecb56.fe78a4",\r
369         "type": "for",\r
370         "name": "foreach CUCP",\r
371         "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",\r
372         "comments": "",\r
373         "outputs": 1,\r
374         "x": 836.6876945495605,\r
375         "y": 2034.5570249557495,\r
376         "z": "f3e1d289.cac95",\r
377         "wires": [\r
378             [\r
379                 "4b6e468c.a45a78"\r
380             ]\r
381         ]\r
382     },\r
383     {\r
384         "id": "4b6e468c.a45a78",\r
385         "type": "block",\r
386         "name": "block : process CUCP",\r
387         "xml": "<block atomic='true'>",\r
388         "atomic": "true",\r
389         "comments": "",\r
390         "outputs": 1,\r
391         "x": 1449.6875381469727,\r
392         "y": 1575.8068714141846,\r
393         "z": "f3e1d289.cac95",\r
394         "wires": [\r
395             [\r
396                 "d7875195.981e3",\r
397                 "61e70d08.812174",\r
398                 "80501239.f246b",\r
399                 "6246ea6b.c0bd24"\r
400             ]\r
401         ]\r
402     },\r
403     {\r
404         "id": "d7875195.981e3",\r
405         "type": "execute",\r
406         "name": "read CUCP name",\r
407         "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'`\" />",\r
408         "comments": "",\r
409         "outputs": 1,\r
410         "x": 1626.437915802002,\r
411         "y": 1375.890323638916,\r
412         "z": "f3e1d289.cac95",\r
413         "wires": [\r
414             []\r
415         ]\r
416     },\r
417     {\r
418         "id": "80501239.f246b",\r
419         "type": "record",\r
420         "name": "record",\r
421         "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",\r
422         "comments": "",\r
423         "outputs": 1,\r
424         "x": 1633.187915802002,\r
425         "y": 1412.0568284988403,\r
426         "z": "f3e1d289.cac95",\r
427         "wires": [\r
428             []\r
429         ]\r
430     },\r
431     {\r
432         "id": "6246ea6b.c0bd24",\r
433         "type": "execute",\r
434         "name": "read cellCU list size",\r
435         "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    ",\r
436         "comments": "",\r
437         "outputs": 1,\r
438         "x": 1681.4377479553223,\r
439         "y": 1448.8069925308228,\r
440         "z": "f3e1d289.cac95",\r
441         "wires": [\r
442             []\r
443         ]\r
444     },\r
445     {\r
446         "id": "61e70d08.812174",\r
447         "type": "for",\r
448         "name": "for cellCUList",\r
449         "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",\r
450         "comments": "",\r
451         "outputs": 1,\r
452         "x": 1761.4377555847168,\r
453         "y": 1487.556993484497,\r
454         "z": "f3e1d289.cac95",\r
455         "wires": [\r
456             [\r
457                 "2dd5e85d.ba4808"\r
458             ]\r
459         ]\r
460     },\r
461     {\r
462         "id": "2dd5e85d.ba4808",\r
463         "type": "block",\r
464         "name": "block",\r
465         "xml": "<block atomic='true'>",\r
466         "atomic": "true",\r
467         "comments": "",\r
468         "outputs": 1,\r
469         "x": 1737.4375915527344,\r
470         "y": 1293.8069076538086,\r
471         "z": "f3e1d289.cac95",\r
472         "wires": [\r
473             [\r
474                 "11e866bc.a36379",\r
475                 "6eef273f.bcc7d8",\r
476                 "1193485c.4c1df8"\r
477             ]\r
478         ]\r
479     },\r
480     {\r
481         "id": "11e866bc.a36379",\r
482         "type": "execute",\r
483         "name": "read PLMNList size",\r
484         "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'`\" />",\r
485         "comments": "",\r
486         "outputs": 1,\r
487         "x": 1950.396427154541,\r
488         "y": 1304.4598770141602,\r
489         "z": "f3e1d289.cac95",\r
490         "wires": [\r
491             []\r
492         ]\r
493     },\r
494     {\r
495         "id": "1193485c.4c1df8",\r
496         "type": "for",\r
497         "name": "foreach PLMNInfo",\r
498         "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",\r
499         "comments": "",\r
500         "outputs": 1,\r
501         "x": 1950.4241523742676,\r
502         "y": 1383.654143691063,\r
503         "z": "f3e1d289.cac95",\r
504         "wires": [\r
505             [\r
506                 "6027ccc1.599c64"\r
507             ]\r
508         ]\r
509     },\r
510     {\r
511         "id": "6027ccc1.599c64",\r
512         "type": "block",\r
513         "name": "block : atomic",\r
514         "xml": "<block atomic='true'>",\r
515         "atomic": "true",\r
516         "comments": "",\r
517         "outputs": 1,\r
518         "x": 2157.313060760498,\r
519         "y": 1325.4319381713867,\r
520         "z": "f3e1d289.cac95",\r
521         "wires": [\r
522             [\r
523                 "6841431c.020a2c",\r
524                 "d5f12d4.b35f5d"\r
525             ]\r
526         ]\r
527     },\r
528     {\r
529         "id": "f89ba912.658ee8",\r
530         "type": "execute",\r
531         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",\r
532         "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'`\" />",\r
533         "comments": "",\r
534         "outputs": 1,\r
535         "x": 2507.757480621338,\r
536         "y": 1338.4319334030151,\r
537         "z": "f3e1d289.cac95",\r
538         "wires": [\r
539             []\r
540         ]\r
541     },\r
542     {\r
543         "id": "236f0778.82ee78",\r
544         "type": "record",\r
545         "name": "record",\r
546         "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",\r
547         "comments": "",\r
548         "outputs": 1,\r
549         "x": 2366.535385131836,\r
550         "y": 1371.9874591827393,\r
551         "z": "f3e1d289.cac95",\r
552         "wires": [\r
553             []\r
554         ]\r
555     },\r
556     {\r
557         "id": "482f3d28.6fce24",\r
558         "type": "switchNode",\r
559         "name": "is NSSAI exists",\r
560         "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",\r
561         "comments": "",\r
562         "outputs": 1,\r
563         "x": 2402.09086227417,\r
564         "y": 1413.2096872329712,\r
565         "z": "f3e1d289.cac95",\r
566         "wires": [\r
567             [\r
568                 "314540b4.d9596"\r
569             ]\r
570         ]\r
571     },\r
572     {\r
573         "id": "314540b4.d9596",\r
574         "type": "outcome",\r
575         "name": "True",\r
576         "xml": "<outcome value='true'>\n",\r
577         "comments": "",\r
578         "outputs": 1,\r
579         "x": 2591.563060760498,\r
580         "y": 1413.4320163726807,\r
581         "z": "f3e1d289.cac95",\r
582         "wires": [\r
583             [\r
584                 "4da9126a.38fd6c"\r
585             ]\r
586         ]\r
587     },\r
588     {\r
589         "id": "4da9126a.38fd6c",\r
590         "type": "block",\r
591         "name": "block : atomic",\r
592         "xml": "<block atomic='true'>",\r
593         "atomic": "true",\r
594         "comments": "",\r
595         "outputs": 1,\r
596         "x": 2812.1875038146973,\r
597         "y": 1411.187520980835,\r
598         "z": "f3e1d289.cac95",\r
599         "wires": [\r
600             [\r
601                 "144c0d6c.475c83",\r
602                 "e0c4707d.c49b2",\r
603                 "929f1660.c602d8",\r
604                 "98aa87d6.4b06f8",\r
605                 "1d092783.beac68",\r
606                 "9c61d72a.ad90e8",\r
607                 "42776786.fd3808",\r
608                 "718ada55.b927e4",\r
609                 "16b6bcd5.9eea13"\r
610             ]\r
611         ]\r
612     },\r
613     {\r
614         "id": "16b6bcd5.9eea13",\r
615         "type": "record",\r
616         "name": "record",\r
617         "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",\r
618         "comments": "",\r
619         "outputs": 1,\r
620         "x": 3007.1875038146973,\r
621         "y": 1406.187520980835,\r
622         "z": "f3e1d289.cac95",\r
623         "wires": [\r
624             []\r
625         ]\r
626     },\r
627     {\r
628         "id": "718ada55.b927e4",\r
629         "type": "switchNode",\r
630         "name": "ransim mounted",\r
631         "xml": "<switch test='`$prop.ransim-mounted`'>\n",\r
632         "comments": "",\r
633         "outputs": 1,\r
634         "x": 3035.1875038146973,\r
635         "y": 1474.187520980835,\r
636         "z": "f3e1d289.cac95",\r
637         "wires": [\r
638             [\r
639                 "be69c7b2.ecbb98",\r
640                 "c8289e15.16118"\r
641             ]\r
642         ]\r
643     },\r
644     {\r
645         "id": "be69c7b2.ecbb98",\r
646         "type": "outcome",\r
647         "name": "Not Mounted",\r
648         "xml": "<outcome value='false'>\n",\r
649         "comments": "",\r
650         "outputs": 1,\r
651         "x": 3243.1875038146973,\r
652         "y": 1439.18727684021,\r
653         "z": "f3e1d289.cac95",\r
654         "wires": [\r
655             [\r
656                 "75410775.cfb988"\r
657             ]\r
658         ]\r
659     },\r
660     {\r
661         "id": "75410775.cfb988",\r
662         "type": "execute",\r
663         "name": "generate patch PLMNInfoListEntry ToNRCellCU",\r
664         "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",\r
665         "comments": "",\r
666         "outputs": 1,\r
667         "x": 3563.1875038146973,\r
668         "y": 1454.187520980835,\r
669         "z": "f3e1d289.cac95",\r
670         "wires": [\r
671             []\r
672         ]\r
673     },\r
674     {\r
675         "id": "386279e7.5d56d6",\r
676         "type": "execute",\r
677         "name": "generate patchPLMNInfoList.ToNRCellCU",\r
678         "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`\"/>",\r
679         "comments": "",\r
680         "outputs": 1,\r
681         "x": 3741.6875343322754,\r
682         "y": 1512.1874599456787,\r
683         "z": "f3e1d289.cac95",\r
684         "wires": [\r
685             []\r
686         ]\r
687     },\r
688     {\r
689         "id": "ab8ef5cd.afcc88",\r
690         "type": "execute",\r
691         "name": "populate mountName",\r
692         "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`\"/>",\r
693         "comments": "",\r
694         "outputs": 1,\r
695         "x": 3685.6879348754883,\r
696         "y": 1565.187653541565,\r
697         "z": "f3e1d289.cac95",\r
698         "wires": [\r
699             []\r
700         ]\r
701     },\r
702     {\r
703         "id": "69c917f4.e1dae8",\r
704         "type": "block",\r
705         "name": "ransim  URL",\r
706         "xml": "<block atomic='true'>",\r
707         "atomic": "true",\r
708         "comments": "",\r
709         "outputs": 1,\r
710         "x": 3434.6875038146973,\r
711         "y": 1542.187520980835,\r
712         "z": "f3e1d289.cac95",\r
713         "wires": [\r
714             [\r
715                 "386279e7.5d56d6",\r
716                 "ab8ef5cd.afcc88"\r
717             ]\r
718         ]\r
719     },\r
720     {\r
721         "id": "c8289e15.16118",\r
722         "type": "outcome",\r
723         "name": "Mounted",\r
724         "xml": "<outcome value='true'>\n",\r
725         "comments": "",\r
726         "outputs": 1,\r
727         "x": 3231.1875038146973,\r
728         "y": 1541.187520980835,\r
729         "z": "f3e1d289.cac95",\r
730         "wires": [\r
731             [\r
732                 "69c917f4.e1dae8"\r
733             ]\r
734         ]\r
735     },\r
736     {\r
737         "id": "144c0d6c.475c83",\r
738         "type": "execute",\r
739         "name": "read cellCU",\r
740         "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'`\" />",\r
741         "comments": "",\r
742         "outputs": 1,\r
743         "x": 3002.1875038146973,\r
744         "y": 1574.187520980835,\r
745         "z": "f3e1d289.cac95",\r
746         "wires": [\r
747             []\r
748         ]\r
749     },\r
750     {\r
751         "id": "1d092783.beac68",\r
752         "type": "execute",\r
753         "name": "prepare idGNBCUCPFunction",\r
754         "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",\r
755         "comments": "",\r
756         "outputs": 1,\r
757         "x": 3029.1875038146973,\r
758         "y": 1638.187520980835,\r
759         "z": "f3e1d289.cac95",\r
760         "wires": [\r
761             []\r
762         ]\r
763     },\r
764     {\r
765         "id": "9c61d72a.ad90e8",\r
766         "type": "execute",\r
767         "name": "prepare idNRCellCU",\r
768         "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",\r
769         "comments": "",\r
770         "outputs": 1,\r
771         "x": 2990.1877632141113,\r
772         "y": 1683.6875495910645,\r
773         "z": "f3e1d289.cac95",\r
774         "wires": [\r
775             []\r
776         ]\r
777     },\r
778     {\r
779         "id": "42776786.fd3808",\r
780         "type": "execute",\r
781         "name": "prepare mcc",\r
782         "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   ",\r
783         "comments": "",\r
784         "outputs": 1,\r
785         "x": 2955.9375648498535,\r
786         "y": 1765.4375772476196,\r
787         "z": "f3e1d289.cac95",\r
788         "wires": [\r
789             []\r
790         ]\r
791     },\r
792     {\r
793         "id": "e0c4707d.c49b2",\r
794         "type": "execute",\r
795         "name": "prepare mnc",\r
796         "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`\"/>",\r
797         "comments": "",\r
798         "outputs": 1,\r
799         "x": 2944.6879920959473,\r
800         "y": 1825.687593460083,\r
801         "z": "f3e1d289.cac95",\r
802         "wires": [\r
803             []\r
804         ]\r
805     },\r
806     {\r
807         "id": "929f1660.c602d8",\r
808         "type": "record",\r
809         "name": "record API params",\r
810         "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",\r
811         "comments": "",\r
812         "outputs": 1,\r
813         "x": 2941.1875038146973,\r
814         "y": 1894.187520980835,\r
815         "z": "f3e1d289.cac95",\r
816         "wires": [\r
817             []\r
818         ]\r
819     },\r
820     {\r
821         "id": "98aa87d6.4b06f8",\r
822         "type": "execute",\r
823         "name": "activate PLMNInfoListEntry ToNRCellDU",\r
824         "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' />",\r
825         "comments": "",\r
826         "outputs": 1,\r
827         "x": 2981.1876106262207,\r
828         "y": 1957.187494277954,\r
829         "z": "f3e1d289.cac95",\r
830         "wires": [\r
831             [\r
832                 "5c3d555a.0929bc",\r
833                 "51bee1f.57d932"\r
834             ]\r
835         ]\r
836     },\r
837     {\r
838         "id": "51bee1f.57d932",\r
839         "type": "failure",\r
840         "name": "failure",\r
841         "xml": "<outcome value='failure'>\n",\r
842         "comments": "",\r
843         "outputs": 1,\r
844         "x": 3197.187587738037,\r
845         "y": 1836.187494277954,\r
846         "z": "f3e1d289.cac95",\r
847         "wires": [\r
848             [\r
849                 "932fbc1d.aa065"\r
850             ]\r
851         ]\r
852     },\r
853     {\r
854         "id": "932fbc1d.aa065",\r
855         "type": "block",\r
856         "name": "block : atomic",\r
857         "xml": "<block atomic='true'>",\r
858         "atomic": "true",\r
859         "comments": "",\r
860         "outputs": 1,\r
861         "x": 3347.1878623962402,\r
862         "y": 1795.1876773834229,\r
863         "z": "f3e1d289.cac95",\r
864         "wires": [\r
865             [\r
866                 "1e08b47a.bdaa2c",\r
867                 "b1cac050.4be82",\r
868                 "41b2c593.f9442c"\r
869             ]\r
870         ]\r
871     },\r
872     {\r
873         "id": "b1cac050.4be82",\r
874         "type": "set",\r
875         "name": "set",\r
876         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",\r
877         "comments": "",\r
878         "x": 3513.1876182556152,\r
879         "y": 1761.1876773834229,\r
880         "z": "f3e1d289.cac95",\r
881         "wires": []\r
882     },\r
883     {\r
884         "id": "1e08b47a.bdaa2c",\r
885         "type": "returnFailure",\r
886         "name": "return failure",\r
887         "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'/>",\r
888         "comments": "",\r
889         "x": 3518.1874961853027,\r
890         "y": 1856.187738418579,\r
891         "z": "f3e1d289.cac95",\r
892         "wires": []\r
893     },\r
894     {\r
895         "id": "157fc176.66457f",\r
896         "type": "record",\r
897         "name": "record",\r
898         "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\"/>",\r
899         "comments": "",\r
900         "outputs": 1,\r
901         "x": 3603.1874656677246,\r
902         "y": 1949.1879215240479,\r
903         "z": "f3e1d289.cac95",\r
904         "wires": [\r
905             []\r
906         ]\r
907     },\r
908     {\r
909         "id": "e5f05fdd.286e7",\r
910         "type": "block",\r
911         "name": "block : atomic",\r
912         "xml": "<block atomic='true'>",\r
913         "atomic": "true",\r
914         "comments": "",\r
915         "outputs": 1,\r
916         "x": 3405.1874046325684,\r
917         "y": 1952.1877994537354,\r
918         "z": "f3e1d289.cac95",\r
919         "wires": [\r
920             [\r
921                 "157fc176.66457f"\r
922             ]\r
923         ]\r
924     },\r
925     {\r
926         "id": "5c3d555a.0929bc",\r
927         "type": "success",\r
928         "name": "success",\r
929         "xml": "<outcome value='success'>\n",\r
930         "comments": "",\r
931         "outputs": 1,\r
932         "x": 3232.1876182556152,\r
933         "y": 1953.187738418579,\r
934         "z": "f3e1d289.cac95",\r
935         "wires": [\r
936             [\r
937                 "e5f05fdd.286e7"\r
938             ]\r
939         ]\r
940     },\r
941     {\r
942         "id": "1f3d7d4e.c118f3",\r
943         "type": "execute",\r
944         "name": "read sNSSAI from input",\r
945         "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",\r
946         "comments": "",\r
947         "outputs": 1,\r
948         "x": 830.6875038146973,\r
949         "y": 687.0000438690186,\r
950         "z": "f3e1d289.cac95",\r
951         "wires": [\r
952             []\r
953         ]\r
954     },\r
955     {\r
956         "id": "6c75da5f.7f31b4",\r
957         "type": "block",\r
958         "name": "Process CUUP",\r
959         "xml": "<block atomic='true'>",\r
960         "atomic": "true",\r
961         "comments": "",\r
962         "outputs": 1,\r
963         "x": 671.1876029968262,\r
964         "y": 2145.1875133514404,\r
965         "z": "f3e1d289.cac95",\r
966         "wires": [\r
967             [\r
968                 "7175f605.095b58",\r
969                 "ff0b7d4a.11c95",\r
970                 "a9e59ae6.04d928"\r
971             ]\r
972         ]\r
973     },\r
974     {\r
975         "id": "7175f605.095b58",\r
976         "type": "execute",\r
977         "name": "read CUUP list size",\r
978         "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    ",\r
979         "comments": "",\r
980         "outputs": 1,\r
981         "x": 1102.1876907348633,\r
982         "y": 2017.1875610351562,\r
983         "z": "f3e1d289.cac95",\r
984         "wires": [\r
985             []\r
986         ]\r
987     },\r
988     {\r
989         "id": "ff0b7d4a.11c95",\r
990         "type": "record",\r
991         "name": "record",\r
992         "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",\r
993         "comments": "",\r
994         "outputs": 1,\r
995         "x": 1069.1876945495605,\r
996         "y": 2056.437562942505,\r
997         "z": "f3e1d289.cac95",\r
998         "wires": [\r
999             []\r
1000         ]\r
1001     },\r
1002     {\r
1003         "id": "a9e59ae6.04d928",\r
1004         "type": "for",\r
1005         "name": "foreach CUUP",\r
1006         "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",\r
1007         "comments": "",\r
1008         "outputs": 1,\r
1009         "x": 1050.6875305175781,\r
1010         "y": 2097.187562942505,\r
1011         "z": "f3e1d289.cac95",\r
1012         "wires": [\r
1013             [\r
1014                 "513db610.55b838"\r
1015             ]\r
1016         ]\r
1017     },\r
1018     {\r
1019         "id": "513db610.55b838",\r
1020         "type": "block",\r
1021         "name": "block : process CUUP",\r
1022         "xml": "<block atomic='true'>",\r
1023         "atomic": "true",\r
1024         "comments": "",\r
1025         "outputs": 1,\r
1026         "x": 1312.1875381469727,\r
1027         "y": 1986.4376754760742,\r
1028         "z": "f3e1d289.cac95",\r
1029         "wires": [\r
1030             [\r
1031                 "526ca756.1782d8",\r
1032                 "43e13082.1c5f9",\r
1033                 "f15ae3e.214cc2",\r
1034                 "d8bf6d28.beec6"\r
1035             ]\r
1036         ]\r
1037     },\r
1038     {\r
1039         "id": "526ca756.1782d8",\r
1040         "type": "execute",\r
1041         "name": "read CUUP id",\r
1042         "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'`\" />",\r
1043         "comments": "",\r
1044         "outputs": 1,\r
1045         "x": 1504.187587738037,\r
1046         "y": 1631.687505722046,\r
1047         "z": "f3e1d289.cac95",\r
1048         "wires": [\r
1049             []\r
1050         ]\r
1051     },\r
1052     {\r
1053         "id": "43e13082.1c5f9",\r
1054         "type": "record",\r
1055         "name": "record",\r
1056         "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",\r
1057         "comments": "",\r
1058         "outputs": 1,\r
1059         "x": 1508.187587738037,\r
1060         "y": 1677.6875076293945,\r
1061         "z": "f3e1d289.cac95",\r
1062         "wires": [\r
1063             []\r
1064         ]\r
1065     },\r
1066     {\r
1067         "id": "f15ae3e.214cc2",\r
1068         "type": "execute",\r
1069         "name": "read plmninfolist size",\r
1070         "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'`\" />",\r
1071         "comments": "",\r
1072         "outputs": 1,\r
1073         "x": 1553.1875801086426,\r
1074         "y": 1710.6875092200935,\r
1075         "z": "f3e1d289.cac95",\r
1076         "wires": [\r
1077             []\r
1078         ]\r
1079     },\r
1080     {\r
1081         "id": "d8bf6d28.beec6",\r
1082         "type": "for",\r
1083         "name": "foreach pLMNInfo",\r
1084         "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",\r
1085         "comments": "",\r
1086         "outputs": 1,\r
1087         "x": 1561.187587738037,\r
1088         "y": 1765.6875104904175,\r
1089         "z": "f3e1d289.cac95",\r
1090         "wires": [\r
1091             [\r
1092                 "f15c6d84.0314"\r
1093             ]\r
1094         ]\r
1095     },\r
1096     {\r
1097         "id": "cce89c36.b780e",\r
1098         "type": "block",\r
1099         "name": "block : atomic",\r
1100         "xml": "<block atomic='true'>",\r
1101         "atomic": "true",\r
1102         "comments": "",\r
1103         "outputs": 1,\r
1104         "x": 1800.3125038146973,\r
1105         "y": 1620.875020980835,\r
1106         "z": "f3e1d289.cac95",\r
1107         "wires": [\r
1108             [\r
1109                 "185a0819.038c28",\r
1110                 "7aa20531.fc938c",\r
1111                 "51ccf1aa.22223",\r
1112                 "2124cf02.35d0c",\r
1113                 "1d2f0748.1c2f99",\r
1114                 "3e5a3205.656e4e"\r
1115             ]\r
1116         ]\r
1117     },\r
1118     {\r
1119         "id": "185a0819.038c28",\r
1120         "type": "switchNode",\r
1121         "name": "ransim mounted",\r
1122         "xml": "<switch test='`$prop.ransim-mounted`'>\n",\r
1123         "comments": "",\r
1124         "outputs": 1,\r
1125         "x": 2022.4518508911133,\r
1126         "y": 1648.2918739318848,\r
1127         "z": "f3e1d289.cac95",\r
1128         "wires": [\r
1129             [\r
1130                 "bc4524d2.337018",\r
1131                 "ffd741ab.f4ed6"\r
1132             ]\r
1133         ]\r
1134     },\r
1135     {\r
1136         "id": "bc4524d2.337018",\r
1137         "type": "outcome",\r
1138         "name": "Not Mounted",\r
1139         "xml": "<outcome value='false'>\n",\r
1140         "comments": "",\r
1141         "outputs": 1,\r
1142         "x": 2226.562644958496,\r
1143         "y": 1589.1247882843018,\r
1144         "z": "f3e1d289.cac95",\r
1145         "wires": [\r
1146             [\r
1147                 "698a499b.c0e498"\r
1148             ]\r
1149         ]\r
1150     },\r
1151     {\r
1152         "id": "698a499b.c0e498",\r
1153         "type": "execute",\r
1154         "name": "generate patch PLMNInfoListEntry CUUP URL",\r
1155         "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",\r
1156         "comments": "",\r
1157         "outputs": 1,\r
1158         "x": 2551.562526702881,\r
1159         "y": 1544.1250925064087,\r
1160         "z": "f3e1d289.cac95",\r
1161         "wires": [\r
1162             []\r
1163         ]\r
1164     },\r
1165     {\r
1166         "id": "9a494e9f.7249",\r
1167         "type": "execute",\r
1168         "name": "generate patchPLMNInfoList.TogNBCUUP",\r
1169         "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`\"/>",\r
1170         "comments": "",\r
1171         "outputs": 1,\r
1172         "x": 2662.312068939209,\r
1173         "y": 1626.8748035430908,\r
1174         "z": "f3e1d289.cac95",\r
1175         "wires": [\r
1176             []\r
1177         ]\r
1178     },\r
1179     {\r
1180         "id": "37e39989.09eaf6",\r
1181         "type": "execute",\r
1182         "name": "populate mountName",\r
1183         "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`\"/>",\r
1184         "comments": "",\r
1185         "outputs": 1,\r
1186         "x": 2646.3125896453857,\r
1187         "y": 1694.8750638961792,\r
1188         "z": "f3e1d289.cac95",\r
1189         "wires": [\r
1190             []\r
1191         ]\r
1192     },\r
1193     {\r
1194         "id": "1dceaf61.aa8ea1",\r
1195         "type": "block",\r
1196         "name": "ransim  URL",\r
1197         "xml": "<block atomic='true'>",\r
1198         "atomic": "true",\r
1199         "comments": "",\r
1200         "outputs": 1,\r
1201         "x": 2386.5623741149902,\r
1202         "y": 1685.624804019928,\r
1203         "z": "f3e1d289.cac95",\r
1204         "wires": [\r
1205             [\r
1206                 "9a494e9f.7249",\r
1207                 "37e39989.09eaf6"\r
1208             ]\r
1209         ]\r
1210     },\r
1211     {\r
1212         "id": "ffd741ab.f4ed6",\r
1213         "type": "outcome",\r
1214         "name": "Mounted",\r
1215         "xml": "<outcome value='true'>\n",\r
1216         "comments": "",\r
1217         "outputs": 1,\r
1218         "x": 2212.0625190734863,\r
1219         "y": 1674.8750629425049,\r
1220         "z": "f3e1d289.cac95",\r
1221         "wires": [\r
1222             [\r
1223                 "1dceaf61.aa8ea1"\r
1224             ]\r
1225         ]\r
1226     },\r
1227     {\r
1228         "id": "7aa20531.fc938c",\r
1229         "type": "execute",\r
1230         "name": "prepare idGNBCUUPFunction",\r
1231         "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",\r
1232         "comments": "",\r
1233         "outputs": 1,\r
1234         "x": 2082.222141265869,\r
1235         "y": 1734.6597275733948,\r
1236         "z": "f3e1d289.cac95",\r
1237         "wires": [\r
1238             []\r
1239         ]\r
1240     },\r
1241     {\r
1242         "id": "51ccf1aa.22223",\r
1243         "type": "execute",\r
1244         "name": "patch PLMNInfoListEntry gNBCUUP",\r
1245         "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' />",\r
1246         "comments": "",\r
1247         "outputs": 1,\r
1248         "x": 2031.5556373596191,\r
1249         "y": 1848.3263988494873,\r
1250         "z": "f3e1d289.cac95",\r
1251         "wires": [\r
1252             [\r
1253                 "63c01c91.fa3b34",\r
1254                 "220bb420.ec744c"\r
1255             ]\r
1256         ]\r
1257     },\r
1258     {\r
1259         "id": "63c01c91.fa3b34",\r
1260         "type": "failure",\r
1261         "name": "failure",\r
1262         "xml": "<outcome value='failure'>\n",\r
1263         "comments": "",\r
1264         "outputs": 1,\r
1265         "x": 2358.000156402588,\r
1266         "y": 1811.4377603530884,\r
1267         "z": "f3e1d289.cac95",\r
1268         "wires": [\r
1269             [\r
1270                 "790e9472.1129bc"\r
1271             ]\r
1272         ]\r
1273     },\r
1274     {\r
1275         "id": "220bb420.ec744c",\r
1276         "type": "success",\r
1277         "name": "success",\r
1278         "xml": "<outcome value='success'>\n",\r
1279         "comments": "",\r
1280         "outputs": 1,\r
1281         "x": 2352.0000343322754,\r
1282         "y": 1878.4376993179321,\r
1283         "z": "f3e1d289.cac95",\r
1284         "wires": [\r
1285             [\r
1286                 "4718b038.f4633"\r
1287             ]\r
1288         ]\r
1289     },\r
1290     {\r
1291         "id": "790e9472.1129bc",\r
1292         "type": "block",\r
1293         "name": "block : atomic",\r
1294         "xml": "<block atomic='true'>",\r
1295         "atomic": "true",\r
1296         "comments": "",\r
1297         "outputs": 1,\r
1298         "x": 2535.0002784729004,\r
1299         "y": 1800.4376382827759,\r
1300         "z": "f3e1d289.cac95",\r
1301         "wires": [\r
1302             [\r
1303                 "56405409.4e6a7c",\r
1304                 "c476a9f.0ec7758",\r
1305                 "41b2c593.f9442c"\r
1306             ]\r
1307         ]\r
1308     },\r
1309     {\r
1310         "id": "4718b038.f4633",\r
1311         "type": "block",\r
1312         "name": "block : atomic",\r
1313         "xml": "<block atomic='true'>",\r
1314         "atomic": "true",\r
1315         "comments": "",\r
1316         "outputs": 1,\r
1317         "x": 2532.0000343322754,\r
1318         "y": 1883.4375162124634,\r
1319         "z": "f3e1d289.cac95",\r
1320         "wires": [\r
1321             [\r
1322                 "150a9857.243b68"\r
1323             ]\r
1324         ]\r
1325     },\r
1326     {\r
1327         "id": "150a9857.243b68",\r
1328         "type": "record",\r
1329         "name": "record",\r
1330         "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\"/>",\r
1331         "comments": "",\r
1332         "outputs": 1,\r
1333         "x": 2684.999729156494,\r
1334         "y": 1883.4377603530884,\r
1335         "z": "f3e1d289.cac95",\r
1336         "wires": [\r
1337             []\r
1338         ]\r
1339     },\r
1340     {\r
1341         "id": "56405409.4e6a7c",\r
1342         "type": "returnFailure",\r
1343         "name": "return failure",\r
1344         "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'/>",\r
1345         "comments": "",\r
1346         "x": 2739.7502403259277,\r
1347         "y": 1800.9379177093506,\r
1348         "z": "f3e1d289.cac95",\r
1349         "wires": []\r
1350     },\r
1351     {\r
1352         "id": "c476a9f.0ec7758",\r
1353         "type": "set",\r
1354         "name": "set",\r
1355         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",\r
1356         "comments": "",\r
1357         "x": 2744.7504272460938,\r
1358         "y": 1746.9380536079407,\r
1359         "z": "f3e1d289.cac95",\r
1360         "wires": []\r
1361     },\r
1362     {\r
1363         "id": "f1418956.9bf3f8",\r
1364         "type": "block",\r
1365         "name": "Process gNBDU",\r
1366         "xml": "<block atomic='true'>",\r
1367         "atomic": "true",\r
1368         "comments": "",\r
1369         "outputs": 1,\r
1370         "x": 799.5625190734863,\r
1371         "y": 2297.625068664551,\r
1372         "z": "f3e1d289.cac95",\r
1373         "wires": [\r
1374             [\r
1375                 "fad32c0f.b08fc",\r
1376                 "98148527.743688",\r
1377                 "d3310764.1a0d08"\r
1378             ]\r
1379         ]\r
1380     },\r
1381     {\r
1382         "id": "fad32c0f.b08fc",\r
1383         "type": "execute",\r
1384         "name": "read DUlist size",\r
1385         "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    ",\r
1386         "comments": "",\r
1387         "outputs": 1,\r
1388         "x": 1024.3125305175781,\r
1389         "y": 2149.6250648498535,\r
1390         "z": "f3e1d289.cac95",\r
1391         "wires": [\r
1392             []\r
1393         ]\r
1394     },\r
1395     {\r
1396         "id": "98148527.743688",\r
1397         "type": "record",\r
1398         "name": "record",\r
1399         "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",\r
1400         "comments": "",\r
1401         "outputs": 1,\r
1402         "x": 1027.3126945495605,\r
1403         "y": 2191.125228881836,\r
1404         "z": "f3e1d289.cac95",\r
1405         "wires": [\r
1406             []\r
1407         ]\r
1408     },\r
1409     {\r
1410         "id": "d3310764.1a0d08",\r
1411         "type": "for",\r
1412         "name": "foreach DU",\r
1413         "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",\r
1414         "comments": "",\r
1415         "outputs": 1,\r
1416         "x": 1019.3125305175781,\r
1417         "y": 2228.375066757202,\r
1418         "z": "f3e1d289.cac95",\r
1419         "wires": [\r
1420             [\r
1421                 "d01a4536.afab58"\r
1422             ]\r
1423         ]\r
1424     },\r
1425     {\r
1426         "id": "d01a4536.afab58",\r
1427         "type": "block",\r
1428         "name": "block : process gNBDU",\r
1429         "xml": "<block atomic='true'>",\r
1430         "atomic": "true",\r
1431         "comments": "",\r
1432         "outputs": 1,\r
1433         "x": 1308.31254196167,\r
1434         "y": 2071.3750171661377,\r
1435         "z": "f3e1d289.cac95",\r
1436         "wires": [\r
1437             [\r
1438                 "c1e54b85.da2b98",\r
1439                 "46095ab0.a6b044",\r
1440                 "a1a21e4c.faf6e",\r
1441                 "751f6325.f3890c"\r
1442             ]\r
1443         ]\r
1444     },\r
1445     {\r
1446         "id": "c1e54b85.da2b98",\r
1447         "type": "execute",\r
1448         "name": "read DU id",\r
1449         "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'`\" />",\r
1450         "comments": "",\r
1451         "outputs": 1,\r
1452         "x": 1619.312328338623,\r
1453         "y": 1837.3742923736572,\r
1454         "z": "f3e1d289.cac95",\r
1455         "wires": [\r
1456             []\r
1457         ]\r
1458     },\r
1459     {\r
1460         "id": "46095ab0.a6b044",\r
1461         "type": "record",\r
1462         "name": "record",\r
1463         "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",\r
1464         "comments": "",\r
1465         "outputs": 1,\r
1466         "x": 1592.312328338623,\r
1467         "y": 1888.3742923736572,\r
1468         "z": "f3e1d289.cac95",\r
1469         "wires": [\r
1470             []\r
1471         ]\r
1472     },\r
1473     {\r
1474         "id": "a1a21e4c.faf6e",\r
1475         "type": "execute",\r
1476         "name": "read cellDU list size",\r
1477         "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    ",\r
1478         "comments": "",\r
1479         "outputs": 1,\r
1480         "x": 1633.312328338623,\r
1481         "y": 1937.3742923736572,\r
1482         "z": "f3e1d289.cac95",\r
1483         "wires": [\r
1484             []\r
1485         ]\r
1486     },\r
1487     {\r
1488         "id": "751f6325.f3890c",\r
1489         "type": "for",\r
1490         "name": "for cellDUList",\r
1491         "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",\r
1492         "comments": "",\r
1493         "outputs": 1,\r
1494         "x": 1623.312328338623,\r
1495         "y": 1981.3742923736572,\r
1496         "z": "f3e1d289.cac95",\r
1497         "wires": [\r
1498             [\r
1499                 "69ae697a.bd4e38"\r
1500             ]\r
1501         ]\r
1502     },\r
1503     {\r
1504         "id": "69ae697a.bd4e38",\r
1505         "type": "block",\r
1506         "name": "block",\r
1507         "xml": "<block>\n",\r
1508         "atomic": "false",\r
1509         "comments": "",\r
1510         "outputs": 1,\r
1511         "x": 1783.0623893737793,\r
1512         "y": 1981.1244173049927,\r
1513         "z": "f3e1d289.cac95",\r
1514         "wires": [\r
1515             [\r
1516                 "4c22431.e17e2bc",\r
1517                 "57921e76.a538f",\r
1518                 "3f0f3109.752fce"\r
1519             ]\r
1520         ]\r
1521     },\r
1522     {\r
1523         "id": "4c22431.e17e2bc",\r
1524         "type": "execute",\r
1525         "name": "read PLMNList size",\r
1526         "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'`\" />",\r
1527         "comments": "",\r
1528         "outputs": 1,\r
1529         "x": 2031.2500038146973,\r
1530         "y": 1980.875020980835,\r
1531         "z": "f3e1d289.cac95",\r
1532         "wires": [\r
1533             []\r
1534         ]\r
1535     },\r
1536     {\r
1537         "id": "57921e76.a538f",\r
1538         "type": "for",\r
1539         "name": "foreach PLMNInfo",\r
1540         "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",\r
1541         "comments": "",\r
1542         "outputs": 1,\r
1543         "x": 2009.5833778381348,\r
1544         "y": 2050.875020980835,\r
1545         "z": "f3e1d289.cac95",\r
1546         "wires": [\r
1547             [\r
1548                 "84326baf.40be38"\r
1549             ]\r
1550         ]\r
1551     },\r
1552     {\r
1553         "id": "84326baf.40be38",\r
1554         "type": "block",\r
1555         "name": "block : atomic",\r
1556         "xml": "<block atomic='true'>",\r
1557         "atomic": "true",\r
1558         "comments": "",\r
1559         "outputs": 1,\r
1560         "x": 2194.9721641540527,\r
1561         "y": 2044.9027309417725,\r
1562         "z": "f3e1d289.cac95",\r
1563         "wires": [\r
1564             [\r
1565                 "573d7254.61b9ec",\r
1566                 "395b9043.c9bc8"\r
1567             ]\r
1568         ]\r
1569     },\r
1570     {\r
1571         "id": "d406860f.792db8",\r
1572         "type": "execute",\r
1573         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",\r
1574         "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'`\" />",\r
1575         "comments": "",\r
1576         "outputs": 1,\r
1577         "x": 2547.5278663635254,\r
1578         "y": 2018.9866718053818,\r
1579         "z": "f3e1d289.cac95",\r
1580         "wires": [\r
1581             []\r
1582         ]\r
1583     },\r
1584     {\r
1585         "id": "13435487.dbdebb",\r
1586         "type": "record",\r
1587         "name": "record",\r
1588         "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",\r
1589         "comments": "",\r
1590         "outputs": 1,\r
1591         "x": 2420.8610801696777,\r
1592         "y": 2061.875340819359,\r
1593         "z": "f3e1d289.cac95",\r
1594         "wires": [\r
1595             []\r
1596         ]\r
1597     },\r
1598     {\r
1599         "id": "7b0ddb79.15c6c4",\r
1600         "type": "switchNode",\r
1601         "name": "is NSSAI exists",\r
1602         "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",\r
1603         "comments": "",\r
1604         "outputs": 1,\r
1605         "x": 2418.9999961853027,\r
1606         "y": 2102.430852293968,\r
1607         "z": "f3e1d289.cac95",\r
1608         "wires": [\r
1609             [\r
1610                 "6f84ca10.255ec4"\r
1611             ]\r
1612         ]\r
1613     },\r
1614     {\r
1615         "id": "6f84ca10.255ec4",\r
1616         "type": "outcome",\r
1617         "name": "True",\r
1618         "xml": "<outcome value='true'>\n",\r
1619         "comments": "",\r
1620         "outputs": 1,\r
1621         "x": 2592.472438812256,\r
1622         "y": 2108.153173804283,\r
1623         "z": "f3e1d289.cac95",\r
1624         "wires": [\r
1625             [\r
1626                 "e2f193ed.0e1ff"\r
1627             ]\r
1628         ]\r
1629     },\r
1630     {\r
1631         "id": "e2f193ed.0e1ff",\r
1632         "type": "block",\r
1633         "name": "block : atomic",\r
1634         "xml": "<block atomic='true'>",\r
1635         "atomic": "true",\r
1636         "comments": "",\r
1637         "outputs": 1,\r
1638         "x": 2774.5001335144043,\r
1639         "y": 2060.125244140625,\r
1640         "z": "f3e1d289.cac95",\r
1641         "wires": [\r
1642             [\r
1643                 "9de7d1a1.cd694",\r
1644                 "ef725caf.18971",\r
1645                 "d5a7e617.e853e8",\r
1646                 "e16c9bb7.910c08",\r
1647                 "8f20a79.69e8f58",\r
1648                 "6c7eb50c.54215c",\r
1649                 "b840edb9.e0803"\r
1650             ]\r
1651         ]\r
1652     },\r
1653     {\r
1654         "id": "afa3cc45.fe027",\r
1655         "type": "record",\r
1656         "name": "record",\r
1657         "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",\r
1658         "comments": "",\r
1659         "outputs": 1,\r
1660         "x": 2987.000499725342,\r
1661         "y": 2028.8752442598343,\r
1662         "z": "f3e1d289.cac95",\r
1663         "wires": [\r
1664             []\r
1665         ]\r
1666     },\r
1667     {\r
1668         "id": "9de7d1a1.cd694",\r
1669         "type": "switchNode",\r
1670         "name": "ransim mounted",\r
1671         "xml": "<switch test='`$prop.ransim-mounted`'>\n",\r
1672         "comments": "",\r
1673         "outputs": 1,\r
1674         "x": 2991.250011444092,\r
1675         "y": 2086.8752765655518,\r
1676         "z": "f3e1d289.cac95",\r
1677         "wires": [\r
1678             [\r
1679                 "b82e7d15.1cc56",\r
1680                 "99943f79.216dc"\r
1681             ]\r
1682         ]\r
1683     },\r
1684     {\r
1685         "id": "b82e7d15.1cc56",\r
1686         "type": "outcome",\r
1687         "name": "Not Mounted",\r
1688         "xml": "<outcome value='false'>\n",\r
1689         "comments": "",\r
1690         "outputs": 1,\r
1691         "x": 3200.500503540039,\r
1692         "y": 2041.8748178482056,\r
1693         "z": "f3e1d289.cac95",\r
1694         "wires": [\r
1695             [\r
1696                 "8a4843.5fab57c"\r
1697             ]\r
1698         ]\r
1699     },\r
1700     {\r
1701         "id": "99943f79.216dc",\r
1702         "type": "outcome",\r
1703         "name": "Mounted",\r
1704         "xml": "<outcome value='true'>\n",\r
1705         "comments": "",\r
1706         "outputs": 1,\r
1707         "x": 3195.500503540039,\r
1708         "y": 2103.3755207061768,\r
1709         "z": "f3e1d289.cac95",\r
1710         "wires": [\r
1711             [\r
1712                 "920c0416.927338"\r
1713             ]\r
1714         ]\r
1715     },\r
1716     {\r
1717         "id": "8a4843.5fab57c",\r
1718         "type": "execute",\r
1719         "name": "generate patch PLMNInfoListEntry ToNRCellDU",\r
1720         "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",\r
1721         "comments": "",\r
1722         "outputs": 1,\r
1723         "x": 3546.7502632141113,\r
1724         "y": 2040.6252746582031,\r
1725         "z": "f3e1d289.cac95",\r
1726         "wires": [\r
1727             []\r
1728         ]\r
1729     },\r
1730     {\r
1731         "id": "920c0416.927338",\r
1732         "type": "block",\r
1733         "name": "ransim  URL",\r
1734         "xml": "<block atomic='true'>",\r
1735         "atomic": "true",\r
1736         "comments": "",\r
1737         "outputs": 1,\r
1738         "x": 3373.0000801086426,\r
1739         "y": 2109.8751544952393,\r
1740         "z": "f3e1d289.cac95",\r
1741         "wires": [\r
1742             [\r
1743                 "89fd2c37.6c54d",\r
1744                 "310b2856.c31028"\r
1745             ]\r
1746         ]\r
1747     },\r
1748     {\r
1749         "id": "89fd2c37.6c54d",\r
1750         "type": "execute",\r
1751         "name": "generate patchPLMNInfoList.ToNRCellDU",\r
1752         "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`\"/>",\r
1753         "comments": "",\r
1754         "outputs": 1,\r
1755         "x": 3655.00044631958,\r
1756         "y": 2098.6251544952393,\r
1757         "z": "f3e1d289.cac95",\r
1758         "wires": [\r
1759             []\r
1760         ]\r
1761     },\r
1762     {\r
1763         "id": "310b2856.c31028",\r
1764         "type": "execute",\r
1765         "name": "populate mountName",\r
1766         "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`\"/>",\r
1767         "comments": "",\r
1768         "outputs": 1,\r
1769         "x": 3605.2507514953613,\r
1770         "y": 2159.1251859664917,\r
1771         "z": "f3e1d289.cac95",\r
1772         "wires": [\r
1773             []\r
1774         ]\r
1775     },\r
1776     {\r
1777         "id": "ef725caf.18971",\r
1778         "type": "execute",\r
1779         "name": "prepare idGNBDUFunction",\r
1780         "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",\r
1781         "comments": "",\r
1782         "outputs": 1,\r
1783         "x": 3038.1250648498535,\r
1784         "y": 2213.6874589920044,\r
1785         "z": "f3e1d289.cac95",\r
1786         "wires": [\r
1787             []\r
1788         ]\r
1789     },\r
1790     {\r
1791         "id": "d5a7e617.e853e8",\r
1792         "type": "execute",\r
1793         "name": "prepare idNRCellDU",\r
1794         "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",\r
1795         "comments": "",\r
1796         "outputs": 1,\r
1797         "x": 3011.1252479553223,\r
1798         "y": 2268.687460899353,\r
1799         "z": "f3e1d289.cac95",\r
1800         "wires": [\r
1801             []\r
1802         ]\r
1803     },\r
1804     {\r
1805         "id": "e16c9bb7.910c08",\r
1806         "type": "execute",\r
1807         "name": "prepare mcc",\r
1808         "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   ",\r
1809         "comments": "",\r
1810         "outputs": 1,\r
1811         "x": 2991.124942779541,\r
1812         "y": 2331.6877670288086,\r
1813         "z": "f3e1d289.cac95",\r
1814         "wires": [\r
1815             []\r
1816         ]\r
1817     },\r
1818     {\r
1819         "id": "8f20a79.69e8f58",\r
1820         "type": "execute",\r
1821         "name": "prepare mnc",\r
1822         "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`\"/>",\r
1823         "comments": "",\r
1824         "outputs": 1,\r
1825         "x": 2993.125186920166,\r
1826         "y": 2389.687399864197,\r
1827         "z": "f3e1d289.cac95",\r
1828         "wires": [\r
1829             []\r
1830         ]\r
1831     },\r
1832     {\r
1833         "id": "6c7eb50c.54215c",\r
1834         "type": "record",\r
1835         "name": "record API params",\r
1836         "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",\r
1837         "comments": "",\r
1838         "outputs": 1,\r
1839         "x": 2998.1248207092285,\r
1840         "y": 2457.6878910064697,\r
1841         "z": "f3e1d289.cac95",\r
1842         "wires": [\r
1843             []\r
1844         ]\r
1845     },\r
1846     {\r
1847         "id": "b840edb9.e0803",\r
1848         "type": "execute",\r
1849         "name": "patch PLMNInfoListEntry ToNRCellDU",\r
1850         "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' />",\r
1851         "comments": "",\r
1852         "outputs": 1,\r
1853         "x": 3055.1248512268066,\r
1854         "y": 2532.93727684021,\r
1855         "z": "f3e1d289.cac95",\r
1856         "wires": [\r
1857             [\r
1858                 "80be372a.3eafa8",\r
1859                 "6b52bf7f.6dc93"\r
1860             ]\r
1861         ]\r
1862     },\r
1863     {\r
1864         "id": "6b52bf7f.6dc93",\r
1865         "type": "failure",\r
1866         "name": "failure",\r
1867         "xml": "<outcome value='failure'>\n",\r
1868         "comments": "",\r
1869         "outputs": 1,\r
1870         "x": 3322.1248512268066,\r
1871         "y": 2432.93727684021,\r
1872         "z": "f3e1d289.cac95",\r
1873         "wires": [\r
1874             [\r
1875                 "aaddd4f3.f50168"\r
1876             ]\r
1877         ]\r
1878     },\r
1879     {\r
1880         "id": "aaddd4f3.f50168",\r
1881         "type": "block",\r
1882         "name": "block : atomic",\r
1883         "xml": "<block atomic='true'>",\r
1884         "atomic": "true",\r
1885         "comments": "",\r
1886         "outputs": 1,\r
1887         "x": 3480.1250953674316,\r
1888         "y": 2380.93727684021,\r
1889         "z": "f3e1d289.cac95",\r
1890         "wires": [\r
1891             [\r
1892                 "b4d9e206.d9732",\r
1893                 "1d434bba.7b3e64",\r
1894                 "41b2c593.f9442c"\r
1895             ]\r
1896         ]\r
1897     },\r
1898     {\r
1899         "id": "1d434bba.7b3e64",\r
1900         "type": "set",\r
1901         "name": "set",\r
1902         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",\r
1903         "comments": "",\r
1904         "x": 3646.1248512268066,\r
1905         "y": 2346.93727684021,\r
1906         "z": "f3e1d289.cac95",\r
1907         "wires": []\r
1908     },\r
1909     {\r
1910         "id": "b4d9e206.d9732",\r
1911         "type": "returnFailure",\r
1912         "name": "return failure",\r
1913         "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'/>",\r
1914         "comments": "",\r
1915         "x": 3651.124729156494,\r
1916         "y": 2441.937337875366,\r
1917         "z": "f3e1d289.cac95",\r
1918         "wires": []\r
1919     },\r
1920     {\r
1921         "id": "e335f095.7ae5a",\r
1922         "type": "record",\r
1923         "name": "record",\r
1924         "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\"/>",\r
1925         "comments": "",\r
1926         "outputs": 1,\r
1927         "x": 3635.124729156494,\r
1928         "y": 2527.937520980835,\r
1929         "z": "f3e1d289.cac95",\r
1930         "wires": [\r
1931             []\r
1932         ]\r
1933     },\r
1934     {\r
1935         "id": "f7547b41.792fb8",\r
1936         "type": "block",\r
1937         "name": "block : atomic",\r
1938         "xml": "<block atomic='true'>",\r
1939         "atomic": "true",\r
1940         "comments": "",\r
1941         "outputs": 1,\r
1942         "x": 3489.1248512268066,\r
1943         "y": 2528.9372794628143,\r
1944         "z": "f3e1d289.cac95",\r
1945         "wires": [\r
1946             [\r
1947                 "e335f095.7ae5a"\r
1948             ]\r
1949         ]\r
1950     },\r
1951     {\r
1952         "id": "80be372a.3eafa8",\r
1953         "type": "success",\r
1954         "name": "success",\r
1955         "xml": "<outcome value='success'>\n",\r
1956         "comments": "",\r
1957         "outputs": 1,\r
1958         "x": 3321.1248512268066,\r
1959         "y": 2531.93727684021,\r
1960         "z": "f3e1d289.cac95",\r
1961         "wires": [\r
1962             [\r
1963                 "f7547b41.792fb8"\r
1964             ]\r
1965         ]\r
1966     },\r
1967     {\r
1968         "id": "2fe6cae9.b1b516",\r
1969         "type": "record",\r
1970         "name": "record",\r
1971         "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`\"/>",\r
1972         "comments": "",\r
1973         "outputs": 1,\r
1974         "x": 561.8889465332031,\r
1975         "y": 1833.0146312713623,\r
1976         "z": "f3e1d289.cac95",\r
1977         "wires": [\r
1978             []\r
1979         ]\r
1980     },\r
1981     {\r
1982         "id": "41b2c593.f9442c",\r
1983         "type": "block",\r
1984         "name": "block : SO Response",\r
1985         "xml": "<block atomic='true'>",\r
1986         "atomic": "true",\r
1987         "comments": "",\r
1988         "outputs": 1,\r
1989         "x": 4124.062503814697,\r
1990         "y": 2179.4911098480225,\r
1991         "z": "f3e1d289.cac95",\r
1992         "wires": [\r
1993             [\r
1994                 "664c0610.ca3098",\r
1995                 "5d344cf6.3804d4",\r
1996                 "ebc16fa1.86b06"\r
1997             ]\r
1998         ]\r
1999     },\r
2000     {\r
2001         "id": "664c0610.ca3098",\r
2002         "type": "set",\r
2003         "name": "set tmp variables for SO response",\r
2004         "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",\r
2005         "comments": "",\r
2006         "x": 4503.206287384033,\r
2007         "y": 2037.1050968170166,\r
2008         "z": "f3e1d289.cac95",\r
2009         "wires": []\r
2010     },\r
2011     {\r
2012         "id": "5d344cf6.3804d4",\r
2013         "type": "record",\r
2014         "name": "record RestAPI parms",\r
2015         "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`\" />",\r
2016         "comments": "",\r
2017         "outputs": 1,\r
2018         "x": 4506.776744842529,\r
2019         "y": 2102.777183532715,\r
2020         "z": "f3e1d289.cac95",\r
2021         "wires": [\r
2022             []\r
2023         ]\r
2024     },\r
2025     {\r
2026         "id": "ebc16fa1.86b06",\r
2027         "type": "execute",\r
2028         "name": "Send to SO",\r
2029         "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\"/>",\r
2030         "comments": "",\r
2031         "outputs": 1,\r
2032         "x": 4433.205310821533,\r
2033         "y": 2181.2057580947876,\r
2034         "z": "f3e1d289.cac95",\r
2035         "wires": [\r
2036             [\r
2037                 "ec3e74b5.a9dac8",\r
2038                 "a50e3373.088c2"\r
2039             ]\r
2040         ]\r
2041     },\r
2042     {\r
2043         "id": "ec3e74b5.a9dac8",\r
2044         "type": "failure",\r
2045         "name": "failure",\r
2046         "xml": "<outcome value='failure'>\n",\r
2047         "comments": "",\r
2048         "outputs": 1,\r
2049         "x": 4670.633869171143,\r
2050         "y": 2163.9198093414307,\r
2051         "z": "f3e1d289.cac95",\r
2052         "wires": [\r
2053             [\r
2054                 "f205612.af7d2a"\r
2055             ]\r
2056         ]\r
2057     },\r
2058     {\r
2059         "id": "f205612.af7d2a",\r
2060         "type": "block",\r
2061         "name": "block",\r
2062         "xml": "<block>\n",\r
2063         "atomic": "false",\r
2064         "comments": "",\r
2065         "outputs": 1,\r
2066         "x": 4863.062236785889,\r
2067         "y": 2154.634246826172,\r
2068         "z": "f3e1d289.cac95",\r
2069         "wires": [\r
2070             [\r
2071                 "3f3391b9.1c518e"\r
2072             ]\r
2073         ]\r
2074     },\r
2075     {\r
2076         "id": "3f3391b9.1c518e",\r
2077         "type": "returnFailure",\r
2078         "name": "return failure",\r
2079         "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\" />",\r
2080         "comments": "",\r
2081         "x": 5064.776119232178,\r
2082         "y": 2143.348358631134,\r
2083         "z": "f3e1d289.cac95",\r
2084         "wires": []\r
2085     },\r
2086     {\r
2087         "id": "2c15ca38.e01556",\r
2088         "type": "record",\r
2089         "name": "record",\r
2090         "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 \"/>",\r
2091         "comments": "",\r
2092         "outputs": 1,\r
2093         "x": 5058.919395446777,\r
2094         "y": 2218.348424911499,\r
2095         "z": "f3e1d289.cac95",\r
2096         "wires": [\r
2097             []\r
2098         ]\r
2099     },\r
2100     {\r
2101         "id": "304d3a47.a68376",\r
2102         "type": "block",\r
2103         "name": "block",\r
2104         "xml": "<block>\n",\r
2105         "atomic": "false",\r
2106         "comments": "",\r
2107         "outputs": 1,\r
2108         "x": 4874.919246673584,\r
2109         "y": 2223.776866912842,\r
2110         "z": "f3e1d289.cac95",\r
2111         "wires": [\r
2112             [\r
2113                 "2c15ca38.e01556"\r
2114             ]\r
2115         ]\r
2116     },\r
2117     {\r
2118         "id": "a50e3373.088c2",\r
2119         "type": "success",\r
2120         "name": "success",\r
2121         "xml": "<outcome value='success'>\n",\r
2122         "comments": "",\r
2123         "outputs": 1,\r
2124         "x": 4664.919193267822,\r
2125         "y": 2227.634105682373,\r
2126         "z": "f3e1d289.cac95",\r
2127         "wires": [\r
2128             [\r
2129                 "304d3a47.a68376"\r
2130             ]\r
2131         ]\r
2132     },\r
2133     {\r
2134         "id": "565d0f86.e63b6",\r
2135         "type": "block",\r
2136         "name": "SO Response",\r
2137         "xml": "<block atomic='true'>",\r
2138         "atomic": "true",\r
2139         "comments": "",\r
2140         "outputs": 1,\r
2141         "x": 193.56254959106445,\r
2142         "y": 2479.634229660034,\r
2143         "z": "f3e1d289.cac95",\r
2144         "wires": [\r
2145             [\r
2146                 "a33b4f8b.eb4ea",\r
2147                 "b3e81441.306338",\r
2148                 "30a13788.b44458",\r
2149                 "e32dce76.ce133"\r
2150             ]\r
2151         ]\r
2152     },\r
2153     {\r
2154         "id": "30a13788.b44458",\r
2155         "type": "set",\r
2156         "name": "set tmp variables for SO response",\r
2157         "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",\r
2158         "comments": "",\r
2159         "x": 509.563663482666,\r
2160         "y": 2298.5336322784424,\r
2161         "z": "f3e1d289.cac95",\r
2162         "wires": []\r
2163     },\r
2164     {\r
2165         "id": "a33b4f8b.eb4ea",\r
2166         "type": "record",\r
2167         "name": "record SO reply parms",\r
2168         "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`\" />",\r
2169         "comments": "",\r
2170         "outputs": 1,\r
2171         "x": 459.56252670288086,\r
2172         "y": 2454.634222984314,\r
2173         "z": "f3e1d289.cac95",\r
2174         "wires": [\r
2175             []\r
2176         ]\r
2177     },\r
2178     {\r
2179         "id": "b3e81441.306338",\r
2180         "type": "execute",\r
2181         "name": "Send to SO",\r
2182         "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`\"/>",\r
2183         "comments": "",\r
2184         "outputs": 1,\r
2185         "x": 451.56260681152344,\r
2186         "y": 2524.6339015960693,\r
2187         "z": "f3e1d289.cac95",\r
2188         "wires": [\r
2189             [\r
2190                 "fc7013d9.4a109",\r
2191                 "ed979d44.31e2b"\r
2192             ]\r
2193         ]\r
2194     },\r
2195     {\r
2196         "id": "fc7013d9.4a109",\r
2197         "type": "failure",\r
2198         "name": "failure",\r
2199         "xml": "<outcome value='failure'>\n",\r
2200         "comments": "",\r
2201         "outputs": 1,\r
2202         "x": 795.5626106262207,\r
2203         "y": 2425.6338996887207,\r
2204         "z": "f3e1d289.cac95",\r
2205         "wires": [\r
2206             [\r
2207                 "d974fdb1.9d86a"\r
2208             ]\r
2209         ]\r
2210     },\r
2211     {\r
2212         "id": "ed979d44.31e2b",\r
2213         "type": "success",\r
2214         "name": "success",\r
2215         "xml": "<outcome value='success'>\n",\r
2216         "comments": "",\r
2217         "outputs": 1,\r
2218         "x": 881.5625305175781,\r
2219         "y": 2516.6339025497437,\r
2220         "z": "f3e1d289.cac95",\r
2221         "wires": [\r
2222             [\r
2223                 "ec581dfb.92df3"\r
2224             ]\r
2225         ]\r
2226     },\r
2227     {\r
2228         "id": "ec581dfb.92df3",\r
2229         "type": "block",\r
2230         "name": "block",\r
2231         "xml": "<block>\n",\r
2232         "atomic": "false",\r
2233         "comments": "",\r
2234         "outputs": 1,\r
2235         "x": 1120.5623168945312,\r
2236         "y": 2335.6338777542114,\r
2237         "z": "f3e1d289.cac95",\r
2238         "wires": [\r
2239             [\r
2240                 "738f7896.1530a8"\r
2241             ]\r
2242         ]\r
2243     },\r
2244     {\r
2245         "id": "d974fdb1.9d86a",\r
2246         "type": "block",\r
2247         "name": "block",\r
2248         "xml": "<block>\n",\r
2249         "atomic": "false",\r
2250         "comments": "",\r
2251         "outputs": 1,\r
2252         "x": 1131.5624809265137,\r
2253         "y": 2253.6339540481567,\r
2254         "z": "f3e1d289.cac95",\r
2255         "wires": [\r
2256             [\r
2257                 "e03ff9aa.45c688",\r
2258                 "abfa7a70.e96a98"\r
2259             ]\r
2260         ]\r
2261     },\r
2262     {\r
2263         "id": "e03ff9aa.45c688",\r
2264         "type": "returnFailure",\r
2265         "name": "return failure",\r
2266         "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\" />",\r
2267         "comments": "",\r
2268         "x": 1278.562099456787,\r
2269         "y": 2264.633695602417,\r
2270         "z": "f3e1d289.cac95",\r
2271         "wires": []\r
2272     },\r
2273     {\r
2274         "id": "738f7896.1530a8",\r
2275         "type": "record",\r
2276         "name": "record",\r
2277         "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 \"/>",\r
2278         "comments": "",\r
2279         "outputs": 1,\r
2280         "x": 1281.5622367858887,\r
2281         "y": 2341.6337699890137,\r
2282         "z": "f3e1d289.cac95",\r
2283         "wires": [\r
2284             []\r
2285         ]\r
2286     },\r
2287     {\r
2288         "id": "abfa7a70.e96a98",\r
2289         "type": "set",\r
2290         "name": "set",\r
2291         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",\r
2292         "comments": "",\r
2293         "x": 1266.0727081298828,\r
2294         "y": 2168.6231870651245,\r
2295         "z": "f3e1d289.cac95",\r
2296         "wires": []\r
2297     },\r
2298     {\r
2299         "id": "e32dce76.ce133",\r
2300         "type": "execute",\r
2301         "name": "generate URL for SO Callback",\r
2302         "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`\"/>",\r
2303         "comments": "",\r
2304         "outputs": 1,\r
2305         "x": 511.90212631225586,\r
2306         "y": 2380.619409561157,\r
2307         "z": "f3e1d289.cac95",\r
2308         "wires": [\r
2309             []\r
2310         ]\r
2311     },\r
2312     {\r
2313         "id": "25ec2edb.5190e2",\r
2314         "type": "returnSuccess",\r
2315         "name": "return success",\r
2316         "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\" />",\r
2317         "comments": "",\r
2318         "x": 161.00000381469727,\r
2319         "y": 2032.0625581741333,\r
2320         "z": "f3e1d289.cac95",\r
2321         "wires": []\r
2322     },\r
2323     {\r
2324         "id": "6018a94e.523c68",\r
2325         "type": "execute",\r
2326         "name": "read RIC list size",\r
2327         "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-cps-response._length`\"/>",\r
2328         "comments": "",\r
2329         "outputs": 1,\r
2330         "x": 581.722240447998,\r
2331         "y": 1877.0558156967163,\r
2332         "z": "f3e1d289.cac95",\r
2333         "wires": [\r
2334             []\r
2335         ]\r
2336     },\r
2337     {\r
2338         "id": "da1f393f.fd1958",\r
2339         "type": "record",\r
2340         "name": "record",\r
2341         "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",\r
2342         "comments": "",\r
2343         "outputs": 1,\r
2344         "x": 1912.499912261963,\r
2345         "y": 1255.389051437378,\r
2346         "z": "f3e1d289.cac95",\r
2347         "wires": [\r
2348             []\r
2349         ]\r
2350     },\r
2351     {\r
2352         "id": "bbc8d64.6ac3b28",\r
2353         "type": "record",\r
2354         "name": "record",\r
2355         "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",\r
2356         "comments": "",\r
2357         "outputs": 1,\r
2358         "x": 1912.4999504089355,\r
2359         "y": 1346.5000610351562,\r
2360         "z": "f3e1d289.cac95",\r
2361         "wires": [\r
2362             []\r
2363         ]\r
2364     },\r
2365     {\r
2366         "id": "834572a6.4a16e",\r
2367         "type": "record",\r
2368         "name": "record",\r
2369         "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",\r
2370         "comments": "",\r
2371         "outputs": 1,\r
2372         "x": 2372.4998512268066,\r
2373         "y": 1293.7222270965576,\r
2374         "z": "f3e1d289.cac95",\r
2375         "wires": [\r
2376             []\r
2377         ]\r
2378     },\r
2379     {\r
2380         "id": "3e18dd6e.84b502",\r
2381         "type": "execute",\r
2382         "name": "read nearRTRICID",\r
2383         "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    ",\r
2384         "comments": "",\r
2385         "outputs": 1,\r
2386         "x": 463.0000190734863,\r
2387         "y": 2062.2222290039062,\r
2388         "z": "f3e1d289.cac95",\r
2389         "wires": [\r
2390             []\r
2391         ]\r
2392     },\r
2393     {\r
2394         "id": "9f973845.f5fb18",\r
2395         "type": "block",\r
2396         "name": "block : atomic",\r
2397         "xml": "<block atomic='true'>",\r
2398         "atomic": "true",\r
2399         "comments": "",\r
2400         "outputs": 1,\r
2401         "x": 260.7777214050293,\r
2402         "y": 2084.888897895813,\r
2403         "z": "f3e1d289.cac95",\r
2404         "wires": [\r
2405             [\r
2406                 "3e18dd6e.84b502"\r
2407             ]\r
2408         ]\r
2409     },\r
2410     {\r
2411         "id": "2124cf02.35d0c",\r
2412         "type": "execute",\r
2413         "name": "prepare nearRTRICId",\r
2414         "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",\r
2415         "comments": "",\r
2416         "outputs": 1,\r
2417         "x": 2041.6665992736816,\r
2418         "y": 1698.4444561004639,\r
2419         "z": "f3e1d289.cac95",\r
2420         "wires": [\r
2421             []\r
2422         ]\r
2423     },\r
2424     {\r
2425         "id": "1d2f0748.1c2f99",\r
2426         "type": "execute",\r
2427         "name": "prepare mcc",\r
2428         "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",\r
2429         "comments": "",\r
2430         "outputs": 1,\r
2431         "x": 2038.3332252502441,\r
2432         "y": 1775.1110820770264,\r
2433         "z": "f3e1d289.cac95",\r
2434         "wires": [\r
2435             []\r
2436         ]\r
2437     },\r
2438     {\r
2439         "id": "3e5a3205.656e4e",\r
2440         "type": "execute",\r
2441         "name": "prepare mnc",\r
2442         "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",\r
2443         "comments": "",\r
2444         "outputs": 1,\r
2445         "x": 2034.9998512268066,\r
2446         "y": 1808.4444561004639,\r
2447         "z": "f3e1d289.cac95",\r
2448         "wires": [\r
2449             []\r
2450         ]\r
2451     },\r
2452     {\r
2453         "id": "22b9d404.77280c",\r
2454         "type": "execute",\r
2455         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",\r
2456         "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'`\" />",\r
2457         "comments": "",\r
2458         "outputs": 1,\r
2459         "x": 2107.833423614502,\r
2460         "y": 1512.6667178869247,\r
2461         "z": "f3e1d289.cac95",\r
2462         "wires": [\r
2463             []\r
2464         ]\r
2465     },\r
2466     {\r
2467         "id": "f55399d3.6b8fb8",\r
2468         "type": "record",\r
2469         "name": "record",\r
2470         "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",\r
2471         "comments": "",\r
2472         "outputs": 1,\r
2473         "x": 1964.72261428833,\r
2474         "y": 1552.4444879293442,\r
2475         "z": "f3e1d289.cac95",\r
2476         "wires": [\r
2477             []\r
2478         ]\r
2479     },\r
2480     {\r
2481         "id": "fd5dd255.728ac",\r
2482         "type": "switchNode",\r
2483         "name": "is NSSAI exists",\r
2484         "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",\r
2485         "comments": "",\r
2486         "outputs": 1,\r
2487         "x": 2007.9447555541992,\r
2488         "y": 1601.9999618530273,\r
2489         "z": "f3e1d289.cac95",\r
2490         "wires": [\r
2491             [\r
2492                 "cdfb9f8c.1da4c",\r
2493                 "24c0d031.a9b7d"\r
2494             ]\r
2495         ]\r
2496     },\r
2497     {\r
2498         "id": "cdfb9f8c.1da4c",\r
2499         "type": "outcome",\r
2500         "name": "True",\r
2501         "xml": "<outcome value='true'>\n",\r
2502         "comments": "",\r
2503         "outputs": 1,\r
2504         "x": 2150.6391830444336,\r
2505         "y": 1557.6667932271957,\r
2506         "z": "f3e1d289.cac95",\r
2507         "wires": [\r
2508             [\r
2509                 "cce89c36.b780e"\r
2510             ]\r
2511         ]\r
2512     },\r
2513     {\r
2514         "id": "f15c6d84.0314",\r
2515         "type": "block",\r
2516         "name": "block : atomic",\r
2517         "xml": "<block atomic='true'>",\r
2518         "atomic": "true",\r
2519         "comments": "",\r
2520         "outputs": 1,\r
2521         "x": 1766.9443092346191,\r
2522         "y": 1540.6666240692139,\r
2523         "z": "f3e1d289.cac95",\r
2524         "wires": [\r
2525             [\r
2526                 "ee9b49a4.c0c418",\r
2527                 "7e3aef42.e60cf",\r
2528                 "ab6a6808.280548"\r
2529             ]\r
2530         ]\r
2531     },\r
2532     {\r
2533         "id": "24c0d031.a9b7d",\r
2534         "type": "outcome",\r
2535         "name": "false",\r
2536         "xml": "<outcome value='false'>\n",\r
2537         "comments": "",\r
2538         "outputs": 1,\r
2539         "x": 2285.2775802612305,\r
2540         "y": 1550.3333276510239,\r
2541         "z": "f3e1d289.cac95",\r
2542         "wires": [\r
2543             [\r
2544                 "d5ba5400.774c88"\r
2545             ]\r
2546         ]\r
2547     },\r
2548     {\r
2549         "id": "d5ba5400.774c88",\r
2550         "type": "record",\r
2551         "name": "record",\r
2552         "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",\r
2553         "comments": "",\r
2554         "outputs": 1,\r
2555         "x": 2480.2777404785156,\r
2556         "y": 1497.3332815170288,\r
2557         "z": "f3e1d289.cac95",\r
2558         "wires": [\r
2559             []\r
2560         ]\r
2561     },\r
2562     {\r
2563         "id": "6eef273f.bcc7d8",\r
2564         "type": "execute",\r
2565         "name": "read cell id",\r
2566         "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'`\" />",\r
2567         "comments": "",\r
2568         "outputs": 1,\r
2569         "x": 1931.388843536377,\r
2570         "y": 1202.8888635635376,\r
2571         "z": "f3e1d289.cac95",\r
2572         "wires": [\r
2573             []\r
2574         ]\r
2575     },\r
2576     {\r
2577         "id": "3f0f3109.752fce",\r
2578         "type": "execute",\r
2579         "name": "read cellDU",\r
2580         "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'`\" />",\r
2581         "comments": "",\r
2582         "outputs": 1,\r
2583         "x": 2010.5555152893066,\r
2584         "y": 1906.2221660614014,\r
2585         "z": "f3e1d289.cac95",\r
2586         "wires": [\r
2587             []\r
2588         ]\r
2589     },\r
2590     {\r
2591         "id": "2d8deef9.ae1272",\r
2592         "type": "record",\r
2593         "name": "record",\r
2594         "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",\r
2595         "comments": "",\r
2596         "outputs": 1,\r
2597         "x": 2009.9301948547363,\r
2598         "y": 1941.5345468521118,\r
2599         "z": "f3e1d289.cac95",\r
2600         "wires": [\r
2601             []\r
2602         ]\r
2603     },\r
2604     {\r
2605         "id": "37f8ca4b.bc4116",\r
2606         "type": "switchNode",\r
2607         "name": "check the action",\r
2608         "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",\r
2609         "comments": "",\r
2610         "outputs": 1,\r
2611         "x": 798.166675567627,\r
2612         "y": 841.6666946411133,\r
2613         "z": "f3e1d289.cac95",\r
2614         "wires": [\r
2615             [\r
2616                 "b4d05d5d.96195",\r
2617                 "c9f09e95.e69fd"\r
2618             ]\r
2619         ]\r
2620     },\r
2621     {\r
2622         "id": "b4d05d5d.96195",\r
2623         "type": "outcome",\r
2624         "name": "True",\r
2625         "xml": "<outcome value='true'>\n",\r
2626         "comments": "",\r
2627         "outputs": 1,\r
2628         "x": 1134.666820526123,\r
2629         "y": 784.2222843170166,\r
2630         "z": "f3e1d289.cac95",\r
2631         "wires": [\r
2632             [\r
2633                 "3a84966d.34e61a"\r
2634             ]\r
2635         ]\r
2636     },\r
2637     {\r
2638         "id": "c9f09e95.e69fd",\r
2639         "type": "outcome",\r
2640         "name": "False",\r
2641         "xml": "<outcome value='false'>\n",\r
2642         "comments": "",\r
2643         "outputs": 1,\r
2644         "x": 1135.889045715332,\r
2645         "y": 837.1112022399902,\r
2646         "z": "f3e1d289.cac95",\r
2647         "wires": [\r
2648             [\r
2649                 "20489234.75219e"\r
2650             ]\r
2651         ]\r
2652     },\r
2653     {\r
2654         "id": "fb588e6.1b3587",\r
2655         "type": "set",\r
2656         "name": "set status as ACTIVE",\r
2657         "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",\r
2658         "comments": "",\r
2659         "x": 1672.1112480163574,\r
2660         "y": 770.2222537994385,\r
2661         "z": "f3e1d289.cac95",\r
2662         "wires": []\r
2663     },\r
2664     {\r
2665         "id": "306ad8b.84ab028",\r
2666         "type": "set",\r
2667         "name": "set status as INACTIVE",\r
2668         "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",\r
2669         "comments": "",\r
2670         "x": 1630.555591583252,\r
2671         "y": 839.555609703064,\r
2672         "z": "f3e1d289.cac95",\r
2673         "wires": []\r
2674     },\r
2675     {\r
2676         "id": "3a84966d.34e61a",\r
2677         "type": "block",\r
2678         "name": "block : atomic",\r
2679         "xml": "<block atomic='true'>",\r
2680         "atomic": "true",\r
2681         "comments": "",\r
2682         "outputs": 1,\r
2683         "x": 1431.6668281555176,\r
2684         "y": 761.9999942779541,\r
2685         "z": "f3e1d289.cac95",\r
2686         "wires": [\r
2687             [\r
2688                 "fb588e6.1b3587"\r
2689             ]\r
2690         ]\r
2691     },\r
2692     {\r
2693         "id": "20489234.75219e",\r
2694         "type": "block",\r
2695         "name": "block : atomic",\r
2696         "xml": "<block atomic='true'>",\r
2697         "atomic": "true",\r
2698         "comments": "",\r
2699         "outputs": 1,\r
2700         "x": 1322.3334121704102,\r
2701         "y": 811.6666927337646,\r
2702         "z": "f3e1d289.cac95",\r
2703         "wires": [\r
2704             [\r
2705                 "306ad8b.84ab028"\r
2706             ]\r
2707         ]\r
2708     },\r
2709     {\r
2710         "id": "6841431c.020a2c",\r
2711         "type": "execute",\r
2712         "name": "read snssailist size",\r
2713         "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'`\" />",\r
2714         "comments": "",\r
2715         "outputs": 1,\r
2716         "x": 2370.0000038146973,\r
2717         "y": 1221.0000222921371,\r
2718         "z": "f3e1d289.cac95",\r
2719         "wires": [\r
2720             []\r
2721         ]\r
2722     },\r
2723     {\r
2724         "id": "d5f12d4.b35f5d",\r
2725         "type": "for",\r
2726         "name": "foreach snssai",\r
2727         "xml": "<for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >\n",\r
2728         "comments": "",\r
2729         "outputs": 1,\r
2730         "x": 2378.0000038146973,\r
2731         "y": 1261.0000222921371,\r
2732         "z": "f3e1d289.cac95",\r
2733         "wires": [\r
2734             [\r
2735                 "3193eaa9.e97fe6"\r
2736             ]\r
2737         ]\r
2738     },\r
2739     {\r
2740         "id": "3193eaa9.e97fe6",\r
2741         "type": "block",\r
2742         "name": "block : atomic",\r
2743         "xml": "<block atomic='true'>",\r
2744         "atomic": "true",\r
2745         "comments": "",\r
2746         "outputs": 1,\r
2747         "x": 2571.2500038146973,\r
2748         "y": 1263.5000222921371,\r
2749         "z": "f3e1d289.cac95",\r
2750         "wires": [\r
2751             [\r
2752                 "f89ba912.658ee8",\r
2753                 "236f0778.82ee78",\r
2754                 "482f3d28.6fce24"\r
2755             ]\r
2756         ]\r
2757     },\r
2758     {\r
2759         "id": "ee9b49a4.c0c418",\r
2760         "type": "execute",\r
2761         "name": "read snssailist size",\r
2762         "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'`\" />",\r
2763         "comments": "",\r
2764         "outputs": 1,\r
2765         "x": 2003.9999885559082,\r
2766         "y": 1413.2500756978989,\r
2767         "z": "f3e1d289.cac95",\r
2768         "wires": [\r
2769             []\r
2770         ]\r
2771     },\r
2772     {\r
2773         "id": "7e3aef42.e60cf",\r
2774         "type": "for",\r
2775         "name": "foreach snssai",\r
2776         "xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",\r
2777         "comments": "",\r
2778         "outputs": 1,\r
2779         "x": 1990.0000267028809,\r
2780         "y": 1471.2500766515732,\r
2781         "z": "f3e1d289.cac95",\r
2782         "wires": [\r
2783             [\r
2784                 "2439d56a.0c3daa"\r
2785             ]\r
2786         ]\r
2787     },\r
2788     {\r
2789         "id": "2439d56a.0c3daa",\r
2790         "type": "block",\r
2791         "name": "block : atomic",\r
2792         "xml": "<block atomic='true'>",\r
2793         "atomic": "true",\r
2794         "comments": "",\r
2795         "outputs": 1,\r
2796         "x": 2199.2499961853027,\r
2797         "y": 1467.7500766515732,\r
2798         "z": "f3e1d289.cac95",\r
2799         "wires": [\r
2800             [\r
2801                 "22b9d404.77280c",\r
2802                 "f55399d3.6b8fb8",\r
2803                 "fd5dd255.728ac"\r
2804             ]\r
2805         ]\r
2806     },\r
2807     {\r
2808         "id": "573d7254.61b9ec",\r
2809         "type": "execute",\r
2810         "name": "read snssailist size",\r
2811         "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'`\" />",\r
2812         "comments": "",\r
2813         "outputs": 1,\r
2814         "x": 2392.0000038146973,\r
2815         "y": 1914.2500222921371,\r
2816         "z": "f3e1d289.cac95",\r
2817         "wires": [\r
2818             []\r
2819         ]\r
2820     },\r
2821     {\r
2822         "id": "395b9043.c9bc8",\r
2823         "type": "for",\r
2824         "name": "foreach snssai",\r
2825         "xml": "<for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >\n",\r
2826         "comments": "",\r
2827         "outputs": 1,\r
2828         "x": 2400.0000038146973,\r
2829         "y": 1954.2500222921371,\r
2830         "z": "f3e1d289.cac95",\r
2831         "wires": [\r
2832             [\r
2833                 "91d81bff.ebc588"\r
2834             ]\r
2835         ]\r
2836     },\r
2837     {\r
2838         "id": "91d81bff.ebc588",\r
2839         "type": "block",\r
2840         "name": "block : atomic",\r
2841         "xml": "<block atomic='true'>",\r
2842         "atomic": "true",\r
2843         "comments": "",\r
2844         "outputs": 1,\r
2845         "x": 2593.2500038146973,\r
2846         "y": 1956.7500222921371,\r
2847         "z": "f3e1d289.cac95",\r
2848         "wires": [\r
2849             [\r
2850                 "d406860f.792db8",\r
2851                 "13435487.dbdebb",\r
2852                 "7b0ddb79.15c6c4"\r
2853             ]\r
2854         ]\r
2855     },\r
2856     {\r
2857         "id": "ab6a6808.280548",\r
2858         "type": "record",\r
2859         "name": "record",\r
2860         "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",\r
2861         "comments": "",\r
2862         "outputs": 1,\r
2863         "x": 2004.2500038146973,\r
2864         "y": 1440.7500222921371,\r
2865         "z": "f3e1d289.cac95",\r
2866         "wires": [\r
2867             []\r
2868         ]\r
2869     },\r
2870     {\r
2871         "id": "116c7858.aac138",\r
2872         "type": "record",\r
2873         "name": "record",\r
2874         "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 to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",\r
2875         "comments": "",\r
2876         "outputs": 1,\r
2877         "x": 766.694501876831,\r
2878         "y": 914.7500705718994,\r
2879         "z": "f3e1d289.cac95",\r
2880         "wires": [\r
2881             []\r
2882         ]\r
2883     },\r
2884     {\r
2885         "id": "f7cfb69b.9c27d8",\r
2886         "type": "execute",\r
2887         "name": "getAnchors URL",\r
2888         "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",\r
2889         "comments": "",\r
2890         "outputs": 1,\r
2891         "x": 795.9444618225098,\r
2892         "y": 877.5000705718994,\r
2893         "z": "f3e1d289.cac95",\r
2894         "wires": [\r
2895             []\r
2896         ]\r
2897     },\r
2898     {\r
2899         "id": "d7780e63.dfef7",\r
2900         "type": "execute",\r
2901         "name": "set anchors size",\r
2902         "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",\r
2903         "comments": "",\r
2904         "outputs": 1,\r
2905         "x": 787.8490180969238,\r
2906         "y": 993.8210067749023,\r
2907         "z": "f3e1d289.cac95",\r
2908         "wires": [\r
2909             []\r
2910         ]\r
2911     },\r
2912     {\r
2913         "id": "4fdac4df.8afdcc",\r
2914         "type": "execute",\r
2915         "name": "read schemaSet",\r
2916         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",\r
2917         "comments": "",\r
2918         "outputs": 1,\r
2919         "x": 1103.8489074707031,\r
2920         "y": 1025.709882736206,\r
2921         "z": "f3e1d289.cac95",\r
2922         "wires": [\r
2923             []\r
2924         ]\r
2925     },\r
2926     {\r
2927         "id": "940dfe19.cae3c",\r
2928         "type": "execute",\r
2929         "name": "initialize nearRTRIC size",\r
2930         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",\r
2931         "comments": "",\r
2932         "outputs": 1,\r
2933         "x": 812.0464057922363,\r
2934         "y": 1038.4876747131348,\r
2935         "z": "f3e1d289.cac95",\r
2936         "wires": [\r
2937             []\r
2938         ]\r
2939     },\r
2940     {\r
2941         "id": "cc77fe2f.74da4",\r
2942         "type": "block",\r
2943         "name": "block : atomic",\r
2944         "xml": "<block atomic='true'>",\r
2945         "atomic": "true",\r
2946         "comments": "",\r
2947         "outputs": 1,\r
2948         "x": 708.0000038146973,\r
2949         "y": 1173.000020980835,\r
2950         "z": "f3e1d289.cac95",\r
2951         "wires": [\r
2952             [\r
2953                 "dbbdba44.c73298",\r
2954                 "e61e92b2.75535"\r
2955             ]\r
2956         ]\r
2957     },\r
2958     {\r
2959         "id": "44798c38.c2c674",\r
2960         "type": "execute",\r
2961         "name": "read anchorName",\r
2962         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",\r
2963         "comments": "",\r
2964         "outputs": 1,\r
2965         "x": 1579.555721282959,\r
2966         "y": 1155.7779512405396,\r
2967         "z": "f3e1d289.cac95",\r
2968         "wires": [\r
2969             []\r
2970         ]\r
2971     },\r
2972     {\r
2973         "id": "f07e8ef0.f0f35",\r
2974         "type": "for",\r
2975         "name": "For anchorsList",\r
2976         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",\r
2977         "comments": "",\r
2978         "outputs": 1,\r
2979         "x": 604.2962989807129,\r
2980         "y": 1110.7778148651123,\r
2981         "z": "f3e1d289.cac95",\r
2982         "wires": [\r
2983             [\r
2984                 "b2c62c0d.d023c"\r
2985             ]\r
2986         ]\r
2987     },\r
2988     {\r
2989         "id": "b2c62c0d.d023c",\r
2990         "type": "block",\r
2991         "name": "block : atomic",\r
2992         "xml": "<block atomic='true'>",\r
2993         "atomic": "true",\r
2994         "comments": "",\r
2995         "outputs": 1,\r
2996         "x": 793.1851692199707,\r
2997         "y": 1108.5555610656738,\r
2998         "z": "f3e1d289.cac95",\r
2999         "wires": [\r
3000             [\r
3001                 "f3696963.b06c68",\r
3002                 "4fdac4df.8afdcc"\r
3003             ]\r
3004         ]\r
3005     },\r
3006     {\r
3007         "id": "f3696963.b06c68",\r
3008         "type": "switchNode",\r
3009         "name": "check schemaSetName",\r
3010         "xml": "<switch test='`$tmp.schemaset.name`'>\n",\r
3011         "comments": "",\r
3012         "outputs": 1,\r
3013         "x": 1048.333438873291,\r
3014         "y": 1099.5555992126465,\r
3015         "z": "f3e1d289.cac95",\r
3016         "wires": [\r
3017             [\r
3018                 "b676b7ef.fd2e18"\r
3019             ]\r
3020         ]\r
3021     },\r
3022     {\r
3023         "id": "b676b7ef.fd2e18",\r
3024         "type": "outcome",\r
3025         "name": "if ran-network",\r
3026         "xml": "<outcome value='ran-network'>\n",\r
3027         "comments": "",\r
3028         "outputs": 1,\r
3029         "x": 1248.8889503479004,\r
3030         "y": 1099.7778778076172,\r
3031         "z": "f3e1d289.cac95",\r
3032         "wires": [\r
3033             [\r
3034                 "a0c159cc.1c8a68"\r
3035             ]\r
3036         ]\r
3037     },\r
3038     {\r
3039         "id": "a0c159cc.1c8a68",\r
3040         "type": "block",\r
3041         "name": "block : atomic",\r
3042         "xml": "<block atomic='true'>",\r
3043         "atomic": "true",\r
3044         "comments": "",\r
3045         "outputs": 1,\r
3046         "x": 1436.6914291381836,\r
3047         "y": 1096.1111793518066,\r
3048         "z": "f3e1d289.cac95",\r
3049         "wires": [\r
3050             [\r
3051                 "1ff22c13.6ba054",\r
3052                 "e0f9f75a.d90ee8"\r
3053             ]\r
3054         ]\r
3055     },\r
3056     {\r
3057         "id": "1ff22c13.6ba054",\r
3058         "type": "record",\r
3059         "name": "record",\r
3060         "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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",\r
3061         "comments": "",\r
3062         "outputs": 1,\r
3063         "x": 1625.6049156188965,\r
3064         "y": 1109.66676902771,\r
3065         "z": "f3e1d289.cac95",\r
3066         "wires": [\r
3067             []\r
3068         ]\r
3069     },\r
3070     {\r
3071         "id": "e61e92b2.75535",\r
3072         "type": "switchNode",\r
3073         "name": "check schemaSetName",\r
3074         "xml": "<switch test='`$tmp.schemaset.name`'>\n",\r
3075         "comments": "",\r
3076         "outputs": 1,\r
3077         "x": 947.3826942443848,\r
3078         "y": 1188.6790752410889,\r
3079         "z": "f3e1d289.cac95",\r
3080         "wires": [\r
3081             [\r
3082                 "cfdb45e5.210c98"\r
3083             ]\r
3084         ]\r
3085     },\r
3086     {\r
3087         "id": "dbbdba44.c73298",\r
3088         "type": "execute",\r
3089         "name": "read schemaSet",\r
3090         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",\r
3091         "comments": "",\r
3092         "outputs": 1,\r
3093         "x": 945.160457611084,\r
3094         "y": 1148.679048538208,\r
3095         "z": "f3e1d289.cac95",\r
3096         "wires": [\r
3097             []\r
3098         ]\r
3099     },\r
3100     {\r
3101         "id": "cfdb45e5.210c98",\r
3102         "type": "outcome",\r
3103         "name": "if ran-network",\r
3104         "xml": "<outcome value='ran-network'>\n",\r
3105         "comments": "",\r
3106         "outputs": 1,\r
3107         "x": 1184.9382820129395,\r
3108         "y": 1168.9013404846191,\r
3109         "z": "f3e1d289.cac95",\r
3110         "wires": [\r
3111             [\r
3112                 "6ef0fef5.bd25a"\r
3113             ]\r
3114         ]\r
3115     },\r
3116     {\r
3117         "id": "6ef0fef5.bd25a",\r
3118         "type": "block",\r
3119         "name": "block : atomic",\r
3120         "xml": "<block atomic='true'>",\r
3121         "atomic": "true",\r
3122         "comments": "",\r
3123         "outputs": 1,\r
3124         "x": 1371.0741233825684,\r
3125         "y": 1156.123507976532,\r
3126         "z": "f3e1d289.cac95",\r
3127         "wires": [\r
3128             [\r
3129                 "44798c38.c2c674",\r
3130                 "fa6eb99.0705648"\r
3131             ]\r
3132         ]\r
3133     },\r
3134     {\r
3135         "id": "23542b05.dc2d04",\r
3136         "type": "for",\r
3137         "name": "For anchorsList",\r
3138         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",\r
3139         "comments": "",\r
3140         "outputs": 1,\r
3141         "x": 495.0622901916504,\r
3142         "y": 1175.845754623413,\r
3143         "z": "f3e1d289.cac95",\r
3144         "wires": [\r
3145             [\r
3146                 "cc77fe2f.74da4"\r
3147             ]\r
3148         ]\r
3149     },\r
3150     {\r
3151         "id": "e0f9f75a.d90ee8",\r
3152         "type": "execute",\r
3153         "name": "set nearRTRIC size",\r
3154         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",\r
3155         "comments": "",\r
3156         "outputs": 1,\r
3157         "x": 1641.6623344421387,\r
3158         "y": 1068.8457717895508,\r
3159         "z": "f3e1d289.cac95",\r
3160         "wires": [\r
3161             []\r
3162         ]\r
3163     },\r
3164     {\r
3165         "id": "fa6eb99.0705648",\r
3166         "type": "block",\r
3167         "name": "block : atomic",\r
3168         "xml": "<block atomic='true'>",\r
3169         "atomic": "true",\r
3170         "comments": "",\r
3171         "outputs": 1,\r
3172         "x": 358.0000801086426,\r
3173         "y": 1332.0000438690186,\r
3174         "z": "f3e1d289.cac95",\r
3175         "wires": [\r
3176             [\r
3177                 "13083ff9.9ba0e",\r
3178                 "c73b13b7.6457f",\r
3179                 "a89d60f9.b3afd",\r
3180                 "58956a6f.0dc844",\r
3181                 "936c36c7.351c48",\r
3182                 "4fb00909.42b0e8",\r
3183                 "fb96c84e.999d28",\r
3184                 "324af10d.a689ce",\r
3185                 "ccfe8154.aca67",\r
3186                 "da661827.9a24e8",\r
3187                 "70f4b332.3f67bc",\r
3188                 "1636d37a.32239d",\r
3189                 "e1689a9d.e9a138"\r
3190             ]\r
3191         ]\r
3192     },\r
3193     {\r
3194         "id": "13083ff9.9ba0e",\r
3195         "type": "execute",\r
3196         "name": "generate getNearRTRICsFromRANNFNSSI URL",\r
3197         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",\r
3198         "comments": "",\r
3199         "outputs": 1,\r
3200         "x": 714.0000038146973,\r
3201         "y": 1251.0000438690186,\r
3202         "z": "f3e1d289.cac95",\r
3203         "wires": [\r
3204             []\r
3205         ]\r
3206     },\r
3207     {\r
3208         "id": "c73b13b7.6457f",\r
3209         "type": "execute",\r
3210         "name": "prepare tbdmt template",\r
3211         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`\"/>",\r
3212         "comments": "",\r
3213         "outputs": 1,\r
3214         "x": 634.000057220459,\r
3215         "y": 1293.0000448226929,\r
3216         "z": "f3e1d289.cac95",\r
3217         "wires": [\r
3218             []\r
3219         ]\r
3220     },\r
3221     {\r
3222         "id": "a89d60f9.b3afd",\r
3223         "type": "record",\r
3224         "name": "record TBDMT RestAPI params",\r
3225         "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 CPS TDBMT to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByNSSI.url`\" />",\r
3226         "comments": "",\r
3227         "outputs": 1,\r
3228         "x": 661.0000190734863,\r
3229         "y": 1334.0000457763672,\r
3230         "z": "f3e1d289.cac95",\r
3231         "wires": [\r
3232             []\r
3233         ]\r
3234     },\r
3235     {\r
3236         "id": "58956a6f.0dc844",\r
3237         "type": "execute",\r
3238         "name": "Get nearRTRIC for RANNFNSSIId",\r
3239         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",\r
3240         "comments": "",\r
3241         "outputs": 1,\r
3242         "x": 660.9999580383301,\r
3243         "y": 1379.0000476837158,\r
3244         "z": "f3e1d289.cac95",\r
3245         "wires": [\r
3246             [\r
3247                 "34d78223.0c58ce",\r
3248                 "fdf4ad99.2cfdf"\r
3249             ]\r
3250         ]\r
3251     },\r
3252     {\r
3253         "id": "936c36c7.351c48",\r
3254         "type": "execute",\r
3255         "name": "generate plmnid URL cps",\r
3256         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",\r
3257         "comments": "",\r
3258         "outputs": 1,\r
3259         "x": 629.0000190734863,\r
3260         "y": 1418.400113105774,\r
3261         "z": "f3e1d289.cac95",\r
3262         "wires": [\r
3263             []\r
3264         ]\r
3265     },\r
3266     {\r
3267         "id": "4fb00909.42b0e8",\r
3268         "type": "execute",\r
3269         "name": "prepare tbdmt template",\r
3270         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.getmcc`\"/>",\r
3271         "comments": "",\r
3272         "outputs": 1,\r
3273         "x": 626.0000190734863,\r
3274         "y": 1457.0000495910645,\r
3275         "z": "f3e1d289.cac95",\r
3276         "wires": [\r
3277             []\r
3278         ]\r
3279     },\r
3280     {\r
3281         "id": "fb96c84e.999d28",\r
3282         "type": "record",\r
3283         "name": "record TBDMT RestAPI params",\r
3284         "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 CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNID.url`\" />",\r
3285         "comments": "",\r
3286         "outputs": 1,\r
3287         "x": 648.0000190734863,\r
3288         "y": 1499.2000827789307,\r
3289         "z": "f3e1d289.cac95",\r
3290         "wires": [\r
3291             []\r
3292         ]\r
3293     },\r
3294     {\r
3295         "id": "324af10d.a689ce",\r
3296         "type": "execute",\r
3297         "name": "Get PLMNMCCID from sliceprofileID",\r
3298         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmccid-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",\r
3299         "comments": "",\r
3300         "outputs": 1,\r
3301         "x": 659.0001029968262,\r
3302         "y": 1538.2000007629395,\r
3303         "z": "f3e1d289.cac95",\r
3304         "wires": [\r
3305             [\r
3306                 "9b979001.e19ea",\r
3307                 "91ce8e96.7b954"\r
3308             ]\r
3309         ]\r
3310     },\r
3311     {\r
3312         "id": "da661827.9a24e8",\r
3313         "type": "execute",\r
3314         "name": "prepare tbdmt template",\r
3315         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnmncid-from-sliceprofile`\"/>",\r
3316         "comments": "",\r
3317         "outputs": 1,\r
3318         "x": 623.8000144958496,\r
3319         "y": 1621.0000534057617,\r
3320         "z": "f3e1d289.cac95",\r
3321         "wires": [\r
3322             []\r
3323         ]\r
3324     },\r
3325     {\r
3326         "id": "70f4b332.3f67bc",\r
3327         "type": "record",\r
3328         "name": "record TBDMT RestAPI params",\r
3329         "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 CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNMNCID.url`\" />",\r
3330         "comments": "",\r
3331         "outputs": 1,\r
3332         "x": 633.8000144958496,\r
3333         "y": 1661.200086593628,\r
3334         "z": "f3e1d289.cac95",\r
3335         "wires": [\r
3336             []\r
3337         ]\r
3338     },\r
3339     {\r
3340         "id": "1636d37a.32239d",\r
3341         "type": "execute",\r
3342         "name": "Get PLMNMNCID from sliceprofileID",\r
3343         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmncid-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",\r
3344         "comments": "",\r
3345         "outputs": 1,\r
3346         "x": 656.8000068664551,\r
3347         "y": 1718.2000064849854,\r
3348         "z": "f3e1d289.cac95",\r
3349         "wires": [\r
3350             [\r
3351                 "d00daa63.3b6d68",\r
3352                 "a3771879.f87528"\r
3353             ]\r
3354         ]\r
3355     },\r
3356     {\r
3357         "id": "ccfe8154.aca67",\r
3358         "type": "execute",\r
3359         "name": "generate plmnid URL cps",\r
3360         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",\r
3361         "comments": "",\r
3362         "outputs": 1,\r
3363         "x": 623.0000038146973,\r
3364         "y": 1580.4001178741455,\r
3365         "z": "f3e1d289.cac95",\r
3366         "wires": [\r
3367             []\r
3368         ]\r
3369     },\r
3370     {\r
3371         "id": "91ce8e96.7b954",\r
3372         "type": "success",\r
3373         "name": "success",\r
3374         "xml": "<outcome value='success'>\n",\r
3375         "comments": "",\r
3376         "outputs": 1,\r
3377         "x": 945.0000267028809,\r
3378         "y": 1536.0000495910645,\r
3379         "z": "f3e1d289.cac95",\r
3380         "wires": [\r
3381             [\r
3382                 "3bcccbe.161eb34"\r
3383             ]\r
3384         ]\r
3385     },\r
3386     {\r
3387         "id": "3bcccbe.161eb34",\r
3388         "type": "block",\r
3389         "name": "block : atomic",\r
3390         "xml": "<block atomic='true'>",\r
3391         "atomic": "true",\r
3392         "comments": "",\r
3393         "outputs": 1,\r
3394         "x": 1107.8888778686523,\r
3395         "y": 1516.8889636993408,\r
3396         "z": "f3e1d289.cac95",\r
3397         "wires": [\r
3398             [\r
3399                 "98958a16.366c78",\r
3400                 "ee434a02.367d08",\r
3401                 "71f9eb9e.acfe74"\r
3402             ]\r
3403         ]\r
3404     },\r
3405     {\r
3406         "id": "98958a16.366c78",\r
3407         "type": "record",\r
3408         "name": "record",\r
3409         "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 MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getplmnmccid-cps-response.httpResponse`\"/>",\r
3410         "comments": "",\r
3411         "outputs": 1,\r
3412         "x": 1332.0001983642578,\r
3413         "y": 1425.0000486373901,\r
3414         "z": "f3e1d289.cac95",\r
3415         "wires": [\r
3416             []\r
3417         ]\r
3418     },\r
3419     {\r
3420         "id": "9b979001.e19ea",\r
3421         "type": "failure",\r
3422         "name": "failure",\r
3423         "xml": "<outcome value='failure'>\n",\r
3424         "comments": "",\r
3425         "outputs": 1,\r
3426         "x": 954.7778167724609,\r
3427         "y": 1469.1111392974854,\r
3428         "z": "f3e1d289.cac95",\r
3429         "wires": [\r
3430             [\r
3431                 "bfe4df7a.0da4b"\r
3432             ]\r
3433         ]\r
3434     },\r
3435     {\r
3436         "id": "bfe4df7a.0da4b",\r
3437         "type": "block",\r
3438         "name": "block",\r
3439         "xml": "<block>",\r
3440         "atomic": "false",\r
3441         "comments": "",\r
3442         "outputs": 1,\r
3443         "x": 1181.0000228881836,\r
3444         "y": 1386.0000467300415,\r
3445         "z": "f3e1d289.cac95",\r
3446         "wires": [\r
3447             [\r
3448                 "50b582ea.3d097c"\r
3449             ]\r
3450         ]\r
3451     },\r
3452     {\r
3453         "id": "50b582ea.3d097c",\r
3454         "type": "set",\r
3455         "name": "set",\r
3456         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",\r
3457         "comments": "",\r
3458         "x": 1387.5555686950684,\r
3459         "y": 1380.8889083862305,\r
3460         "z": "f3e1d289.cac95",\r
3461         "wires": []\r
3462     },\r
3463     {\r
3464         "id": "ee434a02.367d08",\r
3465         "type": "record",\r
3466         "name": "record",\r
3467         "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=\"plmn mcc value\"/>\n<parameter name=\"field2\" value=\"`$tmp.plmn.mcc`\"/>",\r
3468         "comments": "",\r
3469         "outputs": 1,\r
3470         "x": 1341.4447555541992,\r
3471         "y": 1515.5779647827148,\r
3472         "z": "f3e1d289.cac95",\r
3473         "wires": [\r
3474             []\r
3475         ]\r
3476     },\r
3477     {\r
3478         "id": "71f9eb9e.acfe74",\r
3479         "type": "execute",\r
3480         "name": "read nearRTRICId-PLMN",\r
3481         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mcc' />\n\t<parameter name='source' value=\"`'getplmnmccid-cps-response.[0]'`\" />\n",\r
3482         "comments": "",\r
3483         "outputs": 1,\r
3484         "x": 1386.7114791870117,\r
3485         "y": 1477.8665885925293,\r
3486         "z": "f3e1d289.cac95",\r
3487         "wires": [\r
3488             []\r
3489         ]\r
3490     },\r
3491     {\r
3492         "id": "a3771879.f87528",\r
3493         "type": "success",\r
3494         "name": "success",\r
3495         "xml": "<outcome value='success'>\n",\r
3496         "comments": "",\r
3497         "outputs": 1,\r
3498         "x": 892.000186920166,\r
3499         "y": 1747.0000562667847,\r
3500         "z": "f3e1d289.cac95",\r
3501         "wires": [\r
3502             [\r
3503                 "1b4d1194.6bc91e"\r
3504             ]\r
3505         ]\r
3506     },\r
3507     {\r
3508         "id": "1b4d1194.6bc91e",\r
3509         "type": "block",\r
3510         "name": "block : atomic",\r
3511         "xml": "<block atomic='true'>",\r
3512         "atomic": "true",\r
3513         "comments": "",\r
3514         "outputs": 1,\r
3515         "x": 1062.2224426269531,\r
3516         "y": 1753.7778301239014,\r
3517         "z": "f3e1d289.cac95",\r
3518         "wires": [\r
3519             [\r
3520                 "fac57686.038168",\r
3521                 "58af5240.0f96cc",\r
3522                 "7785af20.f9a24"\r
3523             ]\r
3524         ]\r
3525     },\r
3526     {\r
3527         "id": "fac57686.038168",\r
3528         "type": "record",\r
3529         "name": "record",\r
3530         "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 plmnmnc info from Cps\"/>\n<parameter name=\"field2\" value=\"`$getplmnid-cps-response`\"/>",\r
3531         "comments": "",\r
3532         "outputs": 1,\r
3533         "x": 1303.9998779296875,\r
3534         "y": 1676.0002975463867,\r
3535         "z": "f3e1d289.cac95",\r
3536         "wires": [\r
3537             []\r
3538         ]\r
3539     },\r
3540     {\r
3541         "id": "d00daa63.3b6d68",\r
3542         "type": "failure",\r
3543         "name": "failure",\r
3544         "xml": "<outcome value='failure'>\n",\r
3545         "comments": "",\r
3546         "outputs": 1,\r
3547         "x": 891.9999465942383,\r
3548         "y": 1698.000051498413,\r
3549         "z": "f3e1d289.cac95",\r
3550         "wires": [\r
3551             [\r
3552                 "f8094fa5.8b02d"\r
3553             ]\r
3554         ]\r
3555     },\r
3556     {\r
3557         "id": "f8094fa5.8b02d",\r
3558         "type": "block",\r
3559         "name": "block",\r
3560         "xml": "<block>",\r
3561         "atomic": "false",\r
3562         "comments": "",\r
3563         "outputs": 1,\r
3564         "x": 1026.0001106262207,\r
3565         "y": 1678.0000534057617,\r
3566         "z": "f3e1d289.cac95",\r
3567         "wires": [\r
3568             [\r
3569                 "bf121d2e.6ec78"\r
3570             ]\r
3571         ]\r
3572     },\r
3573     {\r
3574         "id": "bf121d2e.6ec78",\r
3575         "type": "set",\r
3576         "name": "set",\r
3577         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",\r
3578         "comments": "",\r
3579         "x": 1163.999870300293,\r
3580         "y": 1655.0000524520874,\r
3581         "z": "f3e1d289.cac95",\r
3582         "wires": []\r
3583     },\r
3584     {\r
3585         "id": "58af5240.0f96cc",\r
3586         "type": "execute",\r
3587         "name": "read nearRTRICId-PLMN",\r
3588         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mnc' />\n\t<parameter name='source' value=\"`'getplmnmncid-cps-response.[0]'`\" />\n",\r
3589         "comments": "",\r
3590         "outputs": 1,\r
3591         "x": 1293.5999717712402,\r
3592         "y": 1726.8001041412354,\r
3593         "z": "f3e1d289.cac95",\r
3594         "wires": [\r
3595             []\r
3596         ]\r
3597     },\r
3598     {\r
3599         "id": "7785af20.f9a24",\r
3600         "type": "record",\r
3601         "name": "record",\r
3602         "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=\"plmn mnc value\"/>\n<parameter name=\"field2\" value=\"`$tmp.plmn.mnc`\"/>",\r
3603         "comments": "",\r
3604         "outputs": 1,\r
3605         "x": 1271.5999717712402,\r
3606         "y": 1776.2000885009766,\r
3607         "z": "f3e1d289.cac95",\r
3608         "wires": [\r
3609             []\r
3610         ]\r
3611     },\r
3612     {\r
3613         "id": "10de8a80.d7e346",\r
3614         "type": "record",\r
3615         "name": "record",\r
3616         "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 CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-cps-response._length`\"/>",\r
3617         "comments": "",\r
3618         "outputs": 1,\r
3619         "x": 1476.0000495910645,\r
3620         "y": 1287.0000400543213,\r
3621         "z": "f3e1d289.cac95",\r
3622         "wires": [\r
3623             []\r
3624         ]\r
3625     },\r
3626     {\r
3627         "id": "f7e28921.7b5d18",\r
3628         "type": "execute",\r
3629         "name": "printContext",\r
3630         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",\r
3631         "comments": "",\r
3632         "outputs": 1,\r
3633         "x": 1490.7780456542969,\r
3634         "y": 1329.0002040863037,\r
3635         "z": "f3e1d289.cac95",\r
3636         "wires": [\r
3637             []\r
3638         ]\r
3639     },\r
3640     {\r
3641         "id": "3f7b61b1.4ea72e",\r
3642         "type": "set",\r
3643         "name": "set",\r
3644         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",\r
3645         "comments": "",\r
3646         "x": 1520.0002174377441,\r
3647         "y": 1223.1111240386963,\r
3648         "z": "f3e1d289.cac95",\r
3649         "wires": []\r
3650     },\r
3651     {\r
3652         "id": "ab179ac7.711488",\r
3653         "type": "execute",\r
3654         "name": "read sliceProfileId from input",\r
3655         "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfileId`\" />",\r
3656         "comments": "",\r
3657         "outputs": 1,\r
3658         "x": 1097.8333740234375,\r
3659         "y": 704.3333640098572,\r
3660         "z": "f3e1d289.cac95",\r
3661         "wires": [\r
3662             []\r
3663         ]\r
3664     },\r
3665     {\r
3666         "id": "40671fa8.d6f66",\r
3667         "type": "execute",\r
3668         "name": "read RANNFNSSIId from input",\r
3669         "xml": "<set>\n<parameter name='tmp.payload.RANNFNSSIId' value=\"`$payloadJson.input.RANNFNSSIId`\" />\n",\r
3670         "comments": "",\r
3671         "outputs": 1,\r
3672         "x": 1105.8333740234375,\r
3673         "y": 739.3333654403687,\r
3674         "z": "f3e1d289.cac95",\r
3675         "wires": [\r
3676             []\r
3677         ]\r
3678     },\r
3679     {\r
3680         "id": "f46e9a3e.486758",\r
3681         "type": "failure",\r
3682         "name": "failure",\r
3683         "xml": "<outcome value='failure'>\n",\r
3684         "comments": "",\r
3685         "outputs": 1,\r
3686         "x": 1061.5556201934814,\r
3687         "y": 895.5555973052979,\r
3688         "z": "f3e1d289.cac95",\r
3689         "wires": [\r
3690             [\r
3691                 "89d2a8b7.399f48"\r
3692             ]\r
3693         ]\r
3694     },\r
3695     {\r
3696         "id": "26dde326.819b2c",\r
3697         "type": "success",\r
3698         "name": "success",\r
3699         "xml": "<outcome value='success'>\n",\r
3700         "comments": "",\r
3701         "outputs": 1,\r
3702         "x": 1058.05570602417,\r
3703         "y": 979.5000038146973,\r
3704         "z": "f3e1d289.cac95",\r
3705         "wires": [\r
3706             [\r
3707                 "d69340f3.62264"\r
3708             ]\r
3709         ]\r
3710     },\r
3711     {\r
3712         "id": "89d2a8b7.399f48",\r
3713         "type": "block",\r
3714         "name": "block",\r
3715         "xml": "<block>",\r
3716         "atomic": "false",\r
3717         "comments": "",\r
3718         "outputs": 1,\r
3719         "x": 1243.7501068115234,\r
3720         "y": 895.6667747497559,\r
3721         "z": "f3e1d289.cac95",\r
3722         "wires": [\r
3723             [\r
3724                 "b3d2ffd9.729d1",\r
3725                 "34ea2449.16afcc"\r
3726             ]\r
3727         ]\r
3728     },\r
3729     {\r
3730         "id": "d69340f3.62264",\r
3731         "type": "block",\r
3732         "name": "block : atomic",\r
3733         "xml": "<block atomic='true'>",\r
3734         "atomic": "true",\r
3735         "comments": "",\r
3736         "outputs": 1,\r
3737         "x": 1233.5000076293945,\r
3738         "y": 980.1667022705078,\r
3739         "z": "f3e1d289.cac95",\r
3740         "wires": [\r
3741             [\r
3742                 "e848df1a.2a5c9",\r
3743                 "eef6716a.ea024"\r
3744             ]\r
3745         ]\r
3746     },\r
3747     {\r
3748         "id": "b3d2ffd9.729d1",\r
3749         "type": "set",\r
3750         "name": "set",\r
3751         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",\r
3752         "comments": "",\r
3753         "x": 1401.2775535583496,\r
3754         "y": 854.4999933242798,\r
3755         "z": "f3e1d289.cac95",\r
3756         "wires": []\r
3757     },\r
3758     {\r
3759         "id": "e848df1a.2a5c9",\r
3760         "type": "record",\r
3761         "name": "record",\r
3762         "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 anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",\r
3763         "comments": "",\r
3764         "outputs": 1,\r
3765         "x": 1435.2497177124023,\r
3766         "y": 971.9167518615723,\r
3767         "z": "f3e1d289.cac95",\r
3768         "wires": [\r
3769             []\r
3770         ]\r
3771     },\r
3772     {\r
3773         "id": "eef6716a.ea024",\r
3774         "type": "execute",\r
3775         "name": "printContext",\r
3776         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />",\r
3777         "comments": "",\r
3778         "outputs": 1,\r
3779         "x": 1470.0279388427734,\r
3780         "y": 1027.1667518615723,\r
3781         "z": "f3e1d289.cac95",\r
3782         "wires": [\r
3783             []\r
3784         ]\r
3785     },\r
3786     {\r
3787         "id": "34ea2449.16afcc",\r
3788         "type": "record",\r
3789         "name": "record",\r
3790         "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=\"Failed to fetch anchors from CPS\"/>",\r
3791         "comments": "",\r
3792         "outputs": 1,\r
3793         "x": 1420.0834884643555,\r
3794         "y": 928.5278301239014,\r
3795         "z": "f3e1d289.cac95",\r
3796         "wires": [\r
3797             []\r
3798         ]\r
3799     },\r
3800     {\r
3801         "id": "3c2d99e7.498126",\r
3802         "type": "execute",\r
3803         "name": "Get list of anchors from CPS",\r
3804         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",\r
3805         "comments": "",\r
3806         "outputs": 1,\r
3807         "x": 813.0000190734863,\r
3808         "y": 953.6666889190674,\r
3809         "z": "f3e1d289.cac95",\r
3810         "wires": [\r
3811             [\r
3812                 "26dde326.819b2c",\r
3813                 "f46e9a3e.486758"\r
3814             ]\r
3815         ]\r
3816     },\r
3817     {\r
3818         "id": "e1689a9d.e9a138",\r
3819         "type": "set",\r
3820         "name": "set mcc & mnc Variables",\r
3821         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",\r
3822         "comments": "",\r
3823         "x": 615.4610137939453,\r
3824         "y": 1775.3667078018188,\r
3825         "z": "f3e1d289.cac95",\r
3826         "wires": []\r
3827     }\r
3828 ]