SDN-R RANSlice Reconfigure-CPS bug
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceReconfigure-cps.json
1 [
2     {
3         "id": "42f24ac3.754624",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSliceReconfigure-cps' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 303,
10         "y": 249.00003242492676,
11         "z": "b04c02f8.7bb8d",
12         "wires": [
13             [
14                 "6fbe4157.c9fba"
15             ]
16         ]
17     },
18     {
19         "id": "68c47b35.8bd004",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 99.99996185302734,
24         "y": 138.00000381469727,
25         "z": "b04c02f8.7bb8d",
26         "wires": [
27             [
28                 "32a0c031.fb28c"
29             ]
30         ]
31     },
32     {
33         "id": "32a0c031.fb28c",
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": 345.9999313354492,
42         "y": 139.0000867843628,
43         "z": "b04c02f8.7bb8d",
44         "wires": [
45             [
46                 "42f24ac3.754624"
47             ]
48         ]
49     },
50     {
51         "id": "60662e74.a50a6",
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": 297.48958587646484,
57         "y": 2175.0003185272217,
58         "z": "b04c02f8.7bb8d",
59         "wires": []
60     },
61     {
62         "id": "a444d1ed.5fe8d",
63         "type": "comment",
64         "name": "instantiateRANSliceReconfigure-cps",
65         "info": "",
66         "comments": "",
67         "x": 396.99996185302734,
68         "y": 50.01041030883789,
69         "z": "b04c02f8.7bb8d",
70         "wires": []
71     },
72     {
73         "id": "6fbe4157.c9fba",
74         "type": "block",
75         "name": "block : atomic",
76         "xml": "<block atomic='true'>",
77         "atomic": "true",
78         "comments": "",
79         "outputs": 1,
80         "x": 206.99993133544922,
81         "y": 356.0104103088379,
82         "z": "b04c02f8.7bb8d",
83         "wires": [
84             [
85                 "60662e74.a50a6",
86                 "6a170387.02670c",
87                 "a21c2c88.d65f1",
88                 "6d292701.0f0e88"
89             ]
90         ]
91     },
92     {
93         "id": "f750a079.5d59a",
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": 3973.9898681640625,
100         "y": 7777.020887136459,
101         "z": "b04c02f8.7bb8d",
102         "wires": [
103             [
104                 "5930a984.62d918"
105             ]
106         ]
107     },
108     {
109         "id": "5930a984.62d918",
110         "type": "success",
111         "name": "success",
112         "xml": "<outcome value='success'>\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 4310.98974609375,
116         "y": 7803.010389089584,
117         "z": "b04c02f8.7bb8d",
118         "wires": [
119             [
120                 "28356d0d.823232"
121             ]
122         ]
123     },
124     {
125         "id": "28356d0d.823232",
126         "type": "block",
127         "name": "block",
128         "xml": "<block>\n",
129         "atomic": "false",
130         "comments": "",
131         "outputs": 1,
132         "x": 4490.989501953125,
133         "y": 7800.010389089584,
134         "z": "b04c02f8.7bb8d",
135         "wires": [
136             [
137                 "c5222768.8a94a8"
138             ]
139         ]
140     },
141     {
142         "id": "c5222768.8a94a8",
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": 4639.989803314209,
149         "y": 7826.010581731796,
150         "z": "b04c02f8.7bb8d",
151         "wires": [
152             []
153         ]
154     },
155     {
156         "id": "6d292701.0f0e88",
157         "type": "block",
158         "name": "SO Response",
159         "xml": "<block atomic='true'>",
160         "atomic": "true",
161         "comments": "",
162         "outputs": 1,
163         "x": 326.74996185302734,
164         "y": 2125.2646474838257,
165         "z": "b04c02f8.7bb8d",
166         "wires": [
167             [
168                 "61e9ed94.6389d4",
169                 "c1d3c078.e00ce",
170                 "d1a22b52.a80928",
171                 "8838ef19.ecca5"
172             ]
173         ]
174     },
175     {
176         "id": "61e9ed94.6389d4",
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": 728.9999542236328,
183         "y": 2243.0149488449097,
184         "z": "b04c02f8.7bb8d",
185         "wires": [
186             []
187         ]
188     },
189     {
190         "id": "c92ba98c.0d9f18",
191         "type": "failure",
192         "name": "failure",
193         "xml": "<outcome value='failure'>\n",
194         "comments": "",
195         "outputs": 1,
196         "x": 867.0000305175781,
197         "y": 2306.0147609710693,
198         "z": "b04c02f8.7bb8d",
199         "wires": [
200             [
201                 "71478961.75a668"
202             ]
203         ]
204     },
205     {
206         "id": "3d4bab2b.d62b14",
207         "type": "success",
208         "name": "success",
209         "xml": "<outcome value='success'>\n",
210         "comments": "",
211         "outputs": 1,
212         "x": 858.9999237060547,
213         "y": 2379.014711380005,
214         "z": "b04c02f8.7bb8d",
215         "wires": [
216             [
217                 "fc7f3410.4219d8"
218             ]
219         ]
220     },
221     {
222         "id": "fc7f3410.4219d8",
223         "type": "block",
224         "name": "block",
225         "xml": "<block>\n",
226         "atomic": "false",
227         "comments": "",
228         "outputs": 1,
229         "x": 1004.9997673034668,
230         "y": 2384.014820098877,
231         "z": "b04c02f8.7bb8d",
232         "wires": [
233             [
234                 "e6f92ca5.daeda"
235             ]
236         ]
237     },
238     {
239         "id": "71478961.75a668",
240         "type": "block",
241         "name": "block",
242         "xml": "<block>\n",
243         "atomic": "false",
244         "comments": "",
245         "outputs": 1,
246         "x": 1015.9999313354492,
247         "y": 2302.0148963928223,
248         "z": "b04c02f8.7bb8d",
249         "wires": [
250             [
251                 "c55e0c91.0890b",
252                 "310e18e.a5284e8"
253             ]
254         ]
255     },
256     {
257         "id": "c55e0c91.0890b",
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": 1184.9995651245117,
263         "y": 2303.0146522521973,
264         "z": "b04c02f8.7bb8d",
265         "wires": []
266     },
267     {
268         "id": "e6f92ca5.daeda",
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": 1185.9996871948242,
275         "y": 2388.0146522521973,
276         "z": "b04c02f8.7bb8d",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "e70e6789.6b9e38",
283         "type": "block",
284         "name": "block : SO Response",
285         "xml": "<block atomic='true'>",
286         "atomic": "true",
287         "comments": "",
288         "outputs": 1,
289         "x": 3989.4910583496094,
290         "y": 1243.0105800628662,
291         "z": "b04c02f8.7bb8d",
292         "wires": [
293             [
294                 "cfa9199c.ecfbc8",
295                 "2f82500f.1af2a",
296                 "b303f8a6.9e7e58"
297             ]
298         ]
299     },
300     {
301         "id": "cfa9199c.ecfbc8",
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": 4274.492347717285,
307         "y": 1046.9102878570557,
308         "z": "b04c02f8.7bb8d",
309         "wires": []
310     },
311     {
312         "id": "2f82500f.1af2a",
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": 4289.491035461426,
319         "y": 1140.0109577178955,
320         "z": "b04c02f8.7bb8d",
321         "wires": [
322             []
323         ]
324     },
325     {
326         "id": "b303f8a6.9e7e58",
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": 4253.49104309082,
333         "y": 1263.0107975006104,
334         "z": "b04c02f8.7bb8d",
335         "wires": [
336             [
337                 "596d938c.7f7cfc",
338                 "7d899b30.5180a4"
339             ]
340         ]
341     },
342     {
343         "id": "596d938c.7f7cfc",
344         "type": "failure",
345         "name": "failure",
346         "xml": "<outcome value='failure'>\n",
347         "comments": "",
348         "outputs": 1,
349         "x": 4461.490662574768,
350         "y": 1263.0107460021973,
351         "z": "b04c02f8.7bb8d",
352         "wires": [
353             [
354                 "ab6a107a.a96d9"
355             ]
356         ]
357     },
358     {
359         "id": "7d899b30.5180a4",
360         "type": "success",
361         "name": "success",
362         "xml": "<outcome value='success'>\n",
363         "comments": "",
364         "outputs": 1,
365         "x": 4461.490531921387,
366         "y": 1327.0107460021973,
367         "z": "b04c02f8.7bb8d",
368         "wires": [
369             [
370                 "ebc9ab9e.6f98f8"
371             ]
372         ]
373     },
374     {
375         "id": "ebc9ab9e.6f98f8",
376         "type": "block",
377         "name": "block",
378         "xml": "<block>\n",
379         "atomic": "false",
380         "comments": "",
381         "outputs": 1,
382         "x": 4607.490531921387,
383         "y": 1326.0107460021973,
384         "z": "b04c02f8.7bb8d",
385         "wires": [
386             [
387                 "7b8e233c.1f489c"
388             ]
389         ]
390     },
391     {
392         "id": "ab6a107a.a96d9",
393         "type": "block",
394         "name": "block",
395         "xml": "<block>\n",
396         "atomic": "false",
397         "comments": "",
398         "outputs": 1,
399         "x": 4612.490531921387,
400         "y": 1263.0108680725098,
401         "z": "b04c02f8.7bb8d",
402         "wires": [
403             [
404                 "288324d1.18fb6c"
405             ]
406         ]
407     },
408     {
409         "id": "288324d1.18fb6c",
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": 4774.490043640137,
415         "y": 1263.0107460021973,
416         "z": "b04c02f8.7bb8d",
417         "wires": []
418     },
419     {
420         "id": "7b8e233c.1f489c",
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": 4773.490531921387,
427         "y": 1325.0107460021973,
428         "z": "b04c02f8.7bb8d",
429         "wires": [
430             []
431         ]
432     },
433     {
434         "id": "310e18e.a5284e8",
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": 1176.5101852416992,
440         "y": 2261.0041542053223,
441         "z": "b04c02f8.7bb8d",
442         "wires": []
443     },
444     {
445         "id": "d1a22b52.a80928",
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": 751.3395767211914,
452         "y": 2179.000102996826,
453         "z": "b04c02f8.7bb8d",
454         "wires": [
455             []
456         ]
457     },
458     {
459         "id": "78834354.eb3e7c",
460         "type": "failure",
461         "name": "true",
462         "xml": "<outcome value='true'>\n",
463         "comments": "",
464         "outputs": 1,
465         "x": 720.0001754760742,
466         "y": 402.00009536743164,
467         "z": "b04c02f8.7bb8d",
468         "wires": [
469             [
470                 "bb77978b.85c948"
471             ]
472         ]
473     },
474     {
475         "id": "6a170387.02670c",
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": 488.0000534057617,
482         "y": 401.0000648498535,
483         "z": "b04c02f8.7bb8d",
484         "wires": [
485             [
486                 "78834354.eb3e7c",
487                 "4a53d6b2.44ea88"
488             ]
489         ]
490     },
491     {
492         "id": "4a53d6b2.44ea88",
493         "type": "failure",
494         "name": "false",
495         "xml": "<outcome value='false'>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 728.5066146850586,
499         "y": 508.00024795532227,
500         "z": "b04c02f8.7bb8d",
501         "wires": [
502             [
503                 "44bbe859.c1e698"
504             ]
505         ]
506     },
507     {
508         "id": "3484de2a.4bb172",
509         "type": "failure",
510         "name": "true",
511         "xml": "<outcome value='true'>\n",
512         "comments": "",
513         "outputs": 1,
514         "x": 715.000358581543,
515         "y": 1999.0002479553223,
516         "z": "b04c02f8.7bb8d",
517         "wires": [
518             [
519                 "d34f1ab9.a4da78"
520             ]
521         ]
522     },
523     {
524         "id": "bb77978b.85c948",
525         "type": "block",
526         "name": "Closed Loop",
527         "xml": "<block atomic=\"true\">",
528         "atomic": "true",
529         "comments": "",
530         "outputs": 1,
531         "x": 737.0001754760742,
532         "y": 129.00006484985352,
533         "z": "b04c02f8.7bb8d",
534         "wires": [
535             [
536                 "31d5834d.109efc",
537                 "b46ffb83.57a928"
538             ]
539         ]
540     },
541     {
542         "id": "d34f1ab9.a4da78",
543         "type": "block",
544         "name": "block : atomic",
545         "xml": "<block atomic=\"true\">",
546         "atomic": "true",
547         "outputs": 1,
548         "x": 902.0002555847168,
549         "y": 1999.0001468658447,
550         "z": "b04c02f8.7bb8d",
551         "wires": [
552             [
553                 "d7f5e145.5f6bf",
554                 "cad215b9.78c128",
555                 "a88d2ba4.1050e8",
556                 "76478475.f28ebc"
557             ]
558         ]
559     },
560     {
561         "id": "44bbe859.c1e698",
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": 522.0004196166992,
568         "y": 1998.0002479553223,
569         "z": "b04c02f8.7bb8d",
570         "wires": [
571             [
572                 "3484de2a.4bb172"
573             ]
574         ]
575     },
576     {
577         "id": "31d5834d.109efc",
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": 941.9999923706055,
584         "y": 129.00004959106445,
585         "z": "b04c02f8.7bb8d",
586         "wires": [
587             []
588         ]
589     },
590     {
591         "id": "d7f5e145.5f6bf",
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": 1140.0004196166992,
598         "y": 1878.0002479553223,
599         "z": "b04c02f8.7bb8d",
600         "wires": [
601             []
602         ]
603     },
604     {
605         "id": "a21c2c88.d65f1",
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-cps \"/>\n\n",
609         "comments": "",
610         "outputs": 1,
611         "x": 420.99996185302734,
612         "y": 356.0000276565552,
613         "z": "b04c02f8.7bb8d",
614         "wires": [
615             []
616         ]
617     },
618     {
619         "id": "b46ffb83.57a928",
620         "type": "block",
621         "name": "NearRTRIC",
622         "xml": "<block atomic=\"true\">",
623         "atomic": "true",
624         "comments": "",
625         "outputs": 1,
626         "x": 957.0105514526367,
627         "y": 179.01047134399414,
628         "z": "b04c02f8.7bb8d",
629         "wires": [
630             [
631                 "c4c9ad9d.a3cb9",
632                 "8986ed69.8a1cc"
633             ]
634         ]
635     },
636     {
637         "id": "cad215b9.78c128",
638         "type": "block",
639         "name": "CUCP",
640         "xml": "<block atomic=\"true\">",
641         "atomic": "true",
642         "comments": "",
643         "outputs": 1,
644         "x": 1130.0107612609863,
645         "y": 1998.010461807251,
646         "z": "b04c02f8.7bb8d",
647         "wires": [
648             [
649                 "a44327fa.7b0998",
650                 "38d2e269.00fe0e"
651             ]
652         ]
653     },
654     {
655         "id": "d62a4351.58f9c",
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": 1575.8995513916016,
662         "y": 608.0106620788574,
663         "z": "b04c02f8.7bb8d",
664         "wires": [
665             [
666                 "90be2318.fc395",
667                 "ce4e6711.e5f9f8"
668             ]
669         ]
670     },
671     {
672         "id": "90be2318.fc395",
673         "type": "failure",
674         "name": "failure",
675         "xml": "<outcome value='failure'>\n",
676         "comments": "",
677         "outputs": 1,
678         "x": 1874.9000511169434,
679         "y": 609.0002040863037,
680         "z": "b04c02f8.7bb8d",
681         "wires": [
682             [
683                 "1adb2889.3bac67"
684             ]
685         ]
686     },
687     {
688         "id": "ce4e6711.e5f9f8",
689         "type": "success",
690         "name": "success",
691         "xml": "<outcome value='success'>\n",
692         "comments": "",
693         "outputs": 1,
694         "x": 1872.9000549316406,
695         "y": 695.9999628067017,
696         "z": "b04c02f8.7bb8d",
697         "wires": [
698             [
699                 "f0461249.b6292"
700             ]
701         ]
702     },
703     {
704         "id": "1adb2889.3bac67",
705         "type": "block",
706         "name": "block",
707         "xml": "<block>\n",
708         "atomic": "false",
709         "comments": "",
710         "outputs": 1,
711         "x": 2033.9001770019531,
712         "y": 608.0000801086426,
713         "z": "b04c02f8.7bb8d",
714         "wires": [
715             [
716                 "ec4e80d9.edaba",
717                 "23a76717.e0a078",
718                 "e70e6789.6b9e38"
719             ]
720         ]
721     },
722     {
723         "id": "f0461249.b6292",
724         "type": "block",
725         "name": "block",
726         "xml": "<block>\n",
727         "atomic": "false",
728         "comments": "",
729         "outputs": 1,
730         "x": 2045.8998527526855,
731         "y": 695.000165939331,
732         "z": "b04c02f8.7bb8d",
733         "wires": [
734             [
735                 "8890fe8f.6a6c7",
736                 "f1c186b5.fad398"
737             ]
738         ]
739     },
740     {
741         "id": "5426957e.238efc",
742         "type": "block",
743         "name": "Update SiceProfile for NeaeRTRIC",
744         "xml": "<block atomic='true'>",
745         "atomic": "true",
746         "comments": "",
747         "outputs": 1,
748         "x": 1242.0000534057617,
749         "y": 478.744815826416,
750         "z": "b04c02f8.7bb8d",
751         "wires": [
752             [
753                 "e753d012.1355b",
754                 "694d8f10.708e2",
755                 "e418ee81.0c5e3",
756                 "d62a4351.58f9c"
757             ]
758         ]
759     },
760     {
761         "id": "e418ee81.0c5e3",
762         "type": "switchNode",
763         "name": "ransim mounted",
764         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
765         "comments": "",
766         "outputs": 1,
767         "x": 1538.0002975463867,
768         "y": 395.4010353088379,
769         "z": "b04c02f8.7bb8d",
770         "wires": [
771             [
772                 "684269b1.905268",
773                 "86e37c15.ec96a"
774             ]
775         ]
776     },
777     {
778         "id": "684269b1.905268",
779         "type": "outcome",
780         "name": "Not Mounted",
781         "xml": "<outcome value='false'>\n",
782         "comments": "",
783         "outputs": 1,
784         "x": 1778.0002975463867,
785         "y": 394.40085220336914,
786         "z": "b04c02f8.7bb8d",
787         "wires": [
788             [
789                 "83fb0f4e.0d969"
790             ]
791         ]
792     },
793     {
794         "id": "86e37c15.ec96a",
795         "type": "outcome",
796         "name": "Mounted",
797         "xml": "<outcome value='true'>\n",
798         "comments": "",
799         "outputs": 1,
800         "x": 1769.0004196166992,
801         "y": 457.4009437561035,
802         "z": "b04c02f8.7bb8d",
803         "wires": [
804             [
805                 "29429f2f.32187"
806             ]
807         ]
808     },
809     {
810         "id": "694d8f10.708e2",
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": 1506.0006637573242,
817         "y": 437.74499893188477,
818         "z": "b04c02f8.7bb8d",
819         "wires": [
820             []
821         ]
822     },
823     {
824         "id": "e753d012.1355b",
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": 1506.0012741088867,
831         "y": 487.73437881469727,
832         "z": "b04c02f8.7bb8d",
833         "wires": [
834             []
835         ]
836     },
837     {
838         "id": "a83510a.300eef",
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": 2296.5354537963867,
845         "y": 561.0000648498535,
846         "z": "b04c02f8.7bb8d",
847         "wires": [
848             []
849         ]
850     },
851     {
852         "id": "b4ec3cb2.c4aa4",
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": 2356.0698776245117,
859         "y": 518.5990943908691,
860         "z": "b04c02f8.7bb8d",
861         "wires": [
862             []
863         ]
864     },
865     {
866         "id": "29429f2f.32187",
867         "type": "block",
868         "name": "ransim  URL",
869         "xml": "<block atomic='true'>",
870         "atomic": "true",
871         "comments": "",
872         "outputs": 1,
873         "x": 2000.9900436401367,
874         "y": 457.4009132385254,
875         "z": "b04c02f8.7bb8d",
876         "wires": [
877             [
878                 "88bc082a.9d0ec8",
879                 "b4ec3cb2.c4aa4",
880                 "a83510a.300eef"
881             ]
882         ]
883     },
884     {
885         "id": "88bc082a.9d0ec8",
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": 2353.5347213745117,
892         "y": 480.0003089904785,
893         "z": "b04c02f8.7bb8d",
894         "wires": [
895             []
896         ]
897     },
898     {
899         "id": "9bc7f874.d6b758",
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": 2351.5349655151367,
906         "y": 439.0001564025879,
907         "z": "b04c02f8.7bb8d",
908         "wires": [
909             []
910         ]
911     },
912     {
913         "id": "bef42d5b.60b5",
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": 2351.0002975463867,
920         "y": 395.4011573791504,
921         "z": "b04c02f8.7bb8d",
922         "wires": [
923             []
924         ]
925     },
926     {
927         "id": "83fb0f4e.0d969",
928         "type": "block",
929         "name": "URL",
930         "xml": "<block atomic='true'>",
931         "atomic": "true",
932         "comments": "",
933         "outputs": 1,
934         "x": 1998.2018356323242,
935         "y": 394.0000343322754,
936         "z": "b04c02f8.7bb8d",
937         "wires": [
938             [
939                 "bef42d5b.60b5",
940                 "9bc7f874.d6b758"
941             ]
942         ]
943     },
944     {
945         "id": "8986ed69.8a1cc",
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": 1143.0039596557617,
951         "y": 74.00394058227539,
952         "z": "b04c02f8.7bb8d",
953         "wires": []
954     },
955     {
956         "id": "c4c9ad9d.a3cb9",
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": 992.0039596557617,
963         "y": 279.0039405822754,
964         "z": "b04c02f8.7bb8d",
965         "wires": [
966             [
967                 "5426957e.238efc",
968                 "446b9013.05815",
969                 "c551acb3.bafd1",
970                 "38d2e269.00fe0e",
971                 "17f55a3d.e1acc6",
972                 "29d79b14.d83c24"
973             ]
974         ]
975     },
976     {
977         "id": "446b9013.05815",
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": 1279.4550094604492,
983         "y": 164.0104866027832,
984         "z": "b04c02f8.7bb8d",
985         "wires": []
986     },
987     {
988         "id": "ec4e80d9.edaba",
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": 2244.4551963806152,
994         "y": 609.0104579925537,
995         "z": "b04c02f8.7bb8d",
996         "wires": []
997     },
998     {
999         "id": "23a76717.e0a078",
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": 2267.4552001953125,
1005         "y": 648.8995780944824,
1006         "z": "b04c02f8.7bb8d",
1007         "wires": []
1008     },
1009     {
1010         "id": "8890fe8f.6a6c7",
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": 2249.455032348633,
1017         "y": 694.8995399475098,
1018         "z": "b04c02f8.7bb8d",
1019         "wires": [
1020             []
1021         ]
1022     },
1023     {
1024         "id": "f1c186b5.fad398",
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": 2265.233184814453,
1031         "y": 745.8994617462158,
1032         "z": "b04c02f8.7bb8d",
1033         "wires": [
1034             []
1035         ]
1036     },
1037     {
1038         "id": "a88d2ba4.1050e8",
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": 1173.1220016479492,
1044         "y": 1913.8994178771973,
1045         "z": "b04c02f8.7bb8d",
1046         "wires": []
1047     },
1048     {
1049         "id": "a44327fa.7b0998",
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": 1357.1215133666992,
1056         "y": 2144.8994178771973,
1057         "z": "b04c02f8.7bb8d",
1058         "wires": [
1059             [
1060                 "50aaa9c0.d196a8"
1061             ]
1062         ]
1063     },
1064     {
1065         "id": "38d2e269.00fe0e",
1066         "type": "block",
1067         "name": "get PLMNId",
1068         "xml": "<block atomic='true'>",
1069         "atomic": "true",
1070         "comments": "",
1071         "outputs": 1,
1072         "x": 1154.7500839233398,
1073         "y": 924.7501707077026,
1074         "z": "b04c02f8.7bb8d",
1075         "wires": [
1076             [
1077                 "ca3a4f96.e2b17",
1078                 "7059ee51.917c3",
1079                 "1b106543.cc22eb",
1080                 "60d6cdb.8397634",
1081                 "57216495.21a59c",
1082                 "2fe5cefe.63f692",
1083                 "45ca227a.d79ecc"
1084             ]
1085         ]
1086     },
1087     {
1088         "id": "c551acb3.bafd1",
1089         "type": "block",
1090         "name": "Update NearRTRIC Config",
1091         "xml": "<block atomic=\"true\">",
1092         "atomic": "true",
1093         "comments": "",
1094         "outputs": 1,
1095         "x": 1082.4999923706055,
1096         "y": 1515.5000038146973,
1097         "z": "b04c02f8.7bb8d",
1098         "wires": [
1099             [
1100                 "9bb1bf49.eea99",
1101                 "6d06961e.489968",
1102                 "b31d94ee.f8c428",
1103                 "47234b33.292a74",
1104                 "e774ae26.aca33",
1105                 "97544c6e.709e8",
1106                 "6334be26.c593f",
1107                 "15c99720.f87d29",
1108                 "8ccfa554.2fa6e8",
1109                 "c5d126b9.e8dfa8",
1110                 "9e4ab5af.09db38"
1111             ]
1112         ]
1113     },
1114     {
1115         "id": "c1d3c078.e00ce",
1116         "type": "set",
1117         "name": "set tmp variables for SO response",
1118         "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",
1119         "comments": "",
1120         "x": 761.6874771118164,
1121         "y": 2127.6250972747803,
1122         "z": "b04c02f8.7bb8d",
1123         "wires": []
1124     },
1125     {
1126         "id": "8838ef19.ecca5",
1127         "type": "execute",
1128         "name": "Send to SO",
1129         "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`\"/>",
1130         "comments": "",
1131         "outputs": 1,
1132         "x": 703.1874542236328,
1133         "y": 2337.3752059936523,
1134         "z": "b04c02f8.7bb8d",
1135         "wires": [
1136             [
1137                 "c92ba98c.0d9f18",
1138                 "3d4bab2b.d62b14"
1139             ]
1140         ]
1141     },
1142     {
1143         "id": "50d20a33.2130f4",
1144         "type": "outcome",
1145         "name": "Not Mounted",
1146         "xml": "<outcome value='false'>\n",
1147         "comments": "",
1148         "outputs": 1,
1149         "x": 2025.7500534057617,
1150         "y": 2068.0000038146973,
1151         "z": "b04c02f8.7bb8d",
1152         "wires": [
1153             [
1154                 "9383bf04.04f8a"
1155             ]
1156         ]
1157     },
1158     {
1159         "id": "838fdab7.471818",
1160         "type": "outcome",
1161         "name": "Mounted",
1162         "xml": "<outcome value='true'>\n",
1163         "comments": "",
1164         "outputs": 1,
1165         "x": 2012.7501068115234,
1166         "y": 2113.0001740455627,
1167         "z": "b04c02f8.7bb8d",
1168         "wires": [
1169             [
1170                 "91c05285.aa16c"
1171             ]
1172         ]
1173     },
1174     {
1175         "id": "91c05285.aa16c",
1176         "type": "block",
1177         "name": "ransim  URL",
1178         "xml": "<block atomic='true'>",
1179         "atomic": "true",
1180         "comments": "",
1181         "outputs": 1,
1182         "x": 2196.739921569824,
1183         "y": 2114.0002479553223,
1184         "z": "b04c02f8.7bb8d",
1185         "wires": [
1186             [
1187                 "7ecaa7ed.791a58",
1188                 "2bfed09c.e1d87"
1189             ]
1190         ]
1191     },
1192     {
1193         "id": "9383bf04.04f8a",
1194         "type": "block",
1195         "name": "URL",
1196         "xml": "<block atomic='true'>",
1197         "atomic": "true",
1198         "comments": "",
1199         "outputs": 1,
1200         "x": 2180.951591491699,
1201         "y": 2067.5991249084473,
1202         "z": "b04c02f8.7bb8d",
1203         "wires": [
1204             [
1205                 "1b32ae33.c752b2"
1206             ]
1207         ]
1208     },
1209     {
1210         "id": "1b32ae33.c752b2",
1211         "type": "execute",
1212         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1213         "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`\"/>",
1214         "comments": "",
1215         "outputs": 1,
1216         "x": 2454.7500534057617,
1217         "y": 2067.0004920959473,
1218         "z": "b04c02f8.7bb8d",
1219         "wires": [
1220             []
1221         ]
1222     },
1223     {
1224         "id": "7ecaa7ed.791a58",
1225         "type": "execute",
1226         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1227         "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`\"/>",
1228         "comments": "",
1229         "outputs": 1,
1230         "x": 2507.2844829559326,
1231         "y": 2114.599470168352,
1232         "z": "b04c02f8.7bb8d",
1233         "wires": [
1234             []
1235         ]
1236     },
1237     {
1238         "id": "2bfed09c.e1d87",
1239         "type": "execute",
1240         "name": "Populate MOUNT NAME",
1241         "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`\"/>",
1242         "comments": "",
1243         "outputs": 1,
1244         "x": 2452.2849655151367,
1245         "y": 2155.5991249084473,
1246         "z": "b04c02f8.7bb8d",
1247         "wires": [
1248             []
1249         ]
1250     },
1251     {
1252         "id": "38a1a6db.f354ca",
1253         "type": "switchNode",
1254         "name": "ransim mounted",
1255         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1256         "comments": "",
1257         "outputs": 1,
1258         "x": 1829.7500534057617,
1259         "y": 2069.0000038146973,
1260         "z": "b04c02f8.7bb8d",
1261         "wires": [
1262             [
1263                 "50d20a33.2130f4",
1264                 "838fdab7.471818"
1265             ]
1266         ]
1267     },
1268     {
1269         "id": "16d9e20b.f661ee",
1270         "type": "execute",
1271         "name": "prepare mcc",
1272         "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`\"/>",
1273         "comments": "",
1274         "outputs": 1,
1275         "x": 1819.7500534057617,
1276         "y": 2108.0000038146973,
1277         "z": "b04c02f8.7bb8d",
1278         "wires": [
1279             []
1280         ]
1281     },
1282     {
1283         "id": "a6623310.8e5fc",
1284         "type": "execute",
1285         "name": "prepare mnc",
1286         "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`\"/>",
1287         "comments": "",
1288         "outputs": 1,
1289         "x": 1820.2500534057617,
1290         "y": 2148.0000038146973,
1291         "z": "b04c02f8.7bb8d",
1292         "wires": [
1293             []
1294         ]
1295     },
1296     {
1297         "id": "50aaa9c0.d196a8",
1298         "type": "block",
1299         "name": "block : atomic",
1300         "xml": "<block atomic=\"true\">",
1301         "atomic": "true",
1302         "outputs": 1,
1303         "x": 1576.7499313354492,
1304         "y": 2147.0000038146973,
1305         "z": "b04c02f8.7bb8d",
1306         "wires": [
1307             [
1308                 "38a1a6db.f354ca",
1309                 "16d9e20b.f661ee",
1310                 "a6623310.8e5fc",
1311                 "9816dcde.24641",
1312                 "1c52a1bd.94160e",
1313                 "24bb6a9e.383946",
1314                 "119f1719.4a81c9"
1315             ]
1316         ]
1317     },
1318     {
1319         "id": "9816dcde.24641",
1320         "type": "for",
1321         "name": "For Number of cells",
1322         "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
1323         "comments": "",
1324         "outputs": 1,
1325         "x": 1836.0001754760742,
1326         "y": 2258.0000038146973,
1327         "z": "b04c02f8.7bb8d",
1328         "wires": [
1329             [
1330                 "5850b05a.5060b"
1331             ]
1332         ]
1333     },
1334     {
1335         "id": "ec920e48.6fac4",
1336         "type": "execute",
1337         "name": "cellLocalId",
1338         "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'`\" />",
1339         "comments": "",
1340         "outputs": 1,
1341         "x": 2263.2500534057617,
1342         "y": 2205.5002479553223,
1343         "z": "b04c02f8.7bb8d",
1344         "wires": [
1345             []
1346         ]
1347     },
1348     {
1349         "id": "5850b05a.5060b",
1350         "type": "block",
1351         "name": "block : atomic",
1352         "xml": "<block atomic=\"true\">",
1353         "atomic": "true",
1354         "outputs": 1,
1355         "x": 2038.7499313354492,
1356         "y": 2258.0000038146973,
1357         "z": "b04c02f8.7bb8d",
1358         "wires": [
1359             [
1360                 "ec920e48.6fac4",
1361                 "9c28ac52.3867b",
1362                 "20ceffca.4c34b",
1363                 "b90a2304.0ede9",
1364                 "444ffc30.e91db4"
1365             ]
1366         ]
1367     },
1368     {
1369         "id": "9c28ac52.3867b",
1370         "type": "execute",
1371         "name": "predictedMaxNumberofConns",
1372         "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'`\" />",
1373         "comments": "",
1374         "outputs": 1,
1375         "x": 2319.499931335449,
1376         "y": 2312.5002479553223,
1377         "z": "b04c02f8.7bb8d",
1378         "wires": [
1379             []
1380         ]
1381     },
1382     {
1383         "id": "20ceffca.4c34b",
1384         "type": "execute",
1385         "name": "patch NearRTRIC - config",
1386         "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' />",
1387         "comments": "",
1388         "outputs": 1,
1389         "x": 2303.249931335449,
1390         "y": 2384.0000038146973,
1391         "z": "b04c02f8.7bb8d",
1392         "wires": [
1393             [
1394                 "369c2315.bdc1bc",
1395                 "67ac42e4.957dec"
1396             ]
1397         ]
1398     },
1399     {
1400         "id": "369c2315.bdc1bc",
1401         "type": "success",
1402         "name": "success",
1403         "xml": "<outcome value='success'>\n",
1404         "comments": "",
1405         "outputs": 1,
1406         "x": 2523.7500534057617,
1407         "y": 2384.2500038146973,
1408         "z": "b04c02f8.7bb8d",
1409         "wires": [
1410             [
1411                 "34d146c4.2588ba"
1412             ]
1413         ]
1414     },
1415     {
1416         "id": "67ac42e4.957dec",
1417         "type": "failure",
1418         "name": "failure",
1419         "xml": "<outcome value='failure'>\n",
1420         "comments": "",
1421         "outputs": 1,
1422         "x": 2520.3127975463867,
1423         "y": 2420.8125038146973,
1424         "z": "b04c02f8.7bb8d",
1425         "wires": [
1426             [
1427                 "fd00e465.63e8d8"
1428             ]
1429         ]
1430     },
1431     {
1432         "id": "fd00e465.63e8d8",
1433         "type": "block",
1434         "name": "block",
1435         "xml": "<block>",
1436         "atomic": "false",
1437         "comments": "",
1438         "outputs": 1,
1439         "x": 2677.3125534057617,
1440         "y": 2420.8125038146973,
1441         "z": "b04c02f8.7bb8d",
1442         "wires": [
1443             [
1444                 "be1e785.5461988",
1445                 "f8beb98f.234fe8",
1446                 "e70e6789.6b9e38"
1447             ]
1448         ]
1449     },
1450     {
1451         "id": "34d146c4.2588ba",
1452         "type": "block",
1453         "name": "block : atomic",
1454         "xml": "<block atomic='true'>",
1455         "atomic": "true",
1456         "comments": "",
1457         "outputs": 1,
1458         "x": 2699.7498092651367,
1459         "y": 2384.2500038146973,
1460         "z": "b04c02f8.7bb8d",
1461         "wires": [
1462             [
1463                 "b44d708e.7060b"
1464             ]
1465         ]
1466     },
1467     {
1468         "id": "be1e785.5461988",
1469         "type": "returnFailure",
1470         "name": "return failure",
1471         "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'/>",
1472         "comments": "",
1473         "x": 2893.3125534057617,
1474         "y": 2456.8125038146973,
1475         "z": "b04c02f8.7bb8d",
1476         "wires": []
1477     },
1478     {
1479         "id": "f8beb98f.234fe8",
1480         "type": "set",
1481         "name": "set",
1482         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1483         "comments": "",
1484         "x": 2874.3130416870117,
1485         "y": 2420.9235877990723,
1486         "z": "b04c02f8.7bb8d",
1487         "wires": []
1488     },
1489     {
1490         "id": "b44d708e.7060b",
1491         "type": "record",
1492         "name": "record",
1493         "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\"/>",
1494         "comments": "",
1495         "outputs": 1,
1496         "x": 2874.4995651245117,
1497         "y": 2385.0002479553223,
1498         "z": "b04c02f8.7bb8d",
1499         "wires": [
1500             []
1501         ]
1502     },
1503     {
1504         "id": "76478475.f28ebc",
1505         "type": "record",
1506         "name": "record",
1507         "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",
1508         "comments": "",
1509         "outputs": 1,
1510         "x": 1135.4999313354492,
1511         "y": 1956.9998817443848,
1512         "z": "b04c02f8.7bb8d",
1513         "wires": [
1514             []
1515         ]
1516     },
1517     {
1518         "id": "1c52a1bd.94160e",
1519         "type": "execute",
1520         "name": "CUCellListEntries",
1521         "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",
1522         "comments": "",
1523         "outputs": 1,
1524         "x": 1831.9999313354492,
1525         "y": 2184.2500038146973,
1526         "z": "b04c02f8.7bb8d",
1527         "wires": [
1528             []
1529         ]
1530     },
1531     {
1532         "id": "24bb6a9e.383946",
1533         "type": "record",
1534         "name": "record",
1535         "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",
1536         "comments": "",
1537         "outputs": 1,
1538         "x": 1797.9999313354492,
1539         "y": 2222.2500038146973,
1540         "z": "b04c02f8.7bb8d",
1541         "wires": [
1542             []
1543         ]
1544     },
1545     {
1546         "id": "b90a2304.0ede9",
1547         "type": "record",
1548         "name": "record",
1549         "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",
1550         "comments": "",
1551         "outputs": 1,
1552         "x": 2248.750175476074,
1553         "y": 2347.7500038146973,
1554         "z": "b04c02f8.7bb8d",
1555         "wires": [
1556             []
1557         ]
1558     },
1559     {
1560         "id": "119f1719.4a81c9",
1561         "type": "set",
1562         "name": "set Temp Variables",
1563         "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
1564         "comments": "",
1565         "x": 1839.4999313354492,
1566         "y": 2032.5000038146973,
1567         "z": "b04c02f8.7bb8d",
1568         "wires": []
1569     },
1570     {
1571         "id": "4dc673cb.5860bc",
1572         "type": "set",
1573         "name": "append configParam",
1574         "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'\" />",
1575         "comments": "",
1576         "x": 2294.312431335449,
1577         "y": 2276.6250038146973,
1578         "z": "b04c02f8.7bb8d",
1579         "wires": []
1580     },
1581     {
1582         "id": "444ffc30.e91db4",
1583         "type": "execute",
1584         "name": "append configParam",
1585         "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\" />",
1586         "comments": "",
1587         "outputs": 1,
1588         "x": 2292.2500534057617,
1589         "y": 2240.7500038146973,
1590         "z": "b04c02f8.7bb8d",
1591         "wires": [
1592             []
1593         ]
1594     },
1595     {
1596         "id": "17f55a3d.e1acc6",
1597         "type": "switchNode",
1598         "name": "check nearrtric",
1599         "xml": "<switch test='`$tmp.nearRTRICId == 11 `'>\n",
1600         "comments": "",
1601         "outputs": 1,
1602         "x": 1267.4000778198242,
1603         "y": 220.00000381469727,
1604         "z": "b04c02f8.7bb8d",
1605         "wires": [
1606             [
1607                 "70dff647.5a1328",
1608                 "d3093568.744bf8"
1609             ]
1610         ]
1611     },
1612     {
1613         "id": "70dff647.5a1328",
1614         "type": "outcome",
1615         "name": "True",
1616         "xml": "<outcome value='true'>\n",
1617         "comments": "",
1618         "outputs": 1,
1619         "x": 1496.6002731323242,
1620         "y": 39.00000762939453,
1621         "z": "b04c02f8.7bb8d",
1622         "wires": [
1623             [
1624                 "47cd16a0.115ab8"
1625             ]
1626         ]
1627     },
1628     {
1629         "id": "d3093568.744bf8",
1630         "type": "outcome",
1631         "name": "False",
1632         "xml": "<outcome value='false'>\n",
1633         "comments": "",
1634         "outputs": 1,
1635         "x": 1495.3999557495117,
1636         "y": 150.00000381469727,
1637         "z": "b04c02f8.7bb8d",
1638         "wires": [
1639             [
1640                 "938f5c6e.d2f6f"
1641             ]
1642         ]
1643     },
1644     {
1645         "id": "29d79b14.d83c24",
1646         "type": "block",
1647         "name": "block : atomic",
1648         "xml": "<block atomic='true'>",
1649         "atomic": "true",
1650         "comments": "",
1651         "outputs": 1,
1652         "x": 1265.3999557495117,
1653         "y": 276.00000381469727,
1654         "z": "b04c02f8.7bb8d",
1655         "wires": [
1656             [
1657                 "53138554.47990c"
1658             ]
1659         ]
1660     },
1661     {
1662         "id": "53138554.47990c",
1663         "type": "execute",
1664         "name": "check policytype",
1665         "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' />",
1666         "comments": "",
1667         "outputs": 1,
1668         "x": 1521.0000534057617,
1669         "y": 281.00000381469727,
1670         "z": "b04c02f8.7bb8d",
1671         "wires": [
1672             [
1673                 "49000068.3f46a",
1674                 "bb9784bc.9b03f8"
1675             ]
1676         ]
1677     },
1678     {
1679         "id": "49000068.3f46a",
1680         "type": "success",
1681         "name": "success",
1682         "xml": "<outcome value='success'>\n",
1683         "comments": "",
1684         "outputs": 1,
1685         "x": 1727.0001754760742,
1686         "y": 220.00000381469727,
1687         "z": "b04c02f8.7bb8d",
1688         "wires": [
1689             [
1690                 "777cf6db.6780e8"
1691             ]
1692         ]
1693     },
1694     {
1695         "id": "777cf6db.6780e8",
1696         "type": "block",
1697         "name": "block : atomic",
1698         "xml": "<block atomic='true'>",
1699         "atomic": "true",
1700         "comments": "",
1701         "outputs": 1,
1702         "x": 2021.0002975463867,
1703         "y": 217.5672950744629,
1704         "z": "b04c02f8.7bb8d",
1705         "wires": [
1706             [
1707                 "92c04d59.e6893",
1708                 "3207bd75.1effd2",
1709                 "5e01fb67.742b94",
1710                 "5ccae536.c8f54c"
1711             ]
1712         ]
1713     },
1714     {
1715         "id": "92c04d59.e6893",
1716         "type": "record",
1717         "name": "record",
1718         "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`\"/>",
1719         "comments": "",
1720         "outputs": 1,
1721         "x": 2338.0002975463867,
1722         "y": 95.56728744506836,
1723         "z": "b04c02f8.7bb8d",
1724         "wires": [
1725             []
1726         ]
1727     },
1728     {
1729         "id": "bb9784bc.9b03f8",
1730         "type": "failure",
1731         "name": "failure",
1732         "xml": "<outcome value='failure'>\n",
1733         "comments": "",
1734         "outputs": 1,
1735         "x": 1724.9999313354492,
1736         "y": 278.56735610961914,
1737         "z": "b04c02f8.7bb8d",
1738         "wires": [
1739             [
1740                 "57405cfc.d7c2d4"
1741             ]
1742         ]
1743     },
1744     {
1745         "id": "57405cfc.d7c2d4",
1746         "type": "block",
1747         "name": "block : atomic",
1748         "xml": "<block atomic='true'>",
1749         "atomic": "true",
1750         "comments": "",
1751         "outputs": 1,
1752         "x": 2019.9999313354492,
1753         "y": 275.56735610961914,
1754         "z": "b04c02f8.7bb8d",
1755         "wires": [
1756             [
1757                 "df6f2667.91a188"
1758             ]
1759         ]
1760     },
1761     {
1762         "id": "df6f2667.91a188",
1763         "type": "record",
1764         "name": "record",
1765         "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\"/>",
1766         "comments": "",
1767         "outputs": 1,
1768         "x": 2218.9998092651367,
1769         "y": 274.56735610961914,
1770         "z": "b04c02f8.7bb8d",
1771         "wires": [
1772             []
1773         ]
1774     },
1775     {
1776         "id": "3207bd75.1effd2",
1777         "type": "execute",
1778         "name": "getpolicylength",
1779         "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'`\" />",
1780         "comments": "",
1781         "outputs": 1,
1782         "x": 2362.6897506713867,
1783         "y": 43.000003814697266,
1784         "z": "b04c02f8.7bb8d",
1785         "wires": [
1786             []
1787         ]
1788     },
1789     {
1790         "id": "5e01fb67.742b94",
1791         "type": "switchNode",
1792         "name": "check the action",
1793         "xml": "<switch test='`$tmp.policytypelength > 0`'>\n",
1794         "comments": "",
1795         "outputs": 1,
1796         "x": 2369.0002975463867,
1797         "y": 154.00000381469727,
1798         "z": "b04c02f8.7bb8d",
1799         "wires": [
1800             [
1801                 "9f3b5be6.db1c68",
1802                 "b42a18ea.6d8788"
1803             ]
1804         ]
1805     },
1806     {
1807         "id": "9f3b5be6.db1c68",
1808         "type": "outcome",
1809         "name": "True",
1810         "xml": "<outcome value='true'>\n",
1811         "comments": "",
1812         "outputs": 1,
1813         "x": 2623.6001510620117,
1814         "y": 102.00000381469727,
1815         "z": "b04c02f8.7bb8d",
1816         "wires": [
1817             [
1818                 "563bccfa.fef8d4"
1819             ]
1820         ]
1821     },
1822     {
1823         "id": "b42a18ea.6d8788",
1824         "type": "outcome",
1825         "name": "False",
1826         "xml": "<outcome value='false'>\n",
1827         "comments": "",
1828         "outputs": 1,
1829         "x": 2627.6001510620117,
1830         "y": 152.00000381469727,
1831         "z": "b04c02f8.7bb8d",
1832         "wires": [
1833             [
1834                 "4ffa9d5c.867604"
1835             ]
1836         ]
1837     },
1838     {
1839         "id": "563bccfa.fef8d4",
1840         "type": "block",
1841         "name": "block : atomic",
1842         "xml": "<block atomic='true'>",
1843         "atomic": "true",
1844         "comments": "",
1845         "outputs": 1,
1846         "x": 2831.6001510620117,
1847         "y": 101.00000381469727,
1848         "z": "b04c02f8.7bb8d",
1849         "wires": [
1850             [
1851                 "3dd43848.ecf5f8"
1852             ]
1853         ]
1854     },
1855     {
1856         "id": "4ffa9d5c.867604",
1857         "type": "block",
1858         "name": "block : atomic",
1859         "xml": "<block atomic='true'>",
1860         "atomic": "true",
1861         "comments": "",
1862         "outputs": 1,
1863         "x": 2830.6003952026367,
1864         "y": 153.00000381469727,
1865         "z": "b04c02f8.7bb8d",
1866         "wires": [
1867             [
1868                 "2dba44bf.fbf71c",
1869                 "83cd3327.c2c2a"
1870             ]
1871         ]
1872     },
1873     {
1874         "id": "3dd43848.ecf5f8",
1875         "type": "record",
1876         "name": "record",
1877         "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\"/>",
1878         "comments": "",
1879         "outputs": 1,
1880         "x": 3017.6001510620117,
1881         "y": 101.00000381469727,
1882         "z": "b04c02f8.7bb8d",
1883         "wires": [
1884             []
1885         ]
1886     },
1887     {
1888         "id": "2dba44bf.fbf71c",
1889         "type": "execute",
1890         "name": "create policytype",
1891         "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' />",
1892         "comments": "",
1893         "outputs": 1,
1894         "x": 3057.6003952026367,
1895         "y": 198.00000381469727,
1896         "z": "b04c02f8.7bb8d",
1897         "wires": [
1898             [
1899                 "107cb97d.06b737"
1900             ]
1901         ]
1902     },
1903     {
1904         "id": "83cd3327.c2c2a",
1905         "type": "record",
1906         "name": "record",
1907         "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\"/>",
1908         "comments": "",
1909         "outputs": 1,
1910         "x": 3022.4004440307617,
1911         "y": 152.00000381469727,
1912         "z": "b04c02f8.7bb8d",
1913         "wires": [
1914             []
1915         ]
1916     },
1917     {
1918         "id": "107cb97d.06b737",
1919         "type": "success",
1920         "name": "success",
1921         "xml": "<outcome value='success'>\n",
1922         "comments": "",
1923         "outputs": 1,
1924         "x": 3243.4109420776367,
1925         "y": 197.2001075744629,
1926         "z": "b04c02f8.7bb8d",
1927         "wires": [
1928             [
1929                 "fc104daf.4d845"
1930             ]
1931         ]
1932     },
1933     {
1934         "id": "3bc82b51.b80974",
1935         "type": "record",
1936         "name": "record",
1937         "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\"/>",
1938         "comments": "",
1939         "outputs": 1,
1940         "x": 3594.0000534057617,
1941         "y": 196.00000381469727,
1942         "z": "b04c02f8.7bb8d",
1943         "wires": [
1944             []
1945         ]
1946     },
1947     {
1948         "id": "fc104daf.4d845",
1949         "type": "block",
1950         "name": "block : atomic",
1951         "xml": "<block atomic='true'>",
1952         "atomic": "true",
1953         "comments": "",
1954         "outputs": 1,
1955         "x": 3405.0000534057617,
1956         "y": 196.00000381469727,
1957         "z": "b04c02f8.7bb8d",
1958         "wires": [
1959             [
1960                 "3bc82b51.b80974"
1961             ]
1962         ]
1963     },
1964     {
1965         "id": "5ccae536.c8f54c",
1966         "type": "execute",
1967         "name": "create policyinstance ",
1968         "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' />",
1969         "comments": "",
1970         "outputs": 1,
1971         "x": 2383.2000045776367,
1972         "y": 215.00000381469727,
1973         "z": "b04c02f8.7bb8d",
1974         "wires": [
1975             [
1976                 "e3715b91.ced348"
1977             ]
1978         ]
1979     },
1980     {
1981         "id": "c0b8b6c1.03e388",
1982         "type": "record",
1983         "name": "record",
1984         "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\"/>",
1985         "comments": "",
1986         "outputs": 1,
1987         "x": 3039.5999069213867,
1988         "y": 258.00000381469727,
1989         "z": "b04c02f8.7bb8d",
1990         "wires": [
1991             []
1992         ]
1993     },
1994     {
1995         "id": "eb10daee.da7d48",
1996         "type": "block",
1997         "name": "block : atomic",
1998         "xml": "<block atomic='true'>",
1999         "atomic": "true",
2000         "comments": "",
2001         "outputs": 1,
2002         "x": 2841.5996627807617,
2003         "y": 216.00000381469727,
2004         "z": "b04c02f8.7bb8d",
2005         "wires": [
2006             [
2007                 "c0b8b6c1.03e388"
2008             ]
2009         ]
2010     },
2011     {
2012         "id": "e3715b91.ced348",
2013         "type": "success",
2014         "name": "success",
2015         "xml": "<outcome value='success'>\n",
2016         "comments": "",
2017         "outputs": 1,
2018         "x": 2634.5994186401367,
2019         "y": 216.19995498657227,
2020         "z": "b04c02f8.7bb8d",
2021         "wires": [
2022             [
2023                 "eb10daee.da7d48"
2024             ]
2025         ]
2026     },
2027     {
2028         "id": "47cd16a0.115ab8",
2029         "type": "set",
2030         "name": "set Temp Variables",
2031         "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",
2032         "comments": "",
2033         "x": 1744.7999801635742,
2034         "y": 38,
2035         "z": "b04c02f8.7bb8d",
2036         "wires": []
2037     },
2038     {
2039         "id": "938f5c6e.d2f6f",
2040         "type": "set",
2041         "name": "set Temp Variables",
2042         "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",
2043         "comments": "",
2044         "x": 1733.7999801635742,
2045         "y": 149.00000381469727,
2046         "z": "b04c02f8.7bb8d",
2047         "wires": []
2048     },
2049     {
2050         "id": "92e3668d.afa988",
2051         "type": "comment",
2052         "name": "A1-adaptor simulators",
2053         "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",
2054         "comments": "",
2055         "x": 774.9999618530273,
2056         "y": 41.000000953674316,
2057         "z": "b04c02f8.7bb8d",
2058         "wires": []
2059     },
2060     {
2061         "id": "ca3a4f96.e2b17",
2062         "type": "execute",
2063         "name": "getAnchors URL",
2064         "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
2065         "comments": "",
2066         "outputs": 1,
2067         "x": 1432.6666793823242,
2068         "y": 792.333381652832,
2069         "z": "b04c02f8.7bb8d",
2070         "wires": [
2071             []
2072         ]
2073     },
2074     {
2075         "id": "7059ee51.917c3",
2076         "type": "record",
2077         "name": "record",
2078         "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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
2079         "comments": "",
2080         "outputs": 1,
2081         "x": 1400.9166793823242,
2082         "y": 835.0833826065063,
2083         "z": "b04c02f8.7bb8d",
2084         "wires": [
2085             []
2086         ]
2087     },
2088     {
2089         "id": "1b106543.cc22eb",
2090         "type": "execute",
2091         "name": "Get list of anchors from CPS",
2092         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-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\"/>",
2093         "comments": "",
2094         "outputs": 1,
2095         "x": 1468.7222595214844,
2096         "y": 879.2499694824219,
2097         "z": "b04c02f8.7bb8d",
2098         "wires": [
2099             [
2100                 "45962f15.30048",
2101                 "8a66a7c1.0895d8"
2102             ]
2103         ]
2104     },
2105     {
2106         "id": "60d6cdb.8397634",
2107         "type": "execute",
2108         "name": "set anchors size",
2109         "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
2110         "comments": "",
2111         "outputs": 1,
2112         "x": 1428.0713005065918,
2113         "y": 926.1542673110962,
2114         "z": "b04c02f8.7bb8d",
2115         "wires": [
2116             []
2117         ]
2118     },
2119     {
2120         "id": "57216495.21a59c",
2121         "type": "execute",
2122         "name": "initialize nearRTRIC size",
2123         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
2124         "comments": "",
2125         "outputs": 1,
2126         "x": 1451.5187301635742,
2127         "y": 975.8210163116455,
2128         "z": "b04c02f8.7bb8d",
2129         "wires": [
2130             []
2131         ]
2132     },
2133     {
2134         "id": "2fe5cefe.63f692",
2135         "type": "for",
2136         "name": "For anchorsList",
2137         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2138         "comments": "",
2139         "outputs": 1,
2140         "x": 1423.518569946289,
2141         "y": 1020.861138343811,
2142         "z": "b04c02f8.7bb8d",
2143         "wires": [
2144             [
2145                 "932b16ba.24c7e8"
2146             ]
2147         ]
2148     },
2149     {
2150         "id": "45ca227a.d79ecc",
2151         "type": "for",
2152         "name": "For anchorsList",
2153         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2154         "comments": "",
2155         "outputs": 1,
2156         "x": 1423.5345153808594,
2157         "y": 1068.1790313720703,
2158         "z": "b04c02f8.7bb8d",
2159         "wires": [
2160             [
2161                 "4de63137.68e19"
2162             ]
2163         ]
2164     },
2165     {
2166         "id": "8a66a7c1.0895d8",
2167         "type": "failure",
2168         "name": "failure",
2169         "xml": "<outcome value='failure'>\n",
2170         "comments": "",
2171         "outputs": 1,
2172         "x": 1724.0280075073242,
2173         "y": 838.888858795166,
2174         "z": "b04c02f8.7bb8d",
2175         "wires": [
2176             [
2177                 "d9fa2a0e.94cbb8"
2178             ]
2179         ]
2180     },
2181     {
2182         "id": "45962f15.30048",
2183         "type": "success",
2184         "name": "success",
2185         "xml": "<outcome value='success'>\n",
2186         "comments": "",
2187         "outputs": 1,
2188         "x": 1725.0280075073242,
2189         "y": 878.0833168029785,
2190         "z": "b04c02f8.7bb8d",
2191         "wires": [
2192             [
2193                 "2fae1578.34daca"
2194             ]
2195         ]
2196     },
2197     {
2198         "id": "932b16ba.24c7e8",
2199         "type": "block",
2200         "name": "block : atomic",
2201         "xml": "<block atomic='true'>",
2202         "atomic": "true",
2203         "comments": "",
2204         "outputs": 1,
2205         "x": 1648.9074096679688,
2206         "y": 1021.3888883590698,
2207         "z": "b04c02f8.7bb8d",
2208         "wires": [
2209             [
2210                 "cabb2863.4232c8",
2211                 "d4933645.ba50f8"
2212             ]
2213         ]
2214     },
2215     {
2216         "id": "4de63137.68e19",
2217         "type": "block",
2218         "name": "block : atomic",
2219         "xml": "<block atomic='true'>",
2220         "atomic": "true",
2221         "comments": "",
2222         "outputs": 1,
2223         "x": 1644.2223510742188,
2224         "y": 1071.333249092102,
2225         "z": "b04c02f8.7bb8d",
2226         "wires": [
2227             [
2228                 "6f12b0e3.06311",
2229                 "cbb818dc.57ed08"
2230             ]
2231         ]
2232     },
2233     {
2234         "id": "d9fa2a0e.94cbb8",
2235         "type": "block",
2236         "name": "block",
2237         "xml": "<block>",
2238         "atomic": "false",
2239         "comments": "",
2240         "outputs": 1,
2241         "x": 1879.7223434448242,
2242         "y": 838.500186920166,
2243         "z": "b04c02f8.7bb8d",
2244         "wires": [
2245             [
2246                 "8526dc43.93255",
2247                 "160970b2.191d0f"
2248             ]
2249         ]
2250     },
2251     {
2252         "id": "2fae1578.34daca",
2253         "type": "block",
2254         "name": "block : atomic",
2255         "xml": "<block atomic='true'>",
2256         "atomic": "true",
2257         "comments": "",
2258         "outputs": 1,
2259         "x": 1899.4722213745117,
2260         "y": 878.749942779541,
2261         "z": "b04c02f8.7bb8d",
2262         "wires": [
2263             [
2264                 "8d96a63d.e4f008",
2265                 "58098787.d43038"
2266             ]
2267         ]
2268     },
2269     {
2270         "id": "d4933645.ba50f8",
2271         "type": "execute",
2272         "name": "read schemaSet",
2273         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
2274         "comments": "",
2275         "outputs": 1,
2276         "x": 1872.5711517333984,
2277         "y": 968.2931842803955,
2278         "z": "b04c02f8.7bb8d",
2279         "wires": [
2280             []
2281         ]
2282     },
2283     {
2284         "id": "cabb2863.4232c8",
2285         "type": "switchNode",
2286         "name": "check schemaSetName",
2287         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2288         "comments": "",
2289         "outputs": 1,
2290         "x": 1896.0556869506836,
2291         "y": 1020.3888893127441,
2292         "z": "b04c02f8.7bb8d",
2293         "wires": [
2294             [
2295                 "be4abcd7.eda4a"
2296             ]
2297         ]
2298     },
2299     {
2300         "id": "6f12b0e3.06311",
2301         "type": "execute",
2302         "name": "read schemaSet",
2303         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
2304         "comments": "",
2305         "outputs": 1,
2306         "x": 1875.8828392028809,
2307         "y": 1075.5123662948608,
2308         "z": "b04c02f8.7bb8d",
2309         "wires": [
2310             []
2311         ]
2312     },
2313     {
2314         "id": "cbb818dc.57ed08",
2315         "type": "switchNode",
2316         "name": "check schemaSetName",
2317         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2318         "comments": "",
2319         "outputs": 1,
2320         "x": 1896.8548431396484,
2321         "y": 1148.7623691558838,
2322         "z": "b04c02f8.7bb8d",
2323         "wires": [
2324             [
2325                 "773495ed.4f883c"
2326             ]
2327         ]
2328     },
2329     {
2330         "id": "8526dc43.93255",
2331         "type": "set",
2332         "name": "set",
2333         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2334         "comments": "",
2335         "x": 2095.499870300293,
2336         "y": 801.3332176208496,
2337         "z": "b04c02f8.7bb8d",
2338         "wires": []
2339     },
2340     {
2341         "id": "160970b2.191d0f",
2342         "type": "record",
2343         "name": "record",
2344         "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=\"Failed to fetch anchors from CPS\"/>",
2345         "comments": "",
2346         "outputs": 1,
2347         "x": 2094.3057174682617,
2348         "y": 837.861026763916,
2349         "z": "b04c02f8.7bb8d",
2350         "wires": [
2351             []
2352         ]
2353     },
2354     {
2355         "id": "8d96a63d.e4f008",
2356         "type": "record",
2357         "name": "record",
2358         "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 anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
2359         "comments": "",
2360         "outputs": 1,
2361         "x": 2098.2217330932617,
2362         "y": 878.9998817443848,
2363         "z": "b04c02f8.7bb8d",
2364         "wires": [
2365             []
2366         ]
2367     },
2368     {
2369         "id": "58098787.d43038",
2370         "type": "execute",
2371         "name": "printContext",
2372         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-closedLoop-context.log' />",
2373         "comments": "",
2374         "outputs": 1,
2375         "x": 2114.749931335449,
2376         "y": 921.7498817443848,
2377         "z": "b04c02f8.7bb8d",
2378         "wires": [
2379             []
2380         ]
2381     },
2382     {
2383         "id": "be4abcd7.eda4a",
2384         "type": "outcome",
2385         "name": "if ran-inventory",
2386         "xml": "<outcome value='ran-inventory'>\n",
2387         "comments": "",
2388         "outputs": 1,
2389         "x": 2112.361198425293,
2390         "y": 1020.8611392974854,
2391         "z": "b04c02f8.7bb8d",
2392         "wires": [
2393             [
2394                 "c9ca36e0.755eb8"
2395             ]
2396         ]
2397     },
2398     {
2399         "id": "773495ed.4f883c",
2400         "type": "outcome",
2401         "name": "if ran-inventory",
2402         "xml": "<outcome value='ran-inventory'>\n",
2403         "comments": "",
2404         "outputs": 1,
2405         "x": 2119.660270690918,
2406         "y": 1149.2345352172852,
2407         "z": "b04c02f8.7bb8d",
2408         "wires": [
2409             [
2410                 "c75c60f3.7ddd"
2411             ]
2412         ]
2413     },
2414     {
2415         "id": "c9ca36e0.755eb8",
2416         "type": "block",
2417         "name": "block : atomic",
2418         "xml": "<block atomic='true'>",
2419         "atomic": "true",
2420         "comments": "",
2421         "outputs": 1,
2422         "x": 2297.663444519043,
2423         "y": 1021.1943874359131,
2424         "z": "b04c02f8.7bb8d",
2425         "wires": [
2426             [
2427                 "bd3325e.a04c5d8",
2428                 "e2594fd9.bbe41"
2429             ]
2430         ]
2431     },
2432     {
2433         "id": "c75c60f3.7ddd",
2434         "type": "block",
2435         "name": "block : atomic",
2436         "xml": "<block atomic='true'>",
2437         "atomic": "true",
2438         "comments": "",
2439         "outputs": 1,
2440         "x": 2320.7960205078125,
2441         "y": 1149.4567031860352,
2442         "z": "b04c02f8.7bb8d",
2443         "wires": [
2444             [
2445                 "ab4a2e85.d5055",
2446                 "d9634ef4.1aa14"
2447             ]
2448         ]
2449     },
2450     {
2451         "id": "e2594fd9.bbe41",
2452         "type": "execute",
2453         "name": "set nearRTRIC size",
2454         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
2455         "comments": "",
2456         "outputs": 1,
2457         "x": 2533.6346435546875,
2458         "y": 967.6789244413376,
2459         "z": "b04c02f8.7bb8d",
2460         "wires": [
2461             []
2462         ]
2463     },
2464     {
2465         "id": "bd3325e.a04c5d8",
2466         "type": "record",
2467         "name": "record",
2468         "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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
2469         "comments": "",
2470         "outputs": 1,
2471         "x": 2490.5770301818848,
2472         "y": 1019.9998912811279,
2473         "z": "b04c02f8.7bb8d",
2474         "wires": [
2475             []
2476         ]
2477     },
2478     {
2479         "id": "ab4a2e85.d5055",
2480         "type": "execute",
2481         "name": "read anchorName",
2482         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
2483         "comments": "",
2484         "outputs": 1,
2485         "x": 2548.777801513672,
2486         "y": 1099.1110801696777,
2487         "z": "b04c02f8.7bb8d",
2488         "wires": [
2489             []
2490         ]
2491     },
2492     {
2493         "id": "d9634ef4.1aa14",
2494         "type": "block",
2495         "name": "block : atomic",
2496         "xml": "<block atomic='true'>",
2497         "atomic": "true",
2498         "comments": "",
2499         "outputs": 1,
2500         "x": 2561.722785949707,
2501         "y": 1147.833248615265,
2502         "z": "b04c02f8.7bb8d",
2503         "wires": [
2504             [
2505                 "e9a31ae.98576e8",
2506                 "859c60d3.e5f3d",
2507                 "18335f27.526491",
2508                 "986b500b.efd7",
2509                 "82068605.3b8bb8",
2510                 "db9ae584.12e248",
2511                 "d773ae89.73757",
2512                 "d70f793c.b395e8"
2513             ]
2514         ]
2515     },
2516     {
2517         "id": "9bb1bf49.eea99",
2518         "type": "switchNode",
2519         "name": "ransim mounted",
2520         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
2521         "comments": "",
2522         "outputs": 1,
2523         "x": 1418.3333053588867,
2524         "y": 1304.0000038146973,
2525         "z": "b04c02f8.7bb8d",
2526         "wires": [
2527             [
2528                 "796353cf.f5955c",
2529                 "e3ee5a02.95a188"
2530             ]
2531         ]
2532     },
2533     {
2534         "id": "796353cf.f5955c",
2535         "type": "outcome",
2536         "name": "Not Mounted",
2537         "xml": "<outcome value='false'>\n",
2538         "comments": "",
2539         "outputs": 1,
2540         "x": 1632.333152770996,
2541         "y": 1304.9997596740723,
2542         "z": "b04c02f8.7bb8d",
2543         "wires": [
2544             [
2545                 "47c052f2.ce5dfc"
2546             ]
2547         ]
2548     },
2549     {
2550         "id": "e3ee5a02.95a188",
2551         "type": "outcome",
2552         "name": "Mounted",
2553         "xml": "<outcome value='true'>\n",
2554         "comments": "",
2555         "outputs": 1,
2556         "x": 1624.333351135254,
2557         "y": 1346.999843597412,
2558         "z": "b04c02f8.7bb8d",
2559         "wires": [
2560             [
2561                 "dd25188f.739358"
2562             ]
2563         ]
2564     },
2565     {
2566         "id": "dd25188f.739358",
2567         "type": "block",
2568         "name": "ransim  URL",
2569         "xml": "<block atomic='true'>",
2570         "atomic": "true",
2571         "comments": "",
2572         "outputs": 1,
2573         "x": 1798.3232688903809,
2574         "y": 1346.999843597412,
2575         "z": "b04c02f8.7bb8d",
2576         "wires": [
2577             [
2578                 "ca92e7f3.c6d7e8",
2579                 "a94e902e.e313d"
2580             ]
2581         ]
2582     },
2583     {
2584         "id": "47c052f2.ce5dfc",
2585         "type": "block",
2586         "name": "URL",
2587         "xml": "<block atomic='true'>",
2588         "atomic": "true",
2589         "comments": "",
2590         "outputs": 1,
2591         "x": 1794.5348167419434,
2592         "y": 1305.5989627838135,
2593         "z": "b04c02f8.7bb8d",
2594         "wires": [
2595             [
2596                 "749a19dd.89a368"
2597             ]
2598         ]
2599     },
2600     {
2601         "id": "749a19dd.89a368",
2602         "type": "execute",
2603         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
2604         "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`\"/>",
2605         "comments": "",
2606         "outputs": 1,
2607         "x": 2091.333324432373,
2608         "y": 1306.0001678466797,
2609         "z": "b04c02f8.7bb8d",
2610         "wires": [
2611             []
2612         ]
2613     },
2614     {
2615         "id": "ca92e7f3.c6d7e8",
2616         "type": "execute",
2617         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
2618         "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`\"/>",
2619         "comments": "",
2620         "outputs": 1,
2621         "x": 2092.8678283691406,
2622         "y": 1347.5992889404297,
2623         "z": "b04c02f8.7bb8d",
2624         "wires": [
2625             []
2626         ]
2627     },
2628     {
2629         "id": "a94e902e.e313d",
2630         "type": "execute",
2631         "name": "Populate MOUNT NAME",
2632         "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`\"/>",
2633         "comments": "",
2634         "outputs": 1,
2635         "x": 2033.8681564331055,
2636         "y": 1388.5989656448364,
2637         "z": "b04c02f8.7bb8d",
2638         "wires": [
2639             []
2640         ]
2641     },
2642     {
2643         "id": "6d06961e.489968",
2644         "type": "execute",
2645         "name": "getAnchors URL",
2646         "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
2647         "comments": "",
2648         "outputs": 1,
2649         "x": 1505.0833435058594,
2650         "y": 1589.0000066757202,
2651         "z": "b04c02f8.7bb8d",
2652         "wires": [
2653             []
2654         ]
2655     },
2656     {
2657         "id": "b31d94ee.f8c428",
2658         "type": "record",
2659         "name": "record",
2660         "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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
2661         "comments": "",
2662         "outputs": 1,
2663         "x": 1474.3333435058594,
2664         "y": 1633.7500081062317,
2665         "z": "b04c02f8.7bb8d",
2666         "wires": [
2667             []
2668         ]
2669     },
2670     {
2671         "id": "47234b33.292a74",
2672         "type": "execute",
2673         "name": "Get list of anchors from CPS",
2674         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-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\"/>",
2675         "comments": "",
2676         "outputs": 1,
2677         "x": 1543.1388473510742,
2678         "y": 1677.9166765213013,
2679         "z": "b04c02f8.7bb8d",
2680         "wires": [
2681             [
2682                 "1f2cd3af.dcf98c",
2683                 "ab661abe.61bf98"
2684             ]
2685         ]
2686     },
2687     {
2688         "id": "e774ae26.aca33",
2689         "type": "execute",
2690         "name": "set anchors size",
2691         "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
2692         "comments": "",
2693         "outputs": 1,
2694         "x": 1507.4879684448242,
2695         "y": 1803.8209762573242,
2696         "z": "b04c02f8.7bb8d",
2697         "wires": [
2698             []
2699         ]
2700     },
2701     {
2702         "id": "97544c6e.709e8",
2703         "type": "for",
2704         "name": "For anchorsList",
2705         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2706         "comments": "",
2707         "outputs": 1,
2708         "x": 1508.9352340698242,
2709         "y": 1875.5276851654053,
2710         "z": "b04c02f8.7bb8d",
2711         "wires": [
2712             [
2713                 "ac0cc430.e0a138"
2714             ]
2715         ]
2716     },
2717     {
2718         "id": "6334be26.c593f",
2719         "type": "for",
2720         "name": "For anchorsList",
2721         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2722         "comments": "",
2723         "outputs": 1,
2724         "x": 1505.951026916504,
2725         "y": 1926.8457202911377,
2726         "z": "b04c02f8.7bb8d",
2727         "wires": [
2728             [
2729                 "53d81bc2.9cd3a4"
2730             ]
2731         ]
2732     },
2733     {
2734         "id": "ab661abe.61bf98",
2735         "type": "failure",
2736         "name": "failure",
2737         "xml": "<outcome value='failure'>\n",
2738         "comments": "",
2739         "outputs": 1,
2740         "x": 1760.4443588256836,
2741         "y": 1677.5555114746094,
2742         "z": "b04c02f8.7bb8d",
2743         "wires": [
2744             [
2745                 "cc4ba267.71b93"
2746             ]
2747         ]
2748     },
2749     {
2750         "id": "1f2cd3af.dcf98c",
2751         "type": "success",
2752         "name": "success",
2753         "xml": "<outcome value='success'>\n",
2754         "comments": "",
2755         "outputs": 1,
2756         "x": 1756.4445190429688,
2757         "y": 1761.749849319458,
2758         "z": "b04c02f8.7bb8d",
2759         "wires": [
2760             [
2761                 "ba85d10c.952a5"
2762             ]
2763         ]
2764     },
2765     {
2766         "id": "ac0cc430.e0a138",
2767         "type": "block",
2768         "name": "block : atomic",
2769         "xml": "<block atomic='true'>",
2770         "atomic": "true",
2771         "comments": "",
2772         "outputs": 1,
2773         "x": 1729.3240776062012,
2774         "y": 1876.055516242981,
2775         "z": "b04c02f8.7bb8d",
2776         "wires": [
2777             [
2778                 "5d76df3c.57899",
2779                 "10cdde25.56e852"
2780             ]
2781         ]
2782     },
2783     {
2784         "id": "53d81bc2.9cd3a4",
2785         "type": "block",
2786         "name": "block : atomic",
2787         "xml": "<block atomic='true'>",
2788         "atomic": "true",
2789         "comments": "",
2790         "outputs": 1,
2791         "x": 1727.6386947631836,
2792         "y": 1926.0000171661377,
2793         "z": "b04c02f8.7bb8d",
2794         "wires": [
2795             [
2796                 "67cc5255.871eac",
2797                 "a87ca525.e3ed68"
2798             ]
2799         ]
2800     },
2801     {
2802         "id": "cc4ba267.71b93",
2803         "type": "block",
2804         "name": "block",
2805         "xml": "<block>",
2806         "atomic": "false",
2807         "comments": "",
2808         "outputs": 1,
2809         "x": 1911.1388626098633,
2810         "y": 1677.166675567627,
2811         "z": "b04c02f8.7bb8d",
2812         "wires": [
2813             [
2814                 "d53e8295.85ab1",
2815                 "e99c95e1.e9d698"
2816             ]
2817         ]
2818     },
2819     {
2820         "id": "d53e8295.85ab1",
2821         "type": "set",
2822         "name": "set",
2823         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2824         "comments": "",
2825         "x": 2070.916374206543,
2826         "y": 1676.999846458435,
2827         "z": "b04c02f8.7bb8d",
2828         "wires": []
2829     },
2830     {
2831         "id": "e99c95e1.e9d698",
2832         "type": "record",
2833         "name": "record",
2834         "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=\"Failed to fetch anchors from CPS\"/>",
2835         "comments": "",
2836         "outputs": 1,
2837         "x": 2070.7223587036133,
2838         "y": 1717.5276803970337,
2839         "z": "b04c02f8.7bb8d",
2840         "wires": [
2841             []
2842         ]
2843     },
2844     {
2845         "id": "ba85d10c.952a5",
2846         "type": "block",
2847         "name": "block : atomic",
2848         "xml": "<block atomic='true'>",
2849         "atomic": "true",
2850         "comments": "",
2851         "outputs": 1,
2852         "x": 1913.8886947631836,
2853         "y": 1762.4166793823242,
2854         "z": "b04c02f8.7bb8d",
2855         "wires": [
2856             [
2857                 "d29fe503.3a70a8",
2858                 "d061e171.2760a"
2859             ]
2860         ]
2861     },
2862     {
2863         "id": "d29fe503.3a70a8",
2864         "type": "record",
2865         "name": "record",
2866         "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 anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
2867         "comments": "",
2868         "outputs": 1,
2869         "x": 2075.638542175293,
2870         "y": 1762.6666793823242,
2871         "z": "b04c02f8.7bb8d",
2872         "wires": [
2873             []
2874         ]
2875     },
2876     {
2877         "id": "d061e171.2760a",
2878         "type": "execute",
2879         "name": "printContext",
2880         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-closedLoop-context.log' />",
2881         "comments": "",
2882         "outputs": 1,
2883         "x": 2092.1670265197754,
2884         "y": 1800.4166803359985,
2885         "z": "b04c02f8.7bb8d",
2886         "wires": [
2887             []
2888         ]
2889     },
2890     {
2891         "id": "10cdde25.56e852",
2892         "type": "execute",
2893         "name": "read schemaSet",
2894         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
2895         "comments": "",
2896         "outputs": 1,
2897         "x": 1925.9876556396484,
2898         "y": 1832.9596493244171,
2899         "z": "b04c02f8.7bb8d",
2900         "wires": [
2901             []
2902         ]
2903     },
2904     {
2905         "id": "5d76df3c.57899",
2906         "type": "switchNode",
2907         "name": "check schemaSetName",
2908         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2909         "comments": "",
2910         "outputs": 1,
2911         "x": 1951.4723587036133,
2912         "y": 1876.0555171966553,
2913         "z": "b04c02f8.7bb8d",
2914         "wires": [
2915             [
2916                 "482358eb.b0ae38"
2917             ]
2918         ]
2919     },
2920     {
2921         "id": "67cc5255.871eac",
2922         "type": "execute",
2923         "name": "read schemaSet",
2924         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
2925         "comments": "",
2926         "outputs": 1,
2927         "x": 1931.2995071411133,
2928         "y": 1926.1790523529053,
2929         "z": "b04c02f8.7bb8d",
2930         "wires": [
2931             []
2932         ]
2933     },
2934     {
2935         "id": "a87ca525.e3ed68",
2936         "type": "switchNode",
2937         "name": "check schemaSetName",
2938         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2939         "comments": "",
2940         "outputs": 1,
2941         "x": 1955.2715110778809,
2942         "y": 1971.429054260254,
2943         "z": "b04c02f8.7bb8d",
2944         "wires": [
2945             [
2946                 "63e27211.eac73c"
2947             ]
2948         ]
2949     },
2950     {
2951         "id": "63e27211.eac73c",
2952         "type": "outcome",
2953         "name": "if ran-network",
2954         "xml": "<outcome value='ran-network'>\n",
2955         "comments": "",
2956         "outputs": 1,
2957         "x": 2167.077178955078,
2958         "y": 1971.901222229004,
2959         "z": "b04c02f8.7bb8d",
2960         "wires": [
2961             [
2962                 "aad91fde.2645a"
2963             ]
2964         ]
2965     },
2966     {
2967         "id": "482358eb.b0ae38",
2968         "type": "outcome",
2969         "name": "if ran-network",
2970         "xml": "<outcome value='ran-network'>\n",
2971         "comments": "",
2972         "outputs": 1,
2973         "x": 2168.777862548828,
2974         "y": 1875.5278463363647,
2975         "z": "b04c02f8.7bb8d",
2976         "wires": [
2977             [
2978                 "c12ea50.9b97958"
2979             ]
2980         ]
2981     },
2982     {
2983         "id": "c12ea50.9b97958",
2984         "type": "block",
2985         "name": "block : atomic",
2986         "xml": "<block atomic='true'>",
2987         "atomic": "true",
2988         "comments": "",
2989         "outputs": 1,
2990         "x": 2351.0801162719727,
2991         "y": 1874.8610162734985,
2992         "z": "b04c02f8.7bb8d",
2993         "wires": [
2994             [
2995                 "6234a89c.645ce8",
2996                 "850ee848.058e48"
2997             ]
2998         ]
2999     },
3000     {
3001         "id": "aad91fde.2645a",
3002         "type": "block",
3003         "name": "block : atomic",
3004         "xml": "<block atomic='true'>",
3005         "atomic": "true",
3006         "comments": "",
3007         "outputs": 1,
3008         "x": 2355.2129287719727,
3009         "y": 1972.123390197754,
3010         "z": "b04c02f8.7bb8d",
3011         "wires": [
3012             [
3013                 "d1a0b66d.6369a8",
3014                 "b9fcde15.17355"
3015             ]
3016         ]
3017     },
3018     {
3019         "id": "850ee848.058e48",
3020         "type": "execute",
3021         "name": "set nearRTRIC size",
3022         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
3023         "comments": "",
3024         "outputs": 1,
3025         "x": 2563.0516395568848,
3026         "y": 1837.3457164764404,
3027         "z": "b04c02f8.7bb8d",
3028         "wires": [
3029             []
3030         ]
3031     },
3032     {
3033         "id": "6234a89c.645ce8",
3034         "type": "record",
3035         "name": "record",
3036         "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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
3037         "comments": "",
3038         "outputs": 1,
3039         "x": 2528.9940223693848,
3040         "y": 1874.6666812896729,
3041         "z": "b04c02f8.7bb8d",
3042         "wires": [
3043             []
3044         ]
3045     },
3046     {
3047         "id": "d1a0b66d.6369a8",
3048         "type": "execute",
3049         "name": "read anchorName",
3050         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
3051         "comments": "",
3052         "outputs": 1,
3053         "x": 2564.1947021484375,
3054         "y": 1930.7778491973877,
3055         "z": "b04c02f8.7bb8d",
3056         "wires": [
3057             []
3058         ]
3059     },
3060     {
3061         "id": "b9fcde15.17355",
3062         "type": "block",
3063         "name": "block : atomic",
3064         "xml": "<block atomic='true'>",
3065         "atomic": "true",
3066         "comments": "",
3067         "outputs": 1,
3068         "x": 2571.139045715332,
3069         "y": 1982.5000190734863,
3070         "z": "b04c02f8.7bb8d",
3071         "wires": [
3072             [
3073                 "93a9f128.16a34",
3074                 "e6973b44.7c8b18",
3075                 "d9f59159.bccda",
3076                 "e7e491b1.2463c",
3077                 "2fd1be24.517232",
3078                 "78ae1961.bdf7a8",
3079                 "e209093a.387438",
3080                 "80c7b689.e218b8",
3081                 "16b3f743.a85db9",
3082                 "34a7e97e.ecbd66",
3083                 "6426c68d.016c98",
3084                 "1b22ce98.2c6fa1"
3085             ]
3086         ]
3087     },
3088     {
3089         "id": "e9a31ae.98576e8",
3090         "type": "execute",
3091         "name": "read sliceProfileId from input",
3092         "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\" />",
3093         "comments": "",
3094         "outputs": 1,
3095         "x": 2881,
3096         "y": 1016,
3097         "z": "b04c02f8.7bb8d",
3098         "wires": [
3099             []
3100         ]
3101     },
3102     {
3103         "id": "859c60d3.e5f3d",
3104         "type": "record",
3105         "name": "record",
3106         "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=\"sliceprofileid from input\"/>\n<parameter name=\"field2\" value=\"`$tmp.sliceprofileid`\"/>\n",
3107         "comments": "",
3108         "outputs": 1,
3109         "x": 2814,
3110         "y": 1050,
3111         "z": "b04c02f8.7bb8d",
3112         "wires": [
3113             []
3114         ]
3115     },
3116     {
3117         "id": "18335f27.526491",
3118         "type": "execute",
3119         "name": "generate plmnid URL cps",
3120         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
3121         "comments": "",
3122         "outputs": 1,
3123         "x": 2870.639217376709,
3124         "y": 1082.9834432601929,
3125         "z": "b04c02f8.7bb8d",
3126         "wires": [
3127             []
3128         ]
3129     },
3130     {
3131         "id": "986b500b.efd7",
3132         "type": "execute",
3133         "name": "prepare tbdmt template",
3134         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnid`\"/>",
3135         "comments": "",
3136         "outputs": 1,
3137         "x": 2862.639217376709,
3138         "y": 1116.5833797454834,
3139         "z": "b04c02f8.7bb8d",
3140         "wires": [
3141             []
3142         ]
3143     },
3144     {
3145         "id": "82068605.3b8bb8",
3146         "type": "record",
3147         "name": "record TBDMT RestAPI params",
3148         "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=\"URL for CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNID.url`\" />",
3149         "comments": "",
3150         "outputs": 1,
3151         "x": 2889.639186859131,
3152         "y": 1151.7834935188293,
3153         "z": "b04c02f8.7bb8d",
3154         "wires": [
3155             []
3156         ]
3157     },
3158     {
3159         "id": "db9ae584.12e248",
3160         "type": "execute",
3161         "name": "Get pLMNId mcc, mnc from sliceprofileID",
3162         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnid-cps-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\"/>",
3163         "comments": "",
3164         "outputs": 1,
3165         "x": 2918.6395149230957,
3166         "y": 1186.7834181785583,
3167         "z": "b04c02f8.7bb8d",
3168         "wires": [
3169             [
3170                 "90dc3b92.f00d98",
3171                 "c624131a.ffad"
3172             ]
3173         ]
3174     },
3175     {
3176         "id": "90dc3b92.f00d98",
3177         "type": "failure",
3178         "name": "failure",
3179         "xml": "<outcome value='failure'>\n",
3180         "comments": "",
3181         "outputs": 1,
3182         "x": 3185.4166374206543,
3183         "y": 1126.6943535804749,
3184         "z": "b04c02f8.7bb8d",
3185         "wires": [
3186             [
3187                 "cf0acb5.046e338"
3188             ]
3189         ]
3190     },
3191     {
3192         "id": "c624131a.ffad",
3193         "type": "success",
3194         "name": "success",
3195         "xml": "<outcome value='success'>\n",
3196         "comments": "",
3197         "outputs": 1,
3198         "x": 3191.6385459899902,
3199         "y": 1187.583387851715,
3200         "z": "b04c02f8.7bb8d",
3201         "wires": [
3202             [
3203                 "6c71794d.ded598"
3204             ]
3205         ]
3206     },
3207     {
3208         "id": "cf0acb5.046e338",
3209         "type": "block",
3210         "name": "block",
3211         "xml": "<block>",
3212         "atomic": "false",
3213         "comments": "",
3214         "outputs": 1,
3215         "x": 3363.638874053955,
3216         "y": 1126.583155632019,
3217         "z": "b04c02f8.7bb8d",
3218         "wires": [
3219             [
3220                 "8363fbc2.8956c8",
3221                 "e14eede.1c0201",
3222                 "def3245.d2ff2d8",
3223                 "e70e6789.6b9e38"
3224             ]
3225         ]
3226     },
3227     {
3228         "id": "6c71794d.ded598",
3229         "type": "block",
3230         "name": "block : atomic",
3231         "xml": "<block atomic='true'>",
3232         "atomic": "true",
3233         "comments": "",
3234         "outputs": 1,
3235         "x": 3361.527545928955,
3236         "y": 1187.4721417427063,
3237         "z": "b04c02f8.7bb8d",
3238         "wires": [
3239             [
3240                 "5843895a.a162c8",
3241                 "77dcdbf5.df3404",
3242                 "9e39a197.8c271"
3243             ]
3244         ]
3245     },
3246     {
3247         "id": "e14eede.1c0201",
3248         "type": "record",
3249         "name": "record",
3250         "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=\"Failed to obtain MCC, MNC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-get-plmnid.json`\"/>\n",
3251         "comments": "",
3252         "outputs": 1,
3253         "x": 3547.3330574035645,
3254         "y": 1046.6668577194214,
3255         "z": "b04c02f8.7bb8d",
3256         "wires": [
3257             []
3258         ]
3259     },
3260     {
3261         "id": "8363fbc2.8956c8",
3262         "type": "set",
3263         "name": "set",
3264         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
3265         "comments": "",
3266         "x": 3547.1943855285645,
3267         "y": 997.4721946716309,
3268         "z": "b04c02f8.7bb8d",
3269         "wires": []
3270     },
3271     {
3272         "id": "77dcdbf5.df3404",
3273         "type": "execute",
3274         "name": "read nearRTRICId-PLMN",
3275         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mcc' />\n\t<parameter name='source' value=\"`'getplmnid-cps-response.[0].mcc'`\" />\n",
3276         "comments": "",
3277         "outputs": 1,
3278         "x": 3615.3502311706543,
3279         "y": 1150.4497246742249,
3280         "z": "b04c02f8.7bb8d",
3281         "wires": [
3282             []
3283         ]
3284     },
3285     {
3286         "id": "5843895a.a162c8",
3287         "type": "record",
3288         "name": "record",
3289         "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 MCC, MNC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$tmp.plmn.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmn.mnc`\"/>\n",
3290         "comments": "",
3291         "outputs": 1,
3292         "x": 3557.1392936706543,
3293         "y": 1225.8332695960999,
3294         "z": "b04c02f8.7bb8d",
3295         "wires": [
3296             []
3297         ]
3298     },
3299     {
3300         "id": "def3245.d2ff2d8",
3301         "type": "returnFailure",
3302         "name": "return failure",
3303         "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'/>",
3304         "comments": "",
3305         "x": 3565.9997215270996,
3306         "y": 1086.0000290870667,
3307         "z": "b04c02f8.7bb8d",
3308         "wires": []
3309     },
3310     {
3311         "id": "9e39a197.8c271",
3312         "type": "execute",
3313         "name": "read nearRTRICId-PLMN",
3314         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mnc' />\n\t<parameter name='source' value=\"`'getplmnid-cps-response.[0].mnc'`\" />\n",
3315         "comments": "",
3316         "outputs": 1,
3317         "x": 3613.6668815612793,
3318         "y": 1188.0001397132874,
3319         "z": "b04c02f8.7bb8d",
3320         "wires": [
3321             []
3322         ]
3323     },
3324     {
3325         "id": "d773ae89.73757",
3326         "type": "set",
3327         "name": "set mcc & mnc Variables",
3328         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",
3329         "comments": "",
3330         "x": 2868.6668968200684,
3331         "y": 1222.3334832191467,
3332         "z": "b04c02f8.7bb8d",
3333         "wires": []
3334     },
3335     {
3336         "id": "d70f793c.b395e8",
3337         "type": "record",
3338         "name": "record",
3339         "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=\"mcc,mnc values...\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
3340         "comments": "",
3341         "outputs": 1,
3342         "x": 2812.666904449463,
3343         "y": 1256.3334832191467,
3344         "z": "b04c02f8.7bb8d",
3345         "wires": [
3346             []
3347         ]
3348     },
3349     {
3350         "id": "93a9f128.16a34",
3351         "type": "set",
3352         "name": "set  Variables",
3353         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.mcc`' />\n<parameter name='tmp.mnc' value='`$tmp.mnc`' />\n<parameter name='tmp.configParameter' value='`dLThptPerSlice`' />\n<parameter name='tmp.configValue' value='`$tmp.dLThptPerSlice`' />",
3354         "comments": "",
3355         "x": 2867,
3356         "y": 1765,
3357         "z": "b04c02f8.7bb8d",
3358         "wires": []
3359     },
3360     {
3361         "id": "e6973b44.7c8b18",
3362         "type": "record",
3363         "name": "record",
3364         "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=\"Inputs\"/>\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.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.configParameter`\"/>\n<parameter name=\"field8\" value=\"`$tmp.configValue`\"/>",
3365         "comments": "",
3366         "outputs": 1,
3367         "x": 2846.8051719665527,
3368         "y": 1797.6665167808533,
3369         "z": "b04c02f8.7bb8d",
3370         "wires": [
3371             []
3372         ]
3373     },
3374     {
3375         "id": "d9f59159.bccda",
3376         "type": "execute",
3377         "name": "generate dLThptPerSliceURL cps",
3378         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
3379         "comments": "",
3380         "outputs": 1,
3381         "x": 2923.4720344543457,
3382         "y": 1830.6666946411133,
3383         "z": "b04c02f8.7bb8d",
3384         "wires": [
3385             []
3386         ]
3387     },
3388     {
3389         "id": "e7e491b1.2463c",
3390         "type": "execute",
3391         "name": "prepare tbdmt template",
3392         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-configData`\"/>",
3393         "comments": "",
3394         "outputs": 1,
3395         "x": 2889.4720344543457,
3396         "y": 1866.2666311264038,
3397         "z": "b04c02f8.7bb8d",
3398         "wires": [
3399             []
3400         ]
3401     },
3402     {
3403         "id": "2fd1be24.517232",
3404         "type": "record",
3405         "name": "record TBDMT RestAPI params",
3406         "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=\"URL for CPS TDBMT to patch dLThptPerSlice\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchconfigData.url`\" />",
3407         "comments": "",
3408         "outputs": 1,
3409         "x": 2915.4718742370605,
3410         "y": 1902.466501235962,
3411         "z": "b04c02f8.7bb8d",
3412         "wires": [
3413             []
3414         ]
3415     },
3416     {
3417         "id": "78ae1961.bdf7a8",
3418         "type": "execute",
3419         "name": "patch dLThptPerSlice",
3420         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-configData.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchdLThptPerSlice-cps-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\"/>",
3421         "comments": "",
3422         "outputs": 1,
3423         "x": 2882.471836090088,
3424         "y": 1937.4665126800537,
3425         "z": "b04c02f8.7bb8d",
3426         "wires": [
3427             [
3428                 "5dd8e8e6.0f6b58",
3429                 "57c04402.27d17c"
3430             ]
3431         ]
3432     },
3433     {
3434         "id": "57c04402.27d17c",
3435         "type": "success",
3436         "name": "success",
3437         "xml": "<outcome value='success'>\n",
3438         "comments": "",
3439         "outputs": 1,
3440         "x": 3131.47123336792,
3441         "y": 1936.2663078308105,
3442         "z": "b04c02f8.7bb8d",
3443         "wires": [
3444             [
3445                 "f0aa26a4.a8d398"
3446             ]
3447         ]
3448     },
3449     {
3450         "id": "5dd8e8e6.0f6b58",
3451         "type": "failure",
3452         "name": "failure",
3453         "xml": "<outcome value='failure'>\n",
3454         "comments": "",
3455         "outputs": 1,
3456         "x": 3135.249164581299,
3457         "y": 1857.3774547576904,
3458         "z": "b04c02f8.7bb8d",
3459         "wires": [
3460             [
3461                 "ff3e21ea.4dd2"
3462             ]
3463         ]
3464     },
3465     {
3466         "id": "ff3e21ea.4dd2",
3467         "type": "block",
3468         "name": "block",
3469         "xml": "<block>",
3470         "atomic": "false",
3471         "comments": "",
3472         "outputs": 1,
3473         "x": 3265.471237182617,
3474         "y": 1859.2663068771362,
3475         "z": "b04c02f8.7bb8d",
3476         "wires": [
3477             [
3478                 "c9f609cb.f173a8",
3479                 "45d1cdff.6e8c24",
3480                 "737db7b9.9036e8"
3481             ]
3482         ]
3483     },
3484     {
3485         "id": "f0aa26a4.a8d398",
3486         "type": "block",
3487         "name": "block : atomic",
3488         "xml": "<block atomic='true'>",
3489         "atomic": "true",
3490         "comments": "",
3491         "outputs": 1,
3492         "x": 3295.3605575561523,
3493         "y": 1937.1553058624268,
3494         "z": "b04c02f8.7bb8d",
3495         "wires": [
3496             [
3497                 "5f561ca2.24e214"
3498             ]
3499         ]
3500     },
3501     {
3502         "id": "5f561ca2.24e214",
3503         "type": "record",
3504         "name": "record",
3505         "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 dLThptPerSlice\"/>\n<parameter name=\"field2\" value=\"`$patchdLThptPerSlice-cps-response.httpResponse`\"/>",
3506         "comments": "",
3507         "outputs": 1,
3508         "x": 3474.971893310547,
3509         "y": 1937.5163087844849,
3510         "z": "b04c02f8.7bb8d",
3511         "wires": [
3512             []
3513         ]
3514     },
3515     {
3516         "id": "737db7b9.9036e8",
3517         "type": "returnFailure",
3518         "name": "return failure",
3519         "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'/>",
3520         "comments": "",
3521         "x": 3436.80517578125,
3522         "y": 1857.6667070388794,
3523         "z": "b04c02f8.7bb8d",
3524         "wires": []
3525     },
3526     {
3527         "id": "c9f609cb.f173a8",
3528         "type": "set",
3529         "name": "set",
3530         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
3531         "comments": "",
3532         "x": 3417.0269622802734,
3533         "y": 1818.1555309295654,
3534         "z": "b04c02f8.7bb8d",
3535         "wires": []
3536     },
3537     {
3538         "id": "45d1cdff.6e8c24",
3539         "type": "record",
3540         "name": "record",
3541         "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=\"Failed to update CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-configData.json`\"/>\n<parameter name=\"field3\" value=\"`$patchdLThptPerSlice-cps-response.httpResponse`\"/>",
3542         "comments": "",
3543         "outputs": 1,
3544         "x": 3418.165901184082,
3545         "y": 1777.34996175766,
3546         "z": "b04c02f8.7bb8d",
3547         "wires": [
3548             []
3549         ]
3550     },
3551     {
3552         "id": "af84ac47.96d83",
3553         "type": "set",
3554         "name": "set",
3555         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
3556         "comments": "",
3557         "x": 3482.3327102661133,
3558         "y": 2117.8052864074707,
3559         "z": "b04c02f8.7bb8d",
3560         "wires": []
3561     },
3562     {
3563         "id": "24fd6f9e.2bf8d",
3564         "type": "returnFailure",
3565         "name": "return failure",
3566         "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'/>",
3567         "comments": "",
3568         "x": 3506.7780265808105,
3569         "y": 2158.316680908203,
3570         "z": "b04c02f8.7bb8d",
3571         "wires": []
3572     },
3573     {
3574         "id": "129be534.b22acb",
3575         "type": "record",
3576         "name": "record",
3577         "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 uLThptPerSlice\"/>\n<parameter name=\"field2\" value=\"`$patchuLThptPerSlice-cps-response.httpResponse`\"/>",
3578         "comments": "",
3579         "outputs": 1,
3580         "x": 3499.2780227661133,
3581         "y": 2216.1664142608643,
3582         "z": "b04c02f8.7bb8d",
3583         "wires": [
3584             []
3585         ]
3586     },
3587     {
3588         "id": "ba549318.a9b07",
3589         "type": "block",
3590         "name": "block : atomic",
3591         "xml": "<block atomic='true'>",
3592         "atomic": "true",
3593         "comments": "",
3594         "outputs": 1,
3595         "x": 3321.666690826416,
3596         "y": 2215.8057374954224,
3597         "z": "b04c02f8.7bb8d",
3598         "wires": [
3599             [
3600                 "129be534.b22acb"
3601             ]
3602         ]
3603     },
3604     {
3605         "id": "1219c976.9bbc57",
3606         "type": "block",
3607         "name": "block",
3608         "xml": "<block>",
3609         "atomic": "false",
3610         "comments": "",
3611         "outputs": 1,
3612         "x": 3286.7773666381836,
3613         "y": 2160.916290283203,
3614         "z": "b04c02f8.7bb8d",
3615         "wires": [
3616             [
3617                 "af84ac47.96d83",
3618                 "24fd6f9e.2bf8d",
3619                 "267fadbf.81adc2"
3620             ]
3621         ]
3622     },
3623     {
3624         "id": "2ae8cd06.209dc2",
3625         "type": "success",
3626         "name": "success",
3627         "xml": "<outcome value='success'>\n",
3628         "comments": "",
3629         "outputs": 1,
3630         "x": 3145.7773628234863,
3631         "y": 2214.9164142608643,
3632         "z": "b04c02f8.7bb8d",
3633         "wires": [
3634             [
3635                 "ba549318.a9b07"
3636             ]
3637         ]
3638     },
3639     {
3640         "id": "9d04e94c.4edda8",
3641         "type": "failure",
3642         "name": "failure",
3643         "xml": "<outcome value='failure'>\n",
3644         "comments": "",
3645         "outputs": 1,
3646         "x": 3140.555181503296,
3647         "y": 2161.0274114608765,
3648         "z": "b04c02f8.7bb8d",
3649         "wires": [
3650             [
3651                 "1219c976.9bbc57"
3652             ]
3653         ]
3654     },
3655     {
3656         "id": "16b3f743.a85db9",
3657         "type": "execute",
3658         "name": "generate uLThptPerSliceURL cps",
3659         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchuLThptPerSlice.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
3660         "comments": "",
3661         "outputs": 1,
3662         "x": 2920.777988433838,
3663         "y": 2051.316632270813,
3664         "z": "b04c02f8.7bb8d",
3665         "wires": [
3666             []
3667         ]
3668     },
3669     {
3670         "id": "34a7e97e.ecbd66",
3671         "type": "execute",
3672         "name": "prepare tbdmt template",
3673         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchuLThptPerSlice.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-configData`\"/>",
3674         "comments": "",
3675         "outputs": 1,
3676         "x": 2890.7778282165527,
3677         "y": 2086.916569709778,
3678         "z": "b04c02f8.7bb8d",
3679         "wires": [
3680             []
3681         ]
3682     },
3683     {
3684         "id": "6426c68d.016c98",
3685         "type": "record",
3686         "name": "record TBDMT RestAPI params",
3687         "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=\"URL for CPS TDBMT to patch uLThptPerSlice\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchuLThptPerSlice.url`\" />",
3688         "comments": "",
3689         "outputs": 1,
3690         "x": 2916.7778282165527,
3691         "y": 2125.1164407730103,
3692         "z": "b04c02f8.7bb8d",
3693         "wires": [
3694             []
3695         ]
3696     },
3697     {
3698         "id": "1b22ce98.2c6fa1",
3699         "type": "execute",
3700         "name": "patch uLThptPerSlice",
3701         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-configData.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchuLThptPerSlice-cps-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\"/>",
3702         "comments": "",
3703         "outputs": 1,
3704         "x": 2883.7778282165527,
3705         "y": 2162.116442680359,
3706         "z": "b04c02f8.7bb8d",
3707         "wires": [
3708             [
3709                 "9d04e94c.4edda8",
3710                 "2ae8cd06.209dc2"
3711             ]
3712         ]
3713     },
3714     {
3715         "id": "e209093a.387438",
3716         "type": "set",
3717         "name": "set  Variables",
3718         "xml": "<set>\n<parameter name='tmp.configParameter' value='`uLThptPerSlice`' />\n<parameter name='tmp.configValue' value='`$tmp.uLThptPerSlice`' />",
3719         "comments": "",
3720         "x": 2856.361026763916,
3721         "y": 1979.6499471664429,
3722         "z": "b04c02f8.7bb8d",
3723         "wires": []
3724     },
3725     {
3726         "id": "267fadbf.81adc2",
3727         "type": "record",
3728         "name": "record",
3729         "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=\"Failed to update CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-uLThptPerSlice.json`\"/>\n",
3730         "comments": "",
3731         "outputs": 1,
3732         "x": 3480.47216796875,
3733         "y": 2079,
3734         "z": "b04c02f8.7bb8d",
3735         "wires": [
3736             []
3737         ]
3738     },
3739     {
3740         "id": "80c7b689.e218b8",
3741         "type": "record",
3742         "name": "record",
3743         "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=\"Inputs\"/>\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.configParameter`\"/>\n<parameter name=\"field8\" value=\"`$tmp.configValue`\"/>",
3744         "comments": "",
3745         "outputs": 1,
3746         "x": 2837.472053527832,
3747         "y": 2015.9999599456787,
3748         "z": "b04c02f8.7bb8d",
3749         "wires": [
3750             []
3751         ]
3752     },
3753     {
3754         "id": "15c99720.f87d29",
3755         "type": "execute",
3756         "name": "prepare mcc",
3757         "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`\"/>",
3758         "comments": "",
3759         "outputs": 1,
3760         "x": 1434,
3761         "y": 1354,
3762         "z": "b04c02f8.7bb8d",
3763         "wires": [
3764             []
3765         ]
3766     },
3767     {
3768         "id": "8ccfa554.2fa6e8",
3769         "type": "execute",
3770         "name": "prepare mnc",
3771         "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`\"/>",
3772         "comments": "",
3773         "outputs": 1,
3774         "x": 1439.5,
3775         "y": 1393.0000009536743,
3776         "z": "b04c02f8.7bb8d",
3777         "wires": [
3778             []
3779         ]
3780     },
3781     {
3782         "id": "c5d126b9.e8dfa8",
3783         "type": "record",
3784         "name": "record",
3785         "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\n\n\n\n\n\n",
3786         "comments": "",
3787         "outputs": 1,
3788         "x": 1423.2498359680176,
3789         "y": 1445.2498426437378,
3790         "z": "b04c02f8.7bb8d",
3791         "wires": [
3792             []
3793         ]
3794     },
3795     {
3796         "id": "9e4ab5af.09db38",
3797         "type": "execute",
3798         "name": "patch NearRTRIC - config",
3799         "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' />",
3800         "comments": "",
3801         "outputs": 1,
3802         "x": 1469.2499961853027,
3803         "y": 1512.5000066757202,
3804         "z": "b04c02f8.7bb8d",
3805         "wires": [
3806             [
3807                 "9efadd8b.23cc",
3808                 "4f6914a0.63906c"
3809             ]
3810         ]
3811     },
3812     {
3813         "id": "9efadd8b.23cc",
3814         "type": "success",
3815         "name": "success",
3816         "xml": "<outcome value='success'>\n",
3817         "comments": "",
3818         "outputs": 1,
3819         "x": 1702.7500076293945,
3820         "y": 1510.7500066757202,
3821         "z": "b04c02f8.7bb8d",
3822         "wires": [
3823             [
3824                 "1a5bd839.97e528"
3825             ]
3826         ]
3827     },
3828     {
3829         "id": "4f6914a0.63906c",
3830         "type": "failure",
3831         "name": "failure",
3832         "xml": "<outcome value='failure'>\n",
3833         "comments": "",
3834         "outputs": 1,
3835         "x": 1713.312831878662,
3836         "y": 1558.3125085830688,
3837         "z": "b04c02f8.7bb8d",
3838         "wires": [
3839             [
3840                 "496bef32.a732"
3841             ]
3842         ]
3843     },
3844     {
3845         "id": "496bef32.a732",
3846         "type": "block",
3847         "name": "block",
3848         "xml": "<block>",
3849         "atomic": "false",
3850         "comments": "",
3851         "outputs": 1,
3852         "x": 1862.3126754760742,
3853         "y": 1559.3123455047607,
3854         "z": "b04c02f8.7bb8d",
3855         "wires": [
3856             [
3857                 "f0a65bd4.ddc108",
3858                 "b19c3f0c.906e"
3859             ]
3860         ]
3861     },
3862     {
3863         "id": "1a5bd839.97e528",
3864         "type": "block",
3865         "name": "block : atomic",
3866         "xml": "<block atomic='true'>",
3867         "atomic": "true",
3868         "comments": "",
3869         "outputs": 1,
3870         "x": 1870.749683380127,
3871         "y": 1509.7500076293945,
3872         "z": "b04c02f8.7bb8d",
3873         "wires": [
3874             [
3875                 "f4086f6a.704d9"
3876             ]
3877         ]
3878     },
3879     {
3880         "id": "f0a65bd4.ddc108",
3881         "type": "returnFailure",
3882         "name": "return failure",
3883         "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'/>",
3884         "comments": "",
3885         "x": 2049.312599182129,
3886         "y": 1584.3123679161072,
3887         "z": "b04c02f8.7bb8d",
3888         "wires": []
3889     },
3890     {
3891         "id": "b19c3f0c.906e",
3892         "type": "set",
3893         "name": "set",
3894         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
3895         "comments": "",
3896         "x": 2088.3130836486816,
3897         "y": 1533.4233756065369,
3898         "z": "b04c02f8.7bb8d",
3899         "wires": []
3900     },
3901     {
3902         "id": "f4086f6a.704d9",
3903         "type": "record",
3904         "name": "record",
3905         "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\"/>",
3906         "comments": "",
3907         "outputs": 1,
3908         "x": 2083.499485015869,
3909         "y": 1477.5000357627869,
3910         "z": "b04c02f8.7bb8d",
3911         "wires": [
3912             []
3913         ]
3914     }
3915 ]