fix odl patches
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceReconfigure.json
1 [
2     {
3         "id": "5308c2c7.98350c",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 561.9443969726562,
10         "y": 231.6666965484619,
11         "z": "a4132826.623598",
12         "wires": [
13             [
14                 "8c2d7a68.272f18"
15             ]
16         ]
17     },
18     {
19         "id": "1e35add3.3e43a2",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 185.94439315795898,
24         "y": 136.66666889190674,
25         "z": "a4132826.623598",
26         "wires": [
27             [
28                 "c4fcfd13.be6c3"
29             ]
30         ]
31     },
32     {
33         "id": "c4fcfd13.be6c3",
34         "type": "service-logic",
35         "name": "ran-slice-api ${project.version}",
36         "module": "ran-slice-api",
37         "version": "${project.version}",
38         "comments": "",
39         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
40         "outputs": 1,
41         "x": 318.9443664550781,
42         "y": 233.66674995422363,
43         "z": "a4132826.623598",
44         "wires": [
45             [
46                 "5308c2c7.98350c"
47             ]
48         ]
49     },
50     {
51         "id": "54c1cf1c.bd234",
52         "type": "returnSuccess",
53         "name": "return success",
54         "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"N\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
55         "comments": "",
56         "x": 247.43402099609375,
57         "y": 1174.6669874191284,
58         "z": "a4132826.623598",
59         "wires": []
60     },
61     {
62         "id": "eb3544f6.254898",
63         "type": "comment",
64         "name": "instantiateRANSliceReconfigure",
65         "info": "",
66         "comments": "",
67         "x": 530.9443969726562,
68         "y": 173.67706871032715,
69         "z": "a4132826.623598",
70         "wires": []
71     },
72     {
73         "id": "8c2d7a68.272f18",
74         "type": "block",
75         "name": "block : atomic",
76         "xml": "<block atomic='true'>",
77         "atomic": "true",
78         "comments": "",
79         "outputs": 1,
80         "x": 196.94436645507812,
81         "y": 353.6770725250244,
82         "z": "a4132826.623598",
83         "wires": [
84             [
85                 "54c1cf1c.bd234",
86                 "c2abc765.421ae8",
87                 "a0d1b936.212298",
88                 "d43ab3b7.dd413"
89             ]
90         ]
91     },
92     {
93         "id": "d4657d67.267b3",
94         "type": "execute",
95         "name": "add RRM Policy ToNRCellDU using PUT",
96         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
97         "comments": "",
98         "outputs": 1,
99         "x": 4077.9343032836914,
100         "y": 7658.687556028366,
101         "z": "a4132826.623598",
102         "wires": [
103             [
104                 "4089eb9.7d62b14"
105             ]
106         ]
107     },
108     {
109         "id": "4089eb9.7d62b14",
110         "type": "success",
111         "name": "success",
112         "xml": "<outcome value='success'>\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 4414.934181213379,
116         "y": 7684.677057981491,
117         "z": "a4132826.623598",
118         "wires": [
119             [
120                 "f8a7a2.295fe86"
121             ]
122         ]
123     },
124     {
125         "id": "f8a7a2.295fe86",
126         "type": "block",
127         "name": "block",
128         "xml": "<block>\n",
129         "atomic": "false",
130         "comments": "",
131         "outputs": 1,
132         "x": 4594.933937072754,
133         "y": 7681.677057981491,
134         "z": "a4132826.623598",
135         "wires": [
136             [
137                 "f1aae18.c61032"
138             ]
139         ]
140     },
141     {
142         "id": "f1aae18.c61032",
143         "type": "record",
144         "name": "record",
145         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
146         "comments": "",
147         "outputs": 1,
148         "x": 4743.934238433838,
149         "y": 7707.677250623703,
150         "z": "a4132826.623598",
151         "wires": [
152             []
153         ]
154     },
155     {
156         "id": "d43ab3b7.dd413",
157         "type": "block",
158         "name": "SO Response",
159         "xml": "<block atomic='true'>",
160         "atomic": "true",
161         "comments": "",
162         "outputs": 1,
163         "x": 276.69439697265625,
164         "y": 1124.9313163757324,
165         "z": "a4132826.623598",
166         "wires": [
167             [
168                 "a44cfa3.bf3a708",
169                 "b4fdb0c.13b025",
170                 "869a42e7.ad168",
171                 "f189ead7.d54db8"
172             ]
173         ]
174     },
175     {
176         "id": "a44cfa3.bf3a708",
177         "type": "record",
178         "name": "record SO reply parms",
179         "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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
180         "comments": "",
181         "outputs": 1,
182         "x": 444.94437408447266,
183         "y": 1492.6815214157104,
184         "z": "a4132826.623598",
185         "wires": [
186             []
187         ]
188     },
189     {
190         "id": "863c82b0.fee6b",
191         "type": "failure",
192         "name": "failure",
193         "xml": "<outcome value='failure'>\n",
194         "comments": "",
195         "outputs": 1,
196         "x": 478.94447326660156,
197         "y": 1589.681224822998,
198         "z": "a4132826.623598",
199         "wires": [
200             [
201                 "8dff7c51.8074c"
202             ]
203         ]
204     },
205     {
206         "id": "c7b37697.cf47b8",
207         "type": "success",
208         "name": "success",
209         "xml": "<outcome value='success'>\n",
210         "comments": "",
211         "outputs": 1,
212         "x": 470.9443664550781,
213         "y": 1662.6811752319336,
214         "z": "a4132826.623598",
215         "wires": [
216             [
217                 "62cb6247.26a1bc"
218             ]
219         ]
220     },
221     {
222         "id": "62cb6247.26a1bc",
223         "type": "block",
224         "name": "block",
225         "xml": "<block>\n",
226         "atomic": "false",
227         "comments": "",
228         "outputs": 1,
229         "x": 616.9442100524902,
230         "y": 1667.6812839508057,
231         "z": "a4132826.623598",
232         "wires": [
233             [
234                 "63c5cf27.850e5"
235             ]
236         ]
237     },
238     {
239         "id": "8dff7c51.8074c",
240         "type": "block",
241         "name": "block",
242         "xml": "<block>\n",
243         "atomic": "false",
244         "comments": "",
245         "outputs": 1,
246         "x": 627.9443740844727,
247         "y": 1585.681360244751,
248         "z": "a4132826.623598",
249         "wires": [
250             [
251                 "7d4ea125.78427",
252                 "814141f.22dd5c"
253             ]
254         ]
255     },
256     {
257         "id": "7d4ea125.78427",
258         "type": "returnFailure",
259         "name": "return failure",
260         "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\" />",
261         "comments": "",
262         "x": 774.9439926147461,
263         "y": 1596.6811017990112,
264         "z": "a4132826.623598",
265         "wires": []
266     },
267     {
268         "id": "63c5cf27.850e5",
269         "type": "record",
270         "name": "record",
271         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
272         "comments": "",
273         "outputs": 1,
274         "x": 777.9441299438477,
275         "y": 1673.681176185608,
276         "z": "a4132826.623598",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "e78d6df2.248be",
283         "type": "block",
284         "name": "block : SO Response",
285         "xml": "<block atomic='true'>",
286         "atomic": "true",
287         "comments": "",
288         "outputs": 1,
289         "x": 3009.435417175293,
290         "y": 778.6772365570068,
291         "z": "a4132826.623598",
292         "wires": [
293             [
294                 "4dccd993.baa5d8",
295                 "315b9b37.039924",
296                 "8fff961f.91e078"
297             ]
298         ]
299     },
300     {
301         "id": "4dccd993.baa5d8",
302         "type": "set",
303         "name": "set tmp variables for SO response",
304         "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
305         "comments": "",
306         "x": 3327.436393737793,
307         "y": 702.5768947601318,
308         "z": "a4132826.623598",
309         "wires": []
310     },
311     {
312         "id": "315b9b37.039924",
313         "type": "record",
314         "name": "record configdb RestAPI parms",
315         "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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
316         "comments": "",
317         "outputs": 1,
318         "x": 3302.4352798461914,
319         "y": 799.6775722503662,
320         "z": "a4132826.623598",
321         "wires": [
322             []
323         ]
324     },
325     {
326         "id": "8fff961f.91e078",
327         "type": "execute",
328         "name": "Send to SO",
329         "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-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />",
330         "comments": "",
331         "outputs": 1,
332         "x": 3217.435291290283,
333         "y": 896.6774501800537,
334         "z": "a4132826.623598",
335         "wires": [
336             [
337                 "7e1c2bf9.164ef4",
338                 "3ca3479b.4461d8"
339             ]
340         ]
341     },
342     {
343         "id": "7e1c2bf9.164ef4",
344         "type": "failure",
345         "name": "failure",
346         "xml": "<outcome value='failure'>\n",
347         "comments": "",
348         "outputs": 1,
349         "x": 3443.435299873352,
350         "y": 873.6774191856384,
351         "z": "a4132826.623598",
352         "wires": [
353             [
354                 "9c99489.850dbb8"
355             ]
356         ]
357     },
358     {
359         "id": "3ca3479b.4461d8",
360         "type": "success",
361         "name": "success",
362         "xml": "<outcome value='success'>\n",
363         "comments": "",
364         "outputs": 1,
365         "x": 3433.4351539611816,
366         "y": 981.6773586273193,
367         "z": "a4132826.623598",
368         "wires": [
369             [
370                 "712d9e67.b479"
371             ]
372         ]
373     },
374     {
375         "id": "712d9e67.b479",
376         "type": "block",
377         "name": "block",
378         "xml": "<block>\n",
379         "atomic": "false",
380         "comments": "",
381         "outputs": 1,
382         "x": 3583.4349403381348,
383         "y": 1000.6774196624756,
384         "z": "a4132826.623598",
385         "wires": [
386             [
387                 "fd17f41d.93ec88"
388             ]
389         ]
390     },
391     {
392         "id": "9c99489.850dbb8",
393         "type": "block",
394         "name": "block",
395         "xml": "<block>\n",
396         "atomic": "false",
397         "comments": "",
398         "outputs": 1,
399         "x": 3594.4351692199707,
400         "y": 868.6775412559509,
401         "z": "a4132826.623598",
402         "wires": [
403             [
404                 "fa169b05.eb4498"
405             ]
406         ]
407     },
408     {
409         "id": "fa169b05.eb4498",
410         "type": "returnFailure",
411         "name": "return failure",
412         "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\" />",
413         "comments": "",
414         "x": 3760.4348487854004,
415         "y": 871.6773586273193,
416         "z": "a4132826.623598",
417         "wires": []
418     },
419     {
420         "id": "fd17f41d.93ec88",
421         "type": "record",
422         "name": "record",
423         "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=\"SO Response Sent \"/>",
424         "comments": "",
425         "outputs": 1,
426         "x": 3747.434955596924,
427         "y": 1006.6773586273193,
428         "z": "a4132826.623598",
429         "wires": [
430             []
431         ]
432     },
433     {
434         "id": "814141f.22dd5c",
435         "type": "set",
436         "name": "set",
437         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
438         "comments": "",
439         "x": 762.4546012878418,
440         "y": 1500.6705932617188,
441         "z": "a4132826.623598",
442         "wires": []
443     },
444     {
445         "id": "869a42e7.ad168",
446         "type": "execute",
447         "name": "generate URL for SO Callback",
448         "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`\"/>",
449         "comments": "",
450         "outputs": 1,
451         "x": 467.28399658203125,
452         "y": 1428.666675567627,
453         "z": "a4132826.623598",
454         "wires": [
455             []
456         ]
457     },
458     {
459         "id": "f6b3def0.84eaf",
460         "type": "failure",
461         "name": "true",
462         "xml": "<outcome value='true'>\n",
463         "comments": "",
464         "outputs": 1,
465         "x": 753.9446296691895,
466         "y": 291.66675662994385,
467         "z": "a4132826.623598",
468         "wires": [
469             [
470                 "600b130a.e6aa6c"
471             ]
472         ]
473     },
474     {
475         "id": "c2abc765.421ae8",
476         "type": "execute",
477         "name": "payload has dLThptPerSlice",
478         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n    <parameter name='target' value='dLThptPerSlice' />\n",
479         "comments": "",
480         "outputs": 1,
481         "x": 513.9444961547852,
482         "y": 569.6667218208313,
483         "z": "a4132826.623598",
484         "wires": [
485             [
486                 "f6b3def0.84eaf",
487                 "b652bd04.df2a9"
488             ]
489         ]
490     },
491     {
492         "id": "b652bd04.df2a9",
493         "type": "failure",
494         "name": "false",
495         "xml": "<outcome value='false'>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 378.4510498046875,
499         "y": 711.666919708252,
500         "z": "a4132826.623598",
501         "wires": [
502             [
503                 "10e9abdc.f3b004"
504             ]
505         ]
506     },
507     {
508         "id": "537a864f.b41268",
509         "type": "failure",
510         "name": "true",
511         "xml": "<outcome value='true'>\n",
512         "comments": "",
513         "outputs": 1,
514         "x": 545.9447784423828,
515         "y": 1073.6669187545776,
516         "z": "a4132826.623598",
517         "wires": [
518             [
519                 "9ee08b5b.832ee8"
520             ]
521         ]
522     },
523     {
524         "id": "600b130a.e6aa6c",
525         "type": "block",
526         "name": "Closed Loop",
527         "xml": "<block atomic=\"true\">",
528         "atomic": "true",
529         "comments": "",
530         "outputs": 1,
531         "x": 815.9446258544922,
532         "y": 152.66672658920288,
533         "z": "a4132826.623598",
534         "wires": [
535             [
536                 "b53f7876.b70068",
537                 "95070b76.1c0098"
538             ]
539         ]
540     },
541     {
542         "id": "9ee08b5b.832ee8",
543         "type": "block",
544         "name": "block : atomic",
545         "xml": "<block atomic=\"true\">",
546         "atomic": "true",
547         "outputs": 1,
548         "x": 712.9446868896484,
549         "y": 1072.666904449463,
550         "z": "a4132826.623598",
551         "wires": [
552             [
553                 "8f0e2656.224048",
554                 "f6b65386.cb3fc",
555                 "186dbba8.f40024",
556                 "d1e08c64.f9b07"
557             ]
558         ]
559     },
560     {
561         "id": "10e9abdc.f3b004",
562         "type": "execute",
563         "name": "Intelligent Slicing",
564         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n    <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n    <parameter name='target' value='maxNumberofConns' />\n",
565         "comments": "",
566         "outputs": 1,
567         "x": 371.9448547363281,
568         "y": 1071.6669654846191,
569         "z": "a4132826.623598",
570         "wires": [
571             [
572                 "537a864f.b41268"
573             ]
574         ]
575     },
576     {
577         "id": "b53f7876.b70068",
578         "type": "record",
579         "name": "record",
580         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n\n",
581         "comments": "",
582         "outputs": 1,
583         "x": 1021.9444122314453,
584         "y": 137.66672229766846,
585         "z": "a4132826.623598",
586         "wires": [
587             []
588         ]
589     },
590     {
591         "id": "8f0e2656.224048",
592         "type": "record",
593         "name": "record",
594         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n\n",
595         "comments": "",
596         "outputs": 1,
597         "x": 869.9447937011719,
598         "y": 1043.6669483184814,
599         "z": "a4132826.623598",
600         "wires": [
601             []
602         ]
603     },
604     {
605         "id": "a0d1b936.212298",
606         "type": "record",
607         "name": "record",
608         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Reached instantiateRANSliceReconfigure \"/>\n\n",
609         "comments": "",
610         "outputs": 1,
611         "x": 586.9443969726562,
612         "y": 304.6666965484619,
613         "z": "a4132826.623598",
614         "wires": [
615             []
616         ]
617     },
618     {
619         "id": "95070b76.1c0098",
620         "type": "block",
621         "name": "NearRTRIC",
622         "xml": "<block atomic=\"true\">",
623         "atomic": "true",
624         "comments": "",
625         "outputs": 1,
626         "x": 919.954948425293,
627         "y": 266.677134513855,
628         "z": "a4132826.623598",
629         "wires": [
630             [
631                 "cfbc1f43.5c09a",
632                 "9ae16990.24b758"
633             ]
634         ]
635     },
636     {
637         "id": "f6b65386.cb3fc",
638         "type": "block",
639         "name": "CUCP",
640         "xml": "<block atomic=\"true\">",
641         "atomic": "true",
642         "comments": "",
643         "outputs": 1,
644         "x": 846.955192565918,
645         "y": 1187.6772193908691,
646         "z": "a4132826.623598",
647         "wires": [
648             [
649                 "db0afa2f.d8a5d8",
650                 "714d1164.e315b"
651             ]
652         ]
653     },
654     {
655         "id": "709ede26.eecf8",
656         "type": "execute",
657         "name": "Update slice profile for nearRTRIC",
658         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.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=\"nearRTRIC-slice-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
659         "comments": "",
660         "outputs": 1,
661         "x": 1490.8439712524414,
662         "y": 449.6771602630615,
663         "z": "a4132826.623598",
664         "wires": [
665             [
666                 "37a47363.e1d71c",
667                 "db0bbf38.87581"
668             ]
669         ]
670     },
671     {
672         "id": "37a47363.e1d71c",
673         "type": "failure",
674         "name": "failure",
675         "xml": "<outcome value='failure'>\n",
676         "comments": "",
677         "outputs": 1,
678         "x": 1776.8443069458008,
679         "y": 390.66669273376465,
680         "z": "a4132826.623598",
681         "wires": [
682             [
683                 "5da00f62.c1caa"
684             ]
685         ]
686     },
687     {
688         "id": "db0bbf38.87581",
689         "type": "success",
690         "name": "success",
691         "xml": "<outcome value='success'>\n",
692         "comments": "",
693         "outputs": 1,
694         "x": 1769.8443717956543,
695         "y": 450.6666011810303,
696         "z": "a4132826.623598",
697         "wires": [
698             [
699                 "bb94707a.c3725"
700             ]
701         ]
702     },
703     {
704         "id": "5da00f62.c1caa",
705         "type": "block",
706         "name": "block",
707         "xml": "<block>\n",
708         "atomic": "false",
709         "comments": "",
710         "outputs": 1,
711         "x": 1959.8444023132324,
712         "y": 433.6667003631592,
713         "z": "a4132826.623598",
714         "wires": [
715             [
716                 "78e5f08b.43c2d",
717                 "c53690e.569fd7",
718                 "e78d6df2.248be"
719             ]
720         ]
721     },
722     {
723         "id": "bb94707a.c3725",
724         "type": "block",
725         "name": "block",
726         "xml": "<block>\n",
727         "atomic": "false",
728         "comments": "",
729         "outputs": 1,
730         "x": 1951.844036102295,
731         "y": 479.6666622161865,
732         "z": "a4132826.623598",
733         "wires": [
734             [
735                 "18d514d9.ae98eb",
736                 "d4beff80.9c512"
737             ]
738         ]
739     },
740     {
741         "id": "7acabf3a.829b6",
742         "type": "block",
743         "name": "Update SiceProfile for NeaeRTRIC",
744         "xml": "<block atomic='true'>",
745         "atomic": "true",
746         "comments": "",
747         "outputs": 1,
748         "x": 1087.9444885253906,
749         "y": 434.41147232055664,
750         "z": "a4132826.623598",
751         "wires": [
752             [
753                 "850543de.8fe82",
754                 "982ee349.15cdd",
755                 "bce2f4fb.bbd318",
756                 "709ede26.eecf8"
757             ]
758         ]
759     },
760     {
761         "id": "bce2f4fb.bbd318",
762         "type": "switchNode",
763         "name": "ransim mounted",
764         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
765         "comments": "",
766         "outputs": 1,
767         "x": 1439.9447917938232,
768         "y": 325.0677165687084,
769         "z": "a4132826.623598",
770         "wires": [
771             [
772                 "ce59e011.1537f",
773                 "f221e301.437b2"
774             ]
775         ]
776     },
777     {
778         "id": "ce59e011.1537f",
779         "type": "outcome",
780         "name": "Not Mounted",
781         "xml": "<outcome value='false'>\n",
782         "comments": "",
783         "outputs": 1,
784         "x": 1602.944715499878,
785         "y": 257.06750628352165,
786         "z": "a4132826.623598",
787         "wires": [
788             [
789                 "f4c8a31d.8b0e8"
790             ]
791         ]
792     },
793     {
794         "id": "f221e301.437b2",
795         "type": "outcome",
796         "name": "Mounted",
797         "xml": "<outcome value='true'>\n",
798         "comments": "",
799         "outputs": 1,
800         "x": 1614.9448356628418,
801         "y": 334.0676097869873,
802         "z": "a4132826.623598",
803         "wires": [
804             [
805                 "66aabfa5.98ccb"
806             ]
807         ]
808     },
809     {
810         "id": "982ee349.15cdd",
811         "type": "record",
812         "name": "record",
813         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Patch SliceProfile ToNearRTRIC url for closed loop:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
814         "comments": "",
815         "outputs": 1,
816         "x": 1416.9450492858887,
817         "y": 360.4116805754602,
818         "z": "a4132826.623598",
819         "wires": [
820             []
821         ]
822     },
823     {
824         "id": "850543de.8fe82",
825         "type": "record",
826         "name": "record",
827         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PATCH SliceProfile ToNearRTRIC - closed loop\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field4\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field6\" value=\"`$tmp.sliceProfileId`\"/>",
828         "comments": "",
829         "outputs": 1,
830         "x": 1417.9456901550293,
831         "y": 405.4010372161865,
832         "z": "a4132826.623598",
833         "wires": [
834             []
835         ]
836     },
837     {
838         "id": "3c7063e.d58929c",
839         "type": "execute",
840         "name": "Populate MOUNT NAME",
841         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
842         "comments": "",
843         "outputs": 1,
844         "x": 2031.4797134399414,
845         "y": 384.6667308807373,
846         "z": "a4132826.623598",
847         "wires": [
848             []
849         ]
850     },
851     {
852         "id": "b7125863.e9ab68",
853         "type": "execute",
854         "name": "Populate addSliceProfile.ToNearRTRIC URL",
855         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
856         "comments": "",
857         "outputs": 1,
858         "x": 2102.0143280029297,
859         "y": 340.2657527923584,
860         "z": "a4132826.623598",
861         "wires": [
862             []
863         ]
864     },
865     {
866         "id": "66aabfa5.98ccb",
867         "type": "block",
868         "name": "ransim  URL",
869         "xml": "<block atomic='true'>",
870         "atomic": "true",
871         "comments": "",
872         "outputs": 1,
873         "x": 1797.9344902038574,
874         "y": 340.06759452819824,
875         "z": "a4132826.623598",
876         "wires": [
877             [
878                 "52dd7d07.790684",
879                 "b7125863.e9ab68",
880                 "3c7063e.d58929c"
881             ]
882         ]
883     },
884     {
885         "id": "52dd7d07.790684",
886         "type": "execute",
887         "name": "generate addSliceProfile.ToNearRTRIC URL",
888         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
889         "comments": "",
890         "outputs": 1,
891         "x": 2093.4791717529297,
892         "y": 295.6669411659241,
893         "z": "a4132826.623598",
894         "wires": [
895             []
896         ]
897     },
898     {
899         "id": "d3815dd0.19892",
900         "type": "execute",
901         "name": "Populate addSliceProfile.ToNearRTRIC URL",
902         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
903         "comments": "",
904         "outputs": 1,
905         "x": 2064.479537963867,
906         "y": 240.66683387756348,
907         "z": "a4132826.623598",
908         "wires": [
909             []
910         ]
911     },
912     {
913         "id": "a9f62851.aa99d8",
914         "type": "execute",
915         "name": "generate addSliceProfile.ToNearRTRIC URL",
916         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
917         "comments": "",
918         "outputs": 1,
919         "x": 2059.9447631835938,
920         "y": 191.0678367614746,
921         "z": "a4132826.623598",
922         "wires": [
923             []
924         ]
925     },
926     {
927         "id": "f4c8a31d.8b0e8",
928         "type": "block",
929         "name": "URL",
930         "xml": "<block atomic='true'>",
931         "atomic": "true",
932         "comments": "",
933         "outputs": 1,
934         "x": 1762.146240234375,
935         "y": 263.6667012870312,
936         "z": "a4132826.623598",
937         "wires": [
938             [
939                 "a9f62851.aa99d8",
940                 "d3815dd0.19892"
941             ]
942         ]
943     },
944     {
945         "id": "9ae16990.24b758",
946         "type": "set",
947         "name": "set Temp Variables",
948         "xml": "<set>\n<parameter name='tmp.payload.numberUpdates' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>",
949         "comments": "",
950         "x": 1083.9483795166016,
951         "y": 210.67061710357666,
952         "z": "a4132826.623598",
953         "wires": []
954     },
955     {
956         "id": "cfbc1f43.5c09a",
957         "type": "for",
958         "name": "For Number of patches",
959         "xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
960         "comments": "",
961         "outputs": 1,
962         "x": 1064.9483184814453,
963         "y": 333.67061710357666,
964         "z": "a4132826.623598",
965         "wires": [
966             [
967                 "7acabf3a.829b6",
968                 "f207a54e.c3ea88",
969                 "7782fbac.8910b4",
970                 "714d1164.e315b"
971             ]
972         ]
973     },
974     {
975         "id": "f207a54e.c3ea88",
976         "type": "set",
977         "name": "set Temp Variables",
978         "xml": "<set>\n<parameter name=\"tmp.dLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].dLThptPerSlice`\"/>\n<parameter name=\"tmp.uLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].uLThptPerSlice`\"/>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].nearRTRICId`\"/>",
979         "comments": "",
980         "x": 1263.3993797302246,
981         "y": 254.67712879180908,
982         "z": "a4132826.623598",
983         "wires": []
984     },
985     {
986         "id": "78e5f08b.43c2d",
987         "type": "set",
988         "name": "set",
989         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>",
990         "comments": "",
991         "x": 2145.39933013916,
992         "y": 434.67712211608887,
993         "z": "a4132826.623598",
994         "wires": []
995     },
996     {
997         "id": "c53690e.569fd7",
998         "type": "returnFailure",
999         "name": "return failure",
1000         "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 slice profile parms for close loop. Exiting close loop operation'/>",
1001         "comments": "",
1002         "x": 2155.3991165161133,
1003         "y": 473.56610679626465,
1004         "z": "a4132826.623598",
1005         "wires": []
1006     },
1007     {
1008         "id": "18d514d9.ae98eb",
1009         "type": "record",
1010         "name": "record",
1011         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully PATCHED NearRTRIC for close loop operation\"/>",
1012         "comments": "",
1013         "outputs": 1,
1014         "x": 2143.399028778076,
1015         "y": 510.5660762786865,
1016         "z": "a4132826.623598",
1017         "wires": [
1018             []
1019         ]
1020     },
1021     {
1022         "id": "d4beff80.9c512",
1023         "type": "execute",
1024         "name": "printContext",
1025         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-closedloop-nearRTRIC-context.log' />\n\n\n",
1026         "comments": "",
1027         "outputs": 1,
1028         "x": 2162.1774368286133,
1029         "y": 546.5661144256592,
1030         "z": "a4132826.623598",
1031         "wires": [
1032             []
1033         ]
1034     },
1035     {
1036         "id": "186dbba8.f40024",
1037         "type": "set",
1038         "name": "set Temp Variables",
1039         "xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.payload.sNSSAI\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
1040         "comments": "",
1041         "x": 904.0664215087891,
1042         "y": 1084.5662250518799,
1043         "z": "a4132826.623598",
1044         "wires": []
1045     },
1046     {
1047         "id": "db0afa2f.d8a5d8",
1048         "type": "for",
1049         "name": "For Number of data Points",
1050         "xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
1051         "comments": "",
1052         "outputs": 1,
1053         "x": 1079.0659866333008,
1054         "y": 1177.5661506652832,
1055         "z": "a4132826.623598",
1056         "wires": [
1057             [
1058                 "997d5a8f.bd5138"
1059             ]
1060         ]
1061     },
1062     {
1063         "id": "714d1164.e315b",
1064         "type": "block",
1065         "name": "get PLMNId",
1066         "xml": "<block atomic='true'>",
1067         "atomic": "true",
1068         "comments": "",
1069         "outputs": 1,
1070         "x": 1052.6943969726562,
1071         "y": 600.416669845581,
1072         "z": "a4132826.623598",
1073         "wires": [
1074             [
1075                 "8c3c684d.6b7008",
1076                 "6adac12f.ecb27",
1077                 "ec2e9015.a465a",
1078                 "f14d513c.ba7bc",
1079                 "ddd5395f.7eb198",
1080                 "514838fc.4f4588",
1081                 "8336120c.00cad"
1082             ]
1083         ]
1084     },
1085     {
1086         "id": "8c3c684d.6b7008",
1087         "type": "execute",
1088         "name": "get PLMNId URL",
1089         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n    <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
1090         "comments": "",
1091         "outputs": 1,
1092         "x": 1317.6943893432617,
1093         "y": 490.41666412353516,
1094         "z": "a4132826.623598",
1095         "wires": [
1096             []
1097         ]
1098     },
1099     {
1100         "id": "6adac12f.ecb27",
1101         "type": "record",
1102         "name": "record",
1103         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
1104         "comments": "",
1105         "outputs": 1,
1106         "x": 1291.1945152282715,
1107         "y": 538.4167022705078,
1108         "z": "a4132826.623598",
1109         "wires": [
1110             []
1111         ]
1112     },
1113     {
1114         "id": "ec2e9015.a465a",
1115         "type": "execute",
1116         "name": "Get PLMN from Sliceprofile id",
1117         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-CL-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
1118         "comments": "",
1119         "outputs": 1,
1120         "x": 1358.9443893432617,
1121         "y": 576.416651725769,
1122         "z": "a4132826.623598",
1123         "wires": [
1124             [
1125                 "f8debae8.8f1b68",
1126                 "419dc3d0.d48c9c"
1127             ]
1128         ]
1129     },
1130     {
1131         "id": "8336120c.00cad",
1132         "type": "set",
1133         "name": "set PLMNId",
1134         "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
1135         "comments": "",
1136         "x": 1316.1319198608398,
1137         "y": 617.1042184829712,
1138         "z": "a4132826.623598",
1139         "wires": []
1140     },
1141     {
1142         "id": "f14d513c.ba7bc",
1143         "type": "execute",
1144         "name": "find MCC",
1145         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mcc\"/>\n    <parameter name=\"begin-index\" value=\"0\" />\n    <parameter name=\"end-index\" value=\"3\" />",
1146         "comments": "",
1147         "outputs": 1,
1148         "x": 1299.9443893432617,
1149         "y": 656.6667845249176,
1150         "z": "a4132826.623598",
1151         "wires": [
1152             []
1153         ]
1154     },
1155     {
1156         "id": "ddd5395f.7eb198",
1157         "type": "execute",
1158         "name": "find MNC",
1159         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mnc\"/>\n    <parameter name=\"begin-index\" value=\"4\" />",
1160         "comments": "",
1161         "outputs": 1,
1162         "x": 1303.694465637207,
1163         "y": 693.9166173934937,
1164         "z": "a4132826.623598",
1165         "wires": [
1166             []
1167         ]
1168     },
1169     {
1170         "id": "514838fc.4f4588",
1171         "type": "record",
1172         "name": "record",
1173         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.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`\"/>",
1174         "comments": "",
1175         "outputs": 1,
1176         "x": 1304.4379425048828,
1177         "y": 735.9101409912109,
1178         "z": "a4132826.623598",
1179         "wires": [
1180             []
1181         ]
1182     },
1183     {
1184         "id": "f8debae8.8f1b68",
1185         "type": "success",
1186         "name": "success",
1187         "xml": "<outcome value='success'>\n",
1188         "comments": "",
1189         "outputs": 1,
1190         "x": 1596.4443893432617,
1191         "y": 581.6666641235352,
1192         "z": "a4132826.623598",
1193         "wires": [
1194             [
1195                 "7c0f178b.1c54e8"
1196             ]
1197         ]
1198     },
1199     {
1200         "id": "419dc3d0.d48c9c",
1201         "type": "failure",
1202         "name": "failure",
1203         "xml": "<outcome value='failure'>\n",
1204         "comments": "",
1205         "outputs": 1,
1206         "x": 1595.0071334838867,
1207         "y": 631.2291631698608,
1208         "z": "a4132826.623598",
1209         "wires": [
1210             [
1211                 "49e6c73.14af838"
1212             ]
1213         ]
1214     },
1215     {
1216         "id": "7c0f178b.1c54e8",
1217         "type": "block",
1218         "name": "block : atomic",
1219         "xml": "<block atomic='true'>",
1220         "atomic": "true",
1221         "comments": "",
1222         "outputs": 1,
1223         "x": 1769.444190979004,
1224         "y": 570.6667366027832,
1225         "z": "a4132826.623598",
1226         "wires": [
1227             [
1228                 "3919f283.d8506e",
1229                 "7c4be284.1c798c"
1230             ]
1231         ]
1232     },
1233     {
1234         "id": "49e6c73.14af838",
1235         "type": "block",
1236         "name": "block : atomic",
1237         "xml": "<block atomic='true'>",
1238         "atomic": "true",
1239         "comments": "",
1240         "outputs": 1,
1241         "x": 1756.0069961547852,
1242         "y": 609.2290897369385,
1243         "z": "a4132826.623598",
1244         "wires": [
1245             [
1246                 "78b85648.bb2458",
1247                 "20ea74cc.4fa27c",
1248                 "e78d6df2.248be"
1249             ]
1250         ]
1251     },
1252     {
1253         "id": "3919f283.d8506e",
1254         "type": "record",
1255         "name": "record",
1256         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-CL-configdb-response`\"/>",
1257         "comments": "",
1258         "outputs": 1,
1259         "x": 1970.193920135498,
1260         "y": 570.4167613983154,
1261         "z": "a4132826.623598",
1262         "wires": [
1263             []
1264         ]
1265     },
1266     {
1267         "id": "7c4be284.1c798c",
1268         "type": "execute",
1269         "name": "printContext",
1270         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
1271         "comments": "",
1272         "outputs": 1,
1273         "x": 2005.9721336364746,
1274         "y": 613.6667699813843,
1275         "z": "a4132826.623598",
1276         "wires": [
1277             []
1278         ]
1279     },
1280     {
1281         "id": "20ea74cc.4fa27c",
1282         "type": "set",
1283         "name": "set",
1284         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1285         "comments": "",
1286         "x": 2001.0073471069336,
1287         "y": 646.3401899337769,
1288         "z": "a4132826.623598",
1289         "wires": []
1290     },
1291     {
1292         "id": "78b85648.bb2458",
1293         "type": "returnFailure",
1294         "name": "return failure",
1295         "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 Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1296         "comments": "",
1297         "x": 2001.0070419311523,
1298         "y": 682.2291746139526,
1299         "z": "a4132826.623598",
1300         "wires": []
1301     },
1302     {
1303         "id": "7782fbac.8910b4",
1304         "type": "block",
1305         "name": "Update NearRTRIC Config",
1306         "xml": "<block atomic=\"true\">",
1307         "atomic": "true",
1308         "comments": "",
1309         "outputs": 1,
1310         "x": 813.4443969726562,
1311         "y": 797.166669845581,
1312         "z": "a4132826.623598",
1313         "wires": [
1314             [
1315                 "56cbc2f3.98600c",
1316                 "b0f2567.bbb75a8",
1317                 "cb02fedf.54fae",
1318                 "898f3f4d.3a21c",
1319                 "9125173f.757b88"
1320             ]
1321         ]
1322     },
1323     {
1324         "id": "56cbc2f3.98600c",
1325         "type": "switchNode",
1326         "name": "ransim mounted",
1327         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1328         "comments": "",
1329         "outputs": 1,
1330         "x": 1052.194435119629,
1331         "y": 717.6667079925537,
1332         "z": "a4132826.623598",
1333         "wires": [
1334             [
1335                 "18a7b674.c4977a",
1336                 "ee798340.3d286"
1337             ]
1338         ]
1339     },
1340     {
1341         "id": "18a7b674.c4977a",
1342         "type": "outcome",
1343         "name": "Not Mounted",
1344         "xml": "<outcome value='false'>\n",
1345         "comments": "",
1346         "outputs": 1,
1347         "x": 1273.194320678711,
1348         "y": 774.6664595603943,
1349         "z": "a4132826.623598",
1350         "wires": [
1351             [
1352                 "b188c1e4.390b4"
1353             ]
1354         ]
1355     },
1356     {
1357         "id": "ee798340.3d286",
1358         "type": "outcome",
1359         "name": "Mounted",
1360         "xml": "<outcome value='true'>\n",
1361         "comments": "",
1362         "outputs": 1,
1363         "x": 1267.1944007873535,
1364         "y": 811.6665983200073,
1365         "z": "a4132826.623598",
1366         "wires": [
1367             [
1368                 "ae0428b2.06c978"
1369             ]
1370         ]
1371     },
1372     {
1373         "id": "ae0428b2.06c978",
1374         "type": "block",
1375         "name": "ransim  URL",
1376         "xml": "<block atomic='true'>",
1377         "atomic": "true",
1378         "comments": "",
1379         "outputs": 1,
1380         "x": 1444.184238433838,
1381         "y": 822.6665840148926,
1382         "z": "a4132826.623598",
1383         "wires": [
1384             [
1385                 "17ee6d36.c93db3",
1386                 "af82770a.456508"
1387             ]
1388         ]
1389     },
1390     {
1391         "id": "b188c1e4.390b4",
1392         "type": "block",
1393         "name": "URL",
1394         "xml": "<block atomic='true'>",
1395         "atomic": "true",
1396         "comments": "",
1397         "outputs": 1,
1398         "x": 1432.395845413208,
1399         "y": 781.2656545639038,
1400         "z": "a4132826.623598",
1401         "wires": [
1402             [
1403                 "3c967c46.f89f74"
1404             ]
1405         ]
1406     },
1407     {
1408         "id": "3c967c46.f89f74",
1409         "type": "execute",
1410         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1411         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
1412         "comments": "",
1413         "outputs": 1,
1414         "x": 1714.1943817138672,
1415         "y": 771.6667957305908,
1416         "z": "a4132826.623598",
1417         "wires": [
1418             []
1419         ]
1420     },
1421     {
1422         "id": "17ee6d36.c93db3",
1423         "type": "execute",
1424         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1425         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
1426         "comments": "",
1427         "outputs": 1,
1428         "x": 1763.7287769317627,
1429         "y": 813.2658944427967,
1430         "z": "a4132826.623598",
1431         "wires": [
1432             []
1433         ]
1434     },
1435     {
1436         "id": "af82770a.456508",
1437         "type": "execute",
1438         "name": "Populate MOUNT NAME",
1439         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
1440         "comments": "",
1441         "outputs": 1,
1442         "x": 1706.7292938232422,
1443         "y": 858.2656574249268,
1444         "z": "a4132826.623598",
1445         "wires": [
1446             []
1447         ]
1448     },
1449     {
1450         "id": "b0f2567.bbb75a8",
1451         "type": "execute",
1452         "name": "prepare mcc",
1453         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
1454         "comments": "",
1455         "outputs": 1,
1456         "x": 1048.4444770812988,
1457         "y": 760.1667685508728,
1458         "z": "a4132826.623598",
1459         "wires": [
1460             []
1461         ]
1462     },
1463     {
1464         "id": "cb02fedf.54fae",
1465         "type": "execute",
1466         "name": "prepare mnc",
1467         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
1468         "comments": "",
1469         "outputs": 1,
1470         "x": 1049.944450378418,
1471         "y": 800.1667079925537,
1472         "z": "a4132826.623598",
1473         "wires": [
1474             []
1475         ]
1476     },
1477     {
1478         "id": "8a295a94.bf98d8",
1479         "type": "execute",
1480         "name": "prepare sNssai",
1481         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{sNssai}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.payload.sNSSAI`\"/>",
1482         "comments": "",
1483         "outputs": 1,
1484         "x": 1052.944450378418,
1485         "y": 840.1666612625122,
1486         "z": "a4132826.623598",
1487         "wires": [
1488             []
1489         ]
1490     },
1491     {
1492         "id": "e3530f45.0dc46",
1493         "type": "execute",
1494         "name": "prepare uLThptPerSlice",
1495         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{configParameter}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.uLThptPerSlice`\"/>",
1496         "comments": "",
1497         "outputs": 1,
1498         "x": 1055.194435119629,
1499         "y": 884.166750907898,
1500         "z": "a4132826.623598",
1501         "wires": [
1502             []
1503         ]
1504     },
1505     {
1506         "id": "ccbdff4b.c27e3",
1507         "type": "execute",
1508         "name": "prepare dLThptPerSlice",
1509         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{configParameter}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.dLThptPerSlice`\"/>",
1510         "comments": "",
1511         "outputs": 1,
1512         "x": 1048.444450378418,
1513         "y": 924.9167203903198,
1514         "z": "a4132826.623598",
1515         "wires": [
1516             []
1517         ]
1518     },
1519     {
1520         "id": "898f3f4d.3a21c",
1521         "type": "record",
1522         "name": "record",
1523         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Closed loop API params\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>\n\n\n\n\n\n\n",
1524         "comments": "",
1525         "outputs": 1,
1526         "x": 1001.6943855285645,
1527         "y": 960.416675567627,
1528         "z": "a4132826.623598",
1529         "wires": [
1530             []
1531         ]
1532     },
1533     {
1534         "id": "288b2cdc.4b1194",
1535         "type": "success",
1536         "name": "success",
1537         "xml": "<outcome value='success'>\n",
1538         "comments": "",
1539         "outputs": 1,
1540         "x": 1289.1944465637207,
1541         "y": 1008.9167308807373,
1542         "z": "a4132826.623598",
1543         "wires": [
1544             [
1545                 "654b1e51.ddfcb"
1546             ]
1547         ]
1548     },
1549     {
1550         "id": "6561b789.668768",
1551         "type": "failure",
1552         "name": "failure",
1553         "xml": "<outcome value='failure'>\n",
1554         "comments": "",
1555         "outputs": 1,
1556         "x": 1287.7571907043457,
1557         "y": 1058.479229927063,
1558         "z": "a4132826.623598",
1559         "wires": [
1560             [
1561                 "2eb2806.801878"
1562             ]
1563         ]
1564     },
1565     {
1566         "id": "654b1e51.ddfcb",
1567         "type": "block",
1568         "name": "block : atomic",
1569         "xml": "<block atomic='true'>",
1570         "atomic": "true",
1571         "comments": "",
1572         "outputs": 1,
1573         "x": 1458.1941986083984,
1574         "y": 1002.9167547225952,
1575         "z": "a4132826.623598",
1576         "wires": [
1577             [
1578                 "b5b5a3a4.7596a"
1579             ]
1580         ]
1581     },
1582     {
1583         "id": "2eb2806.801878",
1584         "type": "block",
1585         "name": "block",
1586         "xml": "<block>",
1587         "atomic": "false",
1588         "comments": "",
1589         "outputs": 1,
1590         "x": 1448.7570533752441,
1591         "y": 1036.4791564941406,
1592         "z": "a4132826.623598",
1593         "wires": [
1594             [
1595                 "1fe50b77.077eb5",
1596                 "11434b4d.29f385",
1597                 "e78d6df2.248be"
1598             ]
1599         ]
1600     },
1601     {
1602         "id": "b5b5a3a4.7596a",
1603         "type": "record",
1604         "name": "record",
1605         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
1606         "comments": "",
1607         "outputs": 1,
1608         "x": 1669.944004058838,
1609         "y": 925.6668424606323,
1610         "z": "a4132826.623598",
1611         "wires": [
1612             []
1613         ]
1614     },
1615     {
1616         "id": "11434b4d.29f385",
1617         "type": "set",
1618         "name": "set",
1619         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1620         "comments": "",
1621         "x": 1674.7576026916504,
1622         "y": 981.5901823043823,
1623         "z": "a4132826.623598",
1624         "wires": []
1625     },
1626     {
1627         "id": "1fe50b77.077eb5",
1628         "type": "returnFailure",
1629         "name": "return failure",
1630         "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 Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1631         "comments": "",
1632         "x": 1635.7571182250977,
1633         "y": 1032.4791746139526,
1634         "z": "a4132826.623598",
1635         "wires": []
1636     },
1637     {
1638         "id": "9125173f.757b88",
1639         "type": "execute",
1640         "name": "patch NearRTRIC - config",
1641         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.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=\"patch-nearRTRIC-config-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' />",
1642         "comments": "",
1643         "outputs": 1,
1644         "x": 1056.6944465637207,
1645         "y": 1007.6667184829712,
1646         "z": "a4132826.623598",
1647         "wires": [
1648             [
1649                 "288b2cdc.4b1194",
1650                 "6561b789.668768"
1651             ]
1652         ]
1653     },
1654     {
1655         "id": "b4fdb0c.13b025",
1656         "type": "set",
1657         "name": "set tmp variables for SO response",
1658         "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
1659         "comments": "",
1660         "x": 477.63189697265625,
1661         "y": 1377.291669845581,
1662         "z": "a4132826.623598",
1663         "wires": []
1664     },
1665     {
1666         "id": "f189ead7.d54db8",
1667         "type": "execute",
1668         "name": "Send to SO",
1669         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
1670         "comments": "",
1671         "outputs": 1,
1672         "x": 315.13189697265625,
1673         "y": 1621.041669845581,
1674         "z": "a4132826.623598",
1675         "wires": [
1676             [
1677                 "863c82b0.fee6b",
1678                 "c7b37697.cf47b8"
1679             ]
1680         ]
1681     },
1682     {
1683         "id": "8cc27aec.7baa58",
1684         "type": "outcome",
1685         "name": "Not Mounted",
1686         "xml": "<outcome value='false'>\n",
1687         "comments": "",
1688         "outputs": 1,
1689         "x": 1692.6944618225098,
1690         "y": 1127.6667041778564,
1691         "z": "a4132826.623598",
1692         "wires": [
1693             [
1694                 "3796b847.90c588"
1695             ]
1696         ]
1697     },
1698     {
1699         "id": "f5dc1311.399f4",
1700         "type": "outcome",
1701         "name": "Mounted",
1702         "xml": "<outcome value='true'>\n",
1703         "comments": "",
1704         "outputs": 1,
1705         "x": 1686.6945419311523,
1706         "y": 1164.6668429374695,
1707         "z": "a4132826.623598",
1708         "wires": [
1709             [
1710                 "e12e8f30.80866"
1711             ]
1712         ]
1713     },
1714     {
1715         "id": "e12e8f30.80866",
1716         "type": "block",
1717         "name": "ransim  URL",
1718         "xml": "<block atomic='true'>",
1719         "atomic": "true",
1720         "comments": "",
1721         "outputs": 1,
1722         "x": 1863.6843795776367,
1723         "y": 1175.6668286323547,
1724         "z": "a4132826.623598",
1725         "wires": [
1726             [
1727                 "3c2d36c.67ca5ca",
1728                 "4501a78f.008508"
1729             ]
1730         ]
1731     },
1732     {
1733         "id": "3796b847.90c588",
1734         "type": "block",
1735         "name": "URL",
1736         "xml": "<block atomic='true'>",
1737         "atomic": "true",
1738         "comments": "",
1739         "outputs": 1,
1740         "x": 1851.8959865570068,
1741         "y": 1134.265899181366,
1742         "z": "a4132826.623598",
1743         "wires": [
1744             [
1745                 "81e1f6af.317318"
1746             ]
1747         ]
1748     },
1749     {
1750         "id": "81e1f6af.317318",
1751         "type": "execute",
1752         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1753         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
1754         "comments": "",
1755         "outputs": 1,
1756         "x": 2133.694522857666,
1757         "y": 1124.667040348053,
1758         "z": "a4132826.623598",
1759         "wires": [
1760             []
1761         ]
1762     },
1763     {
1764         "id": "3c2d36c.67ca5ca",
1765         "type": "execute",
1766         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1767         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
1768         "comments": "",
1769         "outputs": 1,
1770         "x": 2183.2289180755615,
1771         "y": 1166.2661390602589,
1772         "z": "a4132826.623598",
1773         "wires": [
1774             []
1775         ]
1776     },
1777     {
1778         "id": "4501a78f.008508",
1779         "type": "execute",
1780         "name": "Populate MOUNT NAME",
1781         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
1782         "comments": "",
1783         "outputs": 1,
1784         "x": 2126.229434967041,
1785         "y": 1211.265902042389,
1786         "z": "a4132826.623598",
1787         "wires": [
1788             []
1789         ]
1790     },
1791     {
1792         "id": "ad6e03d7.ad3a8",
1793         "type": "switchNode",
1794         "name": "ransim mounted",
1795         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1796         "comments": "",
1797         "outputs": 1,
1798         "x": 1502.6945266723633,
1799         "y": 1120.6667022705078,
1800         "z": "a4132826.623598",
1801         "wires": [
1802             [
1803                 "8cc27aec.7baa58",
1804                 "f5dc1311.399f4"
1805             ]
1806         ]
1807     },
1808     {
1809         "id": "ce7dd64c.558e38",
1810         "type": "execute",
1811         "name": "prepare mcc",
1812         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
1813         "comments": "",
1814         "outputs": 1,
1815         "x": 1497.6944618225098,
1816         "y": 1192.6667041778564,
1817         "z": "a4132826.623598",
1818         "wires": [
1819             []
1820         ]
1821     },
1822     {
1823         "id": "10ab84e8.6015fb",
1824         "type": "execute",
1825         "name": "prepare mnc",
1826         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
1827         "comments": "",
1828         "outputs": 1,
1829         "x": 1499.194435119629,
1830         "y": 1232.6666436195374,
1831         "z": "a4132826.623598",
1832         "wires": [
1833             []
1834         ]
1835     },
1836     {
1837         "id": "997d5a8f.bd5138",
1838         "type": "block",
1839         "name": "block : atomic",
1840         "xml": "<block atomic=\"true\">",
1841         "atomic": "true",
1842         "outputs": 1,
1843         "x": 1303.6944198608398,
1844         "y": 1171.666735649109,
1845         "z": "a4132826.623598",
1846         "wires": [
1847             [
1848                 "ad6e03d7.ad3a8",
1849                 "ce7dd64c.558e38",
1850                 "10ab84e8.6015fb",
1851                 "13921f35.757901",
1852                 "fc0ddc3e.f21",
1853                 "ee4d9f87.53648",
1854                 "689fb519.ee1dac"
1855             ]
1856         ]
1857     },
1858     {
1859         "id": "13921f35.757901",
1860         "type": "for",
1861         "name": "For Number of cells",
1862         "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
1863         "comments": "",
1864         "outputs": 1,
1865         "x": 1512.9445877075195,
1866         "y": 1336.6667385101318,
1867         "z": "a4132826.623598",
1868         "wires": [
1869             [
1870                 "140cbec1.778361"
1871             ]
1872         ]
1873     },
1874     {
1875         "id": "67db53db.00cacc",
1876         "type": "execute",
1877         "name": "cellLocalId",
1878         "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=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`\" />",
1879         "comments": "",
1880         "outputs": 1,
1881         "x": 1923.6944427490234,
1882         "y": 1305.6667575836182,
1883         "z": "a4132826.623598",
1884         "wires": [
1885             []
1886         ]
1887     },
1888     {
1889         "id": "140cbec1.778361",
1890         "type": "block",
1891         "name": "block : atomic",
1892         "xml": "<block atomic=\"true\">",
1893         "atomic": "true",
1894         "outputs": 1,
1895         "x": 1722.6943969726562,
1896         "y": 1333.666696548462,
1897         "z": "a4132826.623598",
1898         "wires": [
1899             [
1900                 "67db53db.00cacc",
1901                 "e46c252f.937788",
1902                 "6720e72f.18e8a8",
1903                 "a790631.68201a"
1904             ]
1905         ]
1906     },
1907     {
1908         "id": "e46c252f.937788",
1909         "type": "execute",
1910         "name": "predictedMaxNumberofConns",
1911         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.predictedMaxNumberofConns' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].configData.predictedMaxNumberofConns'`\" />",
1912         "comments": "",
1913         "outputs": 1,
1914         "x": 1980.4444427490234,
1915         "y": 1340.666802406311,
1916         "z": "a4132826.623598",
1917         "wires": [
1918             []
1919         ]
1920     },
1921     {
1922         "id": "6720e72f.18e8a8",
1923         "type": "execute",
1924         "name": "patch NearRTRIC - config",
1925         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.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=\"patch-nearRTRIC-config-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' />",
1926         "comments": "",
1927         "outputs": 1,
1928         "x": 1971.1943969726562,
1929         "y": 1447.666696548462,
1930         "z": "a4132826.623598",
1931         "wires": [
1932             [
1933                 "68ef85d7.dd1d4c",
1934                 "9e7160d.46fefa"
1935             ]
1936         ]
1937     },
1938     {
1939         "id": "68ef85d7.dd1d4c",
1940         "type": "success",
1941         "name": "success",
1942         "xml": "<outcome value='success'>\n",
1943         "comments": "",
1944         "outputs": 1,
1945         "x": 2203.6943969726562,
1946         "y": 1448.916708946228,
1947         "z": "a4132826.623598",
1948         "wires": [
1949             [
1950                 "a6d7a02e.9cc2e"
1951             ]
1952         ]
1953     },
1954     {
1955         "id": "9e7160d.46fefa",
1956         "type": "failure",
1957         "name": "failure",
1958         "xml": "<outcome value='failure'>\n",
1959         "comments": "",
1960         "outputs": 1,
1961         "x": 2202.2571411132812,
1962         "y": 1498.4792079925537,
1963         "z": "a4132826.623598",
1964         "wires": [
1965             [
1966                 "b81123b2.7af0b"
1967             ]
1968         ]
1969     },
1970     {
1971         "id": "b81123b2.7af0b",
1972         "type": "block",
1973         "name": "block",
1974         "xml": "<block>",
1975         "atomic": "false",
1976         "comments": "",
1977         "outputs": 1,
1978         "x": 2363.2570037841797,
1979         "y": 1476.4791345596313,
1980         "z": "a4132826.623598",
1981         "wires": [
1982             [
1983                 "720f80da.20089",
1984                 "d11f1a0b.bd81f8",
1985                 "e78d6df2.248be"
1986             ]
1987         ]
1988     },
1989     {
1990         "id": "a6d7a02e.9cc2e",
1991         "type": "block",
1992         "name": "block : atomic",
1993         "xml": "<block atomic='true'>",
1994         "atomic": "true",
1995         "comments": "",
1996         "outputs": 1,
1997         "x": 2372.694149017334,
1998         "y": 1442.916732788086,
1999         "z": "a4132826.623598",
2000         "wires": [
2001             [
2002                 "329a2f23.e32e6"
2003             ]
2004         ]
2005     },
2006     {
2007         "id": "720f80da.20089",
2008         "type": "returnFailure",
2009         "name": "return failure",
2010         "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 Getting Info from ConfigDB. Aborting RPC executiopn'/>",
2011         "comments": "",
2012         "x": 2550.257068634033,
2013         "y": 1472.4791526794434,
2014         "z": "a4132826.623598",
2015         "wires": []
2016     },
2017     {
2018         "id": "d11f1a0b.bd81f8",
2019         "type": "set",
2020         "name": "set",
2021         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
2022         "comments": "",
2023         "x": 2589.257553100586,
2024         "y": 1421.590160369873,
2025         "z": "a4132826.623598",
2026         "wires": []
2027     },
2028     {
2029         "id": "329a2f23.e32e6",
2030         "type": "record",
2031         "name": "record",
2032         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
2033         "comments": "",
2034         "outputs": 1,
2035         "x": 2584.4439544677734,
2036         "y": 1365.666820526123,
2037         "z": "a4132826.623598",
2038         "wires": [
2039             []
2040         ]
2041     },
2042     {
2043         "id": "d1e08c64.f9b07",
2044         "type": "record",
2045         "name": "record",
2046         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Data length \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.dataPoints`\"/>\n\n\n\n",
2047         "comments": "",
2048         "outputs": 1,
2049         "x": 872.4443969726562,
2050         "y": 1141.666696548462,
2051         "z": "a4132826.623598",
2052         "wires": [
2053             []
2054         ]
2055     },
2056     {
2057         "id": "fc0ddc3e.f21",
2058         "type": "execute",
2059         "name": "CUCellListEntries",
2060         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCellListEntries' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`\" />\n\t",
2061         "comments": "",
2062         "outputs": 1,
2063         "x": 1513.9444046020508,
2064         "y": 1266.9167070388794,
2065         "z": "a4132826.623598",
2066         "wires": [
2067             []
2068         ]
2069     },
2070     {
2071         "id": "ee4d9f87.53648",
2072         "type": "record",
2073         "name": "record",
2074         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCEll List length \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCellListEntries`\"/>\n\n\n\n",
2075         "comments": "",
2076         "outputs": 1,
2077         "x": 1493.9443969726562,
2078         "y": 1299.916696548462,
2079         "z": "a4132826.623598",
2080         "wires": [
2081             []
2082         ]
2083     },
2084     {
2085         "id": "a790631.68201a",
2086         "type": "record",
2087         "name": "record",
2088         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n\n\n",
2089         "comments": "",
2090         "outputs": 1,
2091         "x": 1919.1943969726562,
2092         "y": 1394.166696548462,
2093         "z": "a4132826.623598",
2094         "wires": [
2095             []
2096         ]
2097     },
2098     {
2099         "id": "689fb519.ee1dac",
2100         "type": "set",
2101         "name": "set Temp Variables",
2102         "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
2103         "comments": "",
2104         "x": 1519.4443969726562,
2105         "y": 1076.166696548462,
2106         "z": "a4132826.623598",
2107         "wires": []
2108     }
2109 ]