07fea53d62f88d98c1f66e96e9322543cc070a16
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceReconfigure-cps.json
1 [
2     {
3         "id": "9f061b81.5ee4f8",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSliceReconfigure-cps' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 332.6666946411133,
10         "y": 244.0000286102295,
11         "z": "4d7c5b65.634a04",
12         "wires": [
13             [
14                 "482ddcd8.26f684"
15             ]
16         ]
17     },
18     {
19         "id": "1bd8c394.29fc0c",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 129.66665649414062,
24         "y": 133,
25         "z": "4d7c5b65.634a04",
26         "wires": [
27             [
28                 "308c4369.7525dc"
29             ]
30         ]
31     },
32     {
33         "id": "308c4369.7525dc",
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": 375.6666259765625,
42         "y": 134.00008296966553,
43         "z": "4d7c5b65.634a04",
44         "wires": [
45             [
46                 "9f061b81.5ee4f8"
47             ]
48         ]
49     },
50     {
51         "id": "bd9cb92d.d2bc28",
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": 327.1562805175781,
57         "y": 2170.0003147125244,
58         "z": "4d7c5b65.634a04",
59         "wires": []
60     },
61     {
62         "id": "9e06e626.8eae98",
63         "type": "comment",
64         "name": "instantiateRANSliceReconfigure-cps",
65         "info": "",
66         "comments": "",
67         "x": 426.6666564941406,
68         "y": 45.010406494140625,
69         "z": "4d7c5b65.634a04",
70         "wires": []
71     },
72     {
73         "id": "482ddcd8.26f684",
74         "type": "block",
75         "name": "block : atomic",
76         "xml": "<block atomic='true'>",
77         "atomic": "true",
78         "comments": "",
79         "outputs": 1,
80         "x": 236.6666259765625,
81         "y": 351.0104064941406,
82         "z": "4d7c5b65.634a04",
83         "wires": [
84             [
85                 "bd9cb92d.d2bc28",
86                 "8d913069.84b02",
87                 "c151b8d6.48dfa8",
88                 "89979590.5ecd48"
89             ]
90         ]
91     },
92     {
93         "id": "45049f27.1a99",
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": 4003.656562805176,
100         "y": 7772.020883321762,
101         "z": "4d7c5b65.634a04",
102         "wires": [
103             [
104                 "ac24d742.6eff88"
105             ]
106         ]
107     },
108     {
109         "id": "ac24d742.6eff88",
110         "type": "success",
111         "name": "success",
112         "xml": "<outcome value='success'>\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 4340.656440734863,
116         "y": 7798.010385274887,
117         "z": "4d7c5b65.634a04",
118         "wires": [
119             [
120                 "6befcd06.33f3e4"
121             ]
122         ]
123     },
124     {
125         "id": "6befcd06.33f3e4",
126         "type": "block",
127         "name": "block",
128         "xml": "<block>\n",
129         "atomic": "false",
130         "comments": "",
131         "outputs": 1,
132         "x": 4520.656196594238,
133         "y": 7795.010385274887,
134         "z": "4d7c5b65.634a04",
135         "wires": [
136             [
137                 "258c4dc5.68dca2"
138             ]
139         ]
140     },
141     {
142         "id": "258c4dc5.68dca2",
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": 4669.656497955322,
149         "y": 7821.010577917099,
150         "z": "4d7c5b65.634a04",
151         "wires": [
152             []
153         ]
154     },
155     {
156         "id": "89979590.5ecd48",
157         "type": "block",
158         "name": "SO Response",
159         "xml": "<block atomic='true'>",
160         "atomic": "true",
161         "comments": "",
162         "outputs": 1,
163         "x": 356.4166564941406,
164         "y": 2120.2646436691284,
165         "z": "4d7c5b65.634a04",
166         "wires": [
167             [
168                 "5b1e63ee.b0bcac",
169                 "6a98c3e2.10f9dc",
170                 "bd81bd27.c9df1",
171                 "88fbf49.5fc7708"
172             ]
173         ]
174     },
175     {
176         "id": "5b1e63ee.b0bcac",
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": 758.6666488647461,
183         "y": 2238.0149450302124,
184         "z": "4d7c5b65.634a04",
185         "wires": [
186             []
187         ]
188     },
189     {
190         "id": "f6a80048.4c96f",
191         "type": "failure",
192         "name": "failure",
193         "xml": "<outcome value='failure'>\n",
194         "comments": "",
195         "outputs": 1,
196         "x": 896.6667251586914,
197         "y": 2301.014757156372,
198         "z": "4d7c5b65.634a04",
199         "wires": [
200             [
201                 "93970682.457ea8"
202             ]
203         ]
204     },
205     {
206         "id": "6ef55787.17d028",
207         "type": "success",
208         "name": "success",
209         "xml": "<outcome value='success'>\n",
210         "comments": "",
211         "outputs": 1,
212         "x": 888.666618347168,
213         "y": 2374.0147075653076,
214         "z": "4d7c5b65.634a04",
215         "wires": [
216             [
217                 "bd8eb24b.e9c4b"
218             ]
219         ]
220     },
221     {
222         "id": "bd8eb24b.e9c4b",
223         "type": "block",
224         "name": "block",
225         "xml": "<block>\n",
226         "atomic": "false",
227         "comments": "",
228         "outputs": 1,
229         "x": 1034.66646194458,
230         "y": 2379.0148162841797,
231         "z": "4d7c5b65.634a04",
232         "wires": [
233             [
234                 "613b4178.27a96"
235             ]
236         ]
237     },
238     {
239         "id": "93970682.457ea8",
240         "type": "block",
241         "name": "block",
242         "xml": "<block>\n",
243         "atomic": "false",
244         "comments": "",
245         "outputs": 1,
246         "x": 1045.6666259765625,
247         "y": 2297.014892578125,
248         "z": "4d7c5b65.634a04",
249         "wires": [
250             [
251                 "496858cf.9a8df8",
252                 "f0b8a6f.cd94f58"
253             ]
254         ]
255     },
256     {
257         "id": "496858cf.9a8df8",
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": 1214.666259765625,
263         "y": 2298.0146484375,
264         "z": "4d7c5b65.634a04",
265         "wires": []
266     },
267     {
268         "id": "613b4178.27a96",
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": 1215.6663818359375,
275         "y": 2383.0146484375,
276         "z": "4d7c5b65.634a04",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "53f6cef7.f7902",
283         "type": "block",
284         "name": "block : SO Response",
285         "xml": "<block atomic='true'>",
286         "atomic": "true",
287         "comments": "",
288         "outputs": 1,
289         "x": 4019.1577529907227,
290         "y": 1238.010576248169,
291         "z": "4d7c5b65.634a04",
292         "wires": [
293             [
294                 "6f3a42bc.806e4c",
295                 "b0ee0118.94385",
296                 "fc4a3247.3ff21"
297             ]
298         ]
299     },
300     {
301         "id": "6f3a42bc.806e4c",
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": 4304.159042358398,
307         "y": 1041.9102840423584,
308         "z": "4d7c5b65.634a04",
309         "wires": []
310     },
311     {
312         "id": "b0ee0118.94385",
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": 4319.157730102539,
319         "y": 1135.0109539031982,
320         "z": "4d7c5b65.634a04",
321         "wires": [
322             []
323         ]
324     },
325     {
326         "id": "fc4a3247.3ff21",
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": 4283.157737731934,
333         "y": 1258.010793685913,
334         "z": "4d7c5b65.634a04",
335         "wires": [
336             [
337                 "382852e9.e0675e",
338                 "7b78f57e.ba76dc"
339             ]
340         ]
341     },
342     {
343         "id": "382852e9.e0675e",
344         "type": "failure",
345         "name": "failure",
346         "xml": "<outcome value='failure'>\n",
347         "comments": "",
348         "outputs": 1,
349         "x": 4491.157357215881,
350         "y": 1258.0107421875,
351         "z": "4d7c5b65.634a04",
352         "wires": [
353             [
354                 "3afb94d4.66d62c"
355             ]
356         ]
357     },
358     {
359         "id": "7b78f57e.ba76dc",
360         "type": "success",
361         "name": "success",
362         "xml": "<outcome value='success'>\n",
363         "comments": "",
364         "outputs": 1,
365         "x": 4491.1572265625,
366         "y": 1322.0107421875,
367         "z": "4d7c5b65.634a04",
368         "wires": [
369             [
370                 "2853a0d6.ddfa4"
371             ]
372         ]
373     },
374     {
375         "id": "2853a0d6.ddfa4",
376         "type": "block",
377         "name": "block",
378         "xml": "<block>\n",
379         "atomic": "false",
380         "comments": "",
381         "outputs": 1,
382         "x": 4637.1572265625,
383         "y": 1321.0107421875,
384         "z": "4d7c5b65.634a04",
385         "wires": [
386             [
387                 "21499006.1b3cc"
388             ]
389         ]
390     },
391     {
392         "id": "3afb94d4.66d62c",
393         "type": "block",
394         "name": "block",
395         "xml": "<block>\n",
396         "atomic": "false",
397         "comments": "",
398         "outputs": 1,
399         "x": 4642.1572265625,
400         "y": 1258.0108642578125,
401         "z": "4d7c5b65.634a04",
402         "wires": [
403             [
404                 "192c5617.efaa3a"
405             ]
406         ]
407     },
408     {
409         "id": "192c5617.efaa3a",
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": 4804.15673828125,
415         "y": 1258.0107421875,
416         "z": "4d7c5b65.634a04",
417         "wires": []
418     },
419     {
420         "id": "21499006.1b3cc",
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": 4803.1572265625,
427         "y": 1320.0107421875,
428         "z": "4d7c5b65.634a04",
429         "wires": [
430             []
431         ]
432     },
433     {
434         "id": "f0b8a6f.cd94f58",
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": 1206.1768798828125,
440         "y": 2256.004150390625,
441         "z": "4d7c5b65.634a04",
442         "wires": []
443     },
444     {
445         "id": "bd81bd27.c9df1",
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": 781.0062713623047,
452         "y": 2174.000099182129,
453         "z": "4d7c5b65.634a04",
454         "wires": [
455             []
456         ]
457     },
458     {
459         "id": "499f16d.22a49e8",
460         "type": "failure",
461         "name": "true",
462         "xml": "<outcome value='true'>\n",
463         "comments": "",
464         "outputs": 1,
465         "x": 749.6668701171875,
466         "y": 397.0000915527344,
467         "z": "4d7c5b65.634a04",
468         "wires": [
469             [
470                 "dea0e37d.325bd"
471             ]
472         ]
473     },
474     {
475         "id": "8d913069.84b02",
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": 517.666748046875,
482         "y": 396.00006103515625,
483         "z": "4d7c5b65.634a04",
484         "wires": [
485             [
486                 "499f16d.22a49e8",
487                 "ecb7f4cb.922ad8"
488             ]
489         ]
490     },
491     {
492         "id": "ecb7f4cb.922ad8",
493         "type": "failure",
494         "name": "false",
495         "xml": "<outcome value='false'>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 758.1733093261719,
499         "y": 503.000244140625,
500         "z": "4d7c5b65.634a04",
501         "wires": [
502             [
503                 "dd70b949.f841b8"
504             ]
505         ]
506     },
507     {
508         "id": "8c9f59db.e6bc48",
509         "type": "failure",
510         "name": "true",
511         "xml": "<outcome value='true'>\n",
512         "comments": "",
513         "outputs": 1,
514         "x": 744.6670532226562,
515         "y": 1994.000244140625,
516         "z": "4d7c5b65.634a04",
517         "wires": [
518             [
519                 "a73abfea.631e"
520             ]
521         ]
522     },
523     {
524         "id": "dea0e37d.325bd",
525         "type": "block",
526         "name": "Closed Loop",
527         "xml": "<block atomic=\"true\">",
528         "atomic": "true",
529         "comments": "",
530         "outputs": 1,
531         "x": 766.6668701171875,
532         "y": 124.00006103515625,
533         "z": "4d7c5b65.634a04",
534         "wires": [
535             [
536                 "aac735a1.6f54e8",
537                 "b917faf1.f2ac38"
538             ]
539         ]
540     },
541     {
542         "id": "a73abfea.631e",
543         "type": "block",
544         "name": "block : atomic",
545         "xml": "<block atomic=\"true\">",
546         "atomic": "true",
547         "outputs": 1,
548         "x": 931.6669502258301,
549         "y": 1994.0001430511475,
550         "z": "4d7c5b65.634a04",
551         "wires": [
552             [
553                 "93c0ef.485c1f1",
554                 "cc9c3169.e8025",
555                 "bf442461.925f88",
556                 "8142a0c0.4e5e5"
557             ]
558         ]
559     },
560     {
561         "id": "dd70b949.f841b8",
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": 551.6671142578125,
568         "y": 1993.000244140625,
569         "z": "4d7c5b65.634a04",
570         "wires": [
571             [
572                 "8c9f59db.e6bc48"
573             ]
574         ]
575     },
576     {
577         "id": "aac735a1.6f54e8",
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": 971.6666870117188,
584         "y": 124.00004577636719,
585         "z": "4d7c5b65.634a04",
586         "wires": [
587             []
588         ]
589     },
590     {
591         "id": "93c0ef.485c1f1",
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": 1169.6671142578125,
598         "y": 1873.000244140625,
599         "z": "4d7c5b65.634a04",
600         "wires": [
601             []
602         ]
603     },
604     {
605         "id": "c151b8d6.48dfa8",
606         "type": "record",
607         "name": "record",
608         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Reached instantiateRANSliceReconfigure \"/>\n\n",
609         "comments": "",
610         "outputs": 1,
611         "x": 450.6666564941406,
612         "y": 351.0000238418579,
613         "z": "4d7c5b65.634a04",
614         "wires": [
615             []
616         ]
617     },
618     {
619         "id": "b917faf1.f2ac38",
620         "type": "block",
621         "name": "NearRTRIC",
622         "xml": "<block atomic=\"true\">",
623         "atomic": "true",
624         "comments": "",
625         "outputs": 1,
626         "x": 986.67724609375,
627         "y": 174.01046752929688,
628         "z": "4d7c5b65.634a04",
629         "wires": [
630             [
631                 "469ed456.870fcc",
632                 "f59dcce9.2395c"
633             ]
634         ]
635     },
636     {
637         "id": "cc9c3169.e8025",
638         "type": "block",
639         "name": "CUCP",
640         "xml": "<block atomic=\"true\">",
641         "atomic": "true",
642         "comments": "",
643         "outputs": 1,
644         "x": 1159.6774559020996,
645         "y": 1993.0104579925537,
646         "z": "4d7c5b65.634a04",
647         "wires": [
648             [
649                 "7dfe3937.33ca78",
650                 "2f0d0bdc.3fe284"
651             ]
652         ]
653     },
654     {
655         "id": "a18381a8.6f5e",
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": 1605.5662460327148,
662         "y": 603.0106582641602,
663         "z": "4d7c5b65.634a04",
664         "wires": [
665             [
666                 "46b71058.0a755",
667                 "2d1f14dd.9f8d4c"
668             ]
669         ]
670     },
671     {
672         "id": "46b71058.0a755",
673         "type": "failure",
674         "name": "failure",
675         "xml": "<outcome value='failure'>\n",
676         "comments": "",
677         "outputs": 1,
678         "x": 1904.5667457580566,
679         "y": 604.0002002716064,
680         "z": "4d7c5b65.634a04",
681         "wires": [
682             [
683                 "86e0f783.5c44b8"
684             ]
685         ]
686     },
687     {
688         "id": "2d1f14dd.9f8d4c",
689         "type": "success",
690         "name": "success",
691         "xml": "<outcome value='success'>\n",
692         "comments": "",
693         "outputs": 1,
694         "x": 1902.566749572754,
695         "y": 690.9999589920044,
696         "z": "4d7c5b65.634a04",
697         "wires": [
698             [
699                 "ed74cc8d.297f4"
700             ]
701         ]
702     },
703     {
704         "id": "86e0f783.5c44b8",
705         "type": "block",
706         "name": "block",
707         "xml": "<block>\n",
708         "atomic": "false",
709         "comments": "",
710         "outputs": 1,
711         "x": 2063.5668716430664,
712         "y": 603.0000762939453,
713         "z": "4d7c5b65.634a04",
714         "wires": [
715             [
716                 "7680b50c.0d0cfc",
717                 "b5b9a8ee.178b08",
718                 "53f6cef7.f7902"
719             ]
720         ]
721     },
722     {
723         "id": "ed74cc8d.297f4",
724         "type": "block",
725         "name": "block",
726         "xml": "<block>\n",
727         "atomic": "false",
728         "comments": "",
729         "outputs": 1,
730         "x": 2075.566547393799,
731         "y": 690.0001621246338,
732         "z": "4d7c5b65.634a04",
733         "wires": [
734             [
735                 "d60e382a.987ab8",
736                 "59e28a75.507424"
737             ]
738         ]
739     },
740     {
741         "id": "606dc018.93301",
742         "type": "block",
743         "name": "Update SiceProfile for NeaeRTRIC",
744         "xml": "<block atomic='true'>",
745         "atomic": "true",
746         "comments": "",
747         "outputs": 1,
748         "x": 1271.666748046875,
749         "y": 473.74481201171875,
750         "z": "4d7c5b65.634a04",
751         "wires": [
752             [
753                 "95120f6f.d2c67",
754                 "d9f440c.e5360c",
755                 "322b057f.3273da",
756                 "a18381a8.6f5e"
757             ]
758         ]
759     },
760     {
761         "id": "322b057f.3273da",
762         "type": "switchNode",
763         "name": "ransim mounted",
764         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
765         "comments": "",
766         "outputs": 1,
767         "x": 1567.6669921875,
768         "y": 390.4010314941406,
769         "z": "4d7c5b65.634a04",
770         "wires": [
771             [
772                 "27589ceb.1588b4",
773                 "2f3eb675.6b0bea"
774             ]
775         ]
776     },
777     {
778         "id": "27589ceb.1588b4",
779         "type": "outcome",
780         "name": "Not Mounted",
781         "xml": "<outcome value='false'>\n",
782         "comments": "",
783         "outputs": 1,
784         "x": 1807.6669921875,
785         "y": 389.4008483886719,
786         "z": "4d7c5b65.634a04",
787         "wires": [
788             [
789                 "99e5f9ee.5c06c8"
790             ]
791         ]
792     },
793     {
794         "id": "2f3eb675.6b0bea",
795         "type": "outcome",
796         "name": "Mounted",
797         "xml": "<outcome value='true'>\n",
798         "comments": "",
799         "outputs": 1,
800         "x": 1798.6671142578125,
801         "y": 452.40093994140625,
802         "z": "4d7c5b65.634a04",
803         "wires": [
804             [
805                 "1a995263.b3b8ee"
806             ]
807         ]
808     },
809     {
810         "id": "d9f440c.e5360c",
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": 1535.6673583984375,
817         "y": 432.7449951171875,
818         "z": "4d7c5b65.634a04",
819         "wires": [
820             []
821         ]
822     },
823     {
824         "id": "95120f6f.d2c67",
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": 1535.66796875,
831         "y": 482.734375,
832         "z": "4d7c5b65.634a04",
833         "wires": [
834             []
835         ]
836     },
837     {
838         "id": "709901d0.b774a",
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": 2326.2021484375,
845         "y": 556.0000610351562,
846         "z": "4d7c5b65.634a04",
847         "wires": [
848             []
849         ]
850     },
851     {
852         "id": "5b676f7e.7cbec",
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": 2385.736572265625,
859         "y": 513.5990905761719,
860         "z": "4d7c5b65.634a04",
861         "wires": [
862             []
863         ]
864     },
865     {
866         "id": "1a995263.b3b8ee",
867         "type": "block",
868         "name": "ransim  URL",
869         "xml": "<block atomic='true'>",
870         "atomic": "true",
871         "comments": "",
872         "outputs": 1,
873         "x": 2030.65673828125,
874         "y": 452.4009094238281,
875         "z": "4d7c5b65.634a04",
876         "wires": [
877             [
878                 "5dbd3439.28967c",
879                 "5b676f7e.7cbec",
880                 "709901d0.b774a"
881             ]
882         ]
883     },
884     {
885         "id": "5dbd3439.28967c",
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": 2383.201416015625,
892         "y": 475.00030517578125,
893         "z": "4d7c5b65.634a04",
894         "wires": [
895             []
896         ]
897     },
898     {
899         "id": "77ebd462.27379c",
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": 2381.20166015625,
906         "y": 434.0001525878906,
907         "z": "4d7c5b65.634a04",
908         "wires": [
909             []
910         ]
911     },
912     {
913         "id": "18f4ec66.2b3d24",
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": 2380.6669921875,
920         "y": 390.4011535644531,
921         "z": "4d7c5b65.634a04",
922         "wires": [
923             []
924         ]
925     },
926     {
927         "id": "99e5f9ee.5c06c8",
928         "type": "block",
929         "name": "URL",
930         "xml": "<block atomic='true'>",
931         "atomic": "true",
932         "comments": "",
933         "outputs": 1,
934         "x": 2027.8685302734375,
935         "y": 389.0000305175781,
936         "z": "4d7c5b65.634a04",
937         "wires": [
938             [
939                 "18f4ec66.2b3d24",
940                 "77ebd462.27379c"
941             ]
942         ]
943     },
944     {
945         "id": "f59dcce9.2395c",
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": 1172.670654296875,
951         "y": 69.00393676757812,
952         "z": "4d7c5b65.634a04",
953         "wires": []
954     },
955     {
956         "id": "469ed456.870fcc",
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": 1021.670654296875,
963         "y": 274.0039367675781,
964         "z": "4d7c5b65.634a04",
965         "wires": [
966             [
967                 "606dc018.93301",
968                 "b5dfde0e.035e6",
969                 "b390b1db.dbb11",
970                 "2f0d0bdc.3fe284",
971                 "a837a263.556b8",
972                 "9071a476.518048"
973             ]
974         ]
975     },
976     {
977         "id": "b5dfde0e.035e6",
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": 1309.1217041015625,
983         "y": 159.01048278808594,
984         "z": "4d7c5b65.634a04",
985         "wires": []
986     },
987     {
988         "id": "7680b50c.0d0cfc",
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": 2274.1218910217285,
994         "y": 604.0104541778564,
995         "z": "4d7c5b65.634a04",
996         "wires": []
997     },
998     {
999         "id": "b5b9a8ee.178b08",
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": 2297.121894836426,
1005         "y": 643.8995742797852,
1006         "z": "4d7c5b65.634a04",
1007         "wires": []
1008     },
1009     {
1010         "id": "d60e382a.987ab8",
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": 2279.121726989746,
1017         "y": 689.8995361328125,
1018         "z": "4d7c5b65.634a04",
1019         "wires": [
1020             []
1021         ]
1022     },
1023     {
1024         "id": "59e28a75.507424",
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": 2294.8998794555664,
1031         "y": 740.8994579315186,
1032         "z": "4d7c5b65.634a04",
1033         "wires": [
1034             []
1035         ]
1036     },
1037     {
1038         "id": "bf442461.925f88",
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": 1202.7886962890625,
1044         "y": 1908.8994140625,
1045         "z": "4d7c5b65.634a04",
1046         "wires": []
1047     },
1048     {
1049         "id": "7dfe3937.33ca78",
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": 1386.7882080078125,
1056         "y": 2139.8994140625,
1057         "z": "4d7c5b65.634a04",
1058         "wires": [
1059             [
1060                 "56d2328.ebe75cc"
1061             ]
1062         ]
1063     },
1064     {
1065         "id": "2f0d0bdc.3fe284",
1066         "type": "block",
1067         "name": "get PLMNId",
1068         "xml": "<block atomic='true'>",
1069         "atomic": "true",
1070         "comments": "",
1071         "outputs": 1,
1072         "x": 1184.4167785644531,
1073         "y": 919.7501668930054,
1074         "z": "4d7c5b65.634a04",
1075         "wires": [
1076             [
1077                 "fdccd5c2.f62b28",
1078                 "e432dc1.4df992",
1079                 "2376f7a2.cf75c8",
1080                 "5c0646e3.0b0dd8",
1081                 "c6230172.e0fc3",
1082                 "ec44d6b8.c095e8",
1083                 "2c66b2a5.586b9e"
1084             ]
1085         ]
1086     },
1087     {
1088         "id": "b390b1db.dbb11",
1089         "type": "block",
1090         "name": "Update NearRTRIC Config",
1091         "xml": "<block atomic=\"true\">",
1092         "atomic": "true",
1093         "comments": "",
1094         "outputs": 1,
1095         "x": 1112.1666870117188,
1096         "y": 1510.5,
1097         "z": "4d7c5b65.634a04",
1098         "wires": [
1099             [
1100                 "3e21d260.0305ae",
1101                 "99f61b3f.7c9258",
1102                 "4fcdfd93.2b2e94",
1103                 "8c7da0b4.ffdc8",
1104                 "b50c2ced.c3143",
1105                 "8dd65b69.c1c0e8",
1106                 "24ce1a1c.0c4dc6"
1107             ]
1108         ]
1109     },
1110     {
1111         "id": "6a98c3e2.10f9dc",
1112         "type": "set",
1113         "name": "set tmp variables for SO response",
1114         "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",
1115         "comments": "",
1116         "x": 791.3541717529297,
1117         "y": 2122.625093460083,
1118         "z": "4d7c5b65.634a04",
1119         "wires": []
1120     },
1121     {
1122         "id": "88fbf49.5fc7708",
1123         "type": "execute",
1124         "name": "Send to SO",
1125         "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`\"/>",
1126         "comments": "",
1127         "outputs": 1,
1128         "x": 732.8541488647461,
1129         "y": 2332.375202178955,
1130         "z": "4d7c5b65.634a04",
1131         "wires": [
1132             [
1133                 "f6a80048.4c96f",
1134                 "6ef55787.17d028"
1135             ]
1136         ]
1137     },
1138     {
1139         "id": "3332b0a3.18c75",
1140         "type": "outcome",
1141         "name": "Not Mounted",
1142         "xml": "<outcome value='false'>\n",
1143         "comments": "",
1144         "outputs": 1,
1145         "x": 2055.416748046875,
1146         "y": 2063,
1147         "z": "4d7c5b65.634a04",
1148         "wires": [
1149             [
1150                 "9fe8a854.d9ada8"
1151             ]
1152         ]
1153     },
1154     {
1155         "id": "6e6bdcac.3f3144",
1156         "type": "outcome",
1157         "name": "Mounted",
1158         "xml": "<outcome value='true'>\n",
1159         "comments": "",
1160         "outputs": 1,
1161         "x": 2042.4168014526367,
1162         "y": 2108.0001702308655,
1163         "z": "4d7c5b65.634a04",
1164         "wires": [
1165             [
1166                 "dbbfe50d.f18f78"
1167             ]
1168         ]
1169     },
1170     {
1171         "id": "dbbfe50d.f18f78",
1172         "type": "block",
1173         "name": "ransim  URL",
1174         "xml": "<block atomic='true'>",
1175         "atomic": "true",
1176         "comments": "",
1177         "outputs": 1,
1178         "x": 2226.4066162109375,
1179         "y": 2109.000244140625,
1180         "z": "4d7c5b65.634a04",
1181         "wires": [
1182             [
1183                 "c9d85598.6f2108",
1184                 "4a5f9e34.0c641"
1185             ]
1186         ]
1187     },
1188     {
1189         "id": "9fe8a854.d9ada8",
1190         "type": "block",
1191         "name": "URL",
1192         "xml": "<block atomic='true'>",
1193         "atomic": "true",
1194         "comments": "",
1195         "outputs": 1,
1196         "x": 2210.6182861328125,
1197         "y": 2062.59912109375,
1198         "z": "4d7c5b65.634a04",
1199         "wires": [
1200             [
1201                 "9a2c83bd.5dad5"
1202             ]
1203         ]
1204     },
1205     {
1206         "id": "9a2c83bd.5dad5",
1207         "type": "execute",
1208         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1209         "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`\"/>",
1210         "comments": "",
1211         "outputs": 1,
1212         "x": 2484.416748046875,
1213         "y": 2062.00048828125,
1214         "z": "4d7c5b65.634a04",
1215         "wires": [
1216             []
1217         ]
1218     },
1219     {
1220         "id": "c9d85598.6f2108",
1221         "type": "execute",
1222         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1223         "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`\"/>",
1224         "comments": "",
1225         "outputs": 1,
1226         "x": 2536.951177597046,
1227         "y": 2109.599466353655,
1228         "z": "4d7c5b65.634a04",
1229         "wires": [
1230             []
1231         ]
1232     },
1233     {
1234         "id": "4a5f9e34.0c641",
1235         "type": "execute",
1236         "name": "Populate MOUNT NAME",
1237         "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`\"/>",
1238         "comments": "",
1239         "outputs": 1,
1240         "x": 2481.95166015625,
1241         "y": 2150.59912109375,
1242         "z": "4d7c5b65.634a04",
1243         "wires": [
1244             []
1245         ]
1246     },
1247     {
1248         "id": "afec3a59.277408",
1249         "type": "switchNode",
1250         "name": "ransim mounted",
1251         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1252         "comments": "",
1253         "outputs": 1,
1254         "x": 1859.416748046875,
1255         "y": 2064,
1256         "z": "4d7c5b65.634a04",
1257         "wires": [
1258             [
1259                 "3332b0a3.18c75",
1260                 "6e6bdcac.3f3144"
1261             ]
1262         ]
1263     },
1264     {
1265         "id": "c077a64b.c869f8",
1266         "type": "execute",
1267         "name": "prepare mcc",
1268         "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`\"/>",
1269         "comments": "",
1270         "outputs": 1,
1271         "x": 1849.416748046875,
1272         "y": 2103,
1273         "z": "4d7c5b65.634a04",
1274         "wires": [
1275             []
1276         ]
1277     },
1278     {
1279         "id": "56e26473.9cbccc",
1280         "type": "execute",
1281         "name": "prepare mnc",
1282         "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`\"/>",
1283         "comments": "",
1284         "outputs": 1,
1285         "x": 1849.916748046875,
1286         "y": 2143,
1287         "z": "4d7c5b65.634a04",
1288         "wires": [
1289             []
1290         ]
1291     },
1292     {
1293         "id": "56d2328.ebe75cc",
1294         "type": "block",
1295         "name": "block : atomic",
1296         "xml": "<block atomic=\"true\">",
1297         "atomic": "true",
1298         "outputs": 1,
1299         "x": 1606.4166259765625,
1300         "y": 2142,
1301         "z": "4d7c5b65.634a04",
1302         "wires": [
1303             [
1304                 "afec3a59.277408",
1305                 "c077a64b.c869f8",
1306                 "56e26473.9cbccc",
1307                 "bb174bd1.753338",
1308                 "ec554766.4f8778",
1309                 "8381dddd.a8978",
1310                 "f47c2242.987ea"
1311             ]
1312         ]
1313     },
1314     {
1315         "id": "bb174bd1.753338",
1316         "type": "for",
1317         "name": "For Number of cells",
1318         "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
1319         "comments": "",
1320         "outputs": 1,
1321         "x": 1865.6668701171875,
1322         "y": 2253,
1323         "z": "4d7c5b65.634a04",
1324         "wires": [
1325             [
1326                 "80b017d0.e3d138"
1327             ]
1328         ]
1329     },
1330     {
1331         "id": "d39528dc.0aa948",
1332         "type": "execute",
1333         "name": "cellLocalId",
1334         "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'`\" />",
1335         "comments": "",
1336         "outputs": 1,
1337         "x": 2292.916748046875,
1338         "y": 2200.500244140625,
1339         "z": "4d7c5b65.634a04",
1340         "wires": [
1341             []
1342         ]
1343     },
1344     {
1345         "id": "80b017d0.e3d138",
1346         "type": "block",
1347         "name": "block : atomic",
1348         "xml": "<block atomic=\"true\">",
1349         "atomic": "true",
1350         "outputs": 1,
1351         "x": 2068.4166259765625,
1352         "y": 2253,
1353         "z": "4d7c5b65.634a04",
1354         "wires": [
1355             [
1356                 "d39528dc.0aa948",
1357                 "99d3e596.541268",
1358                 "a8b88564.0e3ed8",
1359                 "56bbe873.87ce18",
1360                 "a9da99d0.023b68"
1361             ]
1362         ]
1363     },
1364     {
1365         "id": "99d3e596.541268",
1366         "type": "execute",
1367         "name": "predictedMaxNumberofConns",
1368         "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'`\" />",
1369         "comments": "",
1370         "outputs": 1,
1371         "x": 2349.1666259765625,
1372         "y": 2307.500244140625,
1373         "z": "4d7c5b65.634a04",
1374         "wires": [
1375             []
1376         ]
1377     },
1378     {
1379         "id": "a8b88564.0e3ed8",
1380         "type": "execute",
1381         "name": "patch NearRTRIC - config",
1382         "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' />",
1383         "comments": "",
1384         "outputs": 1,
1385         "x": 2332.9166259765625,
1386         "y": 2379,
1387         "z": "4d7c5b65.634a04",
1388         "wires": [
1389             [
1390                 "24363a2b.964e46",
1391                 "bb57c66f.f72708"
1392             ]
1393         ]
1394     },
1395     {
1396         "id": "24363a2b.964e46",
1397         "type": "success",
1398         "name": "success",
1399         "xml": "<outcome value='success'>\n",
1400         "comments": "",
1401         "outputs": 1,
1402         "x": 2553.416748046875,
1403         "y": 2379.25,
1404         "z": "4d7c5b65.634a04",
1405         "wires": [
1406             [
1407                 "c6c44ad.b771bb8"
1408             ]
1409         ]
1410     },
1411     {
1412         "id": "bb57c66f.f72708",
1413         "type": "failure",
1414         "name": "failure",
1415         "xml": "<outcome value='failure'>\n",
1416         "comments": "",
1417         "outputs": 1,
1418         "x": 2549.9794921875,
1419         "y": 2415.8125,
1420         "z": "4d7c5b65.634a04",
1421         "wires": [
1422             [
1423                 "e15a40fc.968c"
1424             ]
1425         ]
1426     },
1427     {
1428         "id": "e15a40fc.968c",
1429         "type": "block",
1430         "name": "block",
1431         "xml": "<block>",
1432         "atomic": "false",
1433         "comments": "",
1434         "outputs": 1,
1435         "x": 2706.979248046875,
1436         "y": 2415.8125,
1437         "z": "4d7c5b65.634a04",
1438         "wires": [
1439             [
1440                 "c203d45e.a94948",
1441                 "af399e.80ed966",
1442                 "53f6cef7.f7902"
1443             ]
1444         ]
1445     },
1446     {
1447         "id": "c6c44ad.b771bb8",
1448         "type": "block",
1449         "name": "block : atomic",
1450         "xml": "<block atomic='true'>",
1451         "atomic": "true",
1452         "comments": "",
1453         "outputs": 1,
1454         "x": 2729.41650390625,
1455         "y": 2379.25,
1456         "z": "4d7c5b65.634a04",
1457         "wires": [
1458             [
1459                 "de0a2639.6f4b28"
1460             ]
1461         ]
1462     },
1463     {
1464         "id": "c203d45e.a94948",
1465         "type": "returnFailure",
1466         "name": "return failure",
1467         "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'/>",
1468         "comments": "",
1469         "x": 2922.979248046875,
1470         "y": 2451.8125,
1471         "z": "4d7c5b65.634a04",
1472         "wires": []
1473     },
1474     {
1475         "id": "af399e.80ed966",
1476         "type": "set",
1477         "name": "set",
1478         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1479         "comments": "",
1480         "x": 2903.979736328125,
1481         "y": 2415.923583984375,
1482         "z": "4d7c5b65.634a04",
1483         "wires": []
1484     },
1485     {
1486         "id": "de0a2639.6f4b28",
1487         "type": "record",
1488         "name": "record",
1489         "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\"/>",
1490         "comments": "",
1491         "outputs": 1,
1492         "x": 2904.166259765625,
1493         "y": 2380.000244140625,
1494         "z": "4d7c5b65.634a04",
1495         "wires": [
1496             []
1497         ]
1498     },
1499     {
1500         "id": "8142a0c0.4e5e5",
1501         "type": "record",
1502         "name": "record",
1503         "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",
1504         "comments": "",
1505         "outputs": 1,
1506         "x": 1165.1666259765625,
1507         "y": 1951.9998779296875,
1508         "z": "4d7c5b65.634a04",
1509         "wires": [
1510             []
1511         ]
1512     },
1513     {
1514         "id": "ec554766.4f8778",
1515         "type": "execute",
1516         "name": "CUCellListEntries",
1517         "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",
1518         "comments": "",
1519         "outputs": 1,
1520         "x": 1861.6666259765625,
1521         "y": 2179.25,
1522         "z": "4d7c5b65.634a04",
1523         "wires": [
1524             []
1525         ]
1526     },
1527     {
1528         "id": "8381dddd.a8978",
1529         "type": "record",
1530         "name": "record",
1531         "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",
1532         "comments": "",
1533         "outputs": 1,
1534         "x": 1827.6666259765625,
1535         "y": 2217.25,
1536         "z": "4d7c5b65.634a04",
1537         "wires": [
1538             []
1539         ]
1540     },
1541     {
1542         "id": "56bbe873.87ce18",
1543         "type": "record",
1544         "name": "record",
1545         "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",
1546         "comments": "",
1547         "outputs": 1,
1548         "x": 2278.4168701171875,
1549         "y": 2342.75,
1550         "z": "4d7c5b65.634a04",
1551         "wires": [
1552             []
1553         ]
1554     },
1555     {
1556         "id": "f47c2242.987ea",
1557         "type": "set",
1558         "name": "set Temp Variables",
1559         "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
1560         "comments": "",
1561         "x": 1869.1666259765625,
1562         "y": 2027.5,
1563         "z": "4d7c5b65.634a04",
1564         "wires": []
1565     },
1566     {
1567         "id": "3093a6b1.44582a",
1568         "type": "set",
1569         "name": "append configParam",
1570         "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'\" />",
1571         "comments": "",
1572         "x": 2323.9791259765625,
1573         "y": 2271.625,
1574         "z": "4d7c5b65.634a04",
1575         "wires": []
1576     },
1577     {
1578         "id": "a9da99d0.023b68",
1579         "type": "execute",
1580         "name": "append configParam",
1581         "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\" />",
1582         "comments": "",
1583         "outputs": 1,
1584         "x": 2321.916748046875,
1585         "y": 2235.75,
1586         "z": "4d7c5b65.634a04",
1587         "wires": [
1588             []
1589         ]
1590     },
1591     {
1592         "id": "a837a263.556b8",
1593         "type": "switchNode",
1594         "name": "check nearrtric",
1595         "xml": "<switch test='`$tmp.nearRTRICId == 11 `'>\n",
1596         "comments": "",
1597         "outputs": 1,
1598         "x": 1297.0667724609375,
1599         "y": 215,
1600         "z": "4d7c5b65.634a04",
1601         "wires": [
1602             [
1603                 "ee6e09df.17f748",
1604                 "44ef0006.28225"
1605             ]
1606         ]
1607     },
1608     {
1609         "id": "ee6e09df.17f748",
1610         "type": "outcome",
1611         "name": "True",
1612         "xml": "<outcome value='true'>\n",
1613         "comments": "",
1614         "outputs": 1,
1615         "x": 1526.2669677734375,
1616         "y": 34.000003814697266,
1617         "z": "4d7c5b65.634a04",
1618         "wires": [
1619             [
1620                 "29f7310a.05b4de"
1621             ]
1622         ]
1623     },
1624     {
1625         "id": "44ef0006.28225",
1626         "type": "outcome",
1627         "name": "False",
1628         "xml": "<outcome value='false'>\n",
1629         "comments": "",
1630         "outputs": 1,
1631         "x": 1525.066650390625,
1632         "y": 145,
1633         "z": "4d7c5b65.634a04",
1634         "wires": [
1635             [
1636                 "6a8e5244.2ed45c"
1637             ]
1638         ]
1639     },
1640     {
1641         "id": "9071a476.518048",
1642         "type": "block",
1643         "name": "block : atomic",
1644         "xml": "<block atomic='true'>",
1645         "atomic": "true",
1646         "comments": "",
1647         "outputs": 1,
1648         "x": 1295.066650390625,
1649         "y": 271,
1650         "z": "4d7c5b65.634a04",
1651         "wires": [
1652             [
1653                 "c8208c39.b463b"
1654             ]
1655         ]
1656     },
1657     {
1658         "id": "c8208c39.b463b",
1659         "type": "execute",
1660         "name": "check policytype",
1661         "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' />",
1662         "comments": "",
1663         "outputs": 1,
1664         "x": 1550.666748046875,
1665         "y": 276,
1666         "z": "4d7c5b65.634a04",
1667         "wires": [
1668             [
1669                 "1c68fa89.5794b5",
1670                 "67b1fe4a.998a"
1671             ]
1672         ]
1673     },
1674     {
1675         "id": "1c68fa89.5794b5",
1676         "type": "success",
1677         "name": "success",
1678         "xml": "<outcome value='success'>\n",
1679         "comments": "",
1680         "outputs": 1,
1681         "x": 1756.6668701171875,
1682         "y": 215,
1683         "z": "4d7c5b65.634a04",
1684         "wires": [
1685             [
1686                 "8d49bba.3039b48"
1687             ]
1688         ]
1689     },
1690     {
1691         "id": "8d49bba.3039b48",
1692         "type": "block",
1693         "name": "block : atomic",
1694         "xml": "<block atomic='true'>",
1695         "atomic": "true",
1696         "comments": "",
1697         "outputs": 1,
1698         "x": 2050.6669921875,
1699         "y": 212.56729125976562,
1700         "z": "4d7c5b65.634a04",
1701         "wires": [
1702             [
1703                 "4a65dabe.68fdc4",
1704                 "9831832b.09cf5",
1705                 "652eb8b4.5e5758",
1706                 "b608e3ec.3ad0a"
1707             ]
1708         ]
1709     },
1710     {
1711         "id": "4a65dabe.68fdc4",
1712         "type": "record",
1713         "name": "record",
1714         "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`\"/>",
1715         "comments": "",
1716         "outputs": 1,
1717         "x": 2367.6669921875,
1718         "y": 90.5672836303711,
1719         "z": "4d7c5b65.634a04",
1720         "wires": [
1721             []
1722         ]
1723     },
1724     {
1725         "id": "67b1fe4a.998a",
1726         "type": "failure",
1727         "name": "failure",
1728         "xml": "<outcome value='failure'>\n",
1729         "comments": "",
1730         "outputs": 1,
1731         "x": 1754.6666259765625,
1732         "y": 273.5673522949219,
1733         "z": "4d7c5b65.634a04",
1734         "wires": [
1735             [
1736                 "a99e6308.eb03b"
1737             ]
1738         ]
1739     },
1740     {
1741         "id": "a99e6308.eb03b",
1742         "type": "block",
1743         "name": "block : atomic",
1744         "xml": "<block atomic='true'>",
1745         "atomic": "true",
1746         "comments": "",
1747         "outputs": 1,
1748         "x": 2049.6666259765625,
1749         "y": 270.5673522949219,
1750         "z": "4d7c5b65.634a04",
1751         "wires": [
1752             [
1753                 "a4fee6d5.fd3a68"
1754             ]
1755         ]
1756     },
1757     {
1758         "id": "a4fee6d5.fd3a68",
1759         "type": "record",
1760         "name": "record",
1761         "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\"/>",
1762         "comments": "",
1763         "outputs": 1,
1764         "x": 2248.66650390625,
1765         "y": 269.5673522949219,
1766         "z": "4d7c5b65.634a04",
1767         "wires": [
1768             []
1769         ]
1770     },
1771     {
1772         "id": "9831832b.09cf5",
1773         "type": "execute",
1774         "name": "getpolicylength",
1775         "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'`\" />",
1776         "comments": "",
1777         "outputs": 1,
1778         "x": 2392.3564453125,
1779         "y": 38,
1780         "z": "4d7c5b65.634a04",
1781         "wires": [
1782             []
1783         ]
1784     },
1785     {
1786         "id": "652eb8b4.5e5758",
1787         "type": "switchNode",
1788         "name": "check the action",
1789         "xml": "<switch test='`$tmp.policytypelength > 0`'>\n",
1790         "comments": "",
1791         "outputs": 1,
1792         "x": 2398.6669921875,
1793         "y": 149,
1794         "z": "4d7c5b65.634a04",
1795         "wires": [
1796             [
1797                 "b13e9298.92709",
1798                 "4ace453e.713c1c"
1799             ]
1800         ]
1801     },
1802     {
1803         "id": "b13e9298.92709",
1804         "type": "outcome",
1805         "name": "True",
1806         "xml": "<outcome value='true'>\n",
1807         "comments": "",
1808         "outputs": 1,
1809         "x": 2653.266845703125,
1810         "y": 97,
1811         "z": "4d7c5b65.634a04",
1812         "wires": [
1813             [
1814                 "3e49e38c.34499c"
1815             ]
1816         ]
1817     },
1818     {
1819         "id": "4ace453e.713c1c",
1820         "type": "outcome",
1821         "name": "False",
1822         "xml": "<outcome value='false'>\n",
1823         "comments": "",
1824         "outputs": 1,
1825         "x": 2657.266845703125,
1826         "y": 147,
1827         "z": "4d7c5b65.634a04",
1828         "wires": [
1829             [
1830                 "183652da.4b65ed"
1831             ]
1832         ]
1833     },
1834     {
1835         "id": "3e49e38c.34499c",
1836         "type": "block",
1837         "name": "block : atomic",
1838         "xml": "<block atomic='true'>",
1839         "atomic": "true",
1840         "comments": "",
1841         "outputs": 1,
1842         "x": 2861.266845703125,
1843         "y": 96,
1844         "z": "4d7c5b65.634a04",
1845         "wires": [
1846             [
1847                 "b477f524.5c3698"
1848             ]
1849         ]
1850     },
1851     {
1852         "id": "183652da.4b65ed",
1853         "type": "block",
1854         "name": "block : atomic",
1855         "xml": "<block atomic='true'>",
1856         "atomic": "true",
1857         "comments": "",
1858         "outputs": 1,
1859         "x": 2860.26708984375,
1860         "y": 148,
1861         "z": "4d7c5b65.634a04",
1862         "wires": [
1863             [
1864                 "a29b2a1e.131ca8",
1865                 "38c0245d.21204c"
1866             ]
1867         ]
1868     },
1869     {
1870         "id": "b477f524.5c3698",
1871         "type": "record",
1872         "name": "record",
1873         "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\"/>",
1874         "comments": "",
1875         "outputs": 1,
1876         "x": 3047.266845703125,
1877         "y": 96,
1878         "z": "4d7c5b65.634a04",
1879         "wires": [
1880             []
1881         ]
1882     },
1883     {
1884         "id": "a29b2a1e.131ca8",
1885         "type": "execute",
1886         "name": "create policytype",
1887         "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' />",
1888         "comments": "",
1889         "outputs": 1,
1890         "x": 3087.26708984375,
1891         "y": 193,
1892         "z": "4d7c5b65.634a04",
1893         "wires": [
1894             [
1895                 "ca1434a0.d4db48"
1896             ]
1897         ]
1898     },
1899     {
1900         "id": "38c0245d.21204c",
1901         "type": "record",
1902         "name": "record",
1903         "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\"/>",
1904         "comments": "",
1905         "outputs": 1,
1906         "x": 3052.067138671875,
1907         "y": 147,
1908         "z": "4d7c5b65.634a04",
1909         "wires": [
1910             []
1911         ]
1912     },
1913     {
1914         "id": "ca1434a0.d4db48",
1915         "type": "success",
1916         "name": "success",
1917         "xml": "<outcome value='success'>\n",
1918         "comments": "",
1919         "outputs": 1,
1920         "x": 3273.07763671875,
1921         "y": 192.20010375976562,
1922         "z": "4d7c5b65.634a04",
1923         "wires": [
1924             [
1925                 "5b25ef14.6ec01"
1926             ]
1927         ]
1928     },
1929     {
1930         "id": "18d541d4.e97b9e",
1931         "type": "record",
1932         "name": "record",
1933         "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\"/>",
1934         "comments": "",
1935         "outputs": 1,
1936         "x": 3623.666748046875,
1937         "y": 191,
1938         "z": "4d7c5b65.634a04",
1939         "wires": [
1940             []
1941         ]
1942     },
1943     {
1944         "id": "5b25ef14.6ec01",
1945         "type": "block",
1946         "name": "block : atomic",
1947         "xml": "<block atomic='true'>",
1948         "atomic": "true",
1949         "comments": "",
1950         "outputs": 1,
1951         "x": 3434.666748046875,
1952         "y": 191,
1953         "z": "4d7c5b65.634a04",
1954         "wires": [
1955             [
1956                 "18d541d4.e97b9e"
1957             ]
1958         ]
1959     },
1960     {
1961         "id": "b608e3ec.3ad0a",
1962         "type": "execute",
1963         "name": "create policyinstance ",
1964         "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' />",
1965         "comments": "",
1966         "outputs": 1,
1967         "x": 2412.86669921875,
1968         "y": 210,
1969         "z": "4d7c5b65.634a04",
1970         "wires": [
1971             [
1972                 "62b5f7bc.ce57e8"
1973             ]
1974         ]
1975     },
1976     {
1977         "id": "7378693d.36ae88",
1978         "type": "record",
1979         "name": "record",
1980         "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\"/>",
1981         "comments": "",
1982         "outputs": 1,
1983         "x": 3069.2666015625,
1984         "y": 253,
1985         "z": "4d7c5b65.634a04",
1986         "wires": [
1987             []
1988         ]
1989     },
1990     {
1991         "id": "cfd54615.7b8778",
1992         "type": "block",
1993         "name": "block : atomic",
1994         "xml": "<block atomic='true'>",
1995         "atomic": "true",
1996         "comments": "",
1997         "outputs": 1,
1998         "x": 2871.266357421875,
1999         "y": 211,
2000         "z": "4d7c5b65.634a04",
2001         "wires": [
2002             [
2003                 "7378693d.36ae88"
2004             ]
2005         ]
2006     },
2007     {
2008         "id": "62b5f7bc.ce57e8",
2009         "type": "success",
2010         "name": "success",
2011         "xml": "<outcome value='success'>\n",
2012         "comments": "",
2013         "outputs": 1,
2014         "x": 2664.26611328125,
2015         "y": 211.199951171875,
2016         "z": "4d7c5b65.634a04",
2017         "wires": [
2018             [
2019                 "cfd54615.7b8778"
2020             ]
2021         ]
2022     },
2023     {
2024         "id": "29f7310a.05b4de",
2025         "type": "set",
2026         "name": "set Temp Variables",
2027         "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",
2028         "comments": "",
2029         "x": 1774.4666748046875,
2030         "y": 32.999996185302734,
2031         "z": "4d7c5b65.634a04",
2032         "wires": []
2033     },
2034     {
2035         "id": "6a8e5244.2ed45c",
2036         "type": "set",
2037         "name": "set Temp Variables",
2038         "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",
2039         "comments": "",
2040         "x": 1763.4666748046875,
2041         "y": 144,
2042         "z": "4d7c5b65.634a04",
2043         "wires": []
2044     },
2045     {
2046         "id": "e77514ee.b9e588",
2047         "type": "comment",
2048         "name": "A1-adaptor simulators",
2049         "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",
2050         "comments": "",
2051         "x": 804.6666564941406,
2052         "y": 35.99999713897705,
2053         "z": "4d7c5b65.634a04",
2054         "wires": []
2055     },
2056     {
2057         "id": "fdccd5c2.f62b28",
2058         "type": "execute",
2059         "name": "getAnchors URL",
2060         "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
2061         "comments": "",
2062         "outputs": 1,
2063         "x": 1462.3333740234375,
2064         "y": 787.3333778381348,
2065         "z": "4d7c5b65.634a04",
2066         "wires": [
2067             []
2068         ]
2069     },
2070     {
2071         "id": "e432dc1.4df992",
2072         "type": "record",
2073         "name": "record",
2074         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/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`\"/>",
2075         "comments": "",
2076         "outputs": 1,
2077         "x": 1430.5833740234375,
2078         "y": 830.0833787918091,
2079         "z": "4d7c5b65.634a04",
2080         "wires": [
2081             []
2082         ]
2083     },
2084     {
2085         "id": "2376f7a2.cf75c8",
2086         "type": "execute",
2087         "name": "Get list of anchors from CPS",
2088         "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\"/>",
2089         "comments": "",
2090         "outputs": 1,
2091         "x": 1498.3889541625977,
2092         "y": 874.2499656677246,
2093         "z": "4d7c5b65.634a04",
2094         "wires": [
2095             [
2096                 "e2c43f8b.794dd",
2097                 "b0c9797.521a888"
2098             ]
2099         ]
2100     },
2101     {
2102         "id": "5c0646e3.0b0dd8",
2103         "type": "execute",
2104         "name": "set anchors size",
2105         "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
2106         "comments": "",
2107         "outputs": 1,
2108         "x": 1457.737995147705,
2109         "y": 921.1542634963989,
2110         "z": "4d7c5b65.634a04",
2111         "wires": [
2112             []
2113         ]
2114     },
2115     {
2116         "id": "c6230172.e0fc3",
2117         "type": "execute",
2118         "name": "initialize nearRTRIC size",
2119         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
2120         "comments": "",
2121         "outputs": 1,
2122         "x": 1481.1854248046875,
2123         "y": 970.8210124969482,
2124         "z": "4d7c5b65.634a04",
2125         "wires": [
2126             []
2127         ]
2128     },
2129     {
2130         "id": "ec44d6b8.c095e8",
2131         "type": "for",
2132         "name": "For anchorsList",
2133         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2134         "comments": "",
2135         "outputs": 1,
2136         "x": 1453.1852645874023,
2137         "y": 1015.8611345291138,
2138         "z": "4d7c5b65.634a04",
2139         "wires": [
2140             [
2141                 "540f1da.0b193e4"
2142             ]
2143         ]
2144     },
2145     {
2146         "id": "2c66b2a5.586b9e",
2147         "type": "for",
2148         "name": "For anchorsList",
2149         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2150         "comments": "",
2151         "outputs": 1,
2152         "x": 1453.2012100219727,
2153         "y": 1063.179027557373,
2154         "z": "4d7c5b65.634a04",
2155         "wires": [
2156             [
2157                 "11aaa3ed.4a924c"
2158             ]
2159         ]
2160     },
2161     {
2162         "id": "b0c9797.521a888",
2163         "type": "failure",
2164         "name": "failure",
2165         "xml": "<outcome value='failure'>\n",
2166         "comments": "",
2167         "outputs": 1,
2168         "x": 1753.6947021484375,
2169         "y": 833.8888549804688,
2170         "z": "4d7c5b65.634a04",
2171         "wires": [
2172             [
2173                 "3b9f2e5f.af4d02"
2174             ]
2175         ]
2176     },
2177     {
2178         "id": "e2c43f8b.794dd",
2179         "type": "success",
2180         "name": "success",
2181         "xml": "<outcome value='success'>\n",
2182         "comments": "",
2183         "outputs": 1,
2184         "x": 1754.6947021484375,
2185         "y": 873.0833129882812,
2186         "z": "4d7c5b65.634a04",
2187         "wires": [
2188             [
2189                 "7cc3fcae.700414"
2190             ]
2191         ]
2192     },
2193     {
2194         "id": "540f1da.0b193e4",
2195         "type": "block",
2196         "name": "block : atomic",
2197         "xml": "<block atomic='true'>",
2198         "atomic": "true",
2199         "comments": "",
2200         "outputs": 1,
2201         "x": 1678.574104309082,
2202         "y": 1016.3888845443726,
2203         "z": "4d7c5b65.634a04",
2204         "wires": [
2205             [
2206                 "b2a6435.8b0e5c",
2207                 "6da28c56.8f5794"
2208             ]
2209         ]
2210     },
2211     {
2212         "id": "11aaa3ed.4a924c",
2213         "type": "block",
2214         "name": "block : atomic",
2215         "xml": "<block atomic='true'>",
2216         "atomic": "true",
2217         "comments": "",
2218         "outputs": 1,
2219         "x": 1673.889045715332,
2220         "y": 1066.3332452774048,
2221         "z": "4d7c5b65.634a04",
2222         "wires": [
2223             [
2224                 "f7ee7f22.d5598",
2225                 "a941c0ab.620a"
2226             ]
2227         ]
2228     },
2229     {
2230         "id": "3b9f2e5f.af4d02",
2231         "type": "block",
2232         "name": "block",
2233         "xml": "<block>",
2234         "atomic": "false",
2235         "comments": "",
2236         "outputs": 1,
2237         "x": 1909.3890380859375,
2238         "y": 833.5001831054688,
2239         "z": "4d7c5b65.634a04",
2240         "wires": [
2241             [
2242                 "563dd411.ce4bec",
2243                 "87f2b4f1.95cd08"
2244             ]
2245         ]
2246     },
2247     {
2248         "id": "7cc3fcae.700414",
2249         "type": "block",
2250         "name": "block : atomic",
2251         "xml": "<block atomic='true'>",
2252         "atomic": "true",
2253         "comments": "",
2254         "outputs": 1,
2255         "x": 1929.138916015625,
2256         "y": 873.7499389648438,
2257         "z": "4d7c5b65.634a04",
2258         "wires": [
2259             [
2260                 "c7360c2e.2ad2",
2261                 "ddff613a.99f4"
2262             ]
2263         ]
2264     },
2265     {
2266         "id": "6da28c56.8f5794",
2267         "type": "execute",
2268         "name": "read schemaSet",
2269         "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",
2270         "comments": "",
2271         "outputs": 1,
2272         "x": 1902.2378463745117,
2273         "y": 963.2931804656982,
2274         "z": "4d7c5b65.634a04",
2275         "wires": [
2276             []
2277         ]
2278     },
2279     {
2280         "id": "b2a6435.8b0e5c",
2281         "type": "switchNode",
2282         "name": "check schemaSetName",
2283         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2284         "comments": "",
2285         "outputs": 1,
2286         "x": 1925.7223815917969,
2287         "y": 1015.3888854980469,
2288         "z": "4d7c5b65.634a04",
2289         "wires": [
2290             [
2291                 "7d5e20cf.b122f"
2292             ]
2293         ]
2294     },
2295     {
2296         "id": "f7ee7f22.d5598",
2297         "type": "execute",
2298         "name": "read schemaSet",
2299         "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",
2300         "comments": "",
2301         "outputs": 1,
2302         "x": 1905.5495338439941,
2303         "y": 1070.5123624801636,
2304         "z": "4d7c5b65.634a04",
2305         "wires": [
2306             []
2307         ]
2308     },
2309     {
2310         "id": "a941c0ab.620a",
2311         "type": "switchNode",
2312         "name": "check schemaSetName",
2313         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2314         "comments": "",
2315         "outputs": 1,
2316         "x": 1926.5215377807617,
2317         "y": 1143.7623653411865,
2318         "z": "4d7c5b65.634a04",
2319         "wires": [
2320             [
2321                 "beea823c.d83c8"
2322             ]
2323         ]
2324     },
2325     {
2326         "id": "563dd411.ce4bec",
2327         "type": "set",
2328         "name": "set",
2329         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2330         "comments": "",
2331         "x": 2125.1665649414062,
2332         "y": 796.3332138061523,
2333         "z": "4d7c5b65.634a04",
2334         "wires": []
2335     },
2336     {
2337         "id": "87f2b4f1.95cd08",
2338         "type": "record",
2339         "name": "record",
2340         "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\"/>",
2341         "comments": "",
2342         "outputs": 1,
2343         "x": 2123.972412109375,
2344         "y": 832.8610229492188,
2345         "z": "4d7c5b65.634a04",
2346         "wires": [
2347             []
2348         ]
2349     },
2350     {
2351         "id": "c7360c2e.2ad2",
2352         "type": "record",
2353         "name": "record",
2354         "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`\"/>",
2355         "comments": "",
2356         "outputs": 1,
2357         "x": 2127.888427734375,
2358         "y": 873.9998779296875,
2359         "z": "4d7c5b65.634a04",
2360         "wires": [
2361             []
2362         ]
2363     },
2364     {
2365         "id": "ddff613a.99f4",
2366         "type": "execute",
2367         "name": "printContext",
2368         "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' />",
2369         "comments": "",
2370         "outputs": 1,
2371         "x": 2144.4166259765625,
2372         "y": 916.7498779296875,
2373         "z": "4d7c5b65.634a04",
2374         "wires": [
2375             []
2376         ]
2377     },
2378     {
2379         "id": "7d5e20cf.b122f",
2380         "type": "outcome",
2381         "name": "if ran-inventory",
2382         "xml": "<outcome value='ran-inventory'>\n",
2383         "comments": "",
2384         "outputs": 1,
2385         "x": 2142.0278930664062,
2386         "y": 1015.8611354827881,
2387         "z": "4d7c5b65.634a04",
2388         "wires": [
2389             [
2390                 "29a681d4.fadf1e"
2391             ]
2392         ]
2393     },
2394     {
2395         "id": "beea823c.d83c8",
2396         "type": "outcome",
2397         "name": "if ran-inventory",
2398         "xml": "<outcome value='ran-inventory'>\n",
2399         "comments": "",
2400         "outputs": 1,
2401         "x": 2149.3269653320312,
2402         "y": 1144.234531402588,
2403         "z": "4d7c5b65.634a04",
2404         "wires": [
2405             [
2406                 "9d9e9816.080208"
2407             ]
2408         ]
2409     },
2410     {
2411         "id": "29a681d4.fadf1e",
2412         "type": "block",
2413         "name": "block : atomic",
2414         "xml": "<block atomic='true'>",
2415         "atomic": "true",
2416         "comments": "",
2417         "outputs": 1,
2418         "x": 2327.3301391601562,
2419         "y": 1016.1943836212158,
2420         "z": "4d7c5b65.634a04",
2421         "wires": [
2422             [
2423                 "f3425f7f.85797",
2424                 "d160bcca.e09da"
2425             ]
2426         ]
2427     },
2428     {
2429         "id": "9d9e9816.080208",
2430         "type": "block",
2431         "name": "block : atomic",
2432         "xml": "<block atomic='true'>",
2433         "atomic": "true",
2434         "comments": "",
2435         "outputs": 1,
2436         "x": 2350.462715148926,
2437         "y": 1144.456699371338,
2438         "z": "4d7c5b65.634a04",
2439         "wires": [
2440             [
2441                 "f8577db4.f2c6d",
2442                 "eeb6c5cb.590e98"
2443             ]
2444         ]
2445     },
2446     {
2447         "id": "d160bcca.e09da",
2448         "type": "execute",
2449         "name": "set nearRTRIC size",
2450         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
2451         "comments": "",
2452         "outputs": 1,
2453         "x": 2563.301338195801,
2454         "y": 962.6789206266403,
2455         "z": "4d7c5b65.634a04",
2456         "wires": [
2457             []
2458         ]
2459     },
2460     {
2461         "id": "f3425f7f.85797",
2462         "type": "record",
2463         "name": "record",
2464         "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`\"/>",
2465         "comments": "",
2466         "outputs": 1,
2467         "x": 2520.243724822998,
2468         "y": 1014.9998874664307,
2469         "z": "4d7c5b65.634a04",
2470         "wires": [
2471             []
2472         ]
2473     },
2474     {
2475         "id": "f8577db4.f2c6d",
2476         "type": "execute",
2477         "name": "read anchorName",
2478         "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'`\" />",
2479         "comments": "",
2480         "outputs": 1,
2481         "x": 2578.444496154785,
2482         "y": 1094.1110763549805,
2483         "z": "4d7c5b65.634a04",
2484         "wires": [
2485             []
2486         ]
2487     },
2488     {
2489         "id": "eeb6c5cb.590e98",
2490         "type": "block",
2491         "name": "block : atomic",
2492         "xml": "<block atomic='true'>",
2493         "atomic": "true",
2494         "comments": "",
2495         "outputs": 1,
2496         "x": 2591.3894805908203,
2497         "y": 1142.8332448005676,
2498         "z": "4d7c5b65.634a04",
2499         "wires": [
2500             [
2501                 "bd769a90.99e7c8",
2502                 "75163575.78825c",
2503                 "f5f59c7b.34b9c",
2504                 "705651e1.fb1af",
2505                 "4a4a3fa0.89175",
2506                 "5bfa480.41ee8b8",
2507                 "8bbc2989.076ef8",
2508                 "a048785c.f71c98",
2509                 "e652ad9b.67808",
2510                 "a000499.2be4cb8",
2511                 "874b4b23.cea4d8",
2512                 "72160438.6565fc"
2513             ]
2514         ]
2515     },
2516     {
2517         "id": "874b4b23.cea4d8",
2518         "type": "execute",
2519         "name": "read sliceProfileId from input",
2520         "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\" />",
2521         "comments": "",
2522         "outputs": 1,
2523         "x": 2941.999813079834,
2524         "y": 916.9998564720154,
2525         "z": "4d7c5b65.634a04",
2526         "wires": [
2527             []
2528         ]
2529     },
2530     {
2531         "id": "72160438.6565fc",
2532         "type": "record",
2533         "name": "record",
2534         "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",
2535         "comments": "",
2536         "outputs": 1,
2537         "x": 2869.999813079834,
2538         "y": 953.9998564720154,
2539         "z": "4d7c5b65.634a04",
2540         "wires": [
2541             []
2542         ]
2543     },
2544     {
2545         "id": "bd769a90.99e7c8",
2546         "type": "execute",
2547         "name": "generate plmnid URL cps",
2548         "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`\"/>",
2549         "comments": "",
2550         "outputs": 1,
2551         "x": 2923.639030456543,
2552         "y": 986.9832997322083,
2553         "z": "4d7c5b65.634a04",
2554         "wires": [
2555             []
2556         ]
2557     },
2558     {
2559         "id": "75163575.78825c",
2560         "type": "execute",
2561         "name": "prepare tbdmt template",
2562         "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-mcc`\"/>",
2563         "comments": "",
2564         "outputs": 1,
2565         "x": 2920.639030456543,
2566         "y": 1025.5832362174988,
2567         "z": "4d7c5b65.634a04",
2568         "wires": [
2569             []
2570         ]
2571     },
2572     {
2573         "id": "f5f59c7b.34b9c",
2574         "type": "record",
2575         "name": "record TBDMT RestAPI params",
2576         "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`\" />",
2577         "comments": "",
2578         "outputs": 1,
2579         "x": 2945.638999938965,
2580         "y": 1068.7833499908447,
2581         "z": "4d7c5b65.634a04",
2582         "wires": [
2583             []
2584         ]
2585     },
2586     {
2587         "id": "705651e1.fb1af",
2588         "type": "execute",
2589         "name": "Get pLMNIdmcc from sliceprofileID",
2590         "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=\"getplmnmccid-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\"/>",
2591         "comments": "",
2592         "outputs": 1,
2593         "x": 2954.6393280029297,
2594         "y": 1111.7832746505737,
2595         "z": "4d7c5b65.634a04",
2596         "wires": [
2597             [
2598                 "d8528e68.284ff",
2599                 "bcb36ade.065ef8"
2600             ]
2601         ]
2602     },
2603     {
2604         "id": "4a4a3fa0.89175",
2605         "type": "execute",
2606         "name": "generate plmnid URL cps",
2607         "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.getPLMNMNCID.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
2608         "comments": "",
2609         "outputs": 1,
2610         "x": 2917.639015197754,
2611         "y": 1154.9833045005798,
2612         "z": "4d7c5b65.634a04",
2613         "wires": [
2614             []
2615         ]
2616     },
2617     {
2618         "id": "5bfa480.41ee8b8",
2619         "type": "execute",
2620         "name": "prepare tbdmt template",
2621         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnid-mnc`\"/>",
2622         "comments": "",
2623         "outputs": 1,
2624         "x": 2918.4390258789062,
2625         "y": 1195.583240032196,
2626         "z": "4d7c5b65.634a04",
2627         "wires": [
2628             []
2629         ]
2630     },
2631     {
2632         "id": "8bbc2989.076ef8",
2633         "type": "record",
2634         "name": "record TBDMT RestAPI params",
2635         "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.getPLMNMNCID.url`\" />",
2636         "comments": "",
2637         "outputs": 1,
2638         "x": 2941.439022064209,
2639         "y": 1233.7833037376404,
2640         "z": "4d7c5b65.634a04",
2641         "wires": [
2642             []
2643         ]
2644     },
2645     {
2646         "id": "a048785c.f71c98",
2647         "type": "execute",
2648         "name": "Get pLMNIdmnc from sliceprofileID",
2649         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNMNCID.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=\"getplmnmncid-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\"/>",
2650         "comments": "",
2651         "outputs": 1,
2652         "x": 2949.438804626465,
2653         "y": 1274.783281326294,
2654         "z": "4d7c5b65.634a04",
2655         "wires": [
2656             [
2657                 "c5be1942.f9e138",
2658                 "22fb40b8.c923f"
2659             ]
2660         ]
2661     },
2662     {
2663         "id": "e652ad9b.67808",
2664         "type": "set",
2665         "name": "set mcc & mnc Variables",
2666         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",
2667         "comments": "",
2668         "x": 2916.099937438965,
2669         "y": 1319.9501123428345,
2670         "z": "4d7c5b65.634a04",
2671         "wires": []
2672     },
2673     {
2674         "id": "a000499.2be4cb8",
2675         "type": "record",
2676         "name": "record",
2677         "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`\"/>",
2678         "comments": "",
2679         "outputs": 1,
2680         "x": 2867.9723320007324,
2681         "y": 1363.7923183441162,
2682         "z": "4d7c5b65.634a04",
2683         "wires": [
2684             []
2685         ]
2686     },
2687     {
2688         "id": "d8528e68.284ff",
2689         "type": "failure",
2690         "name": "failure",
2691         "xml": "<outcome value='failure'>\n",
2692         "comments": "",
2693         "outputs": 1,
2694         "x": 3242.4163551330566,
2695         "y": 1029.69424533844,
2696         "z": "4d7c5b65.634a04",
2697         "wires": [
2698             [
2699                 "377995a1.42065a"
2700             ]
2701         ]
2702     },
2703     {
2704         "id": "bcb36ade.065ef8",
2705         "type": "success",
2706         "name": "success",
2707         "xml": "<outcome value='success'>\n",
2708         "comments": "",
2709         "outputs": 1,
2710         "x": 3247.638359069824,
2711         "y": 1110.5832443237305,
2712         "z": "4d7c5b65.634a04",
2713         "wires": [
2714             [
2715                 "f6a6ebc6.51c148"
2716             ]
2717         ]
2718     },
2719     {
2720         "id": "c5be1942.f9e138",
2721         "type": "failure",
2722         "name": "failure",
2723         "xml": "<outcome value='failure'>\n",
2724         "comments": "",
2725         "outputs": 1,
2726         "x": 3246.638359069824,
2727         "y": 1344.5831680297852,
2728         "z": "4d7c5b65.634a04",
2729         "wires": [
2730             [
2731                 "5478652b.fa7ecc"
2732             ]
2733         ]
2734     },
2735     {
2736         "id": "22fb40b8.c923f",
2737         "type": "success",
2738         "name": "success",
2739         "xml": "<outcome value='success'>\n",
2740         "comments": "",
2741         "outputs": 1,
2742         "x": 3246.639335632324,
2743         "y": 1278.5831680297852,
2744         "z": "4d7c5b65.634a04",
2745         "wires": [
2746             [
2747                 "1422f96e.e42af7"
2748             ]
2749         ]
2750     },
2751     {
2752         "id": "377995a1.42065a",
2753         "type": "block",
2754         "name": "block",
2755         "xml": "<block>",
2756         "atomic": "false",
2757         "comments": "",
2758         "outputs": 1,
2759         "x": 3419.638687133789,
2760         "y": 1030.5830121040344,
2761         "z": "4d7c5b65.634a04",
2762         "wires": [
2763             [
2764                 "5b267180.de1b2",
2765                 "8f18659e.f69b78",
2766                 "bc687d8e.5d461",
2767                 "53f6cef7.f7902"
2768             ]
2769         ]
2770     },
2771     {
2772         "id": "f6a6ebc6.51c148",
2773         "type": "block",
2774         "name": "block : atomic",
2775         "xml": "<block atomic='true'>",
2776         "atomic": "true",
2777         "comments": "",
2778         "outputs": 1,
2779         "x": 3417.527359008789,
2780         "y": 1109.4719982147217,
2781         "z": "4d7c5b65.634a04",
2782         "wires": [
2783             [
2784                 "85dbd4de.56dc68",
2785                 "b0138cc8.abd22"
2786             ]
2787         ]
2788     },
2789     {
2790         "id": "5478652b.fa7ecc",
2791         "type": "block",
2792         "name": "block",
2793         "xml": "<block>",
2794         "atomic": "false",
2795         "comments": "",
2796         "outputs": 1,
2797         "x": 3404.6383628845215,
2798         "y": 1345.5830764770508,
2799         "z": "4d7c5b65.634a04",
2800         "wires": [
2801             [
2802                 "74526283.bfee3c",
2803                 "c4866c85.64adf",
2804                 "53f6cef7.f7902"
2805             ]
2806         ]
2807     },
2808     {
2809         "id": "1422f96e.e42af7",
2810         "type": "block",
2811         "name": "block : atomic",
2812         "xml": "<block atomic='true'>",
2813         "atomic": "true",
2814         "comments": "",
2815         "outputs": 1,
2816         "x": 3413.860855102539,
2817         "y": 1279.3608283996582,
2818         "z": "4d7c5b65.634a04",
2819         "wires": [
2820             [
2821                 "3a7ac81f.3363c8",
2822                 "411e5f61.ee056"
2823             ]
2824         ]
2825     },
2826     {
2827         "id": "8f18659e.f69b78",
2828         "type": "record",
2829         "name": "record",
2830         "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=\"UNSuccessfully Obtained MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-get-plmnid.json`\"/>\n",
2831         "comments": "",
2832         "outputs": 1,
2833         "x": 3603.3328704833984,
2834         "y": 950.6667141914368,
2835         "z": "4d7c5b65.634a04",
2836         "wires": [
2837             []
2838         ]
2839     },
2840     {
2841         "id": "5b267180.de1b2",
2842         "type": "set",
2843         "name": "set",
2844         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2845         "comments": "",
2846         "x": 3603.1941986083984,
2847         "y": 901.4720511436462,
2848         "z": "4d7c5b65.634a04",
2849         "wires": []
2850     },
2851     {
2852         "id": "b0138cc8.abd22",
2853         "type": "execute",
2854         "name": "read nearRTRICId-PLMN",
2855         "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=\"`'getplmnmccid-cps-response.[0]'`\" />\n",
2856         "comments": "",
2857         "outputs": 1,
2858         "x": 3661.349956512451,
2859         "y": 1052.4496097564697,
2860         "z": "4d7c5b65.634a04",
2861         "wires": [
2862             []
2863         ]
2864     },
2865     {
2866         "id": "85dbd4de.56dc68",
2867         "type": "record",
2868         "name": "record",
2869         "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 info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getplmnmccid-cps-response.httpResponse`\"/>",
2870         "comments": "",
2871         "outputs": 1,
2872         "x": 3614.1390228271484,
2873         "y": 1111.8330745697021,
2874         "z": "4d7c5b65.634a04",
2875         "wires": [
2876             []
2877         ]
2878     },
2879     {
2880         "id": "74526283.bfee3c",
2881         "type": "set",
2882         "name": "set",
2883         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2884         "comments": "",
2885         "x": 3601.6380462646484,
2886         "y": 1337.5831699371338,
2887         "z": "4d7c5b65.634a04",
2888         "wires": []
2889     },
2890     {
2891         "id": "411e5f61.ee056",
2892         "type": "execute",
2893         "name": "read nearRTRICId-PLMN",
2894         "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=\"`'getplmnmncid-cps-response.[0]'`\" />\n",
2895         "comments": "",
2896         "outputs": 1,
2897         "x": 3654.4886322021484,
2898         "y": 1228.6331329345703,
2899         "z": "4d7c5b65.634a04",
2900         "wires": [
2901             []
2902         ]
2903     },
2904     {
2905         "id": "3a7ac81f.3363c8",
2906         "type": "record",
2907         "name": "record",
2908         "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 MNC info from Cps\"/>\n<parameter name=\"field2\" value=\"`$getplmnmncid-cps-response.httpResponse`\"/>",
2909         "comments": "",
2910         "outputs": 1,
2911         "x": 3598.6380462646484,
2912         "y": 1276.083249092102,
2913         "z": "4d7c5b65.634a04",
2914         "wires": [
2915             []
2916         ]
2917     },
2918     {
2919         "id": "bc687d8e.5d461",
2920         "type": "returnFailure",
2921         "name": "return failure",
2922         "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'/>",
2923         "comments": "",
2924         "x": 3621.9995346069336,
2925         "y": 989.999885559082,
2926         "z": "4d7c5b65.634a04",
2927         "wires": []
2928     },
2929     {
2930         "id": "c4866c85.64adf",
2931         "type": "returnFailure",
2932         "name": "return failure",
2933         "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'/>",
2934         "comments": "",
2935         "x": 3623.9993743896484,
2936         "y": 1382.9998378753662,
2937         "z": "4d7c5b65.634a04",
2938         "wires": []
2939     },
2940     {
2941         "id": "3e21d260.0305ae",
2942         "type": "switchNode",
2943         "name": "ransim mounted",
2944         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
2945         "comments": "",
2946         "outputs": 1,
2947         "x": 1448,
2948         "y": 1299,
2949         "z": "4d7c5b65.634a04",
2950         "wires": [
2951             [
2952                 "26c54f86.bf74b",
2953                 "79f29ec2.b22c2"
2954             ]
2955         ]
2956     },
2957     {
2958         "id": "26c54f86.bf74b",
2959         "type": "outcome",
2960         "name": "Not Mounted",
2961         "xml": "<outcome value='false'>\n",
2962         "comments": "",
2963         "outputs": 1,
2964         "x": 1661.9998474121094,
2965         "y": 1299.999755859375,
2966         "z": "4d7c5b65.634a04",
2967         "wires": [
2968             [
2969                 "3dd49a3.5a86666"
2970             ]
2971         ]
2972     },
2973     {
2974         "id": "79f29ec2.b22c2",
2975         "type": "outcome",
2976         "name": "Mounted",
2977         "xml": "<outcome value='true'>\n",
2978         "comments": "",
2979         "outputs": 1,
2980         "x": 1654.0000457763672,
2981         "y": 1341.9998397827148,
2982         "z": "4d7c5b65.634a04",
2983         "wires": [
2984             [
2985                 "ab008fe8.c3e1c"
2986             ]
2987         ]
2988     },
2989     {
2990         "id": "ab008fe8.c3e1c",
2991         "type": "block",
2992         "name": "ransim  URL",
2993         "xml": "<block atomic='true'>",
2994         "atomic": "true",
2995         "comments": "",
2996         "outputs": 1,
2997         "x": 1827.9899635314941,
2998         "y": 1341.9998397827148,
2999         "z": "4d7c5b65.634a04",
3000         "wires": [
3001             [
3002                 "197b8787.ab2868",
3003                 "1f06dbc0.549624"
3004             ]
3005         ]
3006     },
3007     {
3008         "id": "3dd49a3.5a86666",
3009         "type": "block",
3010         "name": "URL",
3011         "xml": "<block atomic='true'>",
3012         "atomic": "true",
3013         "comments": "",
3014         "outputs": 1,
3015         "x": 1824.2015113830566,
3016         "y": 1300.5989589691162,
3017         "z": "4d7c5b65.634a04",
3018         "wires": [
3019             [
3020                 "d9c4f2e2.58fc9"
3021             ]
3022         ]
3023     },
3024     {
3025         "id": "d9c4f2e2.58fc9",
3026         "type": "execute",
3027         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
3028         "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`\"/>",
3029         "comments": "",
3030         "outputs": 1,
3031         "x": 2121.0000190734863,
3032         "y": 1301.0001640319824,
3033         "z": "4d7c5b65.634a04",
3034         "wires": [
3035             []
3036         ]
3037     },
3038     {
3039         "id": "197b8787.ab2868",
3040         "type": "execute",
3041         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
3042         "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`\"/>",
3043         "comments": "",
3044         "outputs": 1,
3045         "x": 2122.534523010254,
3046         "y": 1342.5992851257324,
3047         "z": "4d7c5b65.634a04",
3048         "wires": [
3049             []
3050         ]
3051     },
3052     {
3053         "id": "1f06dbc0.549624",
3054         "type": "execute",
3055         "name": "Populate MOUNT NAME",
3056         "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`\"/>",
3057         "comments": "",
3058         "outputs": 1,
3059         "x": 2063.5348510742188,
3060         "y": 1383.5989618301392,
3061         "z": "4d7c5b65.634a04",
3062         "wires": [
3063             []
3064         ]
3065     },
3066     {
3067         "id": "99f61b3f.7c9258",
3068         "type": "execute",
3069         "name": "getAnchors URL",
3070         "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
3071         "comments": "",
3072         "outputs": 1,
3073         "x": 1448.7500381469727,
3074         "y": 1377.000002861023,
3075         "z": "4d7c5b65.634a04",
3076         "wires": [
3077             []
3078         ]
3079     },
3080     {
3081         "id": "4fcdfd93.2b2e94",
3082         "type": "record",
3083         "name": "record",
3084         "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`\"/>",
3085         "comments": "",
3086         "outputs": 1,
3087         "x": 1418.0000381469727,
3088         "y": 1421.7500042915344,
3089         "z": "4d7c5b65.634a04",
3090         "wires": [
3091             []
3092         ]
3093     },
3094     {
3095         "id": "8c7da0b4.ffdc8",
3096         "type": "execute",
3097         "name": "Get list of anchors from CPS",
3098         "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\"/>",
3099         "comments": "",
3100         "outputs": 1,
3101         "x": 1486.8055419921875,
3102         "y": 1465.916672706604,
3103         "z": "4d7c5b65.634a04",
3104         "wires": [
3105             [
3106                 "1c00cebc.15e071",
3107                 "655604d5.d3202c"
3108             ]
3109         ]
3110     },
3111     {
3112         "id": "b50c2ced.c3143",
3113         "type": "execute",
3114         "name": "set anchors size",
3115         "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
3116         "comments": "",
3117         "outputs": 1,
3118         "x": 1451.1546630859375,
3119         "y": 1591.820972442627,
3120         "z": "4d7c5b65.634a04",
3121         "wires": [
3122             []
3123         ]
3124     },
3125     {
3126         "id": "8dd65b69.c1c0e8",
3127         "type": "for",
3128         "name": "For anchorsList",
3129         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
3130         "comments": "",
3131         "outputs": 1,
3132         "x": 1452.6019287109375,
3133         "y": 1663.527681350708,
3134         "z": "4d7c5b65.634a04",
3135         "wires": [
3136             [
3137                 "63f61435.ddcfcc"
3138             ]
3139         ]
3140     },
3141     {
3142         "id": "24ce1a1c.0c4dc6",
3143         "type": "for",
3144         "name": "For anchorsList",
3145         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
3146         "comments": "",
3147         "outputs": 1,
3148         "x": 1449.6177215576172,
3149         "y": 1714.8457164764404,
3150         "z": "4d7c5b65.634a04",
3151         "wires": [
3152             [
3153                 "1e1f2ec4.b57821"
3154             ]
3155         ]
3156     },
3157     {
3158         "id": "655604d5.d3202c",
3159         "type": "failure",
3160         "name": "failure",
3161         "xml": "<outcome value='failure'>\n",
3162         "comments": "",
3163         "outputs": 1,
3164         "x": 1704.1110534667969,
3165         "y": 1465.555507659912,
3166         "z": "4d7c5b65.634a04",
3167         "wires": [
3168             [
3169                 "8d6349e1.873878"
3170             ]
3171         ]
3172     },
3173     {
3174         "id": "1c00cebc.15e071",
3175         "type": "success",
3176         "name": "success",
3177         "xml": "<outcome value='success'>\n",
3178         "comments": "",
3179         "outputs": 1,
3180         "x": 1700.111213684082,
3181         "y": 1549.7498455047607,
3182         "z": "4d7c5b65.634a04",
3183         "wires": [
3184             [
3185                 "2bd9b284.5d46ee"
3186             ]
3187         ]
3188     },
3189     {
3190         "id": "63f61435.ddcfcc",
3191         "type": "block",
3192         "name": "block : atomic",
3193         "xml": "<block atomic='true'>",
3194         "atomic": "true",
3195         "comments": "",
3196         "outputs": 1,
3197         "x": 1672.9907722473145,
3198         "y": 1664.0555124282837,
3199         "z": "4d7c5b65.634a04",
3200         "wires": [
3201             [
3202                 "71d4252d.e9918c",
3203                 "c4c1fd8.f3a05"
3204             ]
3205         ]
3206     },
3207     {
3208         "id": "1e1f2ec4.b57821",
3209         "type": "block",
3210         "name": "block : atomic",
3211         "xml": "<block atomic='true'>",
3212         "atomic": "true",
3213         "comments": "",
3214         "outputs": 1,
3215         "x": 1671.3053894042969,
3216         "y": 1714.0000133514404,
3217         "z": "4d7c5b65.634a04",
3218         "wires": [
3219             [
3220                 "13278ede.6bee51",
3221                 "78acf035.46288"
3222             ]
3223         ]
3224     },
3225     {
3226         "id": "8d6349e1.873878",
3227         "type": "block",
3228         "name": "block",
3229         "xml": "<block>",
3230         "atomic": "false",
3231         "comments": "",
3232         "outputs": 1,
3233         "x": 1854.8055572509766,
3234         "y": 1465.1666717529297,
3235         "z": "4d7c5b65.634a04",
3236         "wires": [
3237             [
3238                 "86eeee2b.9e923",
3239                 "ecf3f9cf.0fc3c8"
3240             ]
3241         ]
3242     },
3243     {
3244         "id": "86eeee2b.9e923",
3245         "type": "set",
3246         "name": "set",
3247         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
3248         "comments": "",
3249         "x": 2014.5830688476562,
3250         "y": 1464.9998426437378,
3251         "z": "4d7c5b65.634a04",
3252         "wires": []
3253     },
3254     {
3255         "id": "ecf3f9cf.0fc3c8",
3256         "type": "record",
3257         "name": "record",
3258         "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\"/>",
3259         "comments": "",
3260         "outputs": 1,
3261         "x": 2014.3890533447266,
3262         "y": 1505.5276765823364,
3263         "z": "4d7c5b65.634a04",
3264         "wires": [
3265             []
3266         ]
3267     },
3268     {
3269         "id": "2bd9b284.5d46ee",
3270         "type": "block",
3271         "name": "block : atomic",
3272         "xml": "<block atomic='true'>",
3273         "atomic": "true",
3274         "comments": "",
3275         "outputs": 1,
3276         "x": 1857.5553894042969,
3277         "y": 1550.416675567627,
3278         "z": "4d7c5b65.634a04",
3279         "wires": [
3280             [
3281                 "c866198.4c0c1e8",
3282                 "eb35fb98.e94048"
3283             ]
3284         ]
3285     },
3286     {
3287         "id": "c866198.4c0c1e8",
3288         "type": "record",
3289         "name": "record",
3290         "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`\"/>",
3291         "comments": "",
3292         "outputs": 1,
3293         "x": 2019.3052368164062,
3294         "y": 1550.666675567627,
3295         "z": "4d7c5b65.634a04",
3296         "wires": [
3297             []
3298         ]
3299     },
3300     {
3301         "id": "eb35fb98.e94048",
3302         "type": "execute",
3303         "name": "printContext",
3304         "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' />",
3305         "comments": "",
3306         "outputs": 1,
3307         "x": 2035.8337211608887,
3308         "y": 1588.4166765213013,
3309         "z": "4d7c5b65.634a04",
3310         "wires": [
3311             []
3312         ]
3313     },
3314     {
3315         "id": "c4c1fd8.f3a05",
3316         "type": "execute",
3317         "name": "read schemaSet",
3318         "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",
3319         "comments": "",
3320         "outputs": 1,
3321         "x": 1869.6543502807617,
3322         "y": 1620.9596455097198,
3323         "z": "4d7c5b65.634a04",
3324         "wires": [
3325             []
3326         ]
3327     },
3328     {
3329         "id": "71d4252d.e9918c",
3330         "type": "switchNode",
3331         "name": "check schemaSetName",
3332         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
3333         "comments": "",
3334         "outputs": 1,
3335         "x": 1895.1390533447266,
3336         "y": 1664.055513381958,
3337         "z": "4d7c5b65.634a04",
3338         "wires": [
3339             [
3340                 "f465f427.c2b608"
3341             ]
3342         ]
3343     },
3344     {
3345         "id": "13278ede.6bee51",
3346         "type": "execute",
3347         "name": "read schemaSet",
3348         "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",
3349         "comments": "",
3350         "outputs": 1,
3351         "x": 1874.9662017822266,
3352         "y": 1714.179048538208,
3353         "z": "4d7c5b65.634a04",
3354         "wires": [
3355             []
3356         ]
3357     },
3358     {
3359         "id": "78acf035.46288",
3360         "type": "switchNode",
3361         "name": "check schemaSetName",
3362         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
3363         "comments": "",
3364         "outputs": 1,
3365         "x": 1898.9382057189941,
3366         "y": 1759.4290504455566,
3367         "z": "4d7c5b65.634a04",
3368         "wires": [
3369             [
3370                 "9f12f9e9.9452b8"
3371             ]
3372         ]
3373     },
3374     {
3375         "id": "9f12f9e9.9452b8",
3376         "type": "outcome",
3377         "name": "if ran-network",
3378         "xml": "<outcome value='ran-network'>\n",
3379         "comments": "",
3380         "outputs": 1,
3381         "x": 2110.7438735961914,
3382         "y": 1759.9012184143066,
3383         "z": "4d7c5b65.634a04",
3384         "wires": [
3385             [
3386                 "3ed1dd57.474582"
3387             ]
3388         ]
3389     },
3390     {
3391         "id": "f465f427.c2b608",
3392         "type": "outcome",
3393         "name": "if ran-network",
3394         "xml": "<outcome value='ran-network'>\n",
3395         "comments": "",
3396         "outputs": 1,
3397         "x": 2112.4445571899414,
3398         "y": 1663.5278425216675,
3399         "z": "4d7c5b65.634a04",
3400         "wires": [
3401             [
3402                 "61f76815.9ea948"
3403             ]
3404         ]
3405     },
3406     {
3407         "id": "61f76815.9ea948",
3408         "type": "block",
3409         "name": "block : atomic",
3410         "xml": "<block atomic='true'>",
3411         "atomic": "true",
3412         "comments": "",
3413         "outputs": 1,
3414         "x": 2294.746810913086,
3415         "y": 1662.8610124588013,
3416         "z": "4d7c5b65.634a04",
3417         "wires": [
3418             [
3419                 "2bfe4fd7.4500e",
3420                 "fe178d42.6417a"
3421             ]
3422         ]
3423     },
3424     {
3425         "id": "3ed1dd57.474582",
3426         "type": "block",
3427         "name": "block : atomic",
3428         "xml": "<block atomic='true'>",
3429         "atomic": "true",
3430         "comments": "",
3431         "outputs": 1,
3432         "x": 2298.879623413086,
3433         "y": 1760.1233863830566,
3434         "z": "4d7c5b65.634a04",
3435         "wires": [
3436             [
3437                 "5b36931e.63404c",
3438                 "47429c6f.cdaf04"
3439             ]
3440         ]
3441     },
3442     {
3443         "id": "fe178d42.6417a",
3444         "type": "execute",
3445         "name": "set nearRTRIC size",
3446         "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
3447         "comments": "",
3448         "outputs": 1,
3449         "x": 2506.718334197998,
3450         "y": 1625.3457126617432,
3451         "z": "4d7c5b65.634a04",
3452         "wires": [
3453             []
3454         ]
3455     },
3456     {
3457         "id": "2bfe4fd7.4500e",
3458         "type": "record",
3459         "name": "record",
3460         "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`\"/>",
3461         "comments": "",
3462         "outputs": 1,
3463         "x": 2472.660717010498,
3464         "y": 1662.6666774749756,
3465         "z": "4d7c5b65.634a04",
3466         "wires": [
3467             []
3468         ]
3469     },
3470     {
3471         "id": "5b36931e.63404c",
3472         "type": "execute",
3473         "name": "read anchorName",
3474         "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'`\" />",
3475         "comments": "",
3476         "outputs": 1,
3477         "x": 2507.861396789551,
3478         "y": 1718.7778453826904,
3479         "z": "4d7c5b65.634a04",
3480         "wires": [
3481             []
3482         ]
3483     },
3484     {
3485         "id": "47429c6f.cdaf04",
3486         "type": "block",
3487         "name": "block : atomic",
3488         "xml": "<block atomic='true'>",
3489         "atomic": "true",
3490         "comments": "",
3491         "outputs": 1,
3492         "x": 2514.8057403564453,
3493         "y": 1770.500015258789,
3494         "z": "4d7c5b65.634a04",
3495         "wires": [
3496             [
3497                 "8998c72c.4ff418",
3498                 "9d7758a7.bd51f8",
3499                 "9d39eb14.0fc3a8",
3500                 "c69db98d.df76b8",
3501                 "74d6c00.8c08c4",
3502                 "eac71052.ffbb4",
3503                 "755837fb.492b88",
3504                 "ee4970e3.bde7c",
3505                 "3f7e1749.9ebda8",
3506                 "93440679.5fd8e8"
3507             ]
3508         ]
3509     },
3510     {
3511         "id": "8998c72c.4ff418",
3512         "type": "execute",
3513         "name": "generate dLThptPerSliceURL cps",
3514         "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.patchdLThptPerSlice.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
3515         "comments": "",
3516         "outputs": 1,
3517         "x": 2839.750160217285,
3518         "y": 1668.6666774749756,
3519         "z": "4d7c5b65.634a04",
3520         "wires": [
3521             []
3522         ]
3523     },
3524     {
3525         "id": "9d7758a7.bd51f8",
3526         "type": "execute",
3527         "name": "prepare tbdmt template",
3528         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.patchdLThptPerSlice.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchdLThptPerSlice.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-dLThptPerSlice`\"/>",
3529         "comments": "",
3530         "outputs": 1,
3531         "x": 2805.750160217285,
3532         "y": 1704.266613960266,
3533         "z": "4d7c5b65.634a04",
3534         "wires": [
3535             []
3536         ]
3537     },
3538     {
3539         "id": "9d39eb14.0fc3a8",
3540         "type": "record",
3541         "name": "record TBDMT RestAPI params",
3542         "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.patchdLThptPerSlice.url`\" />",
3543         "comments": "",
3544         "outputs": 1,
3545         "x": 2831.75,
3546         "y": 1740.4664840698242,
3547         "z": "4d7c5b65.634a04",
3548         "wires": [
3549             []
3550         ]
3551     },
3552     {
3553         "id": "c69db98d.df76b8",
3554         "type": "execute",
3555         "name": "patch dLThptPerSlice",
3556         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchdLThptPerSlice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-dLThptPerSlice.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\"/>",
3557         "comments": "",
3558         "outputs": 1,
3559         "x": 2798.75,
3560         "y": 1773.4664859771729,
3561         "z": "4d7c5b65.634a04",
3562         "wires": [
3563             [
3564                 "41285c67.33d5c4",
3565                 "b48fa3de.a329a"
3566             ]
3567         ]
3568     },
3569     {
3570         "id": "b48fa3de.a329a",
3571         "type": "success",
3572         "name": "success",
3573         "xml": "<outcome value='success'>\n",
3574         "comments": "",
3575         "outputs": 1,
3576         "x": 3047.7493591308594,
3577         "y": 1774.2662906646729,
3578         "z": "4d7c5b65.634a04",
3579         "wires": [
3580             [
3581                 "2251f3b0.ca9bac"
3582             ]
3583         ]
3584     },
3585     {
3586         "id": "41285c67.33d5c4",
3587         "type": "failure",
3588         "name": "failure",
3589         "xml": "<outcome value='failure'>\n",
3590         "comments": "",
3591         "outputs": 1,
3592         "x": 3053.5273513793945,
3593         "y": 1696.3774547576904,
3594         "z": "4d7c5b65.634a04",
3595         "wires": [
3596             [
3597                 "3df4f6bd.dcdc8a"
3598             ]
3599         ]
3600     },
3601     {
3602         "id": "2251f3b0.ca9bac",
3603         "type": "block",
3604         "name": "block : atomic",
3605         "xml": "<block atomic='true'>",
3606         "atomic": "true",
3607         "comments": "",
3608         "outputs": 1,
3609         "x": 3211.638683319092,
3610         "y": 1775.155288696289,
3611         "z": "4d7c5b65.634a04",
3612         "wires": [
3613             [
3614                 "62c02278.218b8c"
3615             ]
3616         ]
3617     },
3618     {
3619         "id": "3df4f6bd.dcdc8a",
3620         "type": "block",
3621         "name": "block",
3622         "xml": "<block>",
3623         "atomic": "false",
3624         "comments": "",
3625         "outputs": 1,
3626         "x": 3181.7493629455566,
3627         "y": 1697.2662897109985,
3628         "z": "4d7c5b65.634a04",
3629         "wires": [
3630             [
3631                 "f87039cf.b1f5c8",
3632                 "a17212ca.4c0c7",
3633                 "14cb93e3.154dbc",
3634                 "53f6cef7.f7902"
3635             ]
3636         ]
3637     },
3638     {
3639         "id": "f87039cf.b1f5c8",
3640         "type": "set",
3641         "name": "set",
3642         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
3643         "comments": "",
3644         "x": 3337.305030822754,
3645         "y": 1656.1552848815918,
3646         "z": "4d7c5b65.634a04",
3647         "wires": []
3648     },
3649     {
3650         "id": "a17212ca.4c0c7",
3651         "type": "record",
3652         "name": "record",
3653         "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 data from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-dLThptPerSlice.json`\"/>\n",
3654         "comments": "",
3655         "outputs": 1,
3656         "x": 3334.4440269470215,
3657         "y": 1615.3499445915222,
3658         "z": "4d7c5b65.634a04",
3659         "wires": [
3660             []
3661         ]
3662     },
3663     {
3664         "id": "62c02278.218b8c",
3665         "type": "record",
3666         "name": "record",
3667         "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`\"/>",
3668         "comments": "",
3669         "outputs": 1,
3670         "x": 3391.2500190734863,
3671         "y": 1775.5162916183472,
3672         "z": "4d7c5b65.634a04",
3673         "wires": [
3674             []
3675         ]
3676     },
3677     {
3678         "id": "eac71052.ffbb4",
3679         "type": "execute",
3680         "name": "generate uLThptPerSliceURL cps",
3681         "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`\"/>",
3682         "comments": "",
3683         "outputs": 1,
3684         "x": 2835.083656311035,
3685         "y": 1810.6666812896729,
3686         "z": "4d7c5b65.634a04",
3687         "wires": [
3688             []
3689         ]
3690     },
3691     {
3692         "id": "755837fb.492b88",
3693         "type": "execute",
3694         "name": "prepare tbdmt template",
3695         "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-uLThptPerSlice`\"/>",
3696         "comments": "",
3697         "outputs": 1,
3698         "x": 2805.08349609375,
3699         "y": 1846.2666187286377,
3700         "z": "4d7c5b65.634a04",
3701         "wires": [
3702             []
3703         ]
3704     },
3705     {
3706         "id": "ee4970e3.bde7c",
3707         "type": "record",
3708         "name": "record TBDMT RestAPI params",
3709         "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`\" />",
3710         "comments": "",
3711         "outputs": 1,
3712         "x": 2831.08349609375,
3713         "y": 1884.4664897918701,
3714         "z": "4d7c5b65.634a04",
3715         "wires": [
3716             []
3717         ]
3718     },
3719     {
3720         "id": "3f7e1749.9ebda8",
3721         "type": "execute",
3722         "name": "patch dLThptPerSlice",
3723         "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-uLThptPerSlice.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\"/>",
3724         "comments": "",
3725         "outputs": 1,
3726         "x": 2798.08349609375,
3727         "y": 1921.4664916992188,
3728         "z": "4d7c5b65.634a04",
3729         "wires": [
3730             [
3731                 "434c383e.3ac1a8",
3732                 "628d0768.1183a8"
3733             ]
3734         ]
3735     },
3736     {
3737         "id": "628d0768.1183a8",
3738         "type": "success",
3739         "name": "success",
3740         "xml": "<outcome value='success'>\n",
3741         "comments": "",
3742         "outputs": 1,
3743         "x": 3059.0828552246094,
3744         "y": 1972.2664184570312,
3745         "z": "4d7c5b65.634a04",
3746         "wires": [
3747             [
3748                 "6b324c96.7b9424"
3749             ]
3750         ]
3751     },
3752     {
3753         "id": "434c383e.3ac1a8",
3754         "type": "failure",
3755         "name": "failure",
3756         "xml": "<outcome value='failure'>\n",
3757         "comments": "",
3758         "outputs": 1,
3759         "x": 3054.860849380493,
3760         "y": 1920.3774604797363,
3761         "z": "4d7c5b65.634a04",
3762         "wires": [
3763             [
3764                 "ed31ef8a.b1ec1"
3765             ]
3766         ]
3767     },
3768     {
3769         "id": "6b324c96.7b9424",
3770         "type": "block",
3771         "name": "block : atomic",
3772         "xml": "<block atomic='true'>",
3773         "atomic": "true",
3774         "comments": "",
3775         "outputs": 1,
3776         "x": 3234.972183227539,
3777         "y": 1973.1557416915894,
3778         "z": "4d7c5b65.634a04",
3779         "wires": [
3780             [
3781                 "a870b460.fe9f68"
3782             ]
3783         ]
3784     },
3785     {
3786         "id": "ed31ef8a.b1ec1",
3787         "type": "block",
3788         "name": "block",
3789         "xml": "<block>",
3790         "atomic": "false",
3791         "comments": "",
3792         "outputs": 1,
3793         "x": 3200.0828590393066,
3794         "y": 1918.2662944793701,
3795         "z": "4d7c5b65.634a04",
3796         "wires": [
3797             [
3798                 "c8d7789d.e059f8",
3799                 "50f408ea.d42668",
3800                 "769aebc5.b0fdd4",
3801                 "53f6cef7.f7902"
3802             ]
3803         ]
3804     },
3805     {
3806         "id": "c8d7789d.e059f8",
3807         "type": "set",
3808         "name": "set",
3809         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
3810         "comments": "",
3811         "x": 3395.6382026672363,
3812         "y": 1875.1552906036377,
3813         "z": "4d7c5b65.634a04",
3814         "wires": []
3815     },
3816     {
3817         "id": "50f408ea.d42668",
3818         "type": "record",
3819         "name": "record",
3820         "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=\"UNSuccessfully Obtained MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-get-plmnid.json`\"/>\n",
3821         "comments": "",
3822         "outputs": 1,
3823         "x": 3392.7775268554688,
3824         "y": 1834.3499507904053,
3825         "z": "4d7c5b65.634a04",
3826         "wires": [
3827             []
3828         ]
3829     },
3830     {
3831         "id": "a870b460.fe9f68",
3832         "type": "record",
3833         "name": "record",
3834         "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`\"/>",
3835         "comments": "",
3836         "outputs": 1,
3837         "x": 3412.5835151672363,
3838         "y": 1973.5164184570312,
3839         "z": "4d7c5b65.634a04",
3840         "wires": [
3841             []
3842         ]
3843     },
3844     {
3845         "id": "74d6c00.8c08c4",
3846         "type": "record",
3847         "name": "record",
3848         "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.uLThptPerSlice`\"/>",
3849         "comments": "",
3850         "outputs": 1,
3851         "x": 2757.7506523132324,
3852         "y": 1633.6666765213013,
3853         "z": "4d7c5b65.634a04",
3854         "wires": [
3855             []
3856         ]
3857     },
3858     {
3859         "id": "93440679.5fd8e8",
3860         "type": "set",
3861         "name": "set  Variables",
3862         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.mcc`' />\n<parameter name='tmp.mnc' value='`$tmp.mnc`' />\n",
3863         "comments": "",
3864         "x": 2778.4168281555176,
3865         "y": 1596.666675567627,
3866         "z": "4d7c5b65.634a04",
3867         "wires": []
3868     },
3869     {
3870         "id": "769aebc5.b0fdd4",
3871         "type": "returnFailure",
3872         "name": "return failure",
3873         "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'/>",
3874         "comments": "",
3875         "x": 3420.0835189819336,
3876         "y": 1915.6666851043701,
3877         "z": "4d7c5b65.634a04",
3878         "wires": []
3879     },
3880     {
3881         "id": "14cb93e3.154dbc",
3882         "type": "returnFailure",
3883         "name": "return failure",
3884         "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'/>",
3885         "comments": "",
3886         "x": 3357.083351135254,
3887         "y": 1695.66667842865,
3888         "z": "4d7c5b65.634a04",
3889         "wires": []
3890     }
3891 ]