A1 interface Support instead of O1.
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceReconfigure.json
1 [
2     {
3         "id": "bc547e72.de486",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 481,
10         "y": 376.00002670288086,
11         "z": "5f252e33.a33cf",
12         "wires": [
13             [
14                 "11d2150e.1a192b"
15             ]
16         ]
17     },
18     {
19         "id": "9e3064fa.e459e8",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 104.99999618530273,
24         "y": 280.9999990463257,
25         "z": "5f252e33.a33cf",
26         "wires": [
27             [
28                 "bcb8ab3d.fc8898"
29             ]
30         ]
31     },
32     {
33         "id": "bcb8ab3d.fc8898",
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": 237.99996948242188,
42         "y": 378.0000801086426,
43         "z": "5f252e33.a33cf",
44         "wires": [
45             [
46                 "bc547e72.de486"
47             ]
48         ]
49     },
50     {
51         "id": "8e63455a.48d498",
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": 166.4896240234375,
57         "y": 1319.0003175735474,
58         "z": "5f252e33.a33cf",
59         "wires": []
60     },
61     {
62         "id": "1924ee58.e50e02",
63         "type": "comment",
64         "name": "instantiateRANSliceReconfigure",
65         "info": "",
66         "comments": "",
67         "x": 450,
68         "y": 318.0103988647461,
69         "z": "5f252e33.a33cf",
70         "wires": []
71     },
72     {
73         "id": "11d2150e.1a192b",
74         "type": "block",
75         "name": "block : atomic",
76         "xml": "<block atomic='true'>",
77         "atomic": "true",
78         "comments": "",
79         "outputs": 1,
80         "x": 115.99996948242188,
81         "y": 498.01040267944336,
82         "z": "5f252e33.a33cf",
83         "wires": [
84             [
85                 "8e63455a.48d498",
86                 "dfea51fa.caa12",
87                 "5a108e89.00473",
88                 "e4836493.371528"
89             ]
90         ]
91     },
92     {
93         "id": "1cb69829.641778",
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": 3996.989906311035,
100         "y": 7803.020886182785,
101         "z": "5f252e33.a33cf",
102         "wires": [
103             [
104                 "a16ae0f.da3482"
105             ]
106         ]
107     },
108     {
109         "id": "a16ae0f.da3482",
110         "type": "success",
111         "name": "success",
112         "xml": "<outcome value='success'>\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 4333.989784240723,
116         "y": 7829.01038813591,
117         "z": "5f252e33.a33cf",
118         "wires": [
119             [
120                 "9a7fb71a.249518"
121             ]
122         ]
123     },
124     {
125         "id": "9a7fb71a.249518",
126         "type": "block",
127         "name": "block",
128         "xml": "<block>\n",
129         "atomic": "false",
130         "comments": "",
131         "outputs": 1,
132         "x": 4513.989540100098,
133         "y": 7826.01038813591,
134         "z": "5f252e33.a33cf",
135         "wires": [
136             [
137                 "3771494e.f8bf46"
138             ]
139         ]
140     },
141     {
142         "id": "3771494e.f8bf46",
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": 4662.989841461182,
149         "y": 7852.010580778122,
150         "z": "5f252e33.a33cf",
151         "wires": [
152             []
153         ]
154     },
155     {
156         "id": "e4836493.371528",
157         "type": "block",
158         "name": "SO Response",
159         "xml": "<block atomic='true'>",
160         "atomic": "true",
161         "comments": "",
162         "outputs": 1,
163         "x": 195.75,
164         "y": 1269.2646465301514,
165         "z": "5f252e33.a33cf",
166         "wires": [
167             [
168                 "33d8fbc1.21a6b4",
169                 "df7bf9ae.94bdc8",
170                 "70f68f81.6819f",
171                 "21948f3c.24718"
172             ]
173         ]
174     },
175     {
176         "id": "33d8fbc1.21a6b4",
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": 363.9999771118164,
183         "y": 1637.0148515701294,
184         "z": "5f252e33.a33cf",
185         "wires": [
186             []
187         ]
188     },
189     {
190         "id": "939ba489.ed0548",
191         "type": "failure",
192         "name": "failure",
193         "xml": "<outcome value='failure'>\n",
194         "comments": "",
195         "outputs": 1,
196         "x": 398.0000762939453,
197         "y": 1734.014554977417,
198         "z": "5f252e33.a33cf",
199         "wires": [
200             [
201                 "da4db008.4948"
202             ]
203         ]
204     },
205     {
206         "id": "b4c4757.1343e88",
207         "type": "success",
208         "name": "success",
209         "xml": "<outcome value='success'>\n",
210         "comments": "",
211         "outputs": 1,
212         "x": 389.9999694824219,
213         "y": 1807.0145053863525,
214         "z": "5f252e33.a33cf",
215         "wires": [
216             [
217                 "d510529b.baea"
218             ]
219         ]
220     },
221     {
222         "id": "d510529b.baea",
223         "type": "block",
224         "name": "block",
225         "xml": "<block>\n",
226         "atomic": "false",
227         "comments": "",
228         "outputs": 1,
229         "x": 535.999813079834,
230         "y": 1812.0146141052246,
231         "z": "5f252e33.a33cf",
232         "wires": [
233             [
234                 "fbfba657.a5b4d8"
235             ]
236         ]
237     },
238     {
239         "id": "da4db008.4948",
240         "type": "block",
241         "name": "block",
242         "xml": "<block>\n",
243         "atomic": "false",
244         "comments": "",
245         "outputs": 1,
246         "x": 546.9999771118164,
247         "y": 1730.01469039917,
248         "z": "5f252e33.a33cf",
249         "wires": [
250             [
251                 "a66a60b.6c1f5a",
252                 "67e5e26b.be6fcc"
253             ]
254         ]
255     },
256     {
257         "id": "a66a60b.6c1f5a",
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": 693.9995956420898,
263         "y": 1741.0144319534302,
264         "z": "5f252e33.a33cf",
265         "wires": []
266     },
267     {
268         "id": "fbfba657.a5b4d8",
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": 696.9997329711914,
275         "y": 1818.0145063400269,
276         "z": "5f252e33.a33cf",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "d1283c41.99619",
283         "type": "block",
284         "name": "block : SO Response",
285         "xml": "<block atomic='true'>",
286         "atomic": "true",
287         "comments": "",
288         "outputs": 1,
289         "x": 2928.4910202026367,
290         "y": 923.0105667114258,
291         "z": "5f252e33.a33cf",
292         "wires": [
293             [
294                 "74a286bd.6d7158",
295                 "eb863c9c.2e233",
296                 "39ff8d4e.7cf1f2"
297             ]
298         ]
299     },
300     {
301         "id": "74a286bd.6d7158",
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": 3246.4919967651367,
307         "y": 846.9102249145508,
308         "z": "5f252e33.a33cf",
309         "wires": []
310     },
311     {
312         "id": "eb863c9c.2e233",
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": 3221.490882873535,
319         "y": 944.0109024047852,
320         "z": "5f252e33.a33cf",
321         "wires": [
322             []
323         ]
324     },
325     {
326         "id": "39ff8d4e.7cf1f2",
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": 3136.490894317627,
333         "y": 1041.0107803344727,
334         "z": "5f252e33.a33cf",
335         "wires": [
336             [
337                 "2ea87dfa.74a1b2",
338                 "250dec65.8f20f4"
339             ]
340         ]
341     },
342     {
343         "id": "2ea87dfa.74a1b2",
344         "type": "failure",
345         "name": "failure",
346         "xml": "<outcome value='failure'>\n",
347         "comments": "",
348         "outputs": 1,
349         "x": 3362.490902900696,
350         "y": 1018.0107493400574,
351         "z": "5f252e33.a33cf",
352         "wires": [
353             [
354                 "ac431b02.8c9478"
355             ]
356         ]
357     },
358     {
359         "id": "250dec65.8f20f4",
360         "type": "success",
361         "name": "success",
362         "xml": "<outcome value='success'>\n",
363         "comments": "",
364         "outputs": 1,
365         "x": 3352.4907569885254,
366         "y": 1126.0106887817383,
367         "z": "5f252e33.a33cf",
368         "wires": [
369             [
370                 "8528a08.e5e9f6"
371             ]
372         ]
373     },
374     {
375         "id": "8528a08.e5e9f6",
376         "type": "block",
377         "name": "block",
378         "xml": "<block>\n",
379         "atomic": "false",
380         "comments": "",
381         "outputs": 1,
382         "x": 3502.4905433654785,
383         "y": 1145.0107498168945,
384         "z": "5f252e33.a33cf",
385         "wires": [
386             [
387                 "d77fbdfc.945cb"
388             ]
389         ]
390     },
391     {
392         "id": "ac431b02.8c9478",
393         "type": "block",
394         "name": "block",
395         "xml": "<block>\n",
396         "atomic": "false",
397         "comments": "",
398         "outputs": 1,
399         "x": 3513.4907722473145,
400         "y": 1013.0108714103699,
401         "z": "5f252e33.a33cf",
402         "wires": [
403             [
404                 "85095c42.ac356"
405             ]
406         ]
407     },
408     {
409         "id": "85095c42.ac356",
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": 3679.490451812744,
415         "y": 1016.0106887817383,
416         "z": "5f252e33.a33cf",
417         "wires": []
418     },
419     {
420         "id": "d77fbdfc.945cb",
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": 3666.4905586242676,
427         "y": 1151.0106887817383,
428         "z": "5f252e33.a33cf",
429         "wires": [
430             []
431         ]
432     },
433     {
434         "id": "67e5e26b.be6fcc",
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": 681.5102043151855,
440         "y": 1645.0039234161377,
441         "z": "5f252e33.a33cf",
442         "wires": []
443     },
444     {
445         "id": "70f68f81.6819f",
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": 386.339599609375,
452         "y": 1573.000005722046,
453         "z": "5f252e33.a33cf",
454         "wires": [
455             []
456         ]
457     },
458     {
459         "id": "52498a8b.639054",
460         "type": "failure",
461         "name": "true",
462         "xml": "<outcome value='true'>\n",
463         "comments": "",
464         "outputs": 1,
465         "x": 673.0002326965332,
466         "y": 436.0000867843628,
467         "z": "5f252e33.a33cf",
468         "wires": [
469             [
470                 "49e252ee.ff33ec"
471             ]
472         ]
473     },
474     {
475         "id": "dfea51fa.caa12",
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": 433.0000991821289,
482         "y": 714.0000519752502,
483         "z": "5f252e33.a33cf",
484         "wires": [
485             [
486                 "52498a8b.639054",
487                 "3bf01b6d.6b1dd4"
488             ]
489         ]
490     },
491     {
492         "id": "3bf01b6d.6b1dd4",
493         "type": "failure",
494         "name": "false",
495         "xml": "<outcome value='false'>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 297.50665283203125,
499         "y": 856.0002498626709,
500         "z": "5f252e33.a33cf",
501         "wires": [
502             [
503                 "c5e57df2.82eca"
504             ]
505         ]
506     },
507     {
508         "id": "536ddc3.5493c24",
509         "type": "failure",
510         "name": "true",
511         "xml": "<outcome value='true'>\n",
512         "comments": "",
513         "outputs": 1,
514         "x": 465.00038146972656,
515         "y": 1218.0002489089966,
516         "z": "5f252e33.a33cf",
517         "wires": [
518             [
519                 "75235874.7abee8"
520             ]
521         ]
522     },
523     {
524         "id": "49e252ee.ff33ec",
525         "type": "block",
526         "name": "Closed Loop",
527         "xml": "<block atomic=\"true\">",
528         "atomic": "true",
529         "comments": "",
530         "outputs": 1,
531         "x": 735.0002288818359,
532         "y": 297.0000567436218,
533         "z": "5f252e33.a33cf",
534         "wires": [
535             [
536                 "e0fdbea0.96892",
537                 "b1a242d6.1e759"
538             ]
539         ]
540     },
541     {
542         "id": "75235874.7abee8",
543         "type": "block",
544         "name": "block : atomic",
545         "xml": "<block atomic=\"true\">",
546         "atomic": "true",
547         "outputs": 1,
548         "x": 632.0002899169922,
549         "y": 1217.0002346038818,
550         "z": "5f252e33.a33cf",
551         "wires": [
552             [
553                 "c1ef35ca.2dd918",
554                 "3f3bbd1.7e11342",
555                 "4214e64f.ea08e8",
556                 "18d141c3.8dce1e"
557             ]
558         ]
559     },
560     {
561         "id": "c5e57df2.82eca",
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": 291.0004577636719,
568         "y": 1216.000295639038,
569         "z": "5f252e33.a33cf",
570         "wires": [
571             [
572                 "536ddc3.5493c24"
573             ]
574         ]
575     },
576     {
577         "id": "e0fdbea0.96892",
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": 817.0000190734863,
584         "y": 199.0000524520874,
585         "z": "5f252e33.a33cf",
586         "wires": [
587             []
588         ]
589     },
590     {
591         "id": "c1ef35ca.2dd918",
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": 789.0003967285156,
598         "y": 1188.0002784729004,
599         "z": "5f252e33.a33cf",
600         "wires": [
601             []
602         ]
603     },
604     {
605         "id": "5a108e89.00473",
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": 506,
612         "y": 449.00002670288086,
613         "z": "5f252e33.a33cf",
614         "wires": [
615             []
616         ]
617     },
618     {
619         "id": "b1a242d6.1e759",
620         "type": "block",
621         "name": "NearRTRIC",
622         "xml": "<block atomic=\"true\">",
623         "atomic": "true",
624         "comments": "",
625         "outputs": 1,
626         "x": 808.0105819702148,
627         "y": 371.0104675292969,
628         "z": "5f252e33.a33cf",
629         "wires": [
630             [
631                 "91dcd74.2289e28",
632                 "9a141229.ad271"
633             ]
634         ]
635     },
636     {
637         "id": "3f3bbd1.7e11342",
638         "type": "block",
639         "name": "CUCP",
640         "xml": "<block atomic=\"true\">",
641         "atomic": "true",
642         "comments": "",
643         "outputs": 1,
644         "x": 766.0107955932617,
645         "y": 1332.010549545288,
646         "z": "5f252e33.a33cf",
647         "wires": [
648             [
649                 "2fea2c93.dfb1f4",
650                 "dbb4f36c.b8699"
651             ]
652         ]
653     },
654     {
655         "id": "7d8dd5a0.3b5d8c",
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": 1409.8995742797852,
662         "y": 594.0104904174805,
663         "z": "5f252e33.a33cf",
664         "wires": [
665             [
666                 "9b65c7ca.9bc778",
667                 "7efebb30.aeb5a4"
668             ]
669         ]
670     },
671     {
672         "id": "9b65c7ca.9bc778",
673         "type": "failure",
674         "name": "failure",
675         "xml": "<outcome value='failure'>\n",
676         "comments": "",
677         "outputs": 1,
678         "x": 1695.8999099731445,
679         "y": 535.0000228881836,
680         "z": "5f252e33.a33cf",
681         "wires": [
682             [
683                 "fca5fd5.92d99"
684             ]
685         ]
686     },
687     {
688         "id": "7efebb30.aeb5a4",
689         "type": "success",
690         "name": "success",
691         "xml": "<outcome value='success'>\n",
692         "comments": "",
693         "outputs": 1,
694         "x": 1688.899974822998,
695         "y": 594.9999313354492,
696         "z": "5f252e33.a33cf",
697         "wires": [
698             [
699                 "f5654308.add9a"
700             ]
701         ]
702     },
703     {
704         "id": "fca5fd5.92d99",
705         "type": "block",
706         "name": "block",
707         "xml": "<block>\n",
708         "atomic": "false",
709         "comments": "",
710         "outputs": 1,
711         "x": 1878.9000053405762,
712         "y": 578.0000305175781,
713         "z": "5f252e33.a33cf",
714         "wires": [
715             [
716                 "11f0df18.24a201",
717                 "91490e28.0dc3d",
718                 "d1283c41.99619"
719             ]
720         ]
721     },
722     {
723         "id": "f5654308.add9a",
724         "type": "block",
725         "name": "block",
726         "xml": "<block>\n",
727         "atomic": "false",
728         "comments": "",
729         "outputs": 1,
730         "x": 1870.8996391296387,
731         "y": 623.9999923706055,
732         "z": "5f252e33.a33cf",
733         "wires": [
734             [
735                 "41fbed83.42fda4",
736                 "247937ea.72fec8"
737             ]
738         ]
739     },
740     {
741         "id": "88cbaae5.40caf8",
742         "type": "block",
743         "name": "Update SiceProfile for NeaeRTRIC",
744         "xml": "<block atomic='true'>",
745         "atomic": "true",
746         "comments": "",
747         "outputs": 1,
748         "x": 987.0001373291016,
749         "y": 550.7448205947876,
750         "z": "5f252e33.a33cf",
751         "wires": [
752             [
753                 "8cb625f2.86f998",
754                 "fe2f497.eb2b4b8",
755                 "6acaf02f.5d837",
756                 "7d8dd5a0.3b5d8c"
757             ]
758         ]
759     },
760     {
761         "id": "6acaf02f.5d837",
762         "type": "switchNode",
763         "name": "ransim mounted",
764         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
765         "comments": "",
766         "outputs": 1,
767         "x": 1359.000394821167,
768         "y": 469.40104672312737,
769         "z": "5f252e33.a33cf",
770         "wires": [
771             [
772                 "3ec26dba.47ca62",
773                 "7a5d3c5d.30ba44"
774             ]
775         ]
776     },
777     {
778         "id": "3ec26dba.47ca62",
779         "type": "outcome",
780         "name": "Not Mounted",
781         "xml": "<outcome value='false'>\n",
782         "comments": "",
783         "outputs": 1,
784         "x": 1522.0003185272217,
785         "y": 401.4008364379406,
786         "z": "5f252e33.a33cf",
787         "wires": [
788             [
789                 "2a9c54e2.6c30dc"
790             ]
791         ]
792     },
793     {
794         "id": "7a5d3c5d.30ba44",
795         "type": "outcome",
796         "name": "Mounted",
797         "xml": "<outcome value='true'>\n",
798         "comments": "",
799         "outputs": 1,
800         "x": 1534.0004386901855,
801         "y": 478.40093994140625,
802         "z": "5f252e33.a33cf",
803         "wires": [
804             [
805                 "1964a4b6.5a25cb"
806             ]
807         ]
808     },
809     {
810         "id": "fe2f497.eb2b4b8",
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": 1336.0006523132324,
817         "y": 504.74501072987914,
818         "z": "5f252e33.a33cf",
819         "wires": [
820             []
821         ]
822     },
823     {
824         "id": "8cb625f2.86f998",
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": 1337.001293182373,
831         "y": 549.7343673706055,
832         "z": "5f252e33.a33cf",
833         "wires": [
834             []
835         ]
836     },
837     {
838         "id": "7845fff6.aa983",
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": 1951.535400390625,
845         "y": 536.0000562667847,
846         "z": "5f252e33.a33cf",
847         "wires": [
848             []
849         ]
850     },
851     {
852         "id": "3b98bf9f.9aa73",
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": 2013.0699768066406,
859         "y": 498.5990791320801,
860         "z": "5f252e33.a33cf",
861         "wires": [
862             []
863         ]
864     },
865     {
866         "id": "1964a4b6.5a25cb",
867         "type": "block",
868         "name": "ransim  URL",
869         "xml": "<block atomic='true'>",
870         "atomic": "true",
871         "comments": "",
872         "outputs": 1,
873         "x": 1716.9900932312012,
874         "y": 484.4009246826172,
875         "z": "5f252e33.a33cf",
876         "wires": [
877             [
878                 "5f1a90fc.6e1ac",
879                 "3b98bf9f.9aa73",
880                 "7845fff6.aa983"
881             ]
882         ]
883     },
884     {
885         "id": "5f1a90fc.6e1ac",
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": 2010.5348205566406,
892         "y": 460.00029945373535,
893         "z": "5f252e33.a33cf",
894         "wires": [
895             []
896         ]
897     },
898     {
899         "id": "fe7c8370.06aba",
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": 1991.5350799560547,
906         "y": 414.0001525878906,
907         "z": "5f252e33.a33cf",
908         "wires": [
909             []
910         ]
911     },
912     {
913         "id": "a42b9c0a.f7927",
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": 1993.0003204345703,
920         "y": 373.4011516571045,
921         "z": "5f252e33.a33cf",
922         "wires": [
923             []
924         ]
925     },
926     {
927         "id": "2a9c54e2.6c30dc",
928         "type": "block",
929         "name": "URL",
930         "xml": "<block atomic='true'>",
931         "atomic": "true",
932         "comments": "",
933         "outputs": 1,
934         "x": 1681.2018432617188,
935         "y": 408.0000314414501,
936         "z": "5f252e33.a33cf",
937         "wires": [
938             [
939                 "a42b9c0a.f7927",
940                 "fe7c8370.06aba"
941             ]
942         ]
943     },
944     {
945         "id": "9a141229.ad271",
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": 968.0039901733398,
951         "y": 309.0039358139038,
952         "z": "5f252e33.a33cf",
953         "wires": []
954     },
955     {
956         "id": "91dcd74.2289e28",
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": 993.0039443969727,
963         "y": 445.00394916534424,
964         "z": "5f252e33.a33cf",
965         "wires": [
966             [
967                 "88cbaae5.40caf8",
968                 "93761601.6b8b98",
969                 "20e101f5.0cb9be",
970                 "dbb4f36c.b8699",
971                 "6be4f0df.7a03f",
972                 "23e2530f.989e4c"
973             ]
974         ]
975     },
976     {
977         "id": "93761601.6b8b98",
978         "type": "set",
979         "name": "set Temp Variables",
980         "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`\"/>",
981         "comments": "",
982         "x": 1133.4550704956055,
983         "y": 82.0104866027832,
984         "z": "5f252e33.a33cf",
985         "wires": []
986     },
987     {
988         "id": "11f0df18.24a201",
989         "type": "set",
990         "name": "set",
991         "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'/>",
992         "comments": "",
993         "x": 2064.454933166504,
994         "y": 579.0104522705078,
995         "z": "5f252e33.a33cf",
996         "wires": []
997     },
998     {
999         "id": "91490e28.0dc3d",
1000         "type": "returnFailure",
1001         "name": "return failure",
1002         "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'/>",
1003         "comments": "",
1004         "x": 2074.454719543457,
1005         "y": 617.8994369506836,
1006         "z": "5f252e33.a33cf",
1007         "wires": []
1008     },
1009     {
1010         "id": "41fbed83.42fda4",
1011         "type": "record",
1012         "name": "record",
1013         "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\"/>",
1014         "comments": "",
1015         "outputs": 1,
1016         "x": 2062.45463180542,
1017         "y": 654.8994064331055,
1018         "z": "5f252e33.a33cf",
1019         "wires": [
1020             []
1021         ]
1022     },
1023     {
1024         "id": "247937ea.72fec8",
1025         "type": "execute",
1026         "name": "printContext",
1027         "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",
1028         "comments": "",
1029         "outputs": 1,
1030         "x": 2081.233039855957,
1031         "y": 690.8994445800781,
1032         "z": "5f252e33.a33cf",
1033         "wires": [
1034             []
1035         ]
1036     },
1037     {
1038         "id": "4214e64f.ea08e8",
1039         "type": "set",
1040         "name": "set Temp Variables",
1041         "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`\"/>",
1042         "comments": "",
1043         "x": 819.1220359802246,
1044         "y": 1230.8995056152344,
1045         "z": "5f252e33.a33cf",
1046         "wires": []
1047     },
1048     {
1049         "id": "2fea2c93.dfb1f4",
1050         "type": "for",
1051         "name": "For Number of data Points",
1052         "xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
1053         "comments": "",
1054         "outputs": 1,
1055         "x": 998.1215896606445,
1056         "y": 1321.8994808197021,
1057         "z": "5f252e33.a33cf",
1058         "wires": [
1059             [
1060                 "66f7c548.c1aa4c"
1061             ]
1062         ]
1063     },
1064     {
1065         "id": "dbb4f36c.b8699",
1066         "type": "block",
1067         "name": "get PLMNId",
1068         "xml": "<block atomic='true'>",
1069         "atomic": "true",
1070         "comments": "",
1071         "outputs": 1,
1072         "x": 971.75,
1073         "y": 744.75,
1074         "z": "5f252e33.a33cf",
1075         "wires": [
1076             [
1077                 "5ef58355.f757dc",
1078                 "d00948aa.c0eaf8",
1079                 "a5409457.d2f128",
1080                 "884ce51b.ce4668",
1081                 "62268a2f.7cb224",
1082                 "85de8030.757e7"
1083             ]
1084         ]
1085     },
1086     {
1087         "id": "5ef58355.f757dc",
1088         "type": "execute",
1089         "name": "get PLMNId URL",
1090         "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`\"/>",
1091         "comments": "",
1092         "outputs": 1,
1093         "x": 1236.7499923706055,
1094         "y": 634.7499942779541,
1095         "z": "5f252e33.a33cf",
1096         "wires": [
1097             []
1098         ]
1099     },
1100     {
1101         "id": "d00948aa.c0eaf8",
1102         "type": "record",
1103         "name": "record",
1104         "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",
1105         "comments": "",
1106         "outputs": 1,
1107         "x": 1210.2501182556152,
1108         "y": 682.7500324249268,
1109         "z": "5f252e33.a33cf",
1110         "wires": [
1111             []
1112         ]
1113     },
1114     {
1115         "id": "a5409457.d2f128",
1116         "type": "execute",
1117         "name": "Get PLMN from Sliceprofile id",
1118         "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\"/>",
1119         "comments": "",
1120         "outputs": 1,
1121         "x": 1277.9999923706055,
1122         "y": 720.749981880188,
1123         "z": "5f252e33.a33cf",
1124         "wires": [
1125             [
1126                 "d5773990.e3aaa8",
1127                 "13e6449e.a7872b"
1128             ]
1129         ]
1130     },
1131     {
1132         "id": "62268a2f.7cb224",
1133         "type": "set",
1134         "name": "set PLMNId",
1135         "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
1136         "comments": "",
1137         "x": 1235.1875228881836,
1138         "y": 761.4375486373901,
1139         "z": "5f252e33.a33cf",
1140         "wires": []
1141     },
1142     {
1143         "id": "9080ecb0.3ca2",
1144         "type": "execute",
1145         "name": "find MCC",
1146         "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\" />",
1147         "comments": "",
1148         "outputs": 1,
1149         "x": 1636.0000343322754,
1150         "y": 814.000096321106,
1151         "z": "5f252e33.a33cf",
1152         "wires": [
1153             []
1154         ]
1155     },
1156     {
1157         "id": "956742cf.ed533",
1158         "type": "execute",
1159         "name": "find MNC",
1160         "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\" />",
1161         "comments": "",
1162         "outputs": 1,
1163         "x": 1646.7502136230469,
1164         "y": 848.2499742507935,
1165         "z": "5f252e33.a33cf",
1166         "wires": [
1167             []
1168         ]
1169     },
1170     {
1171         "id": "884ce51b.ce4668",
1172         "type": "record",
1173         "name": "record",
1174         "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`\"/>",
1175         "comments": "",
1176         "outputs": 1,
1177         "x": 1223.4935455322266,
1178         "y": 880.2434711456299,
1179         "z": "5f252e33.a33cf",
1180         "wires": [
1181             []
1182         ]
1183     },
1184     {
1185         "id": "d5773990.e3aaa8",
1186         "type": "success",
1187         "name": "success",
1188         "xml": "<outcome value='success'>\n",
1189         "comments": "",
1190         "outputs": 1,
1191         "x": 1515.4999923706055,
1192         "y": 725.9999942779541,
1193         "z": "5f252e33.a33cf",
1194         "wires": [
1195             [
1196                 "a7c220c2.febae"
1197             ]
1198         ]
1199     },
1200     {
1201         "id": "13e6449e.a7872b",
1202         "type": "failure",
1203         "name": "failure",
1204         "xml": "<outcome value='failure'>\n",
1205         "comments": "",
1206         "outputs": 1,
1207         "x": 1514.0627365112305,
1208         "y": 775.5624933242798,
1209         "z": "5f252e33.a33cf",
1210         "wires": [
1211             [
1212                 "ab32b7e.2377048"
1213             ]
1214         ]
1215     },
1216     {
1217         "id": "a7c220c2.febae",
1218         "type": "block",
1219         "name": "block : atomic",
1220         "xml": "<block atomic='true'>",
1221         "atomic": "true",
1222         "comments": "",
1223         "outputs": 1,
1224         "x": 1688.4997940063477,
1225         "y": 715.0000667572021,
1226         "z": "5f252e33.a33cf",
1227         "wires": [
1228             [
1229                 "e4225292.c1fcd",
1230                 "f3d39c4.493176"
1231             ]
1232         ]
1233     },
1234     {
1235         "id": "ab32b7e.2377048",
1236         "type": "block",
1237         "name": "block : atomic",
1238         "xml": "<block atomic='true'>",
1239         "atomic": "true",
1240         "comments": "",
1241         "outputs": 1,
1242         "x": 1675.062599182129,
1243         "y": 753.5624198913574,
1244         "z": "5f252e33.a33cf",
1245         "wires": [
1246             [
1247                 "11f1d7ac.840228",
1248                 "cb067640.67cab8",
1249                 "d1283c41.99619"
1250             ]
1251         ]
1252     },
1253     {
1254         "id": "e4225292.c1fcd",
1255         "type": "record",
1256         "name": "record",
1257         "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`\"/>",
1258         "comments": "",
1259         "outputs": 1,
1260         "x": 1889.2495231628418,
1261         "y": 714.7500915527344,
1262         "z": "5f252e33.a33cf",
1263         "wires": [
1264             []
1265         ]
1266     },
1267     {
1268         "id": "f3d39c4.493176",
1269         "type": "execute",
1270         "name": "printContext",
1271         "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",
1272         "comments": "",
1273         "outputs": 1,
1274         "x": 1925.0277366638184,
1275         "y": 758.0001001358032,
1276         "z": "5f252e33.a33cf",
1277         "wires": [
1278             []
1279         ]
1280     },
1281     {
1282         "id": "cb067640.67cab8",
1283         "type": "set",
1284         "name": "set",
1285         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1286         "comments": "",
1287         "x": 1920.0629501342773,
1288         "y": 790.6735200881958,
1289         "z": "5f252e33.a33cf",
1290         "wires": []
1291     },
1292     {
1293         "id": "11f1d7ac.840228",
1294         "type": "returnFailure",
1295         "name": "return failure",
1296         "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'/>",
1297         "comments": "",
1298         "x": 1920.062644958496,
1299         "y": 826.5625047683716,
1300         "z": "5f252e33.a33cf",
1301         "wires": []
1302     },
1303     {
1304         "id": "20e101f5.0cb9be",
1305         "type": "block",
1306         "name": "Update NearRTRIC Config",
1307         "xml": "<block atomic=\"true\">",
1308         "atomic": "true",
1309         "comments": "",
1310         "outputs": 1,
1311         "x": 732.5,
1312         "y": 941.5,
1313         "z": "5f252e33.a33cf",
1314         "wires": [
1315             [
1316                 "e95ee7f.fbab518",
1317                 "4f5fd171.1d335",
1318                 "159f5b5b.875f65",
1319                 "980e81c9.86c58",
1320                 "634c2bb2.ec0d74"
1321             ]
1322         ]
1323     },
1324     {
1325         "id": "e95ee7f.fbab518",
1326         "type": "switchNode",
1327         "name": "ransim mounted",
1328         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1329         "comments": "",
1330         "outputs": 1,
1331         "x": 971.2500381469727,
1332         "y": 862.0000381469727,
1333         "z": "5f252e33.a33cf",
1334         "wires": [
1335             [
1336                 "2f5ac403.2d1e9c",
1337                 "2fbda47.66c5c5c"
1338             ]
1339         ]
1340     },
1341     {
1342         "id": "2f5ac403.2d1e9c",
1343         "type": "outcome",
1344         "name": "Not Mounted",
1345         "xml": "<outcome value='false'>\n",
1346         "comments": "",
1347         "outputs": 1,
1348         "x": 1192.2499237060547,
1349         "y": 918.9997897148132,
1350         "z": "5f252e33.a33cf",
1351         "wires": [
1352             [
1353                 "43466c61.a943c4"
1354             ]
1355         ]
1356     },
1357     {
1358         "id": "2fbda47.66c5c5c",
1359         "type": "outcome",
1360         "name": "Mounted",
1361         "xml": "<outcome value='true'>\n",
1362         "comments": "",
1363         "outputs": 1,
1364         "x": 1186.2500038146973,
1365         "y": 955.9999284744263,
1366         "z": "5f252e33.a33cf",
1367         "wires": [
1368             [
1369                 "71cbcab9.63b884"
1370             ]
1371         ]
1372     },
1373     {
1374         "id": "71cbcab9.63b884",
1375         "type": "block",
1376         "name": "ransim  URL",
1377         "xml": "<block atomic='true'>",
1378         "atomic": "true",
1379         "comments": "",
1380         "outputs": 1,
1381         "x": 1363.2398414611816,
1382         "y": 966.9999141693115,
1383         "z": "5f252e33.a33cf",
1384         "wires": [
1385             [
1386                 "e74a5c.4a6525a8",
1387                 "f78ea932.e2f698"
1388             ]
1389         ]
1390     },
1391     {
1392         "id": "43466c61.a943c4",
1393         "type": "block",
1394         "name": "URL",
1395         "xml": "<block atomic='true'>",
1396         "atomic": "true",
1397         "comments": "",
1398         "outputs": 1,
1399         "x": 1351.4514484405518,
1400         "y": 925.5989847183228,
1401         "z": "5f252e33.a33cf",
1402         "wires": [
1403             [
1404                 "6e0496b9.a44dc8"
1405             ]
1406         ]
1407     },
1408     {
1409         "id": "6e0496b9.a44dc8",
1410         "type": "execute",
1411         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1412         "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`\"/>",
1413         "comments": "",
1414         "outputs": 1,
1415         "x": 1633.249984741211,
1416         "y": 916.0001258850098,
1417         "z": "5f252e33.a33cf",
1418         "wires": [
1419             []
1420         ]
1421     },
1422     {
1423         "id": "e74a5c.4a6525a8",
1424         "type": "execute",
1425         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1426         "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`\"/>",
1427         "comments": "",
1428         "outputs": 1,
1429         "x": 1682.7843799591064,
1430         "y": 957.5992245972157,
1431         "z": "5f252e33.a33cf",
1432         "wires": [
1433             []
1434         ]
1435     },
1436     {
1437         "id": "f78ea932.e2f698",
1438         "type": "execute",
1439         "name": "Populate MOUNT NAME",
1440         "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`\"/>",
1441         "comments": "",
1442         "outputs": 1,
1443         "x": 1625.784896850586,
1444         "y": 1002.5989875793457,
1445         "z": "5f252e33.a33cf",
1446         "wires": [
1447             []
1448         ]
1449     },
1450     {
1451         "id": "4f5fd171.1d335",
1452         "type": "execute",
1453         "name": "prepare mcc",
1454         "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`\"/>",
1455         "comments": "",
1456         "outputs": 1,
1457         "x": 967.5000801086426,
1458         "y": 904.5000987052917,
1459         "z": "5f252e33.a33cf",
1460         "wires": [
1461             []
1462         ]
1463     },
1464     {
1465         "id": "159f5b5b.875f65",
1466         "type": "execute",
1467         "name": "prepare mnc",
1468         "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`\"/>",
1469         "comments": "",
1470         "outputs": 1,
1471         "x": 969.0000534057617,
1472         "y": 944.5000381469727,
1473         "z": "5f252e33.a33cf",
1474         "wires": [
1475             []
1476         ]
1477     },
1478     {
1479         "id": "c9d62926.6346a8",
1480         "type": "execute",
1481         "name": "prepare sNssai",
1482         "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`\"/>",
1483         "comments": "",
1484         "outputs": 1,
1485         "x": 972.0000534057617,
1486         "y": 984.4999914169312,
1487         "z": "5f252e33.a33cf",
1488         "wires": [
1489             []
1490         ]
1491     },
1492     {
1493         "id": "b70672d6.e7d7",
1494         "type": "execute",
1495         "name": "prepare uLThptPerSlice",
1496         "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`\"/>",
1497         "comments": "",
1498         "outputs": 1,
1499         "x": 974.2500381469727,
1500         "y": 1028.500081062317,
1501         "z": "5f252e33.a33cf",
1502         "wires": [
1503             []
1504         ]
1505     },
1506     {
1507         "id": "cb87a76a.e40008",
1508         "type": "execute",
1509         "name": "prepare dLThptPerSlice",
1510         "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`\"/>",
1511         "comments": "",
1512         "outputs": 1,
1513         "x": 967.5000534057617,
1514         "y": 1069.2500505447388,
1515         "z": "5f252e33.a33cf",
1516         "wires": [
1517             []
1518         ]
1519     },
1520     {
1521         "id": "980e81c9.86c58",
1522         "type": "record",
1523         "name": "record",
1524         "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",
1525         "comments": "",
1526         "outputs": 1,
1527         "x": 920.7499885559082,
1528         "y": 1104.750005722046,
1529         "z": "5f252e33.a33cf",
1530         "wires": [
1531             []
1532         ]
1533     },
1534     {
1535         "id": "254226ee.71112a",
1536         "type": "success",
1537         "name": "success",
1538         "xml": "<outcome value='success'>\n",
1539         "comments": "",
1540         "outputs": 1,
1541         "x": 1208.2500495910645,
1542         "y": 1153.2500610351562,
1543         "z": "5f252e33.a33cf",
1544         "wires": [
1545             [
1546                 "22771b61.2cda14"
1547             ]
1548         ]
1549     },
1550     {
1551         "id": "b712dc15.05385",
1552         "type": "failure",
1553         "name": "failure",
1554         "xml": "<outcome value='failure'>\n",
1555         "comments": "",
1556         "outputs": 1,
1557         "x": 1206.8127937316895,
1558         "y": 1202.812560081482,
1559         "z": "5f252e33.a33cf",
1560         "wires": [
1561             [
1562                 "4fea49bd.fe2388"
1563             ]
1564         ]
1565     },
1566     {
1567         "id": "22771b61.2cda14",
1568         "type": "block",
1569         "name": "block : atomic",
1570         "xml": "<block atomic='true'>",
1571         "atomic": "true",
1572         "comments": "",
1573         "outputs": 1,
1574         "x": 1377.2498016357422,
1575         "y": 1147.2500848770142,
1576         "z": "5f252e33.a33cf",
1577         "wires": [
1578             [
1579                 "d903f820.f444e8"
1580             ]
1581         ]
1582     },
1583     {
1584         "id": "4fea49bd.fe2388",
1585         "type": "block",
1586         "name": "block",
1587         "xml": "<block>",
1588         "atomic": "false",
1589         "comments": "",
1590         "outputs": 1,
1591         "x": 1367.812656402588,
1592         "y": 1180.8124866485596,
1593         "z": "5f252e33.a33cf",
1594         "wires": [
1595             [
1596                 "6b0dcac7.653f04",
1597                 "d166108f.4e6e9",
1598                 "d1283c41.99619"
1599             ]
1600         ]
1601     },
1602     {
1603         "id": "d903f820.f444e8",
1604         "type": "record",
1605         "name": "record",
1606         "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\"/>",
1607         "comments": "",
1608         "outputs": 1,
1609         "x": 1588.9996070861816,
1610         "y": 1070.0001726150513,
1611         "z": "5f252e33.a33cf",
1612         "wires": [
1613             []
1614         ]
1615     },
1616     {
1617         "id": "d166108f.4e6e9",
1618         "type": "set",
1619         "name": "set",
1620         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1621         "comments": "",
1622         "x": 1593.8132057189941,
1623         "y": 1125.9235124588013,
1624         "z": "5f252e33.a33cf",
1625         "wires": []
1626     },
1627     {
1628         "id": "6b0dcac7.653f04",
1629         "type": "returnFailure",
1630         "name": "return failure",
1631         "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'/>",
1632         "comments": "",
1633         "x": 1554.8127212524414,
1634         "y": 1176.8125047683716,
1635         "z": "5f252e33.a33cf",
1636         "wires": []
1637     },
1638     {
1639         "id": "634c2bb2.ec0d74",
1640         "type": "execute",
1641         "name": "patch NearRTRIC - config",
1642         "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' />",
1643         "comments": "",
1644         "outputs": 1,
1645         "x": 975.7500495910645,
1646         "y": 1152.0000486373901,
1647         "z": "5f252e33.a33cf",
1648         "wires": [
1649             [
1650                 "254226ee.71112a",
1651                 "b712dc15.05385"
1652             ]
1653         ]
1654     },
1655     {
1656         "id": "df7bf9ae.94bdc8",
1657         "type": "set",
1658         "name": "set tmp variables for SO response",
1659         "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",
1660         "comments": "",
1661         "x": 396.6875,
1662         "y": 1521.625,
1663         "z": "5f252e33.a33cf",
1664         "wires": []
1665     },
1666     {
1667         "id": "21948f3c.24718",
1668         "type": "execute",
1669         "name": "Send to SO",
1670         "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`\"/>",
1671         "comments": "",
1672         "outputs": 1,
1673         "x": 234.1875,
1674         "y": 1765.375,
1675         "z": "5f252e33.a33cf",
1676         "wires": [
1677             [
1678                 "939ba489.ed0548",
1679                 "b4c4757.1343e88"
1680             ]
1681         ]
1682     },
1683     {
1684         "id": "56983d51.97d134",
1685         "type": "outcome",
1686         "name": "Not Mounted",
1687         "xml": "<outcome value='false'>\n",
1688         "comments": "",
1689         "outputs": 1,
1690         "x": 1611.7500648498535,
1691         "y": 1272.0000343322754,
1692         "z": "5f252e33.a33cf",
1693         "wires": [
1694             [
1695                 "347c901c.f57fc"
1696             ]
1697         ]
1698     },
1699     {
1700         "id": "8fd887f2.184388",
1701         "type": "outcome",
1702         "name": "Mounted",
1703         "xml": "<outcome value='true'>\n",
1704         "comments": "",
1705         "outputs": 1,
1706         "x": 1605.750144958496,
1707         "y": 1309.0001730918884,
1708         "z": "5f252e33.a33cf",
1709         "wires": [
1710             [
1711                 "b5b0f4da.2a94f8"
1712             ]
1713         ]
1714     },
1715     {
1716         "id": "b5b0f4da.2a94f8",
1717         "type": "block",
1718         "name": "ransim  URL",
1719         "xml": "<block atomic='true'>",
1720         "atomic": "true",
1721         "comments": "",
1722         "outputs": 1,
1723         "x": 1782.7399826049805,
1724         "y": 1320.0001587867737,
1725         "z": "5f252e33.a33cf",
1726         "wires": [
1727             [
1728                 "de39e99d.91e718",
1729                 "d8dbdef.850312"
1730             ]
1731         ]
1732     },
1733     {
1734         "id": "347c901c.f57fc",
1735         "type": "block",
1736         "name": "URL",
1737         "xml": "<block atomic='true'>",
1738         "atomic": "true",
1739         "comments": "",
1740         "outputs": 1,
1741         "x": 1770.9515895843506,
1742         "y": 1278.599229335785,
1743         "z": "5f252e33.a33cf",
1744         "wires": [
1745             [
1746                 "24fd614b.3d8d5e"
1747             ]
1748         ]
1749     },
1750     {
1751         "id": "24fd614b.3d8d5e",
1752         "type": "execute",
1753         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1754         "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`\"/>",
1755         "comments": "",
1756         "outputs": 1,
1757         "x": 2052.7501258850098,
1758         "y": 1269.000370502472,
1759         "z": "5f252e33.a33cf",
1760         "wires": [
1761             []
1762         ]
1763     },
1764     {
1765         "id": "de39e99d.91e718",
1766         "type": "execute",
1767         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1768         "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`\"/>",
1769         "comments": "",
1770         "outputs": 1,
1771         "x": 2102.2845211029053,
1772         "y": 1310.5994692146778,
1773         "z": "5f252e33.a33cf",
1774         "wires": [
1775             []
1776         ]
1777     },
1778     {
1779         "id": "d8dbdef.850312",
1780         "type": "execute",
1781         "name": "Populate MOUNT NAME",
1782         "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`\"/>",
1783         "comments": "",
1784         "outputs": 1,
1785         "x": 2045.2850379943848,
1786         "y": 1355.5992321968079,
1787         "z": "5f252e33.a33cf",
1788         "wires": [
1789             []
1790         ]
1791     },
1792     {
1793         "id": "fcb5f85e.06d5e8",
1794         "type": "switchNode",
1795         "name": "ransim mounted",
1796         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1797         "comments": "",
1798         "outputs": 1,
1799         "x": 1421.750129699707,
1800         "y": 1265.0000324249268,
1801         "z": "5f252e33.a33cf",
1802         "wires": [
1803             [
1804                 "56983d51.97d134",
1805                 "8fd887f2.184388"
1806             ]
1807         ]
1808     },
1809     {
1810         "id": "4520cb68.eccc24",
1811         "type": "execute",
1812         "name": "prepare mcc",
1813         "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`\"/>",
1814         "comments": "",
1815         "outputs": 1,
1816         "x": 1416.7500648498535,
1817         "y": 1337.0000343322754,
1818         "z": "5f252e33.a33cf",
1819         "wires": [
1820             []
1821         ]
1822     },
1823     {
1824         "id": "87c33e7d.24dfe",
1825         "type": "execute",
1826         "name": "prepare mnc",
1827         "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`\"/>",
1828         "comments": "",
1829         "outputs": 1,
1830         "x": 1418.2500381469727,
1831         "y": 1376.9999737739563,
1832         "z": "5f252e33.a33cf",
1833         "wires": [
1834             []
1835         ]
1836     },
1837     {
1838         "id": "66f7c548.c1aa4c",
1839         "type": "block",
1840         "name": "block : atomic",
1841         "xml": "<block atomic=\"true\">",
1842         "atomic": "true",
1843         "outputs": 1,
1844         "x": 1222.7500228881836,
1845         "y": 1316.0000658035278,
1846         "z": "5f252e33.a33cf",
1847         "wires": [
1848             [
1849                 "fcb5f85e.06d5e8",
1850                 "4520cb68.eccc24",
1851                 "87c33e7d.24dfe",
1852                 "cf7a5e5c.ce317",
1853                 "66572c39.8a7984",
1854                 "60ab8f2.13c9e7",
1855                 "deb76f28.753e4"
1856             ]
1857         ]
1858     },
1859     {
1860         "id": "cf7a5e5c.ce317",
1861         "type": "for",
1862         "name": "For Number of cells",
1863         "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
1864         "comments": "",
1865         "outputs": 1,
1866         "x": 1432.0001907348633,
1867         "y": 1481.0000686645508,
1868         "z": "5f252e33.a33cf",
1869         "wires": [
1870             [
1871                 "7bfb4094.f7823"
1872             ]
1873         ]
1874     },
1875     {
1876         "id": "feb8b8ae.6c35d8",
1877         "type": "execute",
1878         "name": "cellLocalId",
1879         "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'`\" />",
1880         "comments": "",
1881         "outputs": 1,
1882         "x": 1855.250129699707,
1883         "y": 1387.5003032684326,
1884         "z": "5f252e33.a33cf",
1885         "wires": [
1886             []
1887         ]
1888     },
1889     {
1890         "id": "7bfb4094.f7823",
1891         "type": "block",
1892         "name": "block : atomic",
1893         "xml": "<block atomic=\"true\">",
1894         "atomic": "true",
1895         "outputs": 1,
1896         "x": 1641.75,
1897         "y": 1478.0000267028809,
1898         "z": "5f252e33.a33cf",
1899         "wires": [
1900             [
1901                 "feb8b8ae.6c35d8",
1902                 "92007a2e.f580d8",
1903                 "974e7c2.15de58",
1904                 "4c94085a.46c568",
1905                 "9a531568.d94688"
1906             ]
1907         ]
1908     },
1909     {
1910         "id": "92007a2e.f580d8",
1911         "type": "execute",
1912         "name": "predictedMaxNumberofConns",
1913         "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'`\" />",
1914         "comments": "",
1915         "outputs": 1,
1916         "x": 1899.5000076293945,
1917         "y": 1517.500150680542,
1918         "z": "5f252e33.a33cf",
1919         "wires": [
1920             []
1921         ]
1922     },
1923     {
1924         "id": "974e7c2.15de58",
1925         "type": "execute",
1926         "name": "patch NearRTRIC - config",
1927         "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' />",
1928         "comments": "",
1929         "outputs": 1,
1930         "x": 1890.25,
1931         "y": 1592.0000267028809,
1932         "z": "5f252e33.a33cf",
1933         "wires": [
1934             [
1935                 "bdb3704d.d18cc",
1936                 "8f20da78.3f0e88"
1937             ]
1938         ]
1939     },
1940     {
1941         "id": "bdb3704d.d18cc",
1942         "type": "success",
1943         "name": "success",
1944         "xml": "<outcome value='success'>\n",
1945         "comments": "",
1946         "outputs": 1,
1947         "x": 2122.75,
1948         "y": 1593.250039100647,
1949         "z": "5f252e33.a33cf",
1950         "wires": [
1951             [
1952                 "361b3ab0.fd1d76"
1953             ]
1954         ]
1955     },
1956     {
1957         "id": "8f20da78.3f0e88",
1958         "type": "failure",
1959         "name": "failure",
1960         "xml": "<outcome value='failure'>\n",
1961         "comments": "",
1962         "outputs": 1,
1963         "x": 2121.312744140625,
1964         "y": 1642.8125381469727,
1965         "z": "5f252e33.a33cf",
1966         "wires": [
1967             [
1968                 "e1224ba7.82cf98"
1969             ]
1970         ]
1971     },
1972     {
1973         "id": "e1224ba7.82cf98",
1974         "type": "block",
1975         "name": "block",
1976         "xml": "<block>",
1977         "atomic": "false",
1978         "comments": "",
1979         "outputs": 1,
1980         "x": 2282.3126068115234,
1981         "y": 1620.8124647140503,
1982         "z": "5f252e33.a33cf",
1983         "wires": [
1984             [
1985                 "a32438e8.972098",
1986                 "9b7c4a1c.ea8998",
1987                 "d1283c41.99619"
1988             ]
1989         ]
1990     },
1991     {
1992         "id": "361b3ab0.fd1d76",
1993         "type": "block",
1994         "name": "block : atomic",
1995         "xml": "<block atomic='true'>",
1996         "atomic": "true",
1997         "comments": "",
1998         "outputs": 1,
1999         "x": 2291.7497520446777,
2000         "y": 1587.2500629425049,
2001         "z": "5f252e33.a33cf",
2002         "wires": [
2003             [
2004                 "62fe38b5.e9ae58"
2005             ]
2006         ]
2007     },
2008     {
2009         "id": "a32438e8.972098",
2010         "type": "returnFailure",
2011         "name": "return failure",
2012         "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'/>",
2013         "comments": "",
2014         "x": 2469.312671661377,
2015         "y": 1616.8124828338623,
2016         "z": "5f252e33.a33cf",
2017         "wires": []
2018     },
2019     {
2020         "id": "9b7c4a1c.ea8998",
2021         "type": "set",
2022         "name": "set",
2023         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
2024         "comments": "",
2025         "x": 2508.3131561279297,
2026         "y": 1565.923490524292,
2027         "z": "5f252e33.a33cf",
2028         "wires": []
2029     },
2030     {
2031         "id": "62fe38b5.e9ae58",
2032         "type": "record",
2033         "name": "record",
2034         "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\"/>",
2035         "comments": "",
2036         "outputs": 1,
2037         "x": 2503.499557495117,
2038         "y": 1510.000150680542,
2039         "z": "5f252e33.a33cf",
2040         "wires": [
2041             []
2042         ]
2043     },
2044     {
2045         "id": "18d141c3.8dce1e",
2046         "type": "record",
2047         "name": "record",
2048         "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",
2049         "comments": "",
2050         "outputs": 1,
2051         "x": 791.5,
2052         "y": 1286.0000267028809,
2053         "z": "5f252e33.a33cf",
2054         "wires": [
2055             []
2056         ]
2057     },
2058     {
2059         "id": "66572c39.8a7984",
2060         "type": "execute",
2061         "name": "CUCellListEntries",
2062         "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",
2063         "comments": "",
2064         "outputs": 1,
2065         "x": 1433.0000076293945,
2066         "y": 1411.2500371932983,
2067         "z": "5f252e33.a33cf",
2068         "wires": [
2069             []
2070         ]
2071     },
2072     {
2073         "id": "60ab8f2.13c9e7",
2074         "type": "record",
2075         "name": "record",
2076         "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",
2077         "comments": "",
2078         "outputs": 1,
2079         "x": 1413,
2080         "y": 1444.2500267028809,
2081         "z": "5f252e33.a33cf",
2082         "wires": [
2083             []
2084         ]
2085     },
2086     {
2087         "id": "4c94085a.46c568",
2088         "type": "record",
2089         "name": "record",
2090         "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",
2091         "comments": "",
2092         "outputs": 1,
2093         "x": 1835.7502555847168,
2094         "y": 1554.750060081482,
2095         "z": "5f252e33.a33cf",
2096         "wires": [
2097             []
2098         ]
2099     },
2100     {
2101         "id": "deb76f28.753e4",
2102         "type": "set",
2103         "name": "set Temp Variables",
2104         "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
2105         "comments": "",
2106         "x": 1438.5,
2107         "y": 1220.5000267028809,
2108         "z": "5f252e33.a33cf",
2109         "wires": []
2110     },
2111     {
2112         "id": "85de8030.757e7",
2113         "type": "block",
2114         "name": "block : atomic",
2115         "xml": "<block atomic=\"true\">",
2116         "atomic": "true",
2117         "outputs": 1,
2118         "x": 1231.5000457763672,
2119         "y": 818.0000505447388,
2120         "z": "5f252e33.a33cf",
2121         "wires": [
2122             [
2123                 "f51a44eb.c731e8",
2124                 "51aa2bd.e1a5ad4"
2125             ]
2126         ]
2127     },
2128     {
2129         "id": "51aa2bd.e1a5ad4",
2130         "type": "set",
2131         "name": "set mcc & mnc Variables",
2132         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
2133         "comments": "",
2134         "x": 1443.2271423339844,
2135         "y": 875.5577511787415,
2136         "z": "5f252e33.a33cf",
2137         "wires": []
2138     },
2139     {
2140         "id": "f51a44eb.c731e8",
2141         "type": "execute",
2142         "name": "split pLMNId",
2143         "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\" />",
2144         "comments": "",
2145         "outputs": 1,
2146         "x": 1450.7724609375,
2147         "y": 831.5123405456543,
2148         "z": "5f252e33.a33cf",
2149         "wires": [
2150             []
2151         ]
2152     },
2153     {
2154         "id": "db708a57.04b7e8",
2155         "type": "set",
2156         "name": "append configParam",
2157         "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'\" />",
2158         "comments": "",
2159         "x": 1881.3125076293945,
2160         "y": 1481.6250591278076,
2161         "z": "5f252e33.a33cf",
2162         "wires": []
2163     },
2164     {
2165         "id": "9a531568.d94688",
2166         "type": "execute",
2167         "name": "append configParam",
2168         "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\" />",
2169         "comments": "",
2170         "outputs": 1,
2171         "x": 1857.2500457763672,
2172         "y": 1434.7500591278076,
2173         "z": "5f252e33.a33cf",
2174         "wires": [
2175             []
2176         ]
2177     },
2178     {
2179         "id": "6be4f0df.7a03f",
2180         "type": "switchNode",
2181         "name": "check nearrtric",
2182         "xml": "<switch test='`$tmp.nearRTRICId == 11 `'>\n",
2183         "comments": "",
2184         "outputs": 1,
2185         "x": 1184.4000663757324,
2186         "y": 230.00000381469727,
2187         "z": "5f252e33.a33cf",
2188         "wires": [
2189             [
2190                 "54128a9a.4f7584",
2191                 "f4d2afe1.68c06"
2192             ]
2193         ]
2194     },
2195     {
2196         "id": "54128a9a.4f7584",
2197         "type": "outcome",
2198         "name": "True",
2199         "xml": "<outcome value='true'>\n",
2200         "comments": "",
2201         "outputs": 1,
2202         "x": 1366.6002655029297,
2203         "y": 70.00000762939453,
2204         "z": "5f252e33.a33cf",
2205         "wires": [
2206             [
2207                 "aa8b60a2.54a63"
2208             ]
2209         ]
2210     },
2211     {
2212         "id": "f4d2afe1.68c06",
2213         "type": "outcome",
2214         "name": "False",
2215         "xml": "<outcome value='false'>\n",
2216         "comments": "",
2217         "outputs": 1,
2218         "x": 1388.400047302246,
2219         "y": 153.00000190734863,
2220         "z": "5f252e33.a33cf",
2221         "wires": [
2222             [
2223                 "df472963.fe6828"
2224             ]
2225         ]
2226     },
2227     {
2228         "id": "23e2530f.989e4c",
2229         "type": "block",
2230         "name": "block : atomic",
2231         "xml": "<block atomic='true'>",
2232         "atomic": "true",
2233         "comments": "",
2234         "outputs": 1,
2235         "x": 1449.400047302246,
2236         "y": 276.00000381469727,
2237         "z": "5f252e33.a33cf",
2238         "wires": [
2239             [
2240                 "98bcc202.ade0d"
2241             ]
2242         ]
2243     },
2244     {
2245         "id": "98bcc202.ade0d",
2246         "type": "execute",
2247         "name": "check policytype",
2248         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.policytype.url`\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='GET' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='get-policytypes-responsse' />",
2249         "comments": "",
2250         "outputs": 1,
2251         "x": 1735.0000534057617,
2252         "y": 255.00000381469727,
2253         "z": "5f252e33.a33cf",
2254         "wires": [
2255             [
2256                 "5deb8749.c984b8",
2257                 "678983bb.5d748c"
2258             ]
2259         ]
2260     },
2261     {
2262         "id": "5deb8749.c984b8",
2263         "type": "success",
2264         "name": "success",
2265         "xml": "<outcome value='success'>\n",
2266         "comments": "",
2267         "outputs": 1,
2268         "x": 1950.0002708435059,
2269         "y": 126.00000381469727,
2270         "z": "5f252e33.a33cf",
2271         "wires": [
2272             [
2273                 "cfcb9c15.69ac2"
2274             ]
2275         ]
2276     },
2277     {
2278         "id": "cfcb9c15.69ac2",
2279         "type": "block",
2280         "name": "block : atomic",
2281         "xml": "<block atomic='true'>",
2282         "atomic": "true",
2283         "comments": "",
2284         "outputs": 1,
2285         "x": 2167.000274658203,
2286         "y": 123.56728744506836,
2287         "z": "5f252e33.a33cf",
2288         "wires": [
2289             [
2290                 "75203dce.8bbf24",
2291                 "cbd82b5f.87c958",
2292                 "bd81af88.a24eb",
2293                 "5ee6252e.c7b4bc"
2294             ]
2295         ]
2296     },
2297     {
2298         "id": "75203dce.8bbf24",
2299         "type": "record",
2300         "name": "record",
2301         "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=\"policy types length \"/>\n<parameter name=\"field2\" value=\"`$tmp.policytypelength`\"/>",
2302         "comments": "",
2303         "outputs": 1,
2304         "x": 2466.0002784729004,
2305         "y": 107.56728744506836,
2306         "z": "5f252e33.a33cf",
2307         "wires": [
2308             []
2309         ]
2310     },
2311     {
2312         "id": "678983bb.5d748c",
2313         "type": "failure",
2314         "name": "failure",
2315         "xml": "<outcome value='failure'>\n",
2316         "comments": "",
2317         "outputs": 1,
2318         "x": 1931.0000038146973,
2319         "y": 259.56736183166504,
2320         "z": "5f252e33.a33cf",
2321         "wires": [
2322             [
2323                 "d6079989.8655c8"
2324             ]
2325         ]
2326     },
2327     {
2328         "id": "d6079989.8655c8",
2329         "type": "block",
2330         "name": "block : atomic",
2331         "xml": "<block atomic='true'>",
2332         "atomic": "true",
2333         "comments": "",
2334         "outputs": 1,
2335         "x": 2077.999931335449,
2336         "y": 257.56736183166504,
2337         "z": "5f252e33.a33cf",
2338         "wires": [
2339             [
2340                 "b2765008.3daf3"
2341             ]
2342         ]
2343     },
2344     {
2345         "id": "b2765008.3daf3",
2346         "type": "record",
2347         "name": "record",
2348         "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=\"req error \"/>\n<parameter name=\"field2\" value=\"Failure\"/>",
2349         "comments": "",
2350         "outputs": 1,
2351         "x": 2242.9999351501465,
2352         "y": 256.56736183166504,
2353         "z": "5f252e33.a33cf",
2354         "wires": [
2355             []
2356         ]
2357     },
2358     {
2359         "id": "cbd82b5f.87c958",
2360         "type": "execute",
2361         "name": "getpolicylength",
2362         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.policytypelength' />\n\t<parameter name='source' value=\"`'get-policytypes-responsse._length'`\" />",
2363         "comments": "",
2364         "outputs": 1,
2365         "x": 2456.6897354125977,
2366         "y": 51.00000286102295,
2367         "z": "5f252e33.a33cf",
2368         "wires": [
2369             []
2370         ]
2371     },
2372     {
2373         "id": "bd81af88.a24eb",
2374         "type": "switchNode",
2375         "name": "check the action",
2376         "xml": "<switch test='`$tmp.policytypelength > 0`'>\n",
2377         "comments": "",
2378         "outputs": 1,
2379         "x": 2473.0002822875977,
2380         "y": 177.00000381469727,
2381         "z": "5f252e33.a33cf",
2382         "wires": [
2383             [
2384                 "8aa087fa.67cfc8",
2385                 "d6c803c3.fb98"
2386             ]
2387         ]
2388     },
2389     {
2390         "id": "8aa087fa.67cfc8",
2391         "type": "outcome",
2392         "name": "True",
2393         "xml": "<outcome value='true'>\n",
2394         "comments": "",
2395         "outputs": 1,
2396         "x": 2717.6001358032227,
2397         "y": 140.00000286102295,
2398         "z": "5f252e33.a33cf",
2399         "wires": [
2400             [
2401                 "13d06ca0.5dbcd3"
2402             ]
2403         ]
2404     },
2405     {
2406         "id": "d6c803c3.fb98",
2407         "type": "outcome",
2408         "name": "False",
2409         "xml": "<outcome value='false'>\n",
2410         "comments": "",
2411         "outputs": 1,
2412         "x": 2761.60013961792,
2413         "y": 205.00000381469727,
2414         "z": "5f252e33.a33cf",
2415         "wires": [
2416             [
2417                 "3e9843f7.c203fc"
2418             ]
2419         ]
2420     },
2421     {
2422         "id": "13d06ca0.5dbcd3",
2423         "type": "block",
2424         "name": "block : atomic",
2425         "xml": "<block atomic='true'>",
2426         "atomic": "true",
2427         "comments": "",
2428         "outputs": 1,
2429         "x": 2892.600143432617,
2430         "y": 144.00000381469727,
2431         "z": "5f252e33.a33cf",
2432         "wires": [
2433             [
2434                 "c95249c8.6b8dc8"
2435             ]
2436         ]
2437     },
2438     {
2439         "id": "3e9843f7.c203fc",
2440         "type": "block",
2441         "name": "block : atomic",
2442         "xml": "<block atomic='true'>",
2443         "atomic": "true",
2444         "comments": "",
2445         "outputs": 1,
2446         "x": 2944.6005325317383,
2447         "y": 219.00000381469727,
2448         "z": "5f252e33.a33cf",
2449         "wires": [
2450             [
2451                 "80313cf0.7668c",
2452                 "165a66bf.5c13a9"
2453             ]
2454         ]
2455     },
2456     {
2457         "id": "c95249c8.6b8dc8",
2458         "type": "record",
2459         "name": "record",
2460         "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=\"policy type already exists \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
2461         "comments": "",
2462         "outputs": 1,
2463         "x": 3049.600143432617,
2464         "y": 141.00000286102295,
2465         "z": "5f252e33.a33cf",
2466         "wires": [
2467             []
2468         ]
2469     },
2470     {
2471         "id": "80313cf0.7668c",
2472         "type": "execute",
2473         "name": "create policytype",
2474         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policytype.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='POST' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='dmaap' />",
2475         "comments": "",
2476         "outputs": 1,
2477         "x": 3174.6005325317383,
2478         "y": 254.00000381469727,
2479         "z": "5f252e33.a33cf",
2480         "wires": [
2481             [
2482                 "79c7ffdf.e0157"
2483             ]
2484         ]
2485     },
2486     {
2487         "id": "165a66bf.5c13a9",
2488         "type": "record",
2489         "name": "record",
2490         "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=\"creating new policy \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
2491         "comments": "",
2492         "outputs": 1,
2493         "x": 3157.400535583496,
2494         "y": 195.00000381469727,
2495         "z": "5f252e33.a33cf",
2496         "wires": [
2497             []
2498         ]
2499     },
2500     {
2501         "id": "79c7ffdf.e0157",
2502         "type": "success",
2503         "name": "success",
2504         "xml": "<outcome value='success'>\n",
2505         "comments": "",
2506         "outputs": 1,
2507         "x": 3372.411087036133,
2508         "y": 250.200101852417,
2509         "z": "5f252e33.a33cf",
2510         "wires": [
2511             [
2512                 "81ba09b0.b2c248"
2513             ]
2514         ]
2515     },
2516     {
2517         "id": "2067e4a0.d42c6c",
2518         "type": "record",
2519         "name": "record",
2520         "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=\"Create policytype \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
2521         "comments": "",
2522         "outputs": 1,
2523         "x": 3731.0001525878906,
2524         "y": 256.00000381469727,
2525         "z": "5f252e33.a33cf",
2526         "wires": [
2527             []
2528         ]
2529     },
2530     {
2531         "id": "81ba09b0.b2c248",
2532         "type": "block",
2533         "name": "block : atomic",
2534         "xml": "<block atomic='true'>",
2535         "atomic": "true",
2536         "comments": "",
2537         "outputs": 1,
2538         "x": 3548.0001525878906,
2539         "y": 254.00000381469727,
2540         "z": "5f252e33.a33cf",
2541         "wires": [
2542             [
2543                 "2067e4a0.d42c6c"
2544             ]
2545         ]
2546     },
2547     {
2548         "id": "5ee6252e.c7b4bc",
2549         "type": "execute",
2550         "name": "create policyinstance ",
2551         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policyinstance.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='POST' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='dmaap-res' />",
2552         "comments": "",
2553         "outputs": 1,
2554         "x": 2518.2000427246094,
2555         "y": 271.0000057220459,
2556         "z": "5f252e33.a33cf",
2557         "wires": [
2558             [
2559                 "eaf200d7.f7196"
2560             ]
2561         ]
2562     },
2563     {
2564         "id": "9185c060.6e10b",
2565         "type": "record",
2566         "name": "record",
2567         "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=\"Create policyinstance \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
2568         "comments": "",
2569         "outputs": 1,
2570         "x": 3172.5998497009277,
2571         "y": 308.0000057220459,
2572         "z": "5f252e33.a33cf",
2573         "wires": [
2574             []
2575         ]
2576     },
2577     {
2578         "id": "108685c0.b9882a",
2579         "type": "block",
2580         "name": "block : atomic",
2581         "xml": "<block atomic='true'>",
2582         "atomic": "true",
2583         "comments": "",
2584         "outputs": 1,
2585         "x": 2966.599655151367,
2586         "y": 291.0000057220459,
2587         "z": "5f252e33.a33cf",
2588         "wires": [
2589             [
2590                 "9185c060.6e10b"
2591             ]
2592         ]
2593     },
2594     {
2595         "id": "eaf200d7.f7196",
2596         "type": "success",
2597         "name": "success",
2598         "xml": "<outcome value='success'>\n",
2599         "comments": "",
2600         "outputs": 1,
2601         "x": 2791.5994567871094,
2602         "y": 283.1999568939209,
2603         "z": "5f252e33.a33cf",
2604         "wires": [
2605             [
2606                 "108685c0.b9882a"
2607             ]
2608         ]
2609     },
2610     {
2611         "id": "aa8b60a2.54a63",
2612         "type": "set",
2613         "name": "set Temp Variables",
2614         "xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric11`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric11`\"/>\n",
2615         "comments": "",
2616         "x": 1549.800048828125,
2617         "y": 63,
2618         "z": "5f252e33.a33cf",
2619         "wires": []
2620     },
2621     {
2622         "id": "df472963.fe6828",
2623         "type": "set",
2624         "name": "set Temp Variables",
2625         "xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric22`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric22`\"/>\n",
2626         "comments": "",
2627         "x": 1573.800048828125,
2628         "y": 151.00000190734863,
2629         "z": "5f252e33.a33cf",
2630         "wires": []
2631     },
2632     {
2633         "id": "51261cb1.441374",
2634         "type": "comment",
2635         "name": "A1-adaptor simulators",
2636         "info": "Currently have configured to support 2 near-rt-ric simulators.\nNear-rt-ric simulators has to be run separately and corresponding ip can be configured in the properties file",
2637         "comments": "",
2638         "x": 798,
2639         "y": 67,
2640         "z": "5f252e33.a33cf",
2641         "wires": []
2642     }
2643 ]