RanSlice DG, Templates - Integration Testing Fixes
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceReconfigure.json
1 [
2     {
3         "id": "b24c7db0.969cf",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 510.75,
10         "y": 166.75,
11         "z": "d1da56d7.1e7b78",
12         "wires": [
13             [
14                 "4b8ac01.a9b434"
15             ]
16         ]
17     },
18     {
19         "id": "ed8ce47a.fe3698",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 134.74999618530273,
24         "y": 71.74997234344482,
25         "z": "d1da56d7.1e7b78",
26         "wires": [
27             [
28                 "9f703b81.c1aae8"
29             ]
30         ]
31     },
32     {
33         "id": "9f703b81.c1aae8",
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": 267.7499694824219,
42         "y": 168.75005340576172,
43         "z": "d1da56d7.1e7b78",
44         "wires": [
45             [
46                 "b24c7db0.969cf"
47             ]
48         ]
49     },
50     {
51         "id": "f4b6650c.a050e8",
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": 196.2396240234375,
57         "y": 1109.7502908706665,
58         "z": "d1da56d7.1e7b78",
59         "wires": []
60     },
61     {
62         "id": "f059fd37.4ed2c",
63         "type": "comment",
64         "name": "instantiateRANSliceReconfigure",
65         "info": "",
66         "comments": "",
67         "x": 479.75,
68         "y": 108.76037216186523,
69         "z": "d1da56d7.1e7b78",
70         "wires": []
71     },
72     {
73         "id": "4b8ac01.a9b434",
74         "type": "block",
75         "name": "block : atomic",
76         "xml": "<block atomic='true'>",
77         "atomic": "true",
78         "comments": "",
79         "outputs": 1,
80         "x": 145.74996948242188,
81         "y": 288.7603759765625,
82         "z": "d1da56d7.1e7b78",
83         "wires": [
84             [
85                 "f4b6650c.a050e8",
86                 "27157e51.0df202",
87                 "2731e85b.601c28",
88                 "5bf86ac4.b8b1e4"
89             ]
90         ]
91     },
92     {
93         "id": "58a18f59.28a6a",
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": 4026.739906311035,
100         "y": 7593.770859479904,
101         "z": "d1da56d7.1e7b78",
102         "wires": [
103             [
104                 "6fd77e68.2d0ec"
105             ]
106         ]
107     },
108     {
109         "id": "6fd77e68.2d0ec",
110         "type": "success",
111         "name": "success",
112         "xml": "<outcome value='success'>\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 4363.739784240723,
116         "y": 7619.760361433029,
117         "z": "d1da56d7.1e7b78",
118         "wires": [
119             [
120                 "f0bd358f.a700e8"
121             ]
122         ]
123     },
124     {
125         "id": "f0bd358f.a700e8",
126         "type": "block",
127         "name": "block",
128         "xml": "<block>\n",
129         "atomic": "false",
130         "comments": "",
131         "outputs": 1,
132         "x": 4543.739540100098,
133         "y": 7616.760361433029,
134         "z": "d1da56d7.1e7b78",
135         "wires": [
136             [
137                 "c94f16ac.80d678"
138             ]
139         ]
140     },
141     {
142         "id": "c94f16ac.80d678",
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": 4692.739841461182,
149         "y": 7642.760554075241,
150         "z": "d1da56d7.1e7b78",
151         "wires": [
152             []
153         ]
154     },
155     {
156         "id": "5bf86ac4.b8b1e4",
157         "type": "block",
158         "name": "SO Response",
159         "xml": "<block atomic='true'>",
160         "atomic": "true",
161         "comments": "",
162         "outputs": 1,
163         "x": 225.5,
164         "y": 1060.0146198272705,
165         "z": "d1da56d7.1e7b78",
166         "wires": [
167             [
168                 "fbdf36d2.d428a8",
169                 "3f1931e1.a211de",
170                 "efd0b10c.a5819",
171                 "9d63de5e.8e682"
172             ]
173         ]
174     },
175     {
176         "id": "fbdf36d2.d428a8",
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": 393.7499771118164,
183         "y": 1427.7648248672485,
184         "z": "d1da56d7.1e7b78",
185         "wires": [
186             []
187         ]
188     },
189     {
190         "id": "cbc8b2d8.13b52",
191         "type": "failure",
192         "name": "failure",
193         "xml": "<outcome value='failure'>\n",
194         "comments": "",
195         "outputs": 1,
196         "x": 427.7500762939453,
197         "y": 1524.7645282745361,
198         "z": "d1da56d7.1e7b78",
199         "wires": [
200             [
201                 "474c52c2.f0ec3c"
202             ]
203         ]
204     },
205     {
206         "id": "8daf872.91ed978",
207         "type": "success",
208         "name": "success",
209         "xml": "<outcome value='success'>\n",
210         "comments": "",
211         "outputs": 1,
212         "x": 419.7499694824219,
213         "y": 1597.7644786834717,
214         "z": "d1da56d7.1e7b78",
215         "wires": [
216             [
217                 "2e8aa5dc.02933a"
218             ]
219         ]
220     },
221     {
222         "id": "2e8aa5dc.02933a",
223         "type": "block",
224         "name": "block",
225         "xml": "<block>\n",
226         "atomic": "false",
227         "comments": "",
228         "outputs": 1,
229         "x": 565.749813079834,
230         "y": 1602.7645874023438,
231         "z": "d1da56d7.1e7b78",
232         "wires": [
233             [
234                 "85a46ab6.8bc958"
235             ]
236         ]
237     },
238     {
239         "id": "474c52c2.f0ec3c",
240         "type": "block",
241         "name": "block",
242         "xml": "<block>\n",
243         "atomic": "false",
244         "comments": "",
245         "outputs": 1,
246         "x": 576.7499771118164,
247         "y": 1520.764663696289,
248         "z": "d1da56d7.1e7b78",
249         "wires": [
250             [
251                 "99e0e1e0.b2633",
252                 "9e1a252f.d9b4e8"
253             ]
254         ]
255     },
256     {
257         "id": "99e0e1e0.b2633",
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": 723.7495956420898,
263         "y": 1531.7644052505493,
264         "z": "d1da56d7.1e7b78",
265         "wires": []
266     },
267     {
268         "id": "85a46ab6.8bc958",
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": 726.7497329711914,
275         "y": 1608.764479637146,
276         "z": "d1da56d7.1e7b78",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "c48f89b1.d18a38",
283         "type": "block",
284         "name": "block : SO Response",
285         "xml": "<block atomic='true'>",
286         "atomic": "true",
287         "comments": "",
288         "outputs": 1,
289         "x": 2958.2410202026367,
290         "y": 713.7605400085449,
291         "z": "d1da56d7.1e7b78",
292         "wires": [
293             [
294                 "63712045.5256a",
295                 "7b2f35ba.28701c",
296                 "19ea2004.4e897"
297             ]
298         ]
299     },
300     {
301         "id": "63712045.5256a",
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": 3276.2419967651367,
307         "y": 637.6601982116699,
308         "z": "d1da56d7.1e7b78",
309         "wires": []
310     },
311     {
312         "id": "7b2f35ba.28701c",
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": 3251.240882873535,
319         "y": 734.7608757019043,
320         "z": "d1da56d7.1e7b78",
321         "wires": [
322             []
323         ]
324     },
325     {
326         "id": "19ea2004.4e897",
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": 3166.240894317627,
333         "y": 831.7607536315918,
334         "z": "d1da56d7.1e7b78",
335         "wires": [
336             [
337                 "fbcf6132.18bc7",
338                 "4cad675d.c40118"
339             ]
340         ]
341     },
342     {
343         "id": "fbcf6132.18bc7",
344         "type": "failure",
345         "name": "failure",
346         "xml": "<outcome value='failure'>\n",
347         "comments": "",
348         "outputs": 1,
349         "x": 3392.240902900696,
350         "y": 808.7607226371765,
351         "z": "d1da56d7.1e7b78",
352         "wires": [
353             [
354                 "fed346c0.cea928"
355             ]
356         ]
357     },
358     {
359         "id": "4cad675d.c40118",
360         "type": "success",
361         "name": "success",
362         "xml": "<outcome value='success'>\n",
363         "comments": "",
364         "outputs": 1,
365         "x": 3382.2407569885254,
366         "y": 916.7606620788574,
367         "z": "d1da56d7.1e7b78",
368         "wires": [
369             [
370                 "d218d0cb.23013"
371             ]
372         ]
373     },
374     {
375         "id": "d218d0cb.23013",
376         "type": "block",
377         "name": "block",
378         "xml": "<block>\n",
379         "atomic": "false",
380         "comments": "",
381         "outputs": 1,
382         "x": 3532.2405433654785,
383         "y": 935.7607231140137,
384         "z": "d1da56d7.1e7b78",
385         "wires": [
386             [
387                 "f78009ee.ed8188"
388             ]
389         ]
390     },
391     {
392         "id": "fed346c0.cea928",
393         "type": "block",
394         "name": "block",
395         "xml": "<block>\n",
396         "atomic": "false",
397         "comments": "",
398         "outputs": 1,
399         "x": 3543.2407722473145,
400         "y": 803.760844707489,
401         "z": "d1da56d7.1e7b78",
402         "wires": [
403             [
404                 "fe21cfa5.d67e1"
405             ]
406         ]
407     },
408     {
409         "id": "fe21cfa5.d67e1",
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": 3709.240451812744,
415         "y": 806.7606620788574,
416         "z": "d1da56d7.1e7b78",
417         "wires": []
418     },
419     {
420         "id": "f78009ee.ed8188",
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": 3696.2405586242676,
427         "y": 941.7606620788574,
428         "z": "d1da56d7.1e7b78",
429         "wires": [
430             []
431         ]
432     },
433     {
434         "id": "9e1a252f.d9b4e8",
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": 711.2602043151855,
440         "y": 1435.7538967132568,
441         "z": "d1da56d7.1e7b78",
442         "wires": []
443     },
444     {
445         "id": "efd0b10c.a5819",
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": 416.089599609375,
452         "y": 1363.749979019165,
453         "z": "d1da56d7.1e7b78",
454         "wires": [
455             []
456         ]
457     },
458     {
459         "id": "e0df4b22.4af068",
460         "type": "failure",
461         "name": "true",
462         "xml": "<outcome value='true'>\n",
463         "comments": "",
464         "outputs": 1,
465         "x": 702.7502326965332,
466         "y": 226.75006008148193,
467         "z": "d1da56d7.1e7b78",
468         "wires": [
469             [
470                 "dc796750.c188e8"
471             ]
472         ]
473     },
474     {
475         "id": "27157e51.0df202",
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": 462.7500991821289,
482         "y": 504.7500252723694,
483         "z": "d1da56d7.1e7b78",
484         "wires": [
485             [
486                 "e0df4b22.4af068",
487                 "bcbebaf7.2d1a18"
488             ]
489         ]
490     },
491     {
492         "id": "bcbebaf7.2d1a18",
493         "type": "failure",
494         "name": "false",
495         "xml": "<outcome value='false'>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 327.25665283203125,
499         "y": 646.75022315979,
500         "z": "d1da56d7.1e7b78",
501         "wires": [
502             [
503                 "f620650.32c2f98"
504             ]
505         ]
506     },
507     {
508         "id": "c888e6a6.7e5708",
509         "type": "failure",
510         "name": "true",
511         "xml": "<outcome value='true'>\n",
512         "comments": "",
513         "outputs": 1,
514         "x": 494.75038146972656,
515         "y": 1008.7502222061157,
516         "z": "d1da56d7.1e7b78",
517         "wires": [
518             [
519                 "f4ba67c0.a31e88"
520             ]
521         ]
522     },
523     {
524         "id": "dc796750.c188e8",
525         "type": "block",
526         "name": "Closed Loop",
527         "xml": "<block atomic=\"true\">",
528         "atomic": "true",
529         "comments": "",
530         "outputs": 1,
531         "x": 764.7502288818359,
532         "y": 87.75003004074097,
533         "z": "d1da56d7.1e7b78",
534         "wires": [
535             [
536                 "d279fa53.715268",
537                 "c667ee72.f52b7"
538             ]
539         ]
540     },
541     {
542         "id": "f4ba67c0.a31e88",
543         "type": "block",
544         "name": "block : atomic",
545         "xml": "<block atomic=\"true\">",
546         "atomic": "true",
547         "outputs": 1,
548         "x": 661.7502899169922,
549         "y": 1007.750207901001,
550         "z": "d1da56d7.1e7b78",
551         "wires": [
552             [
553                 "d80bb00a.4839a",
554                 "51fc4962.028358",
555                 "94895eee.b9676",
556                 "39732f52.6ba52"
557             ]
558         ]
559     },
560     {
561         "id": "f620650.32c2f98",
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": 320.7504577636719,
568         "y": 1006.7502689361572,
569         "z": "d1da56d7.1e7b78",
570         "wires": [
571             [
572                 "c888e6a6.7e5708"
573             ]
574         ]
575     },
576     {
577         "id": "d279fa53.715268",
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": 970.7500152587891,
584         "y": 72.75002574920654,
585         "z": "d1da56d7.1e7b78",
586         "wires": [
587             []
588         ]
589     },
590     {
591         "id": "d80bb00a.4839a",
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": 818.7503967285156,
598         "y": 978.7502517700195,
599         "z": "d1da56d7.1e7b78",
600         "wires": [
601             []
602         ]
603     },
604     {
605         "id": "2731e85b.601c28",
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": 535.75,
612         "y": 239.75,
613         "z": "d1da56d7.1e7b78",
614         "wires": [
615             []
616         ]
617     },
618     {
619         "id": "c667ee72.f52b7",
620         "type": "block",
621         "name": "NearRTRIC",
622         "xml": "<block atomic=\"true\">",
623         "atomic": "true",
624         "comments": "",
625         "outputs": 1,
626         "x": 868.7605514526367,
627         "y": 201.76043796539307,
628         "z": "d1da56d7.1e7b78",
629         "wires": [
630             [
631                 "5d65741b.2f5dbc",
632                 "90c3b588.12eb28"
633             ]
634         ]
635     },
636     {
637         "id": "51fc4962.028358",
638         "type": "block",
639         "name": "CUCP",
640         "xml": "<block atomic=\"true\">",
641         "atomic": "true",
642         "comments": "",
643         "outputs": 1,
644         "x": 795.7607955932617,
645         "y": 1122.7605228424072,
646         "z": "d1da56d7.1e7b78",
647         "wires": [
648             [
649                 "2f3cb6aa.93898a",
650                 "6af9dda3.2dd684"
651             ]
652         ]
653     },
654     {
655         "id": "1aea211b.c8b17f",
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": 1439.6495742797852,
662         "y": 384.7604637145996,
663         "z": "d1da56d7.1e7b78",
664         "wires": [
665             [
666                 "6578c65d.779e88",
667                 "adfe63a5.2b78"
668             ]
669         ]
670     },
671     {
672         "id": "6578c65d.779e88",
673         "type": "failure",
674         "name": "failure",
675         "xml": "<outcome value='failure'>\n",
676         "comments": "",
677         "outputs": 1,
678         "x": 1725.6499099731445,
679         "y": 325.74999618530273,
680         "z": "d1da56d7.1e7b78",
681         "wires": [
682             [
683                 "75b1597a.f98078"
684             ]
685         ]
686     },
687     {
688         "id": "adfe63a5.2b78",
689         "type": "success",
690         "name": "success",
691         "xml": "<outcome value='success'>\n",
692         "comments": "",
693         "outputs": 1,
694         "x": 1718.649974822998,
695         "y": 385.74990463256836,
696         "z": "d1da56d7.1e7b78",
697         "wires": [
698             [
699                 "5fada710.663628"
700             ]
701         ]
702     },
703     {
704         "id": "75b1597a.f98078",
705         "type": "block",
706         "name": "block",
707         "xml": "<block>\n",
708         "atomic": "false",
709         "comments": "",
710         "outputs": 1,
711         "x": 1908.6500053405762,
712         "y": 368.75000381469727,
713         "z": "d1da56d7.1e7b78",
714         "wires": [
715             [
716                 "5f9052e7.0e233c",
717                 "b7aa5934.3c40c8",
718                 "c48f89b1.d18a38"
719             ]
720         ]
721     },
722     {
723         "id": "5fada710.663628",
724         "type": "block",
725         "name": "block",
726         "xml": "<block>\n",
727         "atomic": "false",
728         "comments": "",
729         "outputs": 1,
730         "x": 1900.6496391296387,
731         "y": 414.7499656677246,
732         "z": "d1da56d7.1e7b78",
733         "wires": [
734             [
735                 "cfb61ca.7540ee",
736                 "ef54b6a8.1c5338"
737             ]
738         ]
739     },
740     {
741         "id": "ea9b6d81.24726",
742         "type": "block",
743         "name": "Update SiceProfile for NeaeRTRIC",
744         "xml": "<block atomic='true'>",
745         "atomic": "true",
746         "comments": "",
747         "outputs": 1,
748         "x": 1036.7500915527344,
749         "y": 369.4947757720947,
750         "z": "d1da56d7.1e7b78",
751         "wires": [
752             [
753                 "49f3f9d8.e70bb8",
754                 "1bef58c6.1c4687",
755                 "6178a226.da38bc",
756                 "1aea211b.c8b17f"
757             ]
758         ]
759     },
760     {
761         "id": "6178a226.da38bc",
762         "type": "switchNode",
763         "name": "ransim mounted",
764         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
765         "comments": "",
766         "outputs": 1,
767         "x": 1388.750394821167,
768         "y": 260.1510200202465,
769         "z": "d1da56d7.1e7b78",
770         "wires": [
771             [
772                 "c777f294.db18d",
773                 "be048c30.591ad"
774             ]
775         ]
776     },
777     {
778         "id": "c777f294.db18d",
779         "type": "outcome",
780         "name": "Not Mounted",
781         "xml": "<outcome value='false'>\n",
782         "comments": "",
783         "outputs": 1,
784         "x": 1551.7503185272217,
785         "y": 192.15080973505974,
786         "z": "d1da56d7.1e7b78",
787         "wires": [
788             [
789                 "c0e08831.f060d8"
790             ]
791         ]
792     },
793     {
794         "id": "be048c30.591ad",
795         "type": "outcome",
796         "name": "Mounted",
797         "xml": "<outcome value='true'>\n",
798         "comments": "",
799         "outputs": 1,
800         "x": 1563.7504386901855,
801         "y": 269.1509132385254,
802         "z": "d1da56d7.1e7b78",
803         "wires": [
804             [
805                 "cfd0d98e.4a1168"
806             ]
807         ]
808     },
809     {
810         "id": "1bef58c6.1c4687",
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": 1365.7506523132324,
817         "y": 295.4949840269983,
818         "z": "d1da56d7.1e7b78",
819         "wires": [
820             []
821         ]
822     },
823     {
824         "id": "49f3f9d8.e70bb8",
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": 1366.751293182373,
831         "y": 340.4843406677246,
832         "z": "d1da56d7.1e7b78",
833         "wires": [
834             []
835         ]
836     },
837     {
838         "id": "7dc45260.33f05c",
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": 1980.2853164672852,
845         "y": 319.7500343322754,
846         "z": "d1da56d7.1e7b78",
847         "wires": [
848             []
849         ]
850     },
851     {
852         "id": "75187e82.ea858",
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": 2050.8199310302734,
859         "y": 275.3490562438965,
860         "z": "d1da56d7.1e7b78",
861         "wires": [
862             []
863         ]
864     },
865     {
866         "id": "cfd0d98e.4a1168",
867         "type": "block",
868         "name": "ransim  URL",
869         "xml": "<block atomic='true'>",
870         "atomic": "true",
871         "comments": "",
872         "outputs": 1,
873         "x": 1746.7400932312012,
874         "y": 275.1508979797363,
875         "z": "d1da56d7.1e7b78",
876         "wires": [
877             [
878                 "66cb49b8.a09c78",
879                 "75187e82.ea858",
880                 "7dc45260.33f05c"
881             ]
882         ]
883     },
884     {
885         "id": "66cb49b8.a09c78",
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": 2042.2847747802734,
892         "y": 230.75024461746216,
893         "z": "d1da56d7.1e7b78",
894         "wires": [
895             []
896         ]
897     },
898     {
899         "id": "4bca87c6.56bc38",
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": 2013.285140991211,
906         "y": 175.75013732910156,
907         "z": "d1da56d7.1e7b78",
908         "wires": [
909             []
910         ]
911     },
912     {
913         "id": "93f2c37e.52446",
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": 2008.7503662109375,
920         "y": 126.1511402130127,
921         "z": "d1da56d7.1e7b78",
922         "wires": [
923             []
924         ]
925     },
926     {
927         "id": "c0e08831.f060d8",
928         "type": "block",
929         "name": "URL",
930         "xml": "<block atomic='true'>",
931         "atomic": "true",
932         "comments": "",
933         "outputs": 1,
934         "x": 1710.9518432617188,
935         "y": 198.75000473856926,
936         "z": "d1da56d7.1e7b78",
937         "wires": [
938             [
939                 "93f2c37e.52446",
940                 "4bca87c6.56bc38"
941             ]
942         ]
943     },
944     {
945         "id": "90c3b588.12eb28",
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": 1032.7539825439453,
951         "y": 145.75392055511475,
952         "z": "d1da56d7.1e7b78",
953         "wires": []
954     },
955     {
956         "id": "5d65741b.2f5dbc",
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": 1013.7539215087891,
963         "y": 268.75392055511475,
964         "z": "d1da56d7.1e7b78",
965         "wires": [
966             [
967                 "ea9b6d81.24726",
968                 "71c3e979.58d858",
969                 "b7410b4b.5d8d98",
970                 "6af9dda3.2dd684"
971             ]
972         ]
973     },
974     {
975         "id": "71c3e979.58d858",
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": 1212.2049827575684,
981         "y": 189.76043224334717,
982         "z": "d1da56d7.1e7b78",
983         "wires": []
984     },
985     {
986         "id": "5f9052e7.0e233c",
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": 2094.204933166504,
992         "y": 369.76042556762695,
993         "z": "d1da56d7.1e7b78",
994         "wires": []
995     },
996     {
997         "id": "b7aa5934.3c40c8",
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": 2104.204719543457,
1003         "y": 408.64941024780273,
1004         "z": "d1da56d7.1e7b78",
1005         "wires": []
1006     },
1007     {
1008         "id": "cfb61ca.7540ee",
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": 2092.20463180542,
1015         "y": 445.6493797302246,
1016         "z": "d1da56d7.1e7b78",
1017         "wires": [
1018             []
1019         ]
1020     },
1021     {
1022         "id": "ef54b6a8.1c5338",
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": 2110.983039855957,
1029         "y": 481.64941787719727,
1030         "z": "d1da56d7.1e7b78",
1031         "wires": [
1032             []
1033         ]
1034     },
1035     {
1036         "id": "94895eee.b9676",
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": 852.8720245361328,
1042         "y": 1019.649528503418,
1043         "z": "d1da56d7.1e7b78",
1044         "wires": []
1045     },
1046     {
1047         "id": "2f3cb6aa.93898a",
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": 1027.8715896606445,
1054         "y": 1112.6494541168213,
1055         "z": "d1da56d7.1e7b78",
1056         "wires": [
1057             [
1058                 "ff317ab.8735a88"
1059             ]
1060         ]
1061     },
1062     {
1063         "id": "6af9dda3.2dd684",
1064         "type": "block",
1065         "name": "get PLMNId",
1066         "xml": "<block atomic='true'>",
1067         "atomic": "true",
1068         "comments": "",
1069         "outputs": 1,
1070         "x": 1001.5,
1071         "y": 535.4999732971191,
1072         "z": "d1da56d7.1e7b78",
1073         "wires": [
1074             [
1075                 "86788587.f52058",
1076                 "2bd64b8f.82f544",
1077                 "2dd88d01.be5312",
1078                 "91b028e9.9f93d8",
1079                 "528944a9.bc790c",
1080                 "5303822c.a01cdc"
1081             ]
1082         ]
1083     },
1084     {
1085         "id": "86788587.f52058",
1086         "type": "execute",
1087         "name": "get PLMNId URL",
1088         "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`\"/>",
1089         "comments": "",
1090         "outputs": 1,
1091         "x": 1266.4999923706055,
1092         "y": 425.49996757507324,
1093         "z": "d1da56d7.1e7b78",
1094         "wires": [
1095             []
1096         ]
1097     },
1098     {
1099         "id": "2bd64b8f.82f544",
1100         "type": "record",
1101         "name": "record",
1102         "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",
1103         "comments": "",
1104         "outputs": 1,
1105         "x": 1240.0001182556152,
1106         "y": 473.5000057220459,
1107         "z": "d1da56d7.1e7b78",
1108         "wires": [
1109             []
1110         ]
1111     },
1112     {
1113         "id": "2dd88d01.be5312",
1114         "type": "execute",
1115         "name": "Get PLMN from Sliceprofile id",
1116         "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\"/>",
1117         "comments": "",
1118         "outputs": 1,
1119         "x": 1307.7499923706055,
1120         "y": 511.49995517730713,
1121         "z": "d1da56d7.1e7b78",
1122         "wires": [
1123             [
1124                 "c725b1f.9c17f5",
1125                 "81e5d438.cdec78"
1126             ]
1127         ]
1128     },
1129     {
1130         "id": "528944a9.bc790c",
1131         "type": "set",
1132         "name": "set PLMNId",
1133         "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
1134         "comments": "",
1135         "x": 1264.9375228881836,
1136         "y": 552.1875219345093,
1137         "z": "d1da56d7.1e7b78",
1138         "wires": []
1139     },
1140     {
1141         "id": "f7be8f11.e7337",
1142         "type": "execute",
1143         "name": "find MCC",
1144         "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\" />",
1145         "comments": "",
1146         "outputs": 1,
1147         "x": 1665.7500343322754,
1148         "y": 604.7500696182251,
1149         "z": "d1da56d7.1e7b78",
1150         "wires": [
1151             []
1152         ]
1153     },
1154     {
1155         "id": "12967770.314669",
1156         "type": "execute",
1157         "name": "find MNC",
1158         "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\" />",
1159         "comments": "",
1160         "outputs": 1,
1161         "x": 1676.5002136230469,
1162         "y": 638.9999475479126,
1163         "z": "d1da56d7.1e7b78",
1164         "wires": [
1165             []
1166         ]
1167     },
1168     {
1169         "id": "91b028e9.9f93d8",
1170         "type": "record",
1171         "name": "record",
1172         "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`\"/>",
1173         "comments": "",
1174         "outputs": 1,
1175         "x": 1253.2435455322266,
1176         "y": 670.993444442749,
1177         "z": "d1da56d7.1e7b78",
1178         "wires": [
1179             []
1180         ]
1181     },
1182     {
1183         "id": "c725b1f.9c17f5",
1184         "type": "success",
1185         "name": "success",
1186         "xml": "<outcome value='success'>\n",
1187         "comments": "",
1188         "outputs": 1,
1189         "x": 1545.2499923706055,
1190         "y": 516.7499675750732,
1191         "z": "d1da56d7.1e7b78",
1192         "wires": [
1193             [
1194                 "86c1ac17.260a"
1195             ]
1196         ]
1197     },
1198     {
1199         "id": "81e5d438.cdec78",
1200         "type": "failure",
1201         "name": "failure",
1202         "xml": "<outcome value='failure'>\n",
1203         "comments": "",
1204         "outputs": 1,
1205         "x": 1543.8127365112305,
1206         "y": 566.3124666213989,
1207         "z": "d1da56d7.1e7b78",
1208         "wires": [
1209             [
1210                 "de2f65b2.380ce8"
1211             ]
1212         ]
1213     },
1214     {
1215         "id": "86c1ac17.260a",
1216         "type": "block",
1217         "name": "block : atomic",
1218         "xml": "<block atomic='true'>",
1219         "atomic": "true",
1220         "comments": "",
1221         "outputs": 1,
1222         "x": 1718.2497940063477,
1223         "y": 505.7500400543213,
1224         "z": "d1da56d7.1e7b78",
1225         "wires": [
1226             [
1227                 "83c28bb6.d51a18",
1228                 "fad3d54e.815758"
1229             ]
1230         ]
1231     },
1232     {
1233         "id": "de2f65b2.380ce8",
1234         "type": "block",
1235         "name": "block : atomic",
1236         "xml": "<block atomic='true'>",
1237         "atomic": "true",
1238         "comments": "",
1239         "outputs": 1,
1240         "x": 1704.812599182129,
1241         "y": 544.3123931884766,
1242         "z": "d1da56d7.1e7b78",
1243         "wires": [
1244             [
1245                 "3b1555d0.f69e0a",
1246                 "29de30a2.74c7a",
1247                 "c48f89b1.d18a38"
1248             ]
1249         ]
1250     },
1251     {
1252         "id": "83c28bb6.d51a18",
1253         "type": "record",
1254         "name": "record",
1255         "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`\"/>",
1256         "comments": "",
1257         "outputs": 1,
1258         "x": 1918.9995231628418,
1259         "y": 505.5000648498535,
1260         "z": "d1da56d7.1e7b78",
1261         "wires": [
1262             []
1263         ]
1264     },
1265     {
1266         "id": "fad3d54e.815758",
1267         "type": "execute",
1268         "name": "printContext",
1269         "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",
1270         "comments": "",
1271         "outputs": 1,
1272         "x": 1954.7777366638184,
1273         "y": 548.7500734329224,
1274         "z": "d1da56d7.1e7b78",
1275         "wires": [
1276             []
1277         ]
1278     },
1279     {
1280         "id": "29de30a2.74c7a",
1281         "type": "set",
1282         "name": "set",
1283         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1284         "comments": "",
1285         "x": 1949.8129501342773,
1286         "y": 581.4234933853149,
1287         "z": "d1da56d7.1e7b78",
1288         "wires": []
1289     },
1290     {
1291         "id": "3b1555d0.f69e0a",
1292         "type": "returnFailure",
1293         "name": "return failure",
1294         "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'/>",
1295         "comments": "",
1296         "x": 1949.812644958496,
1297         "y": 617.3124780654907,
1298         "z": "d1da56d7.1e7b78",
1299         "wires": []
1300     },
1301     {
1302         "id": "b7410b4b.5d8d98",
1303         "type": "block",
1304         "name": "Update NearRTRIC Config",
1305         "xml": "<block atomic=\"true\">",
1306         "atomic": "true",
1307         "comments": "",
1308         "outputs": 1,
1309         "x": 762.25,
1310         "y": 732.2499732971191,
1311         "z": "d1da56d7.1e7b78",
1312         "wires": [
1313             [
1314                 "98e2e029.d50e8",
1315                 "47327c2c.cdd6a4",
1316                 "f9c127e5.84e9e8",
1317                 "e61c1415.20c848",
1318                 "8d6f5090.6c973"
1319             ]
1320         ]
1321     },
1322     {
1323         "id": "98e2e029.d50e8",
1324         "type": "switchNode",
1325         "name": "ransim mounted",
1326         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1327         "comments": "",
1328         "outputs": 1,
1329         "x": 1001.0000381469727,
1330         "y": 652.7500114440918,
1331         "z": "d1da56d7.1e7b78",
1332         "wires": [
1333             [
1334                 "223d5a1c.1b0fb6",
1335                 "9f90767.43c7588"
1336             ]
1337         ]
1338     },
1339     {
1340         "id": "223d5a1c.1b0fb6",
1341         "type": "outcome",
1342         "name": "Not Mounted",
1343         "xml": "<outcome value='false'>\n",
1344         "comments": "",
1345         "outputs": 1,
1346         "x": 1221.9999237060547,
1347         "y": 709.7497630119324,
1348         "z": "d1da56d7.1e7b78",
1349         "wires": [
1350             [
1351                 "55a7c56a.3fce3c"
1352             ]
1353         ]
1354     },
1355     {
1356         "id": "9f90767.43c7588",
1357         "type": "outcome",
1358         "name": "Mounted",
1359         "xml": "<outcome value='true'>\n",
1360         "comments": "",
1361         "outputs": 1,
1362         "x": 1216.0000038146973,
1363         "y": 746.7499017715454,
1364         "z": "d1da56d7.1e7b78",
1365         "wires": [
1366             [
1367                 "e8940986.b7ee28"
1368             ]
1369         ]
1370     },
1371     {
1372         "id": "e8940986.b7ee28",
1373         "type": "block",
1374         "name": "ransim  URL",
1375         "xml": "<block atomic='true'>",
1376         "atomic": "true",
1377         "comments": "",
1378         "outputs": 1,
1379         "x": 1392.9898414611816,
1380         "y": 757.7498874664307,
1381         "z": "d1da56d7.1e7b78",
1382         "wires": [
1383             [
1384                 "1d74dbdf.25ea24",
1385                 "4c4c0bee.483e74"
1386             ]
1387         ]
1388     },
1389     {
1390         "id": "55a7c56a.3fce3c",
1391         "type": "block",
1392         "name": "URL",
1393         "xml": "<block atomic='true'>",
1394         "atomic": "true",
1395         "comments": "",
1396         "outputs": 1,
1397         "x": 1381.2014484405518,
1398         "y": 716.3489580154419,
1399         "z": "d1da56d7.1e7b78",
1400         "wires": [
1401             [
1402                 "a7f2c835.dac1d8"
1403             ]
1404         ]
1405     },
1406     {
1407         "id": "a7f2c835.dac1d8",
1408         "type": "execute",
1409         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1410         "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`\"/>",
1411         "comments": "",
1412         "outputs": 1,
1413         "x": 1662.999984741211,
1414         "y": 706.7500991821289,
1415         "z": "d1da56d7.1e7b78",
1416         "wires": [
1417             []
1418         ]
1419     },
1420     {
1421         "id": "1d74dbdf.25ea24",
1422         "type": "execute",
1423         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1424         "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`\"/>",
1425         "comments": "",
1426         "outputs": 1,
1427         "x": 1712.5343799591064,
1428         "y": 748.3491978943348,
1429         "z": "d1da56d7.1e7b78",
1430         "wires": [
1431             []
1432         ]
1433     },
1434     {
1435         "id": "4c4c0bee.483e74",
1436         "type": "execute",
1437         "name": "Populate MOUNT NAME",
1438         "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`\"/>",
1439         "comments": "",
1440         "outputs": 1,
1441         "x": 1655.534896850586,
1442         "y": 793.3489608764648,
1443         "z": "d1da56d7.1e7b78",
1444         "wires": [
1445             []
1446         ]
1447     },
1448     {
1449         "id": "47327c2c.cdd6a4",
1450         "type": "execute",
1451         "name": "prepare mcc",
1452         "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`\"/>",
1453         "comments": "",
1454         "outputs": 1,
1455         "x": 997.2500801086426,
1456         "y": 695.2500720024109,
1457         "z": "d1da56d7.1e7b78",
1458         "wires": [
1459             []
1460         ]
1461     },
1462     {
1463         "id": "f9c127e5.84e9e8",
1464         "type": "execute",
1465         "name": "prepare mnc",
1466         "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`\"/>",
1467         "comments": "",
1468         "outputs": 1,
1469         "x": 998.7500534057617,
1470         "y": 735.2500114440918,
1471         "z": "d1da56d7.1e7b78",
1472         "wires": [
1473             []
1474         ]
1475     },
1476     {
1477         "id": "d98e12cf.209e7",
1478         "type": "execute",
1479         "name": "prepare sNssai",
1480         "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`\"/>",
1481         "comments": "",
1482         "outputs": 1,
1483         "x": 1001.7500534057617,
1484         "y": 775.2499647140503,
1485         "z": "d1da56d7.1e7b78",
1486         "wires": [
1487             []
1488         ]
1489     },
1490     {
1491         "id": "3a1d2a35.6a00e6",
1492         "type": "execute",
1493         "name": "prepare uLThptPerSlice",
1494         "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`\"/>",
1495         "comments": "",
1496         "outputs": 1,
1497         "x": 1004.0000381469727,
1498         "y": 819.250054359436,
1499         "z": "d1da56d7.1e7b78",
1500         "wires": [
1501             []
1502         ]
1503     },
1504     {
1505         "id": "d6823a6a.4c6468",
1506         "type": "execute",
1507         "name": "prepare dLThptPerSlice",
1508         "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`\"/>",
1509         "comments": "",
1510         "outputs": 1,
1511         "x": 997.2500534057617,
1512         "y": 860.0000238418579,
1513         "z": "d1da56d7.1e7b78",
1514         "wires": [
1515             []
1516         ]
1517     },
1518     {
1519         "id": "e61c1415.20c848",
1520         "type": "record",
1521         "name": "record",
1522         "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",
1523         "comments": "",
1524         "outputs": 1,
1525         "x": 950.4999885559082,
1526         "y": 895.499979019165,
1527         "z": "d1da56d7.1e7b78",
1528         "wires": [
1529             []
1530         ]
1531     },
1532     {
1533         "id": "f1747783.e30e98",
1534         "type": "success",
1535         "name": "success",
1536         "xml": "<outcome value='success'>\n",
1537         "comments": "",
1538         "outputs": 1,
1539         "x": 1238.0000495910645,
1540         "y": 944.0000343322754,
1541         "z": "d1da56d7.1e7b78",
1542         "wires": [
1543             [
1544                 "c14004b5.9a1838"
1545             ]
1546         ]
1547     },
1548     {
1549         "id": "6a9992fc.795c2c",
1550         "type": "failure",
1551         "name": "failure",
1552         "xml": "<outcome value='failure'>\n",
1553         "comments": "",
1554         "outputs": 1,
1555         "x": 1236.5627937316895,
1556         "y": 993.5625333786011,
1557         "z": "d1da56d7.1e7b78",
1558         "wires": [
1559             [
1560                 "a873143.b35e6e8"
1561             ]
1562         ]
1563     },
1564     {
1565         "id": "c14004b5.9a1838",
1566         "type": "block",
1567         "name": "block : atomic",
1568         "xml": "<block atomic='true'>",
1569         "atomic": "true",
1570         "comments": "",
1571         "outputs": 1,
1572         "x": 1406.9998016357422,
1573         "y": 938.0000581741333,
1574         "z": "d1da56d7.1e7b78",
1575         "wires": [
1576             [
1577                 "71a12d75.5b5994"
1578             ]
1579         ]
1580     },
1581     {
1582         "id": "a873143.b35e6e8",
1583         "type": "block",
1584         "name": "block",
1585         "xml": "<block>",
1586         "atomic": "false",
1587         "comments": "",
1588         "outputs": 1,
1589         "x": 1397.562656402588,
1590         "y": 971.5624599456787,
1591         "z": "d1da56d7.1e7b78",
1592         "wires": [
1593             [
1594                 "42069377.24c81c",
1595                 "8894a5e7.dc7408",
1596                 "c48f89b1.d18a38"
1597             ]
1598         ]
1599     },
1600     {
1601         "id": "71a12d75.5b5994",
1602         "type": "record",
1603         "name": "record",
1604         "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\"/>",
1605         "comments": "",
1606         "outputs": 1,
1607         "x": 1618.7496070861816,
1608         "y": 860.7501459121704,
1609         "z": "d1da56d7.1e7b78",
1610         "wires": [
1611             []
1612         ]
1613     },
1614     {
1615         "id": "8894a5e7.dc7408",
1616         "type": "set",
1617         "name": "set",
1618         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1619         "comments": "",
1620         "x": 1623.5632057189941,
1621         "y": 916.6734857559204,
1622         "z": "d1da56d7.1e7b78",
1623         "wires": []
1624     },
1625     {
1626         "id": "42069377.24c81c",
1627         "type": "returnFailure",
1628         "name": "return failure",
1629         "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'/>",
1630         "comments": "",
1631         "x": 1584.5627212524414,
1632         "y": 967.5624780654907,
1633         "z": "d1da56d7.1e7b78",
1634         "wires": []
1635     },
1636     {
1637         "id": "8d6f5090.6c973",
1638         "type": "execute",
1639         "name": "patch NearRTRIC - config",
1640         "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' />",
1641         "comments": "",
1642         "outputs": 1,
1643         "x": 1005.5000495910645,
1644         "y": 942.7500219345093,
1645         "z": "d1da56d7.1e7b78",
1646         "wires": [
1647             [
1648                 "f1747783.e30e98",
1649                 "6a9992fc.795c2c"
1650             ]
1651         ]
1652     },
1653     {
1654         "id": "3f1931e1.a211de",
1655         "type": "set",
1656         "name": "set tmp variables for SO response",
1657         "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",
1658         "comments": "",
1659         "x": 426.4375,
1660         "y": 1312.3749732971191,
1661         "z": "d1da56d7.1e7b78",
1662         "wires": []
1663     },
1664     {
1665         "id": "9d63de5e.8e682",
1666         "type": "execute",
1667         "name": "Send to SO",
1668         "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`\"/>",
1669         "comments": "",
1670         "outputs": 1,
1671         "x": 263.9375,
1672         "y": 1556.1249732971191,
1673         "z": "d1da56d7.1e7b78",
1674         "wires": [
1675             [
1676                 "cbc8b2d8.13b52",
1677                 "8daf872.91ed978"
1678             ]
1679         ]
1680     },
1681     {
1682         "id": "49d99fd7.fc694",
1683         "type": "outcome",
1684         "name": "Not Mounted",
1685         "xml": "<outcome value='false'>\n",
1686         "comments": "",
1687         "outputs": 1,
1688         "x": 1641.5000648498535,
1689         "y": 1062.7500076293945,
1690         "z": "d1da56d7.1e7b78",
1691         "wires": [
1692             [
1693                 "191abe0b.872f32"
1694             ]
1695         ]
1696     },
1697     {
1698         "id": "b038eec9.55512",
1699         "type": "outcome",
1700         "name": "Mounted",
1701         "xml": "<outcome value='true'>\n",
1702         "comments": "",
1703         "outputs": 1,
1704         "x": 1635.500144958496,
1705         "y": 1099.7501463890076,
1706         "z": "d1da56d7.1e7b78",
1707         "wires": [
1708             [
1709                 "478492f6.e3bc0c"
1710             ]
1711         ]
1712     },
1713     {
1714         "id": "478492f6.e3bc0c",
1715         "type": "block",
1716         "name": "ransim  URL",
1717         "xml": "<block atomic='true'>",
1718         "atomic": "true",
1719         "comments": "",
1720         "outputs": 1,
1721         "x": 1812.4899826049805,
1722         "y": 1110.7501320838928,
1723         "z": "d1da56d7.1e7b78",
1724         "wires": [
1725             [
1726                 "7610cbcc.f96fe4",
1727                 "979c14d1.cb1e58"
1728             ]
1729         ]
1730     },
1731     {
1732         "id": "191abe0b.872f32",
1733         "type": "block",
1734         "name": "URL",
1735         "xml": "<block atomic='true'>",
1736         "atomic": "true",
1737         "comments": "",
1738         "outputs": 1,
1739         "x": 1800.7015895843506,
1740         "y": 1069.349202632904,
1741         "z": "d1da56d7.1e7b78",
1742         "wires": [
1743             [
1744                 "893dfdaf.bebe3"
1745             ]
1746         ]
1747     },
1748     {
1749         "id": "893dfdaf.bebe3",
1750         "type": "execute",
1751         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1752         "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`\"/>",
1753         "comments": "",
1754         "outputs": 1,
1755         "x": 2082.5001258850098,
1756         "y": 1059.750343799591,
1757         "z": "d1da56d7.1e7b78",
1758         "wires": [
1759             []
1760         ]
1761     },
1762     {
1763         "id": "7610cbcc.f96fe4",
1764         "type": "execute",
1765         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1766         "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`\"/>",
1767         "comments": "",
1768         "outputs": 1,
1769         "x": 2132.0345211029053,
1770         "y": 1101.349442511797,
1771         "z": "d1da56d7.1e7b78",
1772         "wires": [
1773             []
1774         ]
1775     },
1776     {
1777         "id": "979c14d1.cb1e58",
1778         "type": "execute",
1779         "name": "Populate MOUNT NAME",
1780         "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`\"/>",
1781         "comments": "",
1782         "outputs": 1,
1783         "x": 2075.0350379943848,
1784         "y": 1146.349205493927,
1785         "z": "d1da56d7.1e7b78",
1786         "wires": [
1787             []
1788         ]
1789     },
1790     {
1791         "id": "34e80fab.94589",
1792         "type": "switchNode",
1793         "name": "ransim mounted",
1794         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1795         "comments": "",
1796         "outputs": 1,
1797         "x": 1451.500129699707,
1798         "y": 1055.750005722046,
1799         "z": "d1da56d7.1e7b78",
1800         "wires": [
1801             [
1802                 "49d99fd7.fc694",
1803                 "b038eec9.55512"
1804             ]
1805         ]
1806     },
1807     {
1808         "id": "1f9e057a.b5015b",
1809         "type": "execute",
1810         "name": "prepare mcc",
1811         "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`\"/>",
1812         "comments": "",
1813         "outputs": 1,
1814         "x": 1446.5000648498535,
1815         "y": 1127.7500076293945,
1816         "z": "d1da56d7.1e7b78",
1817         "wires": [
1818             []
1819         ]
1820     },
1821     {
1822         "id": "c526ebdc.dcc278",
1823         "type": "execute",
1824         "name": "prepare mnc",
1825         "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`\"/>",
1826         "comments": "",
1827         "outputs": 1,
1828         "x": 1448.0000381469727,
1829         "y": 1167.7499470710754,
1830         "z": "d1da56d7.1e7b78",
1831         "wires": [
1832             []
1833         ]
1834     },
1835     {
1836         "id": "ff317ab.8735a88",
1837         "type": "block",
1838         "name": "block : atomic",
1839         "xml": "<block atomic=\"true\">",
1840         "atomic": "true",
1841         "outputs": 1,
1842         "x": 1252.5000228881836,
1843         "y": 1106.750039100647,
1844         "z": "d1da56d7.1e7b78",
1845         "wires": [
1846             [
1847                 "34e80fab.94589",
1848                 "1f9e057a.b5015b",
1849                 "c526ebdc.dcc278",
1850                 "b7f1dcfa.9099e",
1851                 "92f9164e.8bd9f8",
1852                 "a597141c.955aa8",
1853                 "40a41a92.878344"
1854             ]
1855         ]
1856     },
1857     {
1858         "id": "b7f1dcfa.9099e",
1859         "type": "for",
1860         "name": "For Number of cells",
1861         "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
1862         "comments": "",
1863         "outputs": 1,
1864         "x": 1461.7501907348633,
1865         "y": 1271.75004196167,
1866         "z": "d1da56d7.1e7b78",
1867         "wires": [
1868             [
1869                 "73ca8487.787a6c"
1870             ]
1871         ]
1872     },
1873     {
1874         "id": "874d627f.189ca",
1875         "type": "execute",
1876         "name": "cellLocalId",
1877         "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'`\" />",
1878         "comments": "",
1879         "outputs": 1,
1880         "x": 1872.5000457763672,
1881         "y": 1240.7500610351562,
1882         "z": "d1da56d7.1e7b78",
1883         "wires": [
1884             []
1885         ]
1886     },
1887     {
1888         "id": "73ca8487.787a6c",
1889         "type": "block",
1890         "name": "block : atomic",
1891         "xml": "<block atomic=\"true\">",
1892         "atomic": "true",
1893         "outputs": 1,
1894         "x": 1671.5,
1895         "y": 1268.75,
1896         "z": "d1da56d7.1e7b78",
1897         "wires": [
1898             [
1899                 "874d627f.189ca",
1900                 "b903329b.50594",
1901                 "81ae2c97.4e515",
1902                 "add71935.c42ad8"
1903             ]
1904         ]
1905     },
1906     {
1907         "id": "b903329b.50594",
1908         "type": "execute",
1909         "name": "predictedMaxNumberofConns",
1910         "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'`\" />",
1911         "comments": "",
1912         "outputs": 1,
1913         "x": 1929.2500457763672,
1914         "y": 1275.7501058578491,
1915         "z": "d1da56d7.1e7b78",
1916         "wires": [
1917             []
1918         ]
1919     },
1920     {
1921         "id": "81ae2c97.4e515",
1922         "type": "execute",
1923         "name": "patch NearRTRIC - config",
1924         "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' />",
1925         "comments": "",
1926         "outputs": 1,
1927         "x": 1920,
1928         "y": 1382.75,
1929         "z": "d1da56d7.1e7b78",
1930         "wires": [
1931             [
1932                 "573788df.ddddb8",
1933                 "7bdf8f5b.10a1"
1934             ]
1935         ]
1936     },
1937     {
1938         "id": "573788df.ddddb8",
1939         "type": "success",
1940         "name": "success",
1941         "xml": "<outcome value='success'>\n",
1942         "comments": "",
1943         "outputs": 1,
1944         "x": 2152.5,
1945         "y": 1384.000012397766,
1946         "z": "d1da56d7.1e7b78",
1947         "wires": [
1948             [
1949                 "4bcc1302.ba043c"
1950             ]
1951         ]
1952     },
1953     {
1954         "id": "7bdf8f5b.10a1",
1955         "type": "failure",
1956         "name": "failure",
1957         "xml": "<outcome value='failure'>\n",
1958         "comments": "",
1959         "outputs": 1,
1960         "x": 2151.062744140625,
1961         "y": 1433.5625114440918,
1962         "z": "d1da56d7.1e7b78",
1963         "wires": [
1964             [
1965                 "b111113c.40f09"
1966             ]
1967         ]
1968     },
1969     {
1970         "id": "b111113c.40f09",
1971         "type": "block",
1972         "name": "block",
1973         "xml": "<block>",
1974         "atomic": "false",
1975         "comments": "",
1976         "outputs": 1,
1977         "x": 2312.0626068115234,
1978         "y": 1411.5624380111694,
1979         "z": "d1da56d7.1e7b78",
1980         "wires": [
1981             [
1982                 "a13544b8.2f4298",
1983                 "1d24e1f0.9e612e",
1984                 "c48f89b1.d18a38"
1985             ]
1986         ]
1987     },
1988     {
1989         "id": "4bcc1302.ba043c",
1990         "type": "block",
1991         "name": "block : atomic",
1992         "xml": "<block atomic='true'>",
1993         "atomic": "true",
1994         "comments": "",
1995         "outputs": 1,
1996         "x": 2321.4997520446777,
1997         "y": 1378.000036239624,
1998         "z": "d1da56d7.1e7b78",
1999         "wires": [
2000             [
2001                 "8c850a61.9d5d58"
2002             ]
2003         ]
2004     },
2005     {
2006         "id": "a13544b8.2f4298",
2007         "type": "returnFailure",
2008         "name": "return failure",
2009         "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'/>",
2010         "comments": "",
2011         "x": 2499.062671661377,
2012         "y": 1407.5624561309814,
2013         "z": "d1da56d7.1e7b78",
2014         "wires": []
2015     },
2016     {
2017         "id": "1d24e1f0.9e612e",
2018         "type": "set",
2019         "name": "set",
2020         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
2021         "comments": "",
2022         "x": 2538.0631561279297,
2023         "y": 1356.6734638214111,
2024         "z": "d1da56d7.1e7b78",
2025         "wires": []
2026     },
2027     {
2028         "id": "8c850a61.9d5d58",
2029         "type": "record",
2030         "name": "record",
2031         "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\"/>",
2032         "comments": "",
2033         "outputs": 1,
2034         "x": 2533.249557495117,
2035         "y": 1300.7501239776611,
2036         "z": "d1da56d7.1e7b78",
2037         "wires": [
2038             []
2039         ]
2040     },
2041     {
2042         "id": "39732f52.6ba52",
2043         "type": "record",
2044         "name": "record",
2045         "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",
2046         "comments": "",
2047         "outputs": 1,
2048         "x": 821.25,
2049         "y": 1076.75,
2050         "z": "d1da56d7.1e7b78",
2051         "wires": [
2052             []
2053         ]
2054     },
2055     {
2056         "id": "92f9164e.8bd9f8",
2057         "type": "execute",
2058         "name": "CUCellListEntries",
2059         "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",
2060         "comments": "",
2061         "outputs": 1,
2062         "x": 1462.7500076293945,
2063         "y": 1202.0000104904175,
2064         "z": "d1da56d7.1e7b78",
2065         "wires": [
2066             []
2067         ]
2068     },
2069     {
2070         "id": "a597141c.955aa8",
2071         "type": "record",
2072         "name": "record",
2073         "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",
2074         "comments": "",
2075         "outputs": 1,
2076         "x": 1442.75,
2077         "y": 1235,
2078         "z": "d1da56d7.1e7b78",
2079         "wires": [
2080             []
2081         ]
2082     },
2083     {
2084         "id": "add71935.c42ad8",
2085         "type": "record",
2086         "name": "record",
2087         "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",
2088         "comments": "",
2089         "outputs": 1,
2090         "x": 1868,
2091         "y": 1329.25,
2092         "z": "d1da56d7.1e7b78",
2093         "wires": [
2094             []
2095         ]
2096     },
2097     {
2098         "id": "40a41a92.878344",
2099         "type": "set",
2100         "name": "set Temp Variables",
2101         "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
2102         "comments": "",
2103         "x": 1468.25,
2104         "y": 1011.25,
2105         "z": "d1da56d7.1e7b78",
2106         "wires": []
2107     },
2108     {
2109         "id": "5303822c.a01cdc",
2110         "type": "block",
2111         "name": "block : atomic",
2112         "xml": "<block atomic=\"true\">",
2113         "atomic": "true",
2114         "outputs": 1,
2115         "x": 1261.2500457763672,
2116         "y": 608.7500238418579,
2117         "z": "d1da56d7.1e7b78",
2118         "wires": [
2119             [
2120                 "18f7864e.7ce22a",
2121                 "6d3ef7b9.ba50a8"
2122             ]
2123         ]
2124     },
2125     {
2126         "id": "6d3ef7b9.ba50a8",
2127         "type": "set",
2128         "name": "set mcc & mnc Variables",
2129         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
2130         "comments": "",
2131         "x": 1472.9771423339844,
2132         "y": 666.3077244758606,
2133         "z": "d1da56d7.1e7b78",
2134         "wires": []
2135     },
2136     {
2137         "id": "18f7864e.7ce22a",
2138         "type": "execute",
2139         "name": "split pLMNId",
2140         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n    <parameter name=\"regex\" value=\"-\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
2141         "comments": "",
2142         "outputs": 1,
2143         "x": 1480.5224609375,
2144         "y": 622.2623138427734,
2145         "z": "d1da56d7.1e7b78",
2146         "wires": [
2147             []
2148         ]
2149     }
2150 ]