Merge "HTTPS Proxy support for A1 adapter southbound"
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceReconfigure.json
1 [
2     {
3         "id": "f4ae2c81.e657a",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 554.6875,
10         "y": 223.4375,
11         "z": "9ebd676c.bc9298",
12         "wires": [
13             [
14                 "a62dab63.de7ad8"
15             ]
16         ]
17     },
18     {
19         "id": "999e27e7.811448",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 178.68749618530273,
24         "y": 128.43747234344482,
25         "z": "9ebd676c.bc9298",
26         "wires": [
27             [
28                 "7814db.8fd9eb24"
29             ]
30         ]
31     },
32     {
33         "id": "7814db.8fd9eb24",
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": 311.6874694824219,
42         "y": 225.43755340576172,
43         "z": "9ebd676c.bc9298",
44         "wires": [
45             [
46                 "f4ae2c81.e657a"
47             ]
48         ]
49     },
50     {
51         "id": "f869fec3.26981",
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": 240.1771240234375,
57         "y": 1166.4377908706665,
58         "z": "9ebd676c.bc9298",
59         "wires": []
60     },
61     {
62         "id": "ef860a2f.3fb1f8",
63         "type": "comment",
64         "name": "instantiateRANSliceReconfigure",
65         "info": "",
66         "comments": "",
67         "x": 523.6875,
68         "y": 165.44787216186523,
69         "z": "9ebd676c.bc9298",
70         "wires": []
71     },
72     {
73         "id": "a62dab63.de7ad8",
74         "type": "block",
75         "name": "block : atomic",
76         "xml": "<block atomic='true'>",
77         "atomic": "true",
78         "comments": "",
79         "outputs": 1,
80         "x": 189.68746948242188,
81         "y": 345.4478759765625,
82         "z": "9ebd676c.bc9298",
83         "wires": [
84             [
85                 "f869fec3.26981",
86                 "80b179ef.c11348",
87                 "1b19804b.7eb57",
88                 "d20c29d9.8c9fe8"
89             ]
90         ]
91     },
92     {
93         "id": "1a4b54a8.a756cb",
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": 4070.677406311035,
100         "y": 7650.458359479904,
101         "z": "9ebd676c.bc9298",
102         "wires": [
103             [
104                 "94797250.ab2dd"
105             ]
106         ]
107     },
108     {
109         "id": "94797250.ab2dd",
110         "type": "success",
111         "name": "success",
112         "xml": "<outcome value='success'>\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 4407.677284240723,
116         "y": 7676.447861433029,
117         "z": "9ebd676c.bc9298",
118         "wires": [
119             [
120                 "6f83ffc3.f3b81"
121             ]
122         ]
123     },
124     {
125         "id": "6f83ffc3.f3b81",
126         "type": "block",
127         "name": "block",
128         "xml": "<block>\n",
129         "atomic": "false",
130         "comments": "",
131         "outputs": 1,
132         "x": 4587.677040100098,
133         "y": 7673.447861433029,
134         "z": "9ebd676c.bc9298",
135         "wires": [
136             [
137                 "51209f56.63bda"
138             ]
139         ]
140     },
141     {
142         "id": "51209f56.63bda",
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": 4736.677341461182,
149         "y": 7699.448054075241,
150         "z": "9ebd676c.bc9298",
151         "wires": [
152             []
153         ]
154     },
155     {
156         "id": "d20c29d9.8c9fe8",
157         "type": "block",
158         "name": "SO Response",
159         "xml": "<block atomic='true'>",
160         "atomic": "true",
161         "comments": "",
162         "outputs": 1,
163         "x": 269.4375,
164         "y": 1116.7021198272705,
165         "z": "9ebd676c.bc9298",
166         "wires": [
167             [
168                 "deea80bb.ae04a",
169                 "9d29d5c6.83cfc8",
170                 "9e07afd4.ee649",
171                 "d5e822c6.e425"
172             ]
173         ]
174     },
175     {
176         "id": "deea80bb.ae04a",
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": 437.6874771118164,
183         "y": 1484.4523248672485,
184         "z": "9ebd676c.bc9298",
185         "wires": [
186             []
187         ]
188     },
189     {
190         "id": "9c5f9721.d61068",
191         "type": "failure",
192         "name": "failure",
193         "xml": "<outcome value='failure'>\n",
194         "comments": "",
195         "outputs": 1,
196         "x": 471.6875762939453,
197         "y": 1581.4520282745361,
198         "z": "9ebd676c.bc9298",
199         "wires": [
200             [
201                 "51e96ce4.92e244"
202             ]
203         ]
204     },
205     {
206         "id": "d1d6af16.b9028",
207         "type": "success",
208         "name": "success",
209         "xml": "<outcome value='success'>\n",
210         "comments": "",
211         "outputs": 1,
212         "x": 463.6874694824219,
213         "y": 1654.4519786834717,
214         "z": "9ebd676c.bc9298",
215         "wires": [
216             [
217                 "f1cdb61d.7a1448"
218             ]
219         ]
220     },
221     {
222         "id": "f1cdb61d.7a1448",
223         "type": "block",
224         "name": "block",
225         "xml": "<block>\n",
226         "atomic": "false",
227         "comments": "",
228         "outputs": 1,
229         "x": 609.687313079834,
230         "y": 1659.4520874023438,
231         "z": "9ebd676c.bc9298",
232         "wires": [
233             [
234                 "d816a3c4.0626"
235             ]
236         ]
237     },
238     {
239         "id": "51e96ce4.92e244",
240         "type": "block",
241         "name": "block",
242         "xml": "<block>\n",
243         "atomic": "false",
244         "comments": "",
245         "outputs": 1,
246         "x": 620.6874771118164,
247         "y": 1577.452163696289,
248         "z": "9ebd676c.bc9298",
249         "wires": [
250             [
251                 "6810cd91.007e04",
252                 "825398a9.ceff08"
253             ]
254         ]
255     },
256     {
257         "id": "6810cd91.007e04",
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": 767.6870956420898,
263         "y": 1588.4519052505493,
264         "z": "9ebd676c.bc9298",
265         "wires": []
266     },
267     {
268         "id": "d816a3c4.0626",
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": 770.6872329711914,
275         "y": 1665.451979637146,
276         "z": "9ebd676c.bc9298",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "f542e28a.9466f",
283         "type": "block",
284         "name": "block : SO Response",
285         "xml": "<block atomic='true'>",
286         "atomic": "true",
287         "comments": "",
288         "outputs": 1,
289         "x": 3002.1785202026367,
290         "y": 770.4480400085449,
291         "z": "9ebd676c.bc9298",
292         "wires": [
293             [
294                 "722676bf.721c48",
295                 "b64e8a62.9e6d68",
296                 "e175024a.59c41"
297             ]
298         ]
299     },
300     {
301         "id": "722676bf.721c48",
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": 3320.1794967651367,
307         "y": 694.3476982116699,
308         "z": "9ebd676c.bc9298",
309         "wires": []
310     },
311     {
312         "id": "b64e8a62.9e6d68",
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": 3295.178382873535,
319         "y": 791.4483757019043,
320         "z": "9ebd676c.bc9298",
321         "wires": [
322             []
323         ]
324     },
325     {
326         "id": "e175024a.59c41",
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": 3210.178394317627,
333         "y": 888.4482536315918,
334         "z": "9ebd676c.bc9298",
335         "wires": [
336             [
337                 "b2cf21cc.36356",
338                 "1f01ec9a.58cbe3"
339             ]
340         ]
341     },
342     {
343         "id": "b2cf21cc.36356",
344         "type": "failure",
345         "name": "failure",
346         "xml": "<outcome value='failure'>\n",
347         "comments": "",
348         "outputs": 1,
349         "x": 3436.178402900696,
350         "y": 865.4482226371765,
351         "z": "9ebd676c.bc9298",
352         "wires": [
353             [
354                 "7a1be79b.dde208"
355             ]
356         ]
357     },
358     {
359         "id": "1f01ec9a.58cbe3",
360         "type": "success",
361         "name": "success",
362         "xml": "<outcome value='success'>\n",
363         "comments": "",
364         "outputs": 1,
365         "x": 3426.1782569885254,
366         "y": 973.4481620788574,
367         "z": "9ebd676c.bc9298",
368         "wires": [
369             [
370                 "a8b1ae0b.55b9c"
371             ]
372         ]
373     },
374     {
375         "id": "a8b1ae0b.55b9c",
376         "type": "block",
377         "name": "block",
378         "xml": "<block>\n",
379         "atomic": "false",
380         "comments": "",
381         "outputs": 1,
382         "x": 3576.1780433654785,
383         "y": 992.4482231140137,
384         "z": "9ebd676c.bc9298",
385         "wires": [
386             [
387                 "f6123b59.cb0e68"
388             ]
389         ]
390     },
391     {
392         "id": "7a1be79b.dde208",
393         "type": "block",
394         "name": "block",
395         "xml": "<block>\n",
396         "atomic": "false",
397         "comments": "",
398         "outputs": 1,
399         "x": 3587.1782722473145,
400         "y": 860.448344707489,
401         "z": "9ebd676c.bc9298",
402         "wires": [
403             [
404                 "20e961e5.65990e"
405             ]
406         ]
407     },
408     {
409         "id": "20e961e5.65990e",
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": 3753.177951812744,
415         "y": 863.4481620788574,
416         "z": "9ebd676c.bc9298",
417         "wires": []
418     },
419     {
420         "id": "f6123b59.cb0e68",
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": 3740.1780586242676,
427         "y": 998.4481620788574,
428         "z": "9ebd676c.bc9298",
429         "wires": [
430             []
431         ]
432     },
433     {
434         "id": "825398a9.ceff08",
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": 755.1977043151855,
440         "y": 1492.4413967132568,
441         "z": "9ebd676c.bc9298",
442         "wires": []
443     },
444     {
445         "id": "9e07afd4.ee649",
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": 460.027099609375,
452         "y": 1420.437479019165,
453         "z": "9ebd676c.bc9298",
454         "wires": [
455             []
456         ]
457     },
458     {
459         "id": "e9160fea.9b572",
460         "type": "failure",
461         "name": "true",
462         "xml": "<outcome value='true'>\n",
463         "comments": "",
464         "outputs": 1,
465         "x": 746.6877326965332,
466         "y": 283.43756008148193,
467         "z": "9ebd676c.bc9298",
468         "wires": [
469             [
470                 "a8a4c5da.0884d8"
471             ]
472         ]
473     },
474     {
475         "id": "80b179ef.c11348",
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": 506.6875991821289,
482         "y": 561.4375252723694,
483         "z": "9ebd676c.bc9298",
484         "wires": [
485             [
486                 "e9160fea.9b572",
487                 "39e444a1.4c285c"
488             ]
489         ]
490     },
491     {
492         "id": "39e444a1.4c285c",
493         "type": "failure",
494         "name": "false",
495         "xml": "<outcome value='false'>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 371.19415283203125,
499         "y": 703.43772315979,
500         "z": "9ebd676c.bc9298",
501         "wires": [
502             [
503                 "be23b479.0b7328"
504             ]
505         ]
506     },
507     {
508         "id": "7d98378a.1d1488",
509         "type": "failure",
510         "name": "true",
511         "xml": "<outcome value='true'>\n",
512         "comments": "",
513         "outputs": 1,
514         "x": 538.6878814697266,
515         "y": 1065.4377222061157,
516         "z": "9ebd676c.bc9298",
517         "wires": [
518             [
519                 "2ae3fc00.93e234"
520             ]
521         ]
522     },
523     {
524         "id": "a8a4c5da.0884d8",
525         "type": "block",
526         "name": "Closed Loop",
527         "xml": "<block atomic=\"true\">",
528         "atomic": "true",
529         "comments": "",
530         "outputs": 1,
531         "x": 808.6877288818359,
532         "y": 144.43753004074097,
533         "z": "9ebd676c.bc9298",
534         "wires": [
535             [
536                 "1e81a915.64d807",
537                 "8bdeed60.9b64a"
538             ]
539         ]
540     },
541     {
542         "id": "2ae3fc00.93e234",
543         "type": "block",
544         "name": "block : atomic",
545         "xml": "<block atomic=\"true\">",
546         "atomic": "true",
547         "outputs": 1,
548         "x": 705.6877899169922,
549         "y": 1064.437707901001,
550         "z": "9ebd676c.bc9298",
551         "wires": [
552             [
553                 "20d4d101.cc639e",
554                 "d379a487.a98a28",
555                 "ada02534.068408",
556                 "d6d32295.d9fbe"
557             ]
558         ]
559     },
560     {
561         "id": "be23b479.0b7328",
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": 364.6879577636719,
568         "y": 1063.4377689361572,
569         "z": "9ebd676c.bc9298",
570         "wires": [
571             [
572                 "7d98378a.1d1488"
573             ]
574         ]
575     },
576     {
577         "id": "1e81a915.64d807",
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": 1014.6875152587891,
584         "y": 129.43752574920654,
585         "z": "9ebd676c.bc9298",
586         "wires": [
587             []
588         ]
589     },
590     {
591         "id": "20d4d101.cc639e",
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": 862.6878967285156,
598         "y": 1035.4377517700195,
599         "z": "9ebd676c.bc9298",
600         "wires": [
601             []
602         ]
603     },
604     {
605         "id": "1b19804b.7eb57",
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": 579.6875,
612         "y": 296.4375,
613         "z": "9ebd676c.bc9298",
614         "wires": [
615             []
616         ]
617     },
618     {
619         "id": "8bdeed60.9b64a",
620         "type": "block",
621         "name": "NearRTRIC",
622         "xml": "<block atomic=\"true\">",
623         "atomic": "true",
624         "comments": "",
625         "outputs": 1,
626         "x": 912.6980514526367,
627         "y": 258.44793796539307,
628         "z": "9ebd676c.bc9298",
629         "wires": [
630             [
631                 "3d80ca46.4012f6",
632                 "2d42cc94.1ef5f4"
633             ]
634         ]
635     },
636     {
637         "id": "d379a487.a98a28",
638         "type": "block",
639         "name": "CUCP",
640         "xml": "<block atomic=\"true\">",
641         "atomic": "true",
642         "comments": "",
643         "outputs": 1,
644         "x": 839.6982955932617,
645         "y": 1179.4480228424072,
646         "z": "9ebd676c.bc9298",
647         "wires": [
648             [
649                 "427c983f.4ef798",
650                 "6ec50d02.c4cad4"
651             ]
652         ]
653     },
654     {
655         "id": "c55c513c.310d2",
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": 1483.5870742797852,
662         "y": 441.4479637145996,
663         "z": "9ebd676c.bc9298",
664         "wires": [
665             [
666                 "5de2628.f1d349c",
667                 "82f66885.660948"
668             ]
669         ]
670     },
671     {
672         "id": "5de2628.f1d349c",
673         "type": "failure",
674         "name": "failure",
675         "xml": "<outcome value='failure'>\n",
676         "comments": "",
677         "outputs": 1,
678         "x": 1769.5874099731445,
679         "y": 382.43749618530273,
680         "z": "9ebd676c.bc9298",
681         "wires": [
682             [
683                 "c01fa28e.af3f9"
684             ]
685         ]
686     },
687     {
688         "id": "82f66885.660948",
689         "type": "success",
690         "name": "success",
691         "xml": "<outcome value='success'>\n",
692         "comments": "",
693         "outputs": 1,
694         "x": 1762.587474822998,
695         "y": 442.43740463256836,
696         "z": "9ebd676c.bc9298",
697         "wires": [
698             [
699                 "23271cc4.7ac7f4"
700             ]
701         ]
702     },
703     {
704         "id": "c01fa28e.af3f9",
705         "type": "block",
706         "name": "block",
707         "xml": "<block>\n",
708         "atomic": "false",
709         "comments": "",
710         "outputs": 1,
711         "x": 1952.5875053405762,
712         "y": 425.43750381469727,
713         "z": "9ebd676c.bc9298",
714         "wires": [
715             [
716                 "6717e4f3.ce834c",
717                 "e46c5941.087b28",
718                 "f542e28a.9466f"
719             ]
720         ]
721     },
722     {
723         "id": "23271cc4.7ac7f4",
724         "type": "block",
725         "name": "block",
726         "xml": "<block>\n",
727         "atomic": "false",
728         "comments": "",
729         "outputs": 1,
730         "x": 1944.5871391296387,
731         "y": 471.4374656677246,
732         "z": "9ebd676c.bc9298",
733         "wires": [
734             [
735                 "c4ee048f.670368",
736                 "f09429a0.3c3408"
737             ]
738         ]
739     },
740     {
741         "id": "e22d8202.486e3",
742         "type": "block",
743         "name": "Update SiceProfile for NeaeRTRIC",
744         "xml": "<block atomic='true'>",
745         "atomic": "true",
746         "comments": "",
747         "outputs": 1,
748         "x": 1080.6875915527344,
749         "y": 426.1822757720947,
750         "z": "9ebd676c.bc9298",
751         "wires": [
752             [
753                 "123dc789.d53488",
754                 "a87f8b52.6b8e08",
755                 "7c23ab7a.d68654",
756                 "c55c513c.310d2"
757             ]
758         ]
759     },
760     {
761         "id": "7c23ab7a.d68654",
762         "type": "switchNode",
763         "name": "ransim mounted",
764         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
765         "comments": "",
766         "outputs": 1,
767         "x": 1432.687894821167,
768         "y": 316.8385200202465,
769         "z": "9ebd676c.bc9298",
770         "wires": [
771             [
772                 "7f4413c3.15a72c",
773                 "7e319efb.2e1e3"
774             ]
775         ]
776     },
777     {
778         "id": "7f4413c3.15a72c",
779         "type": "outcome",
780         "name": "Not Mounted",
781         "xml": "<outcome value='false'>\n",
782         "comments": "",
783         "outputs": 1,
784         "x": 1595.6878185272217,
785         "y": 248.83830973505974,
786         "z": "9ebd676c.bc9298",
787         "wires": [
788             [
789                 "327cc0a4.8a4db"
790             ]
791         ]
792     },
793     {
794         "id": "7e319efb.2e1e3",
795         "type": "outcome",
796         "name": "Mounted",
797         "xml": "<outcome value='true'>\n",
798         "comments": "",
799         "outputs": 1,
800         "x": 1607.6879386901855,
801         "y": 325.8384132385254,
802         "z": "9ebd676c.bc9298",
803         "wires": [
804             [
805                 "795143ac.926f8c"
806             ]
807         ]
808     },
809     {
810         "id": "a87f8b52.6b8e08",
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": 1409.6881523132324,
817         "y": 352.1824840269983,
818         "z": "9ebd676c.bc9298",
819         "wires": [
820             []
821         ]
822     },
823     {
824         "id": "123dc789.d53488",
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": 1410.688793182373,
831         "y": 397.1718406677246,
832         "z": "9ebd676c.bc9298",
833         "wires": [
834             []
835         ]
836     },
837     {
838         "id": "22e4e932.2b0ca6",
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": 2024.2228164672852,
845         "y": 376.4375343322754,
846         "z": "9ebd676c.bc9298",
847         "wires": [
848             []
849         ]
850     },
851     {
852         "id": "8db01d7b.44a72",
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": 2094.7574310302734,
859         "y": 332.0365562438965,
860         "z": "9ebd676c.bc9298",
861         "wires": [
862             []
863         ]
864     },
865     {
866         "id": "795143ac.926f8c",
867         "type": "block",
868         "name": "ransim  URL",
869         "xml": "<block atomic='true'>",
870         "atomic": "true",
871         "comments": "",
872         "outputs": 1,
873         "x": 1790.6775932312012,
874         "y": 331.8383979797363,
875         "z": "9ebd676c.bc9298",
876         "wires": [
877             [
878                 "7524a904.15f6c8",
879                 "8db01d7b.44a72",
880                 "22e4e932.2b0ca6"
881             ]
882         ]
883     },
884     {
885         "id": "7524a904.15f6c8",
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": 2086.2222747802734,
892         "y": 287.43774461746216,
893         "z": "9ebd676c.bc9298",
894         "wires": [
895             []
896         ]
897     },
898     {
899         "id": "353ab673.697b3a",
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": 2057.222640991211,
906         "y": 232.43763732910156,
907         "z": "9ebd676c.bc9298",
908         "wires": [
909             []
910         ]
911     },
912     {
913         "id": "5698222d.b5a28c",
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": 2052.6878662109375,
920         "y": 182.8386402130127,
921         "z": "9ebd676c.bc9298",
922         "wires": [
923             []
924         ]
925     },
926     {
927         "id": "327cc0a4.8a4db",
928         "type": "block",
929         "name": "URL",
930         "xml": "<block atomic='true'>",
931         "atomic": "true",
932         "comments": "",
933         "outputs": 1,
934         "x": 1754.8893432617188,
935         "y": 255.43750473856926,
936         "z": "9ebd676c.bc9298",
937         "wires": [
938             [
939                 "5698222d.b5a28c",
940                 "353ab673.697b3a"
941             ]
942         ]
943     },
944     {
945         "id": "2d42cc94.1ef5f4",
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": 1076.6914825439453,
951         "y": 202.44142055511475,
952         "z": "9ebd676c.bc9298",
953         "wires": []
954     },
955     {
956         "id": "3d80ca46.4012f6",
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": 1057.691421508789,
963         "y": 325.44142055511475,
964         "z": "9ebd676c.bc9298",
965         "wires": [
966             [
967                 "e22d8202.486e3",
968                 "230dec68.7cb7c4",
969                 "2d02db2e.856a04",
970                 "6ec50d02.c4cad4"
971             ]
972         ]
973     },
974     {
975         "id": "230dec68.7cb7c4",
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": 1256.1424827575684,
981         "y": 246.44793224334717,
982         "z": "9ebd676c.bc9298",
983         "wires": []
984     },
985     {
986         "id": "6717e4f3.ce834c",
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": 2138.142433166504,
992         "y": 426.44792556762695,
993         "z": "9ebd676c.bc9298",
994         "wires": []
995     },
996     {
997         "id": "e46c5941.087b28",
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": 2148.142219543457,
1003         "y": 465.33691024780273,
1004         "z": "9ebd676c.bc9298",
1005         "wires": []
1006     },
1007     {
1008         "id": "c4ee048f.670368",
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": 2136.14213180542,
1015         "y": 502.3368797302246,
1016         "z": "9ebd676c.bc9298",
1017         "wires": [
1018             []
1019         ]
1020     },
1021     {
1022         "id": "f09429a0.3c3408",
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": 2154.920539855957,
1029         "y": 538.3369178771973,
1030         "z": "9ebd676c.bc9298",
1031         "wires": [
1032             []
1033         ]
1034     },
1035     {
1036         "id": "ada02534.068408",
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": 896.8095245361328,
1042         "y": 1076.337028503418,
1043         "z": "9ebd676c.bc9298",
1044         "wires": []
1045     },
1046     {
1047         "id": "427c983f.4ef798",
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": 1071.8090896606445,
1054         "y": 1169.3369541168213,
1055         "z": "9ebd676c.bc9298",
1056         "wires": [
1057             [
1058                 "6a4a186b.f80ab8"
1059             ]
1060         ]
1061     },
1062     {
1063         "id": "6ec50d02.c4cad4",
1064         "type": "block",
1065         "name": "get PLMNId",
1066         "xml": "<block atomic='true'>",
1067         "atomic": "true",
1068         "comments": "",
1069         "outputs": 1,
1070         "x": 1045.4375,
1071         "y": 592.1874732971191,
1072         "z": "9ebd676c.bc9298",
1073         "wires": [
1074             [
1075                 "cdfd01c2.bb087",
1076                 "51d123e6.812bec",
1077                 "a78bd2d.9f2953",
1078                 "a8ee8669.5b18b8",
1079                 "20a64cf6.ff5984",
1080                 "9be2d64a.a3bbd8"
1081             ]
1082         ]
1083     },
1084     {
1085         "id": "cdfd01c2.bb087",
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": 1310.4374923706055,
1092         "y": 482.18746757507324,
1093         "z": "9ebd676c.bc9298",
1094         "wires": [
1095             []
1096         ]
1097     },
1098     {
1099         "id": "51d123e6.812bec",
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": 1283.9376182556152,
1106         "y": 530.1875057220459,
1107         "z": "9ebd676c.bc9298",
1108         "wires": [
1109             []
1110         ]
1111     },
1112     {
1113         "id": "a78bd2d.9f2953",
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": 1351.6874923706055,
1120         "y": 568.1874551773071,
1121         "z": "9ebd676c.bc9298",
1122         "wires": [
1123             [
1124                 "580b6380.a3832c",
1125                 "81af58bb.bc1368"
1126             ]
1127         ]
1128     },
1129     {
1130         "id": "20a64cf6.ff5984",
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": 1308.8750228881836,
1136         "y": 608.8750219345093,
1137         "z": "9ebd676c.bc9298",
1138         "wires": []
1139     },
1140     {
1141         "id": "76b26cb9.625d94",
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": 1709.6875343322754,
1148         "y": 661.4375696182251,
1149         "z": "9ebd676c.bc9298",
1150         "wires": [
1151             []
1152         ]
1153     },
1154     {
1155         "id": "eadea779.aa7998",
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": 1720.4377136230469,
1162         "y": 695.6874475479126,
1163         "z": "9ebd676c.bc9298",
1164         "wires": [
1165             []
1166         ]
1167     },
1168     {
1169         "id": "a8ee8669.5b18b8",
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": 1297.1810455322266,
1176         "y": 727.680944442749,
1177         "z": "9ebd676c.bc9298",
1178         "wires": [
1179             []
1180         ]
1181     },
1182     {
1183         "id": "580b6380.a3832c",
1184         "type": "success",
1185         "name": "success",
1186         "xml": "<outcome value='success'>\n",
1187         "comments": "",
1188         "outputs": 1,
1189         "x": 1589.1874923706055,
1190         "y": 573.4374675750732,
1191         "z": "9ebd676c.bc9298",
1192         "wires": [
1193             [
1194                 "d0b97aa.5275988"
1195             ]
1196         ]
1197     },
1198     {
1199         "id": "81af58bb.bc1368",
1200         "type": "failure",
1201         "name": "failure",
1202         "xml": "<outcome value='failure'>\n",
1203         "comments": "",
1204         "outputs": 1,
1205         "x": 1587.7502365112305,
1206         "y": 622.9999666213989,
1207         "z": "9ebd676c.bc9298",
1208         "wires": [
1209             [
1210                 "c6fc8a94.e90b18"
1211             ]
1212         ]
1213     },
1214     {
1215         "id": "d0b97aa.5275988",
1216         "type": "block",
1217         "name": "block : atomic",
1218         "xml": "<block atomic='true'>",
1219         "atomic": "true",
1220         "comments": "",
1221         "outputs": 1,
1222         "x": 1762.1872940063477,
1223         "y": 562.4375400543213,
1224         "z": "9ebd676c.bc9298",
1225         "wires": [
1226             [
1227                 "40d71717.0008a8",
1228                 "4aad3199.c331"
1229             ]
1230         ]
1231     },
1232     {
1233         "id": "c6fc8a94.e90b18",
1234         "type": "block",
1235         "name": "block : atomic",
1236         "xml": "<block atomic='true'>",
1237         "atomic": "true",
1238         "comments": "",
1239         "outputs": 1,
1240         "x": 1748.750099182129,
1241         "y": 600.9998931884766,
1242         "z": "9ebd676c.bc9298",
1243         "wires": [
1244             [
1245                 "197cdde3.d46d22",
1246                 "a2a76d52.17f67",
1247                 "f542e28a.9466f"
1248             ]
1249         ]
1250     },
1251     {
1252         "id": "40d71717.0008a8",
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": 1962.9370231628418,
1259         "y": 562.1875648498535,
1260         "z": "9ebd676c.bc9298",
1261         "wires": [
1262             []
1263         ]
1264     },
1265     {
1266         "id": "4aad3199.c331",
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": 1998.7152366638184,
1273         "y": 605.4375734329224,
1274         "z": "9ebd676c.bc9298",
1275         "wires": [
1276             []
1277         ]
1278     },
1279     {
1280         "id": "a2a76d52.17f67",
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": 1993.7504501342773,
1286         "y": 638.1109933853149,
1287         "z": "9ebd676c.bc9298",
1288         "wires": []
1289     },
1290     {
1291         "id": "197cdde3.d46d22",
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": 1993.750144958496,
1297         "y": 673.9999780654907,
1298         "z": "9ebd676c.bc9298",
1299         "wires": []
1300     },
1301     {
1302         "id": "2d02db2e.856a04",
1303         "type": "block",
1304         "name": "Update NearRTRIC Config",
1305         "xml": "<block atomic=\"true\">",
1306         "atomic": "true",
1307         "comments": "",
1308         "outputs": 1,
1309         "x": 806.1875,
1310         "y": 788.9374732971191,
1311         "z": "9ebd676c.bc9298",
1312         "wires": [
1313             [
1314                 "2051fa29.3f7ba6",
1315                 "98fa6e1a.b6327",
1316                 "48ddec9a.f4ec54",
1317                 "5ba9c334.7672ac",
1318                 "2b9caae9.350b86"
1319             ]
1320         ]
1321     },
1322     {
1323         "id": "2051fa29.3f7ba6",
1324         "type": "switchNode",
1325         "name": "ransim mounted",
1326         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1327         "comments": "",
1328         "outputs": 1,
1329         "x": 1044.9375381469727,
1330         "y": 709.4375114440918,
1331         "z": "9ebd676c.bc9298",
1332         "wires": [
1333             [
1334                 "a3a3615e.3cea9",
1335                 "560affac.9a3f1"
1336             ]
1337         ]
1338     },
1339     {
1340         "id": "a3a3615e.3cea9",
1341         "type": "outcome",
1342         "name": "Not Mounted",
1343         "xml": "<outcome value='false'>\n",
1344         "comments": "",
1345         "outputs": 1,
1346         "x": 1265.9374237060547,
1347         "y": 766.4372630119324,
1348         "z": "9ebd676c.bc9298",
1349         "wires": [
1350             [
1351                 "cc01e733.374d78"
1352             ]
1353         ]
1354     },
1355     {
1356         "id": "560affac.9a3f1",
1357         "type": "outcome",
1358         "name": "Mounted",
1359         "xml": "<outcome value='true'>\n",
1360         "comments": "",
1361         "outputs": 1,
1362         "x": 1259.9375038146973,
1363         "y": 803.4374017715454,
1364         "z": "9ebd676c.bc9298",
1365         "wires": [
1366             [
1367                 "38a95ed.43591a2"
1368             ]
1369         ]
1370     },
1371     {
1372         "id": "38a95ed.43591a2",
1373         "type": "block",
1374         "name": "ransim  URL",
1375         "xml": "<block atomic='true'>",
1376         "atomic": "true",
1377         "comments": "",
1378         "outputs": 1,
1379         "x": 1436.9273414611816,
1380         "y": 814.4373874664307,
1381         "z": "9ebd676c.bc9298",
1382         "wires": [
1383             [
1384                 "8e4d7c6.e97b68",
1385                 "9d396567.e666a8"
1386             ]
1387         ]
1388     },
1389     {
1390         "id": "cc01e733.374d78",
1391         "type": "block",
1392         "name": "URL",
1393         "xml": "<block atomic='true'>",
1394         "atomic": "true",
1395         "comments": "",
1396         "outputs": 1,
1397         "x": 1425.1389484405518,
1398         "y": 773.0364580154419,
1399         "z": "9ebd676c.bc9298",
1400         "wires": [
1401             [
1402                 "261c75d4.08a57a"
1403             ]
1404         ]
1405     },
1406     {
1407         "id": "261c75d4.08a57a",
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": 1706.937484741211,
1414         "y": 763.4375991821289,
1415         "z": "9ebd676c.bc9298",
1416         "wires": [
1417             []
1418         ]
1419     },
1420     {
1421         "id": "8e4d7c6.e97b68",
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": 1756.4718799591064,
1428         "y": 805.0366978943348,
1429         "z": "9ebd676c.bc9298",
1430         "wires": [
1431             []
1432         ]
1433     },
1434     {
1435         "id": "9d396567.e666a8",
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": 1699.472396850586,
1442         "y": 850.0364608764648,
1443         "z": "9ebd676c.bc9298",
1444         "wires": [
1445             []
1446         ]
1447     },
1448     {
1449         "id": "98fa6e1a.b6327",
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": 1041.1875801086426,
1456         "y": 751.9375720024109,
1457         "z": "9ebd676c.bc9298",
1458         "wires": [
1459             []
1460         ]
1461     },
1462     {
1463         "id": "48ddec9a.f4ec54",
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": 1042.6875534057617,
1470         "y": 791.9375114440918,
1471         "z": "9ebd676c.bc9298",
1472         "wires": [
1473             []
1474         ]
1475     },
1476     {
1477         "id": "c7a4042f.403948",
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": 1045.6875534057617,
1484         "y": 831.9374647140503,
1485         "z": "9ebd676c.bc9298",
1486         "wires": [
1487             []
1488         ]
1489     },
1490     {
1491         "id": "9664ea32.a42528",
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": 1047.9375381469727,
1498         "y": 875.937554359436,
1499         "z": "9ebd676c.bc9298",
1500         "wires": [
1501             []
1502         ]
1503     },
1504     {
1505         "id": "5424460c.74dd58",
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": 1041.1875534057617,
1512         "y": 916.6875238418579,
1513         "z": "9ebd676c.bc9298",
1514         "wires": [
1515             []
1516         ]
1517     },
1518     {
1519         "id": "5ba9c334.7672ac",
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": 994.4374885559082,
1526         "y": 952.187479019165,
1527         "z": "9ebd676c.bc9298",
1528         "wires": [
1529             []
1530         ]
1531     },
1532     {
1533         "id": "388b8e6e.d38d72",
1534         "type": "success",
1535         "name": "success",
1536         "xml": "<outcome value='success'>\n",
1537         "comments": "",
1538         "outputs": 1,
1539         "x": 1281.9375495910645,
1540         "y": 1000.6875343322754,
1541         "z": "9ebd676c.bc9298",
1542         "wires": [
1543             [
1544                 "15ba999b.e0ceb6"
1545             ]
1546         ]
1547     },
1548     {
1549         "id": "e04a3f06.f03d4",
1550         "type": "failure",
1551         "name": "failure",
1552         "xml": "<outcome value='failure'>\n",
1553         "comments": "",
1554         "outputs": 1,
1555         "x": 1280.5002937316895,
1556         "y": 1050.250033378601,
1557         "z": "9ebd676c.bc9298",
1558         "wires": [
1559             [
1560                 "cf7dd075.4a9a5"
1561             ]
1562         ]
1563     },
1564     {
1565         "id": "15ba999b.e0ceb6",
1566         "type": "block",
1567         "name": "block : atomic",
1568         "xml": "<block atomic='true'>",
1569         "atomic": "true",
1570         "comments": "",
1571         "outputs": 1,
1572         "x": 1450.9373016357422,
1573         "y": 994.6875581741333,
1574         "z": "9ebd676c.bc9298",
1575         "wires": [
1576             [
1577                 "290479e8.5db636"
1578             ]
1579         ]
1580     },
1581     {
1582         "id": "cf7dd075.4a9a5",
1583         "type": "block",
1584         "name": "block",
1585         "xml": "<block>",
1586         "atomic": "false",
1587         "comments": "",
1588         "outputs": 1,
1589         "x": 1441.500156402588,
1590         "y": 1028.2499599456787,
1591         "z": "9ebd676c.bc9298",
1592         "wires": [
1593             [
1594                 "55a53ced.fbcd64",
1595                 "a09edd9.d66502",
1596                 "f542e28a.9466f"
1597             ]
1598         ]
1599     },
1600     {
1601         "id": "290479e8.5db636",
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": 1662.6871070861816,
1608         "y": 917.4376459121704,
1609         "z": "9ebd676c.bc9298",
1610         "wires": [
1611             []
1612         ]
1613     },
1614     {
1615         "id": "a09edd9.d66502",
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": 1667.5007057189941,
1621         "y": 973.3609857559204,
1622         "z": "9ebd676c.bc9298",
1623         "wires": []
1624     },
1625     {
1626         "id": "55a53ced.fbcd64",
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": 1628.5002212524414,
1632         "y": 1024.2499780654907,
1633         "z": "9ebd676c.bc9298",
1634         "wires": []
1635     },
1636     {
1637         "id": "2b9caae9.350b86",
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": 1049.4375495910645,
1644         "y": 999.4375219345093,
1645         "z": "9ebd676c.bc9298",
1646         "wires": [
1647             [
1648                 "388b8e6e.d38d72",
1649                 "e04a3f06.f03d4"
1650             ]
1651         ]
1652     },
1653     {
1654         "id": "9d29d5c6.83cfc8",
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": 470.375,
1660         "y": 1369.0624732971191,
1661         "z": "9ebd676c.bc9298",
1662         "wires": []
1663     },
1664     {
1665         "id": "d5e822c6.e425",
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": 307.875,
1672         "y": 1612.8124732971191,
1673         "z": "9ebd676c.bc9298",
1674         "wires": [
1675             [
1676                 "9c5f9721.d61068",
1677                 "d1d6af16.b9028"
1678             ]
1679         ]
1680     },
1681     {
1682         "id": "4f047810.3c5238",
1683         "type": "outcome",
1684         "name": "Not Mounted",
1685         "xml": "<outcome value='false'>\n",
1686         "comments": "",
1687         "outputs": 1,
1688         "x": 1685.4375648498535,
1689         "y": 1119.4375076293945,
1690         "z": "9ebd676c.bc9298",
1691         "wires": [
1692             [
1693                 "28bdec69.fb4364"
1694             ]
1695         ]
1696     },
1697     {
1698         "id": "b4cb1e5c.9948c",
1699         "type": "outcome",
1700         "name": "Mounted",
1701         "xml": "<outcome value='true'>\n",
1702         "comments": "",
1703         "outputs": 1,
1704         "x": 1679.437644958496,
1705         "y": 1156.4376463890076,
1706         "z": "9ebd676c.bc9298",
1707         "wires": [
1708             [
1709                 "a8e4fca6.aee97"
1710             ]
1711         ]
1712     },
1713     {
1714         "id": "a8e4fca6.aee97",
1715         "type": "block",
1716         "name": "ransim  URL",
1717         "xml": "<block atomic='true'>",
1718         "atomic": "true",
1719         "comments": "",
1720         "outputs": 1,
1721         "x": 1856.4274826049805,
1722         "y": 1167.4376320838928,
1723         "z": "9ebd676c.bc9298",
1724         "wires": [
1725             [
1726                 "62cebf1d.08dca",
1727                 "c611ccc1.6d8e4"
1728             ]
1729         ]
1730     },
1731     {
1732         "id": "28bdec69.fb4364",
1733         "type": "block",
1734         "name": "URL",
1735         "xml": "<block atomic='true'>",
1736         "atomic": "true",
1737         "comments": "",
1738         "outputs": 1,
1739         "x": 1844.6390895843506,
1740         "y": 1126.036702632904,
1741         "z": "9ebd676c.bc9298",
1742         "wires": [
1743             [
1744                 "c446f088.7af9d"
1745             ]
1746         ]
1747     },
1748     {
1749         "id": "c446f088.7af9d",
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": 2126.4376258850098,
1756         "y": 1116.437843799591,
1757         "z": "9ebd676c.bc9298",
1758         "wires": [
1759             []
1760         ]
1761     },
1762     {
1763         "id": "62cebf1d.08dca",
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": 2175.9720211029053,
1770         "y": 1158.036942511797,
1771         "z": "9ebd676c.bc9298",
1772         "wires": [
1773             []
1774         ]
1775     },
1776     {
1777         "id": "c611ccc1.6d8e4",
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": 2118.9725379943848,
1784         "y": 1203.036705493927,
1785         "z": "9ebd676c.bc9298",
1786         "wires": [
1787             []
1788         ]
1789     },
1790     {
1791         "id": "1cfa3d71.2d3fa3",
1792         "type": "switchNode",
1793         "name": "ransim mounted",
1794         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1795         "comments": "",
1796         "outputs": 1,
1797         "x": 1495.437629699707,
1798         "y": 1112.437505722046,
1799         "z": "9ebd676c.bc9298",
1800         "wires": [
1801             [
1802                 "4f047810.3c5238",
1803                 "b4cb1e5c.9948c"
1804             ]
1805         ]
1806     },
1807     {
1808         "id": "606b6775.a18bf8",
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": 1490.4375648498535,
1815         "y": 1184.4375076293945,
1816         "z": "9ebd676c.bc9298",
1817         "wires": [
1818             []
1819         ]
1820     },
1821     {
1822         "id": "3f907a86.c2ad26",
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": 1491.9375381469727,
1829         "y": 1224.4374470710754,
1830         "z": "9ebd676c.bc9298",
1831         "wires": [
1832             []
1833         ]
1834     },
1835     {
1836         "id": "6a4a186b.f80ab8",
1837         "type": "block",
1838         "name": "block : atomic",
1839         "xml": "<block atomic=\"true\">",
1840         "atomic": "true",
1841         "outputs": 1,
1842         "x": 1296.4375228881836,
1843         "y": 1163.437539100647,
1844         "z": "9ebd676c.bc9298",
1845         "wires": [
1846             [
1847                 "1cfa3d71.2d3fa3",
1848                 "606b6775.a18bf8",
1849                 "3f907a86.c2ad26",
1850                 "d825b91c.27bc48",
1851                 "75ca05a0.ba475c",
1852                 "b8b27037.9d5ab",
1853                 "4b92d40d.528e5c"
1854             ]
1855         ]
1856     },
1857     {
1858         "id": "d825b91c.27bc48",
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": 1505.6876907348633,
1865         "y": 1328.43754196167,
1866         "z": "9ebd676c.bc9298",
1867         "wires": [
1868             [
1869                 "7bed6240.d9108c"
1870             ]
1871         ]
1872     },
1873     {
1874         "id": "83e28863.96fd98",
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": 1928.937629699707,
1881         "y": 1234.9377765655518,
1882         "z": "9ebd676c.bc9298",
1883         "wires": [
1884             []
1885         ]
1886     },
1887     {
1888         "id": "7bed6240.d9108c",
1889         "type": "block",
1890         "name": "block : atomic",
1891         "xml": "<block atomic=\"true\">",
1892         "atomic": "true",
1893         "outputs": 1,
1894         "x": 1715.4375,
1895         "y": 1325.4375,
1896         "z": "9ebd676c.bc9298",
1897         "wires": [
1898             [
1899                 "83e28863.96fd98",
1900                 "fa247a04.5db3f8",
1901                 "c8a6e293.16cd3",
1902                 "f56f9270.39935",
1903                 "4a947320.b506ac"
1904             ]
1905         ]
1906     },
1907     {
1908         "id": "fa247a04.5db3f8",
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": 1973.1875076293945,
1915         "y": 1364.9376239776611,
1916         "z": "9ebd676c.bc9298",
1917         "wires": [
1918             []
1919         ]
1920     },
1921     {
1922         "id": "c8a6e293.16cd3",
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": 1963.9375,
1929         "y": 1439.4375,
1930         "z": "9ebd676c.bc9298",
1931         "wires": [
1932             [
1933                 "4c0b32fd.c75afc",
1934                 "7483f7e0.e84798"
1935             ]
1936         ]
1937     },
1938     {
1939         "id": "4c0b32fd.c75afc",
1940         "type": "success",
1941         "name": "success",
1942         "xml": "<outcome value='success'>\n",
1943         "comments": "",
1944         "outputs": 1,
1945         "x": 2196.4375,
1946         "y": 1440.687512397766,
1947         "z": "9ebd676c.bc9298",
1948         "wires": [
1949             [
1950                 "f7e9fd1d.a0c2"
1951             ]
1952         ]
1953     },
1954     {
1955         "id": "7483f7e0.e84798",
1956         "type": "failure",
1957         "name": "failure",
1958         "xml": "<outcome value='failure'>\n",
1959         "comments": "",
1960         "outputs": 1,
1961         "x": 2195.000244140625,
1962         "y": 1490.2500114440918,
1963         "z": "9ebd676c.bc9298",
1964         "wires": [
1965             [
1966                 "da6606b.4fcbef8"
1967             ]
1968         ]
1969     },
1970     {
1971         "id": "da6606b.4fcbef8",
1972         "type": "block",
1973         "name": "block",
1974         "xml": "<block>",
1975         "atomic": "false",
1976         "comments": "",
1977         "outputs": 1,
1978         "x": 2356.0001068115234,
1979         "y": 1468.2499380111694,
1980         "z": "9ebd676c.bc9298",
1981         "wires": [
1982             [
1983                 "30beab96.b1d944",
1984                 "ef0a7650.cb7c78",
1985                 "f542e28a.9466f"
1986             ]
1987         ]
1988     },
1989     {
1990         "id": "f7e9fd1d.a0c2",
1991         "type": "block",
1992         "name": "block : atomic",
1993         "xml": "<block atomic='true'>",
1994         "atomic": "true",
1995         "comments": "",
1996         "outputs": 1,
1997         "x": 2365.4372520446777,
1998         "y": 1434.687536239624,
1999         "z": "9ebd676c.bc9298",
2000         "wires": [
2001             [
2002                 "73017d59.f89d74"
2003             ]
2004         ]
2005     },
2006     {
2007         "id": "30beab96.b1d944",
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": 2543.000171661377,
2013         "y": 1464.2499561309814,
2014         "z": "9ebd676c.bc9298",
2015         "wires": []
2016     },
2017     {
2018         "id": "ef0a7650.cb7c78",
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": 2582.0006561279297,
2024         "y": 1413.3609638214111,
2025         "z": "9ebd676c.bc9298",
2026         "wires": []
2027     },
2028     {
2029         "id": "73017d59.f89d74",
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": 2577.187057495117,
2036         "y": 1357.4376239776611,
2037         "z": "9ebd676c.bc9298",
2038         "wires": [
2039             []
2040         ]
2041     },
2042     {
2043         "id": "d6d32295.d9fbe",
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": 865.1875,
2050         "y": 1133.4375,
2051         "z": "9ebd676c.bc9298",
2052         "wires": [
2053             []
2054         ]
2055     },
2056     {
2057         "id": "75ca05a0.ba475c",
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": 1506.6875076293945,
2064         "y": 1258.6875104904175,
2065         "z": "9ebd676c.bc9298",
2066         "wires": [
2067             []
2068         ]
2069     },
2070     {
2071         "id": "b8b27037.9d5ab",
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": 1486.6875,
2078         "y": 1291.6875,
2079         "z": "9ebd676c.bc9298",
2080         "wires": [
2081             []
2082         ]
2083     },
2084     {
2085         "id": "f56f9270.39935",
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": 1909.4377555847168,
2092         "y": 1402.187533378601,
2093         "z": "9ebd676c.bc9298",
2094         "wires": [
2095             []
2096         ]
2097     },
2098     {
2099         "id": "4b92d40d.528e5c",
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": 1512.1875,
2105         "y": 1067.9375,
2106         "z": "9ebd676c.bc9298",
2107         "wires": []
2108     },
2109     {
2110         "id": "9be2d64a.a3bbd8",
2111         "type": "block",
2112         "name": "block : atomic",
2113         "xml": "<block atomic=\"true\">",
2114         "atomic": "true",
2115         "outputs": 1,
2116         "x": 1305.1875457763672,
2117         "y": 665.4375238418579,
2118         "z": "9ebd676c.bc9298",
2119         "wires": [
2120             [
2121                 "2eae9783.b3f048",
2122                 "743d7949.25e8a8"
2123             ]
2124         ]
2125     },
2126     {
2127         "id": "743d7949.25e8a8",
2128         "type": "set",
2129         "name": "set mcc & mnc Variables",
2130         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
2131         "comments": "",
2132         "x": 1516.9146423339844,
2133         "y": 722.9952244758606,
2134         "z": "9ebd676c.bc9298",
2135         "wires": []
2136     },
2137     {
2138         "id": "2eae9783.b3f048",
2139         "type": "execute",
2140         "name": "split pLMNId",
2141         "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\" />",
2142         "comments": "",
2143         "outputs": 1,
2144         "x": 1524.4599609375,
2145         "y": 678.9498138427734,
2146         "z": "9ebd676c.bc9298",
2147         "wires": [
2148             []
2149         ]
2150     },
2151     {
2152         "id": "608ac868.ce80a8",
2153         "type": "set",
2154         "name": "append configParam",
2155         "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=\"`$tmp.cellLocalId`+'-maxNumberofConns'\" />",
2156         "comments": "",
2157         "x": 1955.0000076293945,
2158         "y": 1329.0625324249268,
2159         "z": "9ebd676c.bc9298",
2160         "wires": []
2161     },
2162     {
2163         "id": "4a947320.b506ac",
2164         "type": "execute",
2165         "name": "append configParam",
2166         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n    <parameter name=\"source\" value=\"`$tmp.cellLocalId`\" />\n    <parameter name=\"target\" value=\"-maxNumberofConns\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cellLocalId\" />",
2167         "comments": "",
2168         "outputs": 1,
2169         "x": 1930.9375457763672,
2170         "y": 1282.1875324249268,
2171         "z": "9ebd676c.bc9298",
2172         "wires": [
2173             []
2174         ]
2175     }
2176 ]