RAN Slice DG - Bug fixes
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceReconfigure.json
1 [
2     {
3         "id": "32585b9f.2450c4",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 503.75,
10         "y": 164.75,
11         "z": "41b275ba.2c7b9c",
12         "wires": [
13             [
14                 "6d512b02.f5fb24"
15             ]
16         ]
17     },
18     {
19         "id": "3dbd289d.70c158",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 127.74999618530273,
24         "y": 69.74997234344482,
25         "z": "41b275ba.2c7b9c",
26         "wires": [
27             [
28                 "f703c5f1.d65e48"
29             ]
30         ]
31     },
32     {
33         "id": "f703c5f1.d65e48",
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": 260.7499694824219,
42         "y": 166.75005340576172,
43         "z": "41b275ba.2c7b9c",
44         "wires": [
45             [
46                 "32585b9f.2450c4"
47             ]
48         ]
49     },
50     {
51         "id": "48d93d05.8690d4",
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": 189.2396240234375,
57         "y": 1107.7502908706665,
58         "z": "41b275ba.2c7b9c",
59         "wires": []
60     },
61     {
62         "id": "a4b9c637.2208a8",
63         "type": "comment",
64         "name": "instantiateRANSliceReconfigure",
65         "info": "",
66         "comments": "",
67         "x": 472.75,
68         "y": 106.76037216186523,
69         "z": "41b275ba.2c7b9c",
70         "wires": []
71     },
72     {
73         "id": "6d512b02.f5fb24",
74         "type": "block",
75         "name": "block : atomic",
76         "xml": "<block atomic='true'>",
77         "atomic": "true",
78         "comments": "",
79         "outputs": 1,
80         "x": 138.74996948242188,
81         "y": 286.7603759765625,
82         "z": "41b275ba.2c7b9c",
83         "wires": [
84             [
85                 "48d93d05.8690d4",
86                 "f4e1247b.bc3698",
87                 "d1274487.bddf28",
88                 "6d3f3c64.a47bf4"
89             ]
90         ]
91     },
92     {
93         "id": "68609d43.a7c894",
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": 4019.739906311035,
100         "y": 7591.770859479904,
101         "z": "41b275ba.2c7b9c",
102         "wires": [
103             [
104                 "9e2fe536.9e73f8"
105             ]
106         ]
107     },
108     {
109         "id": "9e2fe536.9e73f8",
110         "type": "success",
111         "name": "success",
112         "xml": "<outcome value='success'>\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 4356.739784240723,
116         "y": 7617.760361433029,
117         "z": "41b275ba.2c7b9c",
118         "wires": [
119             [
120                 "df2e7f8.6dd618"
121             ]
122         ]
123     },
124     {
125         "id": "df2e7f8.6dd618",
126         "type": "block",
127         "name": "block",
128         "xml": "<block>\n",
129         "atomic": "false",
130         "comments": "",
131         "outputs": 1,
132         "x": 4536.739540100098,
133         "y": 7614.760361433029,
134         "z": "41b275ba.2c7b9c",
135         "wires": [
136             [
137                 "52c52982.de0028"
138             ]
139         ]
140     },
141     {
142         "id": "52c52982.de0028",
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": 4685.739841461182,
149         "y": 7640.760554075241,
150         "z": "41b275ba.2c7b9c",
151         "wires": [
152             []
153         ]
154     },
155     {
156         "id": "6d3f3c64.a47bf4",
157         "type": "block",
158         "name": "SO Response",
159         "xml": "<block atomic='true'>",
160         "atomic": "true",
161         "comments": "",
162         "outputs": 1,
163         "x": 218.5,
164         "y": 1058.0146198272705,
165         "z": "41b275ba.2c7b9c",
166         "wires": [
167             [
168                 "6ca212a7.438f2c",
169                 "c4de5282.42b7b",
170                 "1c47a5e4.c57bfa",
171                 "313715a1.8aa98a"
172             ]
173         ]
174     },
175     {
176         "id": "6ca212a7.438f2c",
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": 386.7499771118164,
183         "y": 1425.7648248672485,
184         "z": "41b275ba.2c7b9c",
185         "wires": [
186             []
187         ]
188     },
189     {
190         "id": "5fd9ecbd.29ab64",
191         "type": "failure",
192         "name": "failure",
193         "xml": "<outcome value='failure'>\n",
194         "comments": "",
195         "outputs": 1,
196         "x": 420.7500762939453,
197         "y": 1522.7645282745361,
198         "z": "41b275ba.2c7b9c",
199         "wires": [
200             [
201                 "7f661b0f.15e664"
202             ]
203         ]
204     },
205     {
206         "id": "2189ac26.c30d74",
207         "type": "success",
208         "name": "success",
209         "xml": "<outcome value='success'>\n",
210         "comments": "",
211         "outputs": 1,
212         "x": 412.7499694824219,
213         "y": 1595.7644786834717,
214         "z": "41b275ba.2c7b9c",
215         "wires": [
216             [
217                 "d9a56d50.10807"
218             ]
219         ]
220     },
221     {
222         "id": "d9a56d50.10807",
223         "type": "block",
224         "name": "block",
225         "xml": "<block>\n",
226         "atomic": "false",
227         "comments": "",
228         "outputs": 1,
229         "x": 558.749813079834,
230         "y": 1600.7645874023438,
231         "z": "41b275ba.2c7b9c",
232         "wires": [
233             [
234                 "9ed33baf.c15f38"
235             ]
236         ]
237     },
238     {
239         "id": "7f661b0f.15e664",
240         "type": "block",
241         "name": "block",
242         "xml": "<block>\n",
243         "atomic": "false",
244         "comments": "",
245         "outputs": 1,
246         "x": 569.7499771118164,
247         "y": 1518.764663696289,
248         "z": "41b275ba.2c7b9c",
249         "wires": [
250             [
251                 "36051d22.566b12",
252                 "a16954ff.5c8568"
253             ]
254         ]
255     },
256     {
257         "id": "36051d22.566b12",
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": 716.7495956420898,
263         "y": 1529.7644052505493,
264         "z": "41b275ba.2c7b9c",
265         "wires": []
266     },
267     {
268         "id": "9ed33baf.c15f38",
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": 719.7497329711914,
275         "y": 1606.764479637146,
276         "z": "41b275ba.2c7b9c",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "ae45840d.79a808",
283         "type": "block",
284         "name": "block : SO Response",
285         "xml": "<block atomic='true'>",
286         "atomic": "true",
287         "comments": "",
288         "outputs": 1,
289         "x": 2951.2410202026367,
290         "y": 711.7605400085449,
291         "z": "41b275ba.2c7b9c",
292         "wires": [
293             [
294                 "383a0812.212598",
295                 "bd9a5458.0d8c98",
296                 "f79506e4.729ba8"
297             ]
298         ]
299     },
300     {
301         "id": "383a0812.212598",
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": 3269.2419967651367,
307         "y": 635.6601982116699,
308         "z": "41b275ba.2c7b9c",
309         "wires": []
310     },
311     {
312         "id": "bd9a5458.0d8c98",
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": 3244.240882873535,
319         "y": 732.7608757019043,
320         "z": "41b275ba.2c7b9c",
321         "wires": [
322             []
323         ]
324     },
325     {
326         "id": "f79506e4.729ba8",
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='application/json' />",
330         "comments": "",
331         "outputs": 1,
332         "x": 3159.240894317627,
333         "y": 829.7607536315918,
334         "z": "41b275ba.2c7b9c",
335         "wires": [
336             [
337                 "4ca0fe0e.1272",
338                 "1eeab34c.9f419d"
339             ]
340         ]
341     },
342     {
343         "id": "4ca0fe0e.1272",
344         "type": "failure",
345         "name": "failure",
346         "xml": "<outcome value='failure'>\n",
347         "comments": "",
348         "outputs": 1,
349         "x": 3385.240902900696,
350         "y": 806.7607226371765,
351         "z": "41b275ba.2c7b9c",
352         "wires": [
353             [
354                 "c32c55a7.fb07f8"
355             ]
356         ]
357     },
358     {
359         "id": "1eeab34c.9f419d",
360         "type": "success",
361         "name": "success",
362         "xml": "<outcome value='success'>\n",
363         "comments": "",
364         "outputs": 1,
365         "x": 3375.2407569885254,
366         "y": 914.7606620788574,
367         "z": "41b275ba.2c7b9c",
368         "wires": [
369             [
370                 "e19f4b9.9907bb8"
371             ]
372         ]
373     },
374     {
375         "id": "e19f4b9.9907bb8",
376         "type": "block",
377         "name": "block",
378         "xml": "<block>\n",
379         "atomic": "false",
380         "comments": "",
381         "outputs": 1,
382         "x": 3525.2405433654785,
383         "y": 933.7607231140137,
384         "z": "41b275ba.2c7b9c",
385         "wires": [
386             [
387                 "4cde663b.2a8578"
388             ]
389         ]
390     },
391     {
392         "id": "c32c55a7.fb07f8",
393         "type": "block",
394         "name": "block",
395         "xml": "<block>\n",
396         "atomic": "false",
397         "comments": "",
398         "outputs": 1,
399         "x": 3536.2407722473145,
400         "y": 801.760844707489,
401         "z": "41b275ba.2c7b9c",
402         "wires": [
403             [
404                 "92c9aac0.661068"
405             ]
406         ]
407     },
408     {
409         "id": "92c9aac0.661068",
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": 3702.240451812744,
415         "y": 804.7606620788574,
416         "z": "41b275ba.2c7b9c",
417         "wires": []
418     },
419     {
420         "id": "4cde663b.2a8578",
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": 3689.2405586242676,
427         "y": 939.7606620788574,
428         "z": "41b275ba.2c7b9c",
429         "wires": [
430             []
431         ]
432     },
433     {
434         "id": "a16954ff.5c8568",
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": 704.2602043151855,
440         "y": 1433.7538967132568,
441         "z": "41b275ba.2c7b9c",
442         "wires": []
443     },
444     {
445         "id": "1c47a5e4.c57bfa",
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": 409.089599609375,
452         "y": 1361.749979019165,
453         "z": "41b275ba.2c7b9c",
454         "wires": [
455             []
456         ]
457     },
458     {
459         "id": "d57e6ed0.cc044",
460         "type": "failure",
461         "name": "true",
462         "xml": "<outcome value='true'>\n",
463         "comments": "",
464         "outputs": 1,
465         "x": 695.7502326965332,
466         "y": 224.75006008148193,
467         "z": "41b275ba.2c7b9c",
468         "wires": [
469             [
470                 "a9acee36.f83ee"
471             ]
472         ]
473     },
474     {
475         "id": "f4e1247b.bc3698",
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": 455.7500991821289,
482         "y": 502.7500252723694,
483         "z": "41b275ba.2c7b9c",
484         "wires": [
485             [
486                 "d57e6ed0.cc044",
487                 "2419e20b.e956be"
488             ]
489         ]
490     },
491     {
492         "id": "2419e20b.e956be",
493         "type": "failure",
494         "name": "false",
495         "xml": "<outcome value='false'>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 320.25665283203125,
499         "y": 644.75022315979,
500         "z": "41b275ba.2c7b9c",
501         "wires": [
502             [
503                 "b786c6c5.f36ab8"
504             ]
505         ]
506     },
507     {
508         "id": "96e5a08c.a3377",
509         "type": "failure",
510         "name": "true",
511         "xml": "<outcome value='true'>\n",
512         "comments": "",
513         "outputs": 1,
514         "x": 487.75038146972656,
515         "y": 1006.7502222061157,
516         "z": "41b275ba.2c7b9c",
517         "wires": [
518             [
519                 "7cff3a87.efd824"
520             ]
521         ]
522     },
523     {
524         "id": "a9acee36.f83ee",
525         "type": "block",
526         "name": "Closed Loop",
527         "xml": "<block atomic=\"true\">",
528         "atomic": "true",
529         "comments": "",
530         "outputs": 1,
531         "x": 757.7502288818359,
532         "y": 85.75003004074097,
533         "z": "41b275ba.2c7b9c",
534         "wires": [
535             [
536                 "8b60a680.a71df8",
537                 "36bd9ffc.fe71"
538             ]
539         ]
540     },
541     {
542         "id": "7cff3a87.efd824",
543         "type": "block",
544         "name": "block : atomic",
545         "xml": "<block atomic=\"true\">",
546         "atomic": "true",
547         "outputs": 1,
548         "x": 654.7502899169922,
549         "y": 1005.750207901001,
550         "z": "41b275ba.2c7b9c",
551         "wires": [
552             [
553                 "1980284b.b32c88",
554                 "1b3fa1fa.2ed2de",
555                 "959e65cd.b44568",
556                 "5e06d049.40315"
557             ]
558         ]
559     },
560     {
561         "id": "b786c6c5.f36ab8",
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": 313.7504577636719,
568         "y": 1004.7502689361572,
569         "z": "41b275ba.2c7b9c",
570         "wires": [
571             [
572                 "96e5a08c.a3377"
573             ]
574         ]
575     },
576     {
577         "id": "8b60a680.a71df8",
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": 963.7500152587891,
584         "y": 70.75002574920654,
585         "z": "41b275ba.2c7b9c",
586         "wires": [
587             []
588         ]
589     },
590     {
591         "id": "1980284b.b32c88",
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": 811.7503967285156,
598         "y": 976.7502517700195,
599         "z": "41b275ba.2c7b9c",
600         "wires": [
601             []
602         ]
603     },
604     {
605         "id": "d1274487.bddf28",
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": 528.75,
612         "y": 237.75,
613         "z": "41b275ba.2c7b9c",
614         "wires": [
615             []
616         ]
617     },
618     {
619         "id": "36bd9ffc.fe71",
620         "type": "block",
621         "name": "NearRTRIC",
622         "xml": "<block atomic=\"true\">",
623         "atomic": "true",
624         "comments": "",
625         "outputs": 1,
626         "x": 861.7605514526367,
627         "y": 199.76043796539307,
628         "z": "41b275ba.2c7b9c",
629         "wires": [
630             [
631                 "9a098154.31cd3",
632                 "78a62e97.fc3e6"
633             ]
634         ]
635     },
636     {
637         "id": "1b3fa1fa.2ed2de",
638         "type": "block",
639         "name": "CUCP",
640         "xml": "<block atomic=\"true\">",
641         "atomic": "true",
642         "comments": "",
643         "outputs": 1,
644         "x": 788.7607955932617,
645         "y": 1120.7605228424072,
646         "z": "41b275ba.2c7b9c",
647         "wires": [
648             [
649                 "17465921.32a817",
650                 "ae576dda.af8e8"
651             ]
652         ]
653     },
654     {
655         "id": "d8a7241.032a8d8",
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": 1432.6495742797852,
662         "y": 382.7604637145996,
663         "z": "41b275ba.2c7b9c",
664         "wires": [
665             [
666                 "b8083d5d.c3c33",
667                 "4a9891fe.ea6f8"
668             ]
669         ]
670     },
671     {
672         "id": "b8083d5d.c3c33",
673         "type": "failure",
674         "name": "failure",
675         "xml": "<outcome value='failure'>\n",
676         "comments": "",
677         "outputs": 1,
678         "x": 1718.6499099731445,
679         "y": 323.74999618530273,
680         "z": "41b275ba.2c7b9c",
681         "wires": [
682             [
683                 "f90d5817.420e78"
684             ]
685         ]
686     },
687     {
688         "id": "4a9891fe.ea6f8",
689         "type": "success",
690         "name": "success",
691         "xml": "<outcome value='success'>\n",
692         "comments": "",
693         "outputs": 1,
694         "x": 1711.649974822998,
695         "y": 383.74990463256836,
696         "z": "41b275ba.2c7b9c",
697         "wires": [
698             [
699                 "7dfa359d.6150cc"
700             ]
701         ]
702     },
703     {
704         "id": "f90d5817.420e78",
705         "type": "block",
706         "name": "block",
707         "xml": "<block>\n",
708         "atomic": "false",
709         "comments": "",
710         "outputs": 1,
711         "x": 1901.6500053405762,
712         "y": 366.75000381469727,
713         "z": "41b275ba.2c7b9c",
714         "wires": [
715             [
716                 "ce80374b.206188",
717                 "523df8ee.f162a8",
718                 "ae45840d.79a808"
719             ]
720         ]
721     },
722     {
723         "id": "7dfa359d.6150cc",
724         "type": "block",
725         "name": "block",
726         "xml": "<block>\n",
727         "atomic": "false",
728         "comments": "",
729         "outputs": 1,
730         "x": 1893.6496391296387,
731         "y": 412.7499656677246,
732         "z": "41b275ba.2c7b9c",
733         "wires": [
734             [
735                 "61c625fb.9581fc",
736                 "12fc8842.fb9cd8"
737             ]
738         ]
739     },
740     {
741         "id": "fce8baf0.424178",
742         "type": "block",
743         "name": "Update SiceProfile for NeaeRTRIC",
744         "xml": "<block atomic='true'>",
745         "atomic": "true",
746         "comments": "",
747         "outputs": 1,
748         "x": 1029.7500915527344,
749         "y": 367.4947757720947,
750         "z": "41b275ba.2c7b9c",
751         "wires": [
752             [
753                 "d2185b6.e0a24a8",
754                 "770f9d.e82ae064",
755                 "dbcf9eb5.ded33",
756                 "d8a7241.032a8d8"
757             ]
758         ]
759     },
760     {
761         "id": "dbcf9eb5.ded33",
762         "type": "switchNode",
763         "name": "ransim mounted",
764         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
765         "comments": "",
766         "outputs": 1,
767         "x": 1381.750394821167,
768         "y": 258.1510200202465,
769         "z": "41b275ba.2c7b9c",
770         "wires": [
771             [
772                 "19a3387d.ee7bf8",
773                 "d7a0002b.c1efa"
774             ]
775         ]
776     },
777     {
778         "id": "19a3387d.ee7bf8",
779         "type": "outcome",
780         "name": "Not Mounted",
781         "xml": "<outcome value='false'>\n",
782         "comments": "",
783         "outputs": 1,
784         "x": 1544.7503185272217,
785         "y": 190.15080973505974,
786         "z": "41b275ba.2c7b9c",
787         "wires": [
788             [
789                 "4b4a5d78.937374"
790             ]
791         ]
792     },
793     {
794         "id": "d7a0002b.c1efa",
795         "type": "outcome",
796         "name": "Mounted",
797         "xml": "<outcome value='true'>\n",
798         "comments": "",
799         "outputs": 1,
800         "x": 1556.7504386901855,
801         "y": 267.1509132385254,
802         "z": "41b275ba.2c7b9c",
803         "wires": [
804             [
805                 "92f66eb2.37642"
806             ]
807         ]
808     },
809     {
810         "id": "770f9d.e82ae064",
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": 1358.7506523132324,
817         "y": 293.4949840269983,
818         "z": "41b275ba.2c7b9c",
819         "wires": [
820             []
821         ]
822     },
823     {
824         "id": "d2185b6.e0a24a8",
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": 1359.751293182373,
831         "y": 338.4843406677246,
832         "z": "41b275ba.2c7b9c",
833         "wires": [
834             []
835         ]
836     },
837     {
838         "id": "bc636d62.af605",
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": 1973.2853164672852,
845         "y": 317.7500343322754,
846         "z": "41b275ba.2c7b9c",
847         "wires": [
848             []
849         ]
850     },
851     {
852         "id": "76704b8e.ef8754",
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": 2043.8199310302734,
859         "y": 273.3490562438965,
860         "z": "41b275ba.2c7b9c",
861         "wires": [
862             []
863         ]
864     },
865     {
866         "id": "92f66eb2.37642",
867         "type": "block",
868         "name": "ransim  URL",
869         "xml": "<block atomic='true'>",
870         "atomic": "true",
871         "comments": "",
872         "outputs": 1,
873         "x": 1739.7400932312012,
874         "y": 273.1508979797363,
875         "z": "41b275ba.2c7b9c",
876         "wires": [
877             [
878                 "eb981a1e.510268",
879                 "76704b8e.ef8754",
880                 "bc636d62.af605"
881             ]
882         ]
883     },
884     {
885         "id": "eb981a1e.510268",
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": 2035.2847747802734,
892         "y": 228.75024461746216,
893         "z": "41b275ba.2c7b9c",
894         "wires": [
895             []
896         ]
897     },
898     {
899         "id": "88f363e3.b1642",
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": 2006.285140991211,
906         "y": 173.75013732910156,
907         "z": "41b275ba.2c7b9c",
908         "wires": [
909             []
910         ]
911     },
912     {
913         "id": "78561837.024a98",
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": 2001.7503662109375,
920         "y": 124.1511402130127,
921         "z": "41b275ba.2c7b9c",
922         "wires": [
923             []
924         ]
925     },
926     {
927         "id": "4b4a5d78.937374",
928         "type": "block",
929         "name": "URL",
930         "xml": "<block atomic='true'>",
931         "atomic": "true",
932         "comments": "",
933         "outputs": 1,
934         "x": 1703.9518432617188,
935         "y": 196.75000473856926,
936         "z": "41b275ba.2c7b9c",
937         "wires": [
938             [
939                 "78561837.024a98",
940                 "88f363e3.b1642"
941             ]
942         ]
943     },
944     {
945         "id": "78a62e97.fc3e6",
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": 1025.7539825439453,
951         "y": 143.75392055511475,
952         "z": "41b275ba.2c7b9c",
953         "wires": []
954     },
955     {
956         "id": "9a098154.31cd3",
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": 1006.7539215087891,
963         "y": 266.75392055511475,
964         "z": "41b275ba.2c7b9c",
965         "wires": [
966             [
967                 "fce8baf0.424178",
968                 "eb9c0d48.d1f73",
969                 "541dc3de.9a8d5c",
970                 "ae576dda.af8e8"
971             ]
972         ]
973     },
974     {
975         "id": "eb9c0d48.d1f73",
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": 1205.2049827575684,
981         "y": 187.76043224334717,
982         "z": "41b275ba.2c7b9c",
983         "wires": []
984     },
985     {
986         "id": "ce80374b.206188",
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": 2087.204933166504,
992         "y": 367.76042556762695,
993         "z": "41b275ba.2c7b9c",
994         "wires": []
995     },
996     {
997         "id": "523df8ee.f162a8",
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": 2097.204719543457,
1003         "y": 406.64941024780273,
1004         "z": "41b275ba.2c7b9c",
1005         "wires": []
1006     },
1007     {
1008         "id": "61c625fb.9581fc",
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": 2085.20463180542,
1015         "y": 443.6493797302246,
1016         "z": "41b275ba.2c7b9c",
1017         "wires": [
1018             []
1019         ]
1020     },
1021     {
1022         "id": "12fc8842.fb9cd8",
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": 2103.983039855957,
1029         "y": 479.64941787719727,
1030         "z": "41b275ba.2c7b9c",
1031         "wires": [
1032             []
1033         ]
1034     },
1035     {
1036         "id": "959e65cd.b44568",
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": 845.8720245361328,
1042         "y": 1017.649528503418,
1043         "z": "41b275ba.2c7b9c",
1044         "wires": []
1045     },
1046     {
1047         "id": "17465921.32a817",
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": 1020.8715896606445,
1054         "y": 1110.6494541168213,
1055         "z": "41b275ba.2c7b9c",
1056         "wires": [
1057             [
1058                 "9eba8bf5.891798"
1059             ]
1060         ]
1061     },
1062     {
1063         "id": "ae576dda.af8e8",
1064         "type": "block",
1065         "name": "get PLMNId",
1066         "xml": "<block atomic='true'>",
1067         "atomic": "true",
1068         "comments": "",
1069         "outputs": 1,
1070         "x": 994.5,
1071         "y": 533.4999732971191,
1072         "z": "41b275ba.2c7b9c",
1073         "wires": [
1074             [
1075                 "435a2113.3763c",
1076                 "19f6c5ea.de089a",
1077                 "2845ab1.4ea1d54",
1078                 "b0fa965b.fc2408",
1079                 "906ffb7e.ea7f58",
1080                 "21c42803.80e668",
1081                 "9fa80d0a.1597c"
1082             ]
1083         ]
1084     },
1085     {
1086         "id": "435a2113.3763c",
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": 1259.4999923706055,
1093         "y": 423.49996757507324,
1094         "z": "41b275ba.2c7b9c",
1095         "wires": [
1096             []
1097         ]
1098     },
1099     {
1100         "id": "19f6c5ea.de089a",
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": 1233.0001182556152,
1107         "y": 471.5000057220459,
1108         "z": "41b275ba.2c7b9c",
1109         "wires": [
1110             []
1111         ]
1112     },
1113     {
1114         "id": "2845ab1.4ea1d54",
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": 1300.7499923706055,
1121         "y": 509.49995517730713,
1122         "z": "41b275ba.2c7b9c",
1123         "wires": [
1124             [
1125                 "ce701174.19d3d",
1126                 "b7a70ed7.29f81"
1127             ]
1128         ]
1129     },
1130     {
1131         "id": "9fa80d0a.1597c",
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": 1257.9375228881836,
1137         "y": 550.1875219345093,
1138         "z": "41b275ba.2c7b9c",
1139         "wires": []
1140     },
1141     {
1142         "id": "b0fa965b.fc2408",
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": 1241.7499923706055,
1149         "y": 589.7500879764557,
1150         "z": "41b275ba.2c7b9c",
1151         "wires": [
1152             []
1153         ]
1154     },
1155     {
1156         "id": "906ffb7e.ea7f58",
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": 1245.5000686645508,
1163         "y": 626.9999208450317,
1164         "z": "41b275ba.2c7b9c",
1165         "wires": [
1166             []
1167         ]
1168     },
1169     {
1170         "id": "21c42803.80e668",
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": 1246.2435455322266,
1177         "y": 668.993444442749,
1178         "z": "41b275ba.2c7b9c",
1179         "wires": [
1180             []
1181         ]
1182     },
1183     {
1184         "id": "ce701174.19d3d",
1185         "type": "success",
1186         "name": "success",
1187         "xml": "<outcome value='success'>\n",
1188         "comments": "",
1189         "outputs": 1,
1190         "x": 1538.2499923706055,
1191         "y": 514.7499675750732,
1192         "z": "41b275ba.2c7b9c",
1193         "wires": [
1194             [
1195                 "7b8bb405.3da30c"
1196             ]
1197         ]
1198     },
1199     {
1200         "id": "b7a70ed7.29f81",
1201         "type": "failure",
1202         "name": "failure",
1203         "xml": "<outcome value='failure'>\n",
1204         "comments": "",
1205         "outputs": 1,
1206         "x": 1536.8127365112305,
1207         "y": 564.3124666213989,
1208         "z": "41b275ba.2c7b9c",
1209         "wires": [
1210             [
1211                 "c038c418.67f8b8"
1212             ]
1213         ]
1214     },
1215     {
1216         "id": "7b8bb405.3da30c",
1217         "type": "block",
1218         "name": "block : atomic",
1219         "xml": "<block atomic='true'>",
1220         "atomic": "true",
1221         "comments": "",
1222         "outputs": 1,
1223         "x": 1711.2497940063477,
1224         "y": 503.7500400543213,
1225         "z": "41b275ba.2c7b9c",
1226         "wires": [
1227             [
1228                 "73158791.da3f38",
1229                 "fd53989c.ffb198"
1230             ]
1231         ]
1232     },
1233     {
1234         "id": "c038c418.67f8b8",
1235         "type": "block",
1236         "name": "block : atomic",
1237         "xml": "<block atomic='true'>",
1238         "atomic": "true",
1239         "comments": "",
1240         "outputs": 1,
1241         "x": 1697.812599182129,
1242         "y": 542.3123931884766,
1243         "z": "41b275ba.2c7b9c",
1244         "wires": [
1245             [
1246                 "f15a8c8f.80b76",
1247                 "4bb0478c.a08ee8",
1248                 "ae45840d.79a808"
1249             ]
1250         ]
1251     },
1252     {
1253         "id": "73158791.da3f38",
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": 1911.9995231628418,
1260         "y": 503.5000648498535,
1261         "z": "41b275ba.2c7b9c",
1262         "wires": [
1263             []
1264         ]
1265     },
1266     {
1267         "id": "fd53989c.ffb198",
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": 1947.7777366638184,
1274         "y": 546.7500734329224,
1275         "z": "41b275ba.2c7b9c",
1276         "wires": [
1277             []
1278         ]
1279     },
1280     {
1281         "id": "4bb0478c.a08ee8",
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": 1942.8129501342773,
1287         "y": 579.4234933853149,
1288         "z": "41b275ba.2c7b9c",
1289         "wires": []
1290     },
1291     {
1292         "id": "f15a8c8f.80b76",
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": 1942.812644958496,
1298         "y": 615.3124780654907,
1299         "z": "41b275ba.2c7b9c",
1300         "wires": []
1301     },
1302     {
1303         "id": "541dc3de.9a8d5c",
1304         "type": "block",
1305         "name": "Update NearRTRIC Config",
1306         "xml": "<block atomic=\"true\">",
1307         "atomic": "true",
1308         "comments": "",
1309         "outputs": 1,
1310         "x": 755.25,
1311         "y": 730.2499732971191,
1312         "z": "41b275ba.2c7b9c",
1313         "wires": [
1314             [
1315                 "5da441f2.6913e",
1316                 "1188042b.5b07dc",
1317                 "a5c40637.63dca8",
1318                 "df970bea.e18718",
1319                 "25b4c7f7.476548"
1320             ]
1321         ]
1322     },
1323     {
1324         "id": "5da441f2.6913e",
1325         "type": "switchNode",
1326         "name": "ransim mounted",
1327         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1328         "comments": "",
1329         "outputs": 1,
1330         "x": 994.0000381469727,
1331         "y": 650.7500114440918,
1332         "z": "41b275ba.2c7b9c",
1333         "wires": [
1334             [
1335                 "57f5bebd.407af",
1336                 "f50035fe.ae9ed8"
1337             ]
1338         ]
1339     },
1340     {
1341         "id": "57f5bebd.407af",
1342         "type": "outcome",
1343         "name": "Not Mounted",
1344         "xml": "<outcome value='false'>\n",
1345         "comments": "",
1346         "outputs": 1,
1347         "x": 1214.9999237060547,
1348         "y": 707.7497630119324,
1349         "z": "41b275ba.2c7b9c",
1350         "wires": [
1351             [
1352                 "79f08456.9d755c"
1353             ]
1354         ]
1355     },
1356     {
1357         "id": "f50035fe.ae9ed8",
1358         "type": "outcome",
1359         "name": "Mounted",
1360         "xml": "<outcome value='true'>\n",
1361         "comments": "",
1362         "outputs": 1,
1363         "x": 1209.0000038146973,
1364         "y": 744.7499017715454,
1365         "z": "41b275ba.2c7b9c",
1366         "wires": [
1367             [
1368                 "a7fb2a0a.75e4e8"
1369             ]
1370         ]
1371     },
1372     {
1373         "id": "a7fb2a0a.75e4e8",
1374         "type": "block",
1375         "name": "ransim  URL",
1376         "xml": "<block atomic='true'>",
1377         "atomic": "true",
1378         "comments": "",
1379         "outputs": 1,
1380         "x": 1385.9898414611816,
1381         "y": 755.7498874664307,
1382         "z": "41b275ba.2c7b9c",
1383         "wires": [
1384             [
1385                 "ab76ccc8.dde52",
1386                 "afc88d65.49d28"
1387             ]
1388         ]
1389     },
1390     {
1391         "id": "79f08456.9d755c",
1392         "type": "block",
1393         "name": "URL",
1394         "xml": "<block atomic='true'>",
1395         "atomic": "true",
1396         "comments": "",
1397         "outputs": 1,
1398         "x": 1374.2014484405518,
1399         "y": 714.3489580154419,
1400         "z": "41b275ba.2c7b9c",
1401         "wires": [
1402             [
1403                 "b6c282d1.dbc4a"
1404             ]
1405         ]
1406     },
1407     {
1408         "id": "b6c282d1.dbc4a",
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": 1655.999984741211,
1415         "y": 704.7500991821289,
1416         "z": "41b275ba.2c7b9c",
1417         "wires": [
1418             []
1419         ]
1420     },
1421     {
1422         "id": "ab76ccc8.dde52",
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": 1705.5343799591064,
1429         "y": 746.3491978943348,
1430         "z": "41b275ba.2c7b9c",
1431         "wires": [
1432             []
1433         ]
1434     },
1435     {
1436         "id": "afc88d65.49d28",
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": 1648.534896850586,
1443         "y": 791.3489608764648,
1444         "z": "41b275ba.2c7b9c",
1445         "wires": [
1446             []
1447         ]
1448     },
1449     {
1450         "id": "1188042b.5b07dc",
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": 990.2500801086426,
1457         "y": 693.2500720024109,
1458         "z": "41b275ba.2c7b9c",
1459         "wires": [
1460             []
1461         ]
1462     },
1463     {
1464         "id": "a5c40637.63dca8",
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": 991.7500534057617,
1471         "y": 733.2500114440918,
1472         "z": "41b275ba.2c7b9c",
1473         "wires": [
1474             []
1475         ]
1476     },
1477     {
1478         "id": "4e890bf6.3c1eb4",
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": 994.7500534057617,
1485         "y": 773.2499647140503,
1486         "z": "41b275ba.2c7b9c",
1487         "wires": [
1488             []
1489         ]
1490     },
1491     {
1492         "id": "41670755.139738",
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": 997.0000381469727,
1499         "y": 817.250054359436,
1500         "z": "41b275ba.2c7b9c",
1501         "wires": [
1502             []
1503         ]
1504     },
1505     {
1506         "id": "6b9096c9.91aa78",
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": 990.2500534057617,
1513         "y": 858.0000238418579,
1514         "z": "41b275ba.2c7b9c",
1515         "wires": [
1516             []
1517         ]
1518     },
1519     {
1520         "id": "df970bea.e18718",
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": 943.4999885559082,
1527         "y": 893.499979019165,
1528         "z": "41b275ba.2c7b9c",
1529         "wires": [
1530             []
1531         ]
1532     },
1533     {
1534         "id": "a63b17d.be891e8",
1535         "type": "success",
1536         "name": "success",
1537         "xml": "<outcome value='success'>\n",
1538         "comments": "",
1539         "outputs": 1,
1540         "x": 1231.0000495910645,
1541         "y": 942.0000343322754,
1542         "z": "41b275ba.2c7b9c",
1543         "wires": [
1544             [
1545                 "62804df9.566e44"
1546             ]
1547         ]
1548     },
1549     {
1550         "id": "94bfc483.016a08",
1551         "type": "failure",
1552         "name": "failure",
1553         "xml": "<outcome value='failure'>\n",
1554         "comments": "",
1555         "outputs": 1,
1556         "x": 1229.5627937316895,
1557         "y": 991.5625333786011,
1558         "z": "41b275ba.2c7b9c",
1559         "wires": [
1560             [
1561                 "692f073e.b8bb78"
1562             ]
1563         ]
1564     },
1565     {
1566         "id": "62804df9.566e44",
1567         "type": "block",
1568         "name": "block : atomic",
1569         "xml": "<block atomic='true'>",
1570         "atomic": "true",
1571         "comments": "",
1572         "outputs": 1,
1573         "x": 1399.9998016357422,
1574         "y": 936.0000581741333,
1575         "z": "41b275ba.2c7b9c",
1576         "wires": [
1577             [
1578                 "941eaf3f.cfa1b"
1579             ]
1580         ]
1581     },
1582     {
1583         "id": "692f073e.b8bb78",
1584         "type": "block",
1585         "name": "block",
1586         "xml": "<block>",
1587         "atomic": "false",
1588         "comments": "",
1589         "outputs": 1,
1590         "x": 1390.562656402588,
1591         "y": 969.5624599456787,
1592         "z": "41b275ba.2c7b9c",
1593         "wires": [
1594             [
1595                 "a0691c95.99967",
1596                 "7eeb3908.36f438",
1597                 "ae45840d.79a808"
1598             ]
1599         ]
1600     },
1601     {
1602         "id": "941eaf3f.cfa1b",
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": 1611.7496070861816,
1609         "y": 858.7501459121704,
1610         "z": "41b275ba.2c7b9c",
1611         "wires": [
1612             []
1613         ]
1614     },
1615     {
1616         "id": "7eeb3908.36f438",
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": 1616.5632057189941,
1622         "y": 914.6734857559204,
1623         "z": "41b275ba.2c7b9c",
1624         "wires": []
1625     },
1626     {
1627         "id": "a0691c95.99967",
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": 1577.5627212524414,
1633         "y": 965.5624780654907,
1634         "z": "41b275ba.2c7b9c",
1635         "wires": []
1636     },
1637     {
1638         "id": "25b4c7f7.476548",
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": 998.5000495910645,
1645         "y": 940.7500219345093,
1646         "z": "41b275ba.2c7b9c",
1647         "wires": [
1648             [
1649                 "a63b17d.be891e8",
1650                 "94bfc483.016a08"
1651             ]
1652         ]
1653     },
1654     {
1655         "id": "c4de5282.42b7b",
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": 419.4375,
1661         "y": 1310.3749732971191,
1662         "z": "41b275ba.2c7b9c",
1663         "wires": []
1664     },
1665     {
1666         "id": "313715a1.8aa98a",
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='application/json' />\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": 256.9375,
1673         "y": 1554.1249732971191,
1674         "z": "41b275ba.2c7b9c",
1675         "wires": [
1676             [
1677                 "5fd9ecbd.29ab64",
1678                 "2189ac26.c30d74"
1679             ]
1680         ]
1681     },
1682     {
1683         "id": "df492683.e9e418",
1684         "type": "outcome",
1685         "name": "Not Mounted",
1686         "xml": "<outcome value='false'>\n",
1687         "comments": "",
1688         "outputs": 1,
1689         "x": 1634.5000648498535,
1690         "y": 1060.7500076293945,
1691         "z": "41b275ba.2c7b9c",
1692         "wires": [
1693             [
1694                 "9607b3d.d3ab35"
1695             ]
1696         ]
1697     },
1698     {
1699         "id": "f20445ef.934978",
1700         "type": "outcome",
1701         "name": "Mounted",
1702         "xml": "<outcome value='true'>\n",
1703         "comments": "",
1704         "outputs": 1,
1705         "x": 1628.500144958496,
1706         "y": 1097.7501463890076,
1707         "z": "41b275ba.2c7b9c",
1708         "wires": [
1709             [
1710                 "650af091.29ffd"
1711             ]
1712         ]
1713     },
1714     {
1715         "id": "650af091.29ffd",
1716         "type": "block",
1717         "name": "ransim  URL",
1718         "xml": "<block atomic='true'>",
1719         "atomic": "true",
1720         "comments": "",
1721         "outputs": 1,
1722         "x": 1805.4899826049805,
1723         "y": 1108.7501320838928,
1724         "z": "41b275ba.2c7b9c",
1725         "wires": [
1726             [
1727                 "cebcb9c5.b643f8",
1728                 "36e20bbb.4a4404"
1729             ]
1730         ]
1731     },
1732     {
1733         "id": "9607b3d.d3ab35",
1734         "type": "block",
1735         "name": "URL",
1736         "xml": "<block atomic='true'>",
1737         "atomic": "true",
1738         "comments": "",
1739         "outputs": 1,
1740         "x": 1793.7015895843506,
1741         "y": 1067.349202632904,
1742         "z": "41b275ba.2c7b9c",
1743         "wires": [
1744             [
1745                 "251e5493.c4b3bc"
1746             ]
1747         ]
1748     },
1749     {
1750         "id": "251e5493.c4b3bc",
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": 2075.5001258850098,
1757         "y": 1057.750343799591,
1758         "z": "41b275ba.2c7b9c",
1759         "wires": [
1760             []
1761         ]
1762     },
1763     {
1764         "id": "cebcb9c5.b643f8",
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": 2125.0345211029053,
1771         "y": 1099.349442511797,
1772         "z": "41b275ba.2c7b9c",
1773         "wires": [
1774             []
1775         ]
1776     },
1777     {
1778         "id": "36e20bbb.4a4404",
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": 2068.0350379943848,
1785         "y": 1144.349205493927,
1786         "z": "41b275ba.2c7b9c",
1787         "wires": [
1788             []
1789         ]
1790     },
1791     {
1792         "id": "7f184b0f.0df254",
1793         "type": "switchNode",
1794         "name": "ransim mounted",
1795         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1796         "comments": "",
1797         "outputs": 1,
1798         "x": 1444.500129699707,
1799         "y": 1053.750005722046,
1800         "z": "41b275ba.2c7b9c",
1801         "wires": [
1802             [
1803                 "df492683.e9e418",
1804                 "f20445ef.934978"
1805             ]
1806         ]
1807     },
1808     {
1809         "id": "23402ed6.5154d2",
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": 1439.5000648498535,
1816         "y": 1125.7500076293945,
1817         "z": "41b275ba.2c7b9c",
1818         "wires": [
1819             []
1820         ]
1821     },
1822     {
1823         "id": "47697e37.1b021",
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": 1441.0000381469727,
1830         "y": 1165.7499470710754,
1831         "z": "41b275ba.2c7b9c",
1832         "wires": [
1833             []
1834         ]
1835     },
1836     {
1837         "id": "9eba8bf5.891798",
1838         "type": "block",
1839         "name": "block : atomic",
1840         "xml": "<block atomic=\"true\">",
1841         "atomic": "true",
1842         "outputs": 1,
1843         "x": 1245.5000228881836,
1844         "y": 1104.750039100647,
1845         "z": "41b275ba.2c7b9c",
1846         "wires": [
1847             [
1848                 "7f184b0f.0df254",
1849                 "23402ed6.5154d2",
1850                 "47697e37.1b021",
1851                 "d7f4a3c5.d4b32",
1852                 "86761b21.52dd98",
1853                 "51f39f3f.e121a",
1854                 "eb254fd0.29137"
1855             ]
1856         ]
1857     },
1858     {
1859         "id": "d7f4a3c5.d4b32",
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": 1454.7501907348633,
1866         "y": 1269.75004196167,
1867         "z": "41b275ba.2c7b9c",
1868         "wires": [
1869             [
1870                 "3e2dcdf0.350682"
1871             ]
1872         ]
1873     },
1874     {
1875         "id": "592dd030.210ee",
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": 1865.5000457763672,
1882         "y": 1238.7500610351562,
1883         "z": "41b275ba.2c7b9c",
1884         "wires": [
1885             []
1886         ]
1887     },
1888     {
1889         "id": "3e2dcdf0.350682",
1890         "type": "block",
1891         "name": "block : atomic",
1892         "xml": "<block atomic=\"true\">",
1893         "atomic": "true",
1894         "outputs": 1,
1895         "x": 1664.5,
1896         "y": 1266.75,
1897         "z": "41b275ba.2c7b9c",
1898         "wires": [
1899             [
1900                 "592dd030.210ee",
1901                 "563fc063.299c9",
1902                 "94a5d1f9.db2b",
1903                 "52dccd0b.5f68b4"
1904             ]
1905         ]
1906     },
1907     {
1908         "id": "563fc063.299c9",
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": 1922.2500457763672,
1915         "y": 1273.7501058578491,
1916         "z": "41b275ba.2c7b9c",
1917         "wires": [
1918             []
1919         ]
1920     },
1921     {
1922         "id": "94a5d1f9.db2b",
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": 1913,
1929         "y": 1380.75,
1930         "z": "41b275ba.2c7b9c",
1931         "wires": [
1932             [
1933                 "e6217049.8fe",
1934                 "103ace8.0d64a32"
1935             ]
1936         ]
1937     },
1938     {
1939         "id": "e6217049.8fe",
1940         "type": "success",
1941         "name": "success",
1942         "xml": "<outcome value='success'>\n",
1943         "comments": "",
1944         "outputs": 1,
1945         "x": 2145.5,
1946         "y": 1382.000012397766,
1947         "z": "41b275ba.2c7b9c",
1948         "wires": [
1949             [
1950                 "649e12ec.2e907c"
1951             ]
1952         ]
1953     },
1954     {
1955         "id": "103ace8.0d64a32",
1956         "type": "failure",
1957         "name": "failure",
1958         "xml": "<outcome value='failure'>\n",
1959         "comments": "",
1960         "outputs": 1,
1961         "x": 2144.062744140625,
1962         "y": 1431.5625114440918,
1963         "z": "41b275ba.2c7b9c",
1964         "wires": [
1965             [
1966                 "105421ef.dcc97e"
1967             ]
1968         ]
1969     },
1970     {
1971         "id": "105421ef.dcc97e",
1972         "type": "block",
1973         "name": "block",
1974         "xml": "<block>",
1975         "atomic": "false",
1976         "comments": "",
1977         "outputs": 1,
1978         "x": 2305.0626068115234,
1979         "y": 1409.5624380111694,
1980         "z": "41b275ba.2c7b9c",
1981         "wires": [
1982             [
1983                 "36e0cf0.449d132",
1984                 "b81dc1c0.23bac",
1985                 "ae45840d.79a808"
1986             ]
1987         ]
1988     },
1989     {
1990         "id": "649e12ec.2e907c",
1991         "type": "block",
1992         "name": "block : atomic",
1993         "xml": "<block atomic='true'>",
1994         "atomic": "true",
1995         "comments": "",
1996         "outputs": 1,
1997         "x": 2314.4997520446777,
1998         "y": 1376.000036239624,
1999         "z": "41b275ba.2c7b9c",
2000         "wires": [
2001             [
2002                 "c25430f2.8cec3"
2003             ]
2004         ]
2005     },
2006     {
2007         "id": "36e0cf0.449d132",
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": 2492.062671661377,
2013         "y": 1405.5624561309814,
2014         "z": "41b275ba.2c7b9c",
2015         "wires": []
2016     },
2017     {
2018         "id": "b81dc1c0.23bac",
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": 2531.0631561279297,
2024         "y": 1354.6734638214111,
2025         "z": "41b275ba.2c7b9c",
2026         "wires": []
2027     },
2028     {
2029         "id": "c25430f2.8cec3",
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": 2526.249557495117,
2036         "y": 1298.7501239776611,
2037         "z": "41b275ba.2c7b9c",
2038         "wires": [
2039             []
2040         ]
2041     },
2042     {
2043         "id": "5e06d049.40315",
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": 814.25,
2050         "y": 1074.75,
2051         "z": "41b275ba.2c7b9c",
2052         "wires": [
2053             []
2054         ]
2055     },
2056     {
2057         "id": "86761b21.52dd98",
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": 1455.7500076293945,
2064         "y": 1200.0000104904175,
2065         "z": "41b275ba.2c7b9c",
2066         "wires": [
2067             []
2068         ]
2069     },
2070     {
2071         "id": "51f39f3f.e121a",
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": 1435.75,
2078         "y": 1233,
2079         "z": "41b275ba.2c7b9c",
2080         "wires": [
2081             []
2082         ]
2083     },
2084     {
2085         "id": "52dccd0b.5f68b4",
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": 1861,
2092         "y": 1327.25,
2093         "z": "41b275ba.2c7b9c",
2094         "wires": [
2095             []
2096         ]
2097     },
2098     {
2099         "id": "eb254fd0.29137",
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": 1461.25,
2105         "y": 1009.25,
2106         "z": "41b275ba.2c7b9c",
2107         "wires": []
2108     }
2109 ]