fix odl patches
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceReconfigure-cps.json
1 [
2     {
3         "id": "d6602fb5.c4aef",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSliceReconfigure-cps' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 309.00003814697266,
10         "y": 231.00003242492676,
11         "z": "513be127.a07bb",
12         "wires": [
13             [
14                 "c0ce3b5e.0a7f68"
15             ]
16         ]
17     },
18     {
19         "id": "b1aed66e.3907e8",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 106,
24         "y": 120.00000381469727,
25         "z": "513be127.a07bb",
26         "wires": [
27             [
28                 "1cc088f6.ffc537"
29             ]
30         ]
31     },
32     {
33         "id": "1cc088f6.ffc537",
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": 351.9999694824219,
42         "y": 121.0000867843628,
43         "z": "513be127.a07bb",
44         "wires": [
45             [
46                 "d6602fb5.c4aef"
47             ]
48         ]
49     },
50     {
51         "id": "8e70ca46.af1408",
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": 303.4896240234375,
57         "y": 2157.0003185272217,
58         "z": "513be127.a07bb",
59         "wires": []
60     },
61     {
62         "id": "e05b60e5.f67af",
63         "type": "comment",
64         "name": "instantiateRANSliceReconfigure-cps",
65         "info": "",
66         "comments": "",
67         "x": 403,
68         "y": 32.01041030883789,
69         "z": "513be127.a07bb",
70         "wires": []
71     },
72     {
73         "id": "c0ce3b5e.0a7f68",
74         "type": "block",
75         "name": "block : atomic",
76         "xml": "<block atomic='true'>",
77         "atomic": "true",
78         "comments": "",
79         "outputs": 1,
80         "x": 212.99996948242188,
81         "y": 338.0104103088379,
82         "z": "513be127.a07bb",
83         "wires": [
84             [
85                 "8e70ca46.af1408",
86                 "91cb59dd.897498",
87                 "776f8f52.2fc88",
88                 "3270fb38.1945b4"
89             ]
90         ]
91     },
92     {
93         "id": "dbb9b1f6.7e3ab",
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": 3979.989906311035,
100         "y": 7759.020887136459,
101         "z": "513be127.a07bb",
102         "wires": [
103             [
104                 "33306451.5c967c"
105             ]
106         ]
107     },
108     {
109         "id": "33306451.5c967c",
110         "type": "success",
111         "name": "success",
112         "xml": "<outcome value='success'>\n",
113         "comments": "",
114         "outputs": 1,
115         "x": 4316.989784240723,
116         "y": 7785.010389089584,
117         "z": "513be127.a07bb",
118         "wires": [
119             [
120                 "22cecf95.6c0e2"
121             ]
122         ]
123     },
124     {
125         "id": "22cecf95.6c0e2",
126         "type": "block",
127         "name": "block",
128         "xml": "<block>\n",
129         "atomic": "false",
130         "comments": "",
131         "outputs": 1,
132         "x": 4496.989540100098,
133         "y": 7782.010389089584,
134         "z": "513be127.a07bb",
135         "wires": [
136             [
137                 "8b1bbb36.3f1448"
138             ]
139         ]
140     },
141     {
142         "id": "8b1bbb36.3f1448",
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": 4645.989841461182,
149         "y": 7808.010581731796,
150         "z": "513be127.a07bb",
151         "wires": [
152             []
153         ]
154     },
155     {
156         "id": "3270fb38.1945b4",
157         "type": "block",
158         "name": "SO Response",
159         "xml": "<block atomic='true'>",
160         "atomic": "true",
161         "comments": "",
162         "outputs": 1,
163         "x": 332.75,
164         "y": 2107.2646474838257,
165         "z": "513be127.a07bb",
166         "wires": [
167             [
168                 "8992ae62.69d3",
169                 "8e2bdda.a68132",
170                 "8d7fc622.f49e38",
171                 "8a21bd26.48ec8"
172             ]
173         ]
174     },
175     {
176         "id": "8992ae62.69d3",
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": 734.9999923706055,
183         "y": 2225.0149488449097,
184         "z": "513be127.a07bb",
185         "wires": [
186             []
187         ]
188     },
189     {
190         "id": "660ad5bc.6baf9c",
191         "type": "failure",
192         "name": "failure",
193         "xml": "<outcome value='failure'>\n",
194         "comments": "",
195         "outputs": 1,
196         "x": 873.0000686645508,
197         "y": 2288.0147609710693,
198         "z": "513be127.a07bb",
199         "wires": [
200             [
201                 "f22f7504.d07b98"
202             ]
203         ]
204     },
205     {
206         "id": "b50f3ab5.795e38",
207         "type": "success",
208         "name": "success",
209         "xml": "<outcome value='success'>\n",
210         "comments": "",
211         "outputs": 1,
212         "x": 864.9999618530273,
213         "y": 2361.014711380005,
214         "z": "513be127.a07bb",
215         "wires": [
216             [
217                 "c541222c.c407f"
218             ]
219         ]
220     },
221     {
222         "id": "c541222c.c407f",
223         "type": "block",
224         "name": "block",
225         "xml": "<block>\n",
226         "atomic": "false",
227         "comments": "",
228         "outputs": 1,
229         "x": 1010.9998054504395,
230         "y": 2366.014820098877,
231         "z": "513be127.a07bb",
232         "wires": [
233             [
234                 "a9368725.2ff1f8"
235             ]
236         ]
237     },
238     {
239         "id": "f22f7504.d07b98",
240         "type": "block",
241         "name": "block",
242         "xml": "<block>\n",
243         "atomic": "false",
244         "comments": "",
245         "outputs": 1,
246         "x": 1021.9999694824219,
247         "y": 2284.0148963928223,
248         "z": "513be127.a07bb",
249         "wires": [
250             [
251                 "c9757bfc.6cf938",
252                 "b199d8d3.cd2748"
253             ]
254         ]
255     },
256     {
257         "id": "c9757bfc.6cf938",
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": 1190.9996032714844,
263         "y": 2285.0146522521973,
264         "z": "513be127.a07bb",
265         "wires": []
266     },
267     {
268         "id": "a9368725.2ff1f8",
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": 1191.9997253417969,
275         "y": 2370.0146522521973,
276         "z": "513be127.a07bb",
277         "wires": [
278             []
279         ]
280     },
281     {
282         "id": "9d694bfa.b7a508",
283         "type": "block",
284         "name": "block : SO Response",
285         "xml": "<block atomic='true'>",
286         "atomic": "true",
287         "comments": "",
288         "outputs": 1,
289         "x": 3995.491096496582,
290         "y": 1225.0105800628662,
291         "z": "513be127.a07bb",
292         "wires": [
293             [
294                 "9273994c.c62b98",
295                 "b2e7a97c.481118",
296                 "41e8b2c3.b73c6c"
297             ]
298         ]
299     },
300     {
301         "id": "9273994c.c62b98",
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": 4280.492385864258,
307         "y": 1028.9102878570557,
308         "z": "513be127.a07bb",
309         "wires": []
310     },
311     {
312         "id": "b2e7a97c.481118",
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": 4295.491073608398,
319         "y": 1122.0109577178955,
320         "z": "513be127.a07bb",
321         "wires": [
322             []
323         ]
324     },
325     {
326         "id": "41e8b2c3.b73c6c",
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": 4259.491081237793,
333         "y": 1245.0107975006104,
334         "z": "513be127.a07bb",
335         "wires": [
336             [
337                 "6aa19133.f344a",
338                 "2a74f603.510b9a"
339             ]
340         ]
341     },
342     {
343         "id": "6aa19133.f344a",
344         "type": "failure",
345         "name": "failure",
346         "xml": "<outcome value='failure'>\n",
347         "comments": "",
348         "outputs": 1,
349         "x": 4467.490700721741,
350         "y": 1245.0107460021973,
351         "z": "513be127.a07bb",
352         "wires": [
353             [
354                 "3a4e2e27.931632"
355             ]
356         ]
357     },
358     {
359         "id": "2a74f603.510b9a",
360         "type": "success",
361         "name": "success",
362         "xml": "<outcome value='success'>\n",
363         "comments": "",
364         "outputs": 1,
365         "x": 4467.490570068359,
366         "y": 1309.0107460021973,
367         "z": "513be127.a07bb",
368         "wires": [
369             [
370                 "35c7e88.0f17218"
371             ]
372         ]
373     },
374     {
375         "id": "35c7e88.0f17218",
376         "type": "block",
377         "name": "block",
378         "xml": "<block>\n",
379         "atomic": "false",
380         "comments": "",
381         "outputs": 1,
382         "x": 4613.490570068359,
383         "y": 1308.0107460021973,
384         "z": "513be127.a07bb",
385         "wires": [
386             [
387                 "2da75fc5.a393e"
388             ]
389         ]
390     },
391     {
392         "id": "3a4e2e27.931632",
393         "type": "block",
394         "name": "block",
395         "xml": "<block>\n",
396         "atomic": "false",
397         "comments": "",
398         "outputs": 1,
399         "x": 4618.490570068359,
400         "y": 1245.0108680725098,
401         "z": "513be127.a07bb",
402         "wires": [
403             [
404                 "f5818b99.320de8"
405             ]
406         ]
407     },
408     {
409         "id": "f5818b99.320de8",
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": 4780.490081787109,
415         "y": 1245.0107460021973,
416         "z": "513be127.a07bb",
417         "wires": []
418     },
419     {
420         "id": "2da75fc5.a393e",
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": 4779.490570068359,
427         "y": 1307.0107460021973,
428         "z": "513be127.a07bb",
429         "wires": [
430             []
431         ]
432     },
433     {
434         "id": "b199d8d3.cd2748",
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": 1182.5102233886719,
440         "y": 2243.0041542053223,
441         "z": "513be127.a07bb",
442         "wires": []
443     },
444     {
445         "id": "8d7fc622.f49e38",
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": 757.3396148681641,
452         "y": 2161.000102996826,
453         "z": "513be127.a07bb",
454         "wires": [
455             []
456         ]
457     },
458     {
459         "id": "f2393f9d.cc453",
460         "type": "failure",
461         "name": "true",
462         "xml": "<outcome value='true'>\n",
463         "comments": "",
464         "outputs": 1,
465         "x": 726.0002136230469,
466         "y": 384.00009536743164,
467         "z": "513be127.a07bb",
468         "wires": [
469             [
470                 "828adea1.e7ed7"
471             ]
472         ]
473     },
474     {
475         "id": "91cb59dd.897498",
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": 494.0000915527344,
482         "y": 383.0000648498535,
483         "z": "513be127.a07bb",
484         "wires": [
485             [
486                 "f2393f9d.cc453",
487                 "efbd7b18.ae9b88"
488             ]
489         ]
490     },
491     {
492         "id": "efbd7b18.ae9b88",
493         "type": "failure",
494         "name": "false",
495         "xml": "<outcome value='false'>\n",
496         "comments": "",
497         "outputs": 1,
498         "x": 734.5066528320312,
499         "y": 490.00024795532227,
500         "z": "513be127.a07bb",
501         "wires": [
502             [
503                 "bd4954be.1a7778"
504             ]
505         ]
506     },
507     {
508         "id": "3d82f088.ac579",
509         "type": "failure",
510         "name": "true",
511         "xml": "<outcome value='true'>\n",
512         "comments": "",
513         "outputs": 1,
514         "x": 721.0003967285156,
515         "y": 1981.0002479553223,
516         "z": "513be127.a07bb",
517         "wires": [
518             [
519                 "61281bbc.dfac54"
520             ]
521         ]
522     },
523     {
524         "id": "828adea1.e7ed7",
525         "type": "block",
526         "name": "Closed Loop",
527         "xml": "<block atomic=\"true\">",
528         "atomic": "true",
529         "comments": "",
530         "outputs": 1,
531         "x": 743.0002136230469,
532         "y": 111.00006484985352,
533         "z": "513be127.a07bb",
534         "wires": [
535             [
536                 "f9f5464b.2ed958",
537                 "5f9fbc1e.12a244"
538             ]
539         ]
540     },
541     {
542         "id": "61281bbc.dfac54",
543         "type": "block",
544         "name": "block : atomic",
545         "xml": "<block atomic=\"true\">",
546         "atomic": "true",
547         "comments": "",
548         "outputs": 1,
549         "x": 908.0002937316895,
550         "y": 1981.0001468658447,
551         "z": "513be127.a07bb",
552         "wires": [
553             [
554                 "26493ac6.c3cb66",
555                 "9b3d2567.fec758",
556                 "fa61ec0.0693618",
557                 "277a3d68.dd2e52"
558             ]
559         ]
560     },
561     {
562         "id": "bd4954be.1a7778",
563         "type": "execute",
564         "name": "Intelligent Slicing",
565         "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",
566         "comments": "",
567         "outputs": 1,
568         "x": 528.0004577636719,
569         "y": 1980.0002479553223,
570         "z": "513be127.a07bb",
571         "wires": [
572             [
573                 "3d82f088.ac579"
574             ]
575         ]
576     },
577     {
578         "id": "f9f5464b.2ed958",
579         "type": "record",
580         "name": "record",
581         "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",
582         "comments": "",
583         "outputs": 1,
584         "x": 948.0000305175781,
585         "y": 111.00004959106445,
586         "z": "513be127.a07bb",
587         "wires": [
588             []
589         ]
590     },
591     {
592         "id": "26493ac6.c3cb66",
593         "type": "record",
594         "name": "record",
595         "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",
596         "comments": "",
597         "outputs": 1,
598         "x": 1146.0004577636719,
599         "y": 1860.0002479553223,
600         "z": "513be127.a07bb",
601         "wires": [
602             []
603         ]
604     },
605     {
606         "id": "776f8f52.2fc88",
607         "type": "record",
608         "name": "record",
609         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Reached instantiateRANSliceReconfigure-cps \"/>\n\n",
610         "comments": "",
611         "outputs": 1,
612         "x": 427,
613         "y": 338.0000276565552,
614         "z": "513be127.a07bb",
615         "wires": [
616             []
617         ]
618     },
619     {
620         "id": "5f9fbc1e.12a244",
621         "type": "block",
622         "name": "NearRTRIC",
623         "xml": "<block atomic=\"true\">",
624         "atomic": "true",
625         "comments": "",
626         "outputs": 1,
627         "x": 963.0105895996094,
628         "y": 161.01047134399414,
629         "z": "513be127.a07bb",
630         "wires": [
631             [
632                 "41ced3e7.bbfa5c",
633                 "ba0c7265.e3386"
634             ]
635         ]
636     },
637     {
638         "id": "9b3d2567.fec758",
639         "type": "block",
640         "name": "CUCP",
641         "xml": "<block atomic=\"true\">",
642         "atomic": "true",
643         "comments": "",
644         "outputs": 1,
645         "x": 1136.010799407959,
646         "y": 1980.010461807251,
647         "z": "513be127.a07bb",
648         "wires": [
649             [
650                 "396fb896.d1f828",
651                 "f41ff585.b87188"
652             ]
653         ]
654     },
655     {
656         "id": "1eafbfb4.fbd9b",
657         "type": "execute",
658         "name": "Update slice profile for nearRTRIC",
659         "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' />",
660         "comments": "",
661         "outputs": 1,
662         "x": 1586.8995895385742,
663         "y": 547.0106620788574,
664         "z": "513be127.a07bb",
665         "wires": [
666             [
667                 "a660ee48.3e0bc",
668                 "4fb0cdef.afcfd4"
669             ]
670         ]
671     },
672     {
673         "id": "a660ee48.3e0bc",
674         "type": "failure",
675         "name": "failure",
676         "xml": "<outcome value='failure'>\n",
677         "comments": "",
678         "outputs": 1,
679         "x": 1885.900089263916,
680         "y": 548.0002040863037,
681         "z": "513be127.a07bb",
682         "wires": [
683             [
684                 "c1012c51.e1f4d"
685             ]
686         ]
687     },
688     {
689         "id": "4fb0cdef.afcfd4",
690         "type": "success",
691         "name": "success",
692         "xml": "<outcome value='success'>\n",
693         "comments": "",
694         "outputs": 1,
695         "x": 1883.9000930786133,
696         "y": 634.9999628067017,
697         "z": "513be127.a07bb",
698         "wires": [
699             [
700                 "71b6cdfe.9d1f84"
701             ]
702         ]
703     },
704     {
705         "id": "c1012c51.e1f4d",
706         "type": "block",
707         "name": "block",
708         "xml": "<block>\n",
709         "atomic": "false",
710         "comments": "",
711         "outputs": 1,
712         "x": 2044.9002151489258,
713         "y": 547.0000801086426,
714         "z": "513be127.a07bb",
715         "wires": [
716             [
717                 "443e1fd9.26eb",
718                 "242d5a05.f6ca66",
719                 "9d694bfa.b7a508",
720                 "e6c9a77.5298d58"
721             ]
722         ]
723     },
724     {
725         "id": "71b6cdfe.9d1f84",
726         "type": "block",
727         "name": "block",
728         "xml": "<block>\n",
729         "atomic": "false",
730         "comments": "",
731         "outputs": 1,
732         "x": 2056.899890899658,
733         "y": 634.000165939331,
734         "z": "513be127.a07bb",
735         "wires": [
736             [
737                 "2de1069c.b7057a",
738                 "7dcc2ce8.831d04"
739             ]
740         ]
741     },
742     {
743         "id": "8daa0a7a.adbd18",
744         "type": "block",
745         "name": "Update SiceProfile for NeaeRTRIC",
746         "xml": "<block atomic='true'>",
747         "atomic": "true",
748         "comments": "",
749         "outputs": 1,
750         "x": 1248.0000915527344,
751         "y": 460.744815826416,
752         "z": "513be127.a07bb",
753         "wires": [
754             [
755                 "884acbed.028f88",
756                 "12833f2e.2eee81",
757                 "f2b14a1d.693618",
758                 "1eafbfb4.fbd9b"
759             ]
760         ]
761     },
762     {
763         "id": "f2b14a1d.693618",
764         "type": "switchNode",
765         "name": "ransim mounted",
766         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
767         "comments": "",
768         "outputs": 1,
769         "x": 1544.0003356933594,
770         "y": 377.4010353088379,
771         "z": "513be127.a07bb",
772         "wires": [
773             [
774                 "e8af632f.7f8a9",
775                 "6c8ca6ed.b87928"
776             ]
777         ]
778     },
779     {
780         "id": "e8af632f.7f8a9",
781         "type": "outcome",
782         "name": "Not Mounted",
783         "xml": "<outcome value='false'>\n",
784         "comments": "",
785         "outputs": 1,
786         "x": 1784.0003356933594,
787         "y": 376.40085220336914,
788         "z": "513be127.a07bb",
789         "wires": [
790             [
791                 "8bc1c70.57f3238"
792             ]
793         ]
794     },
795     {
796         "id": "6c8ca6ed.b87928",
797         "type": "outcome",
798         "name": "Mounted",
799         "xml": "<outcome value='true'>\n",
800         "comments": "",
801         "outputs": 1,
802         "x": 1775.0004577636719,
803         "y": 439.4009437561035,
804         "z": "513be127.a07bb",
805         "wires": [
806             [
807                 "b501388e.b269e8"
808             ]
809         ]
810     },
811     {
812         "id": "12833f2e.2eee81",
813         "type": "record",
814         "name": "record",
815         "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`\"/>",
816         "comments": "",
817         "outputs": 1,
818         "x": 1512.0007019042969,
819         "y": 419.74499893188477,
820         "z": "513be127.a07bb",
821         "wires": [
822             []
823         ]
824     },
825     {
826         "id": "884acbed.028f88",
827         "type": "record",
828         "name": "record",
829         "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`\"/>",
830         "comments": "",
831         "outputs": 1,
832         "x": 1512.0013122558594,
833         "y": 469.73437881469727,
834         "z": "513be127.a07bb",
835         "wires": [
836             []
837         ]
838     },
839     {
840         "id": "e20054f1.b1da88",
841         "type": "execute",
842         "name": "Populate MOUNT NAME",
843         "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`\"/>",
844         "comments": "",
845         "outputs": 1,
846         "x": 2492.5354919433594,
847         "y": 543.0000648498535,
848         "z": "513be127.a07bb",
849         "wires": [
850             []
851         ]
852     },
853     {
854         "id": "1032a0f5.dfe33f",
855         "type": "execute",
856         "name": "Populate addSliceProfile.ToNearRTRIC URL",
857         "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`\"/>",
858         "comments": "",
859         "outputs": 1,
860         "x": 2552.0699157714844,
861         "y": 500.59909439086914,
862         "z": "513be127.a07bb",
863         "wires": [
864             []
865         ]
866     },
867     {
868         "id": "b501388e.b269e8",
869         "type": "block",
870         "name": "ransim  URL",
871         "xml": "<block atomic='true'>",
872         "atomic": "true",
873         "comments": "",
874         "outputs": 1,
875         "x": 2006.9900817871094,
876         "y": 439.4009132385254,
877         "z": "513be127.a07bb",
878         "wires": [
879             [
880                 "3dbf2131.dc18ce",
881                 "1032a0f5.dfe33f",
882                 "e20054f1.b1da88"
883             ]
884         ]
885     },
886     {
887         "id": "3dbf2131.dc18ce",
888         "type": "execute",
889         "name": "generate addSliceProfile.ToNearRTRIC URL",
890         "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`\"/>",
891         "comments": "",
892         "outputs": 1,
893         "x": 2549.5347595214844,
894         "y": 462.0003089904785,
895         "z": "513be127.a07bb",
896         "wires": [
897             []
898         ]
899     },
900     {
901         "id": "bf72dc6f.d9902",
902         "type": "execute",
903         "name": "Populate addSliceProfile.ToNearRTRIC URL",
904         "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`\"/>",
905         "comments": "",
906         "outputs": 1,
907         "x": 2547.5350036621094,
908         "y": 421.0001564025879,
909         "z": "513be127.a07bb",
910         "wires": [
911             []
912         ]
913     },
914     {
915         "id": "807e8805.e5e998",
916         "type": "execute",
917         "name": "generate addSliceProfile.ToNearRTRIC URL",
918         "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`\"/>",
919         "comments": "",
920         "outputs": 1,
921         "x": 2547.0003356933594,
922         "y": 377.4011573791504,
923         "z": "513be127.a07bb",
924         "wires": [
925             []
926         ]
927     },
928     {
929         "id": "8bc1c70.57f3238",
930         "type": "block",
931         "name": "URL",
932         "xml": "<block atomic='true'>",
933         "atomic": "true",
934         "comments": "",
935         "outputs": 1,
936         "x": 2004.2018737792969,
937         "y": 376.0000343322754,
938         "z": "513be127.a07bb",
939         "wires": [
940             [
941                 "807e8805.e5e998",
942                 "bf72dc6f.d9902"
943             ]
944         ]
945     },
946     {
947         "id": "ba0c7265.e3386",
948         "type": "set",
949         "name": "set Temp Variables",
950         "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`'/>",
951         "comments": "",
952         "x": 1149.0039978027344,
953         "y": 56.00394058227539,
954         "z": "513be127.a07bb",
955         "wires": []
956     },
957     {
958         "id": "41ced3e7.bbfa5c",
959         "type": "for",
960         "name": "For Number of patches",
961         "xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
962         "comments": "",
963         "outputs": 1,
964         "x": 998.0039978027344,
965         "y": 261.0039405822754,
966         "z": "513be127.a07bb",
967         "wires": [
968             [
969                 "8daa0a7a.adbd18",
970                 "629e2d78.a38b74",
971                 "102a8bbb.a515c4",
972                 "f41ff585.b87188",
973                 "f6b9f7d2.efcaf8",
974                 "316217c6.cc61a8"
975             ]
976         ]
977     },
978     {
979         "id": "629e2d78.a38b74",
980         "type": "set",
981         "name": "set Temp Variables",
982         "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`\"/>",
983         "comments": "",
984         "x": 1285.4550476074219,
985         "y": 146.0104866027832,
986         "z": "513be127.a07bb",
987         "wires": []
988     },
989     {
990         "id": "443e1fd9.26eb",
991         "type": "set",
992         "name": "set",
993         "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'/>",
994         "comments": "",
995         "x": 2255.455234527588,
996         "y": 548.0104579925537,
997         "z": "513be127.a07bb",
998         "wires": []
999     },
1000     {
1001         "id": "242d5a05.f6ca66",
1002         "type": "returnFailure",
1003         "name": "return failure",
1004         "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'/>",
1005         "comments": "",
1006         "x": 2278.455238342285,
1007         "y": 587.8995780944824,
1008         "z": "513be127.a07bb",
1009         "wires": []
1010     },
1011     {
1012         "id": "2de1069c.b7057a",
1013         "type": "record",
1014         "name": "record",
1015         "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\"/>",
1016         "comments": "",
1017         "outputs": 1,
1018         "x": 2260.4550704956055,
1019         "y": 633.8995399475098,
1020         "z": "513be127.a07bb",
1021         "wires": [
1022             []
1023         ]
1024     },
1025     {
1026         "id": "7dcc2ce8.831d04",
1027         "type": "execute",
1028         "name": "printContext",
1029         "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",
1030         "comments": "",
1031         "outputs": 1,
1032         "x": 2276.233222961426,
1033         "y": 684.8994617462158,
1034         "z": "513be127.a07bb",
1035         "wires": [
1036             []
1037         ]
1038     },
1039     {
1040         "id": "fa61ec0.0693618",
1041         "type": "set",
1042         "name": "set Temp Variables",
1043         "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`\"/>",
1044         "comments": "",
1045         "x": 1179.1220397949219,
1046         "y": 1895.8994178771973,
1047         "z": "513be127.a07bb",
1048         "wires": []
1049     },
1050     {
1051         "id": "396fb896.d1f828",
1052         "type": "for",
1053         "name": "For Number of data Points",
1054         "xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
1055         "comments": "",
1056         "outputs": 1,
1057         "x": 1363.1215515136719,
1058         "y": 2126.8994178771973,
1059         "z": "513be127.a07bb",
1060         "wires": [
1061             [
1062                 "197dd02.8fd493"
1063             ]
1064         ]
1065     },
1066     {
1067         "id": "f41ff585.b87188",
1068         "type": "block",
1069         "name": "get PLMNId",
1070         "xml": "<block atomic='true'>",
1071         "atomic": "true",
1072         "comments": "",
1073         "outputs": 1,
1074         "x": 1126.7501220703125,
1075         "y": 1094.7501831054688,
1076         "z": "513be127.a07bb",
1077         "wires": [
1078             [
1079                 "700ba82b.62cbe8",
1080                 "95147a7c.3155c8"
1081             ]
1082         ]
1083     },
1084     {
1085         "id": "102a8bbb.a515c4",
1086         "type": "block",
1087         "name": "Update NearRTRIC Config",
1088         "xml": "<block atomic=\"true\">",
1089         "atomic": "true",
1090         "comments": "",
1091         "outputs": 1,
1092         "x": 1088.5000305175781,
1093         "y": 1497.5000038146973,
1094         "z": "513be127.a07bb",
1095         "wires": [
1096             [
1097                 "17741f2e.70c0a1",
1098                 "670b6cb6.da9684",
1099                 "5f116544.d498fc",
1100                 "c776e8b8.6ecab8",
1101                 "da52d684.8fdc18",
1102                 "f6157bd6.6c8118",
1103                 "95147a7c.3155c8"
1104             ]
1105         ]
1106     },
1107     {
1108         "id": "8e2bdda.a68132",
1109         "type": "set",
1110         "name": "set tmp variables for SO response",
1111         "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",
1112         "comments": "",
1113         "x": 767.6875152587891,
1114         "y": 2109.6250972747803,
1115         "z": "513be127.a07bb",
1116         "wires": []
1117     },
1118     {
1119         "id": "8a21bd26.48ec8",
1120         "type": "execute",
1121         "name": "Send to SO",
1122         "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`\"/>",
1123         "comments": "",
1124         "outputs": 1,
1125         "x": 709.1874923706055,
1126         "y": 2319.3752059936523,
1127         "z": "513be127.a07bb",
1128         "wires": [
1129             [
1130                 "660ad5bc.6baf9c",
1131                 "b50f3ab5.795e38"
1132             ]
1133         ]
1134     },
1135     {
1136         "id": "9c4ef17.059861",
1137         "type": "outcome",
1138         "name": "Not Mounted",
1139         "xml": "<outcome value='false'>\n",
1140         "comments": "",
1141         "outputs": 1,
1142         "x": 2031.7500915527344,
1143         "y": 2050.0000038146973,
1144         "z": "513be127.a07bb",
1145         "wires": [
1146             [
1147                 "607050d6.4fd58"
1148             ]
1149         ]
1150     },
1151     {
1152         "id": "335d1762.3cac28",
1153         "type": "outcome",
1154         "name": "Mounted",
1155         "xml": "<outcome value='true'>\n",
1156         "comments": "",
1157         "outputs": 1,
1158         "x": 2018.750144958496,
1159         "y": 2095.0001740455627,
1160         "z": "513be127.a07bb",
1161         "wires": [
1162             [
1163                 "39f56007.9f15"
1164             ]
1165         ]
1166     },
1167     {
1168         "id": "39f56007.9f15",
1169         "type": "block",
1170         "name": "ransim  URL",
1171         "xml": "<block atomic='true'>",
1172         "atomic": "true",
1173         "comments": "",
1174         "outputs": 1,
1175         "x": 2202.739959716797,
1176         "y": 2096.0002479553223,
1177         "z": "513be127.a07bb",
1178         "wires": [
1179             [
1180                 "75b8532d.68caac",
1181                 "53355d4b.015824"
1182             ]
1183         ]
1184     },
1185     {
1186         "id": "607050d6.4fd58",
1187         "type": "block",
1188         "name": "URL",
1189         "xml": "<block atomic='true'>",
1190         "atomic": "true",
1191         "comments": "",
1192         "outputs": 1,
1193         "x": 2186.951629638672,
1194         "y": 2049.5991249084473,
1195         "z": "513be127.a07bb",
1196         "wires": [
1197             [
1198                 "83a733b4.c0b84"
1199             ]
1200         ]
1201     },
1202     {
1203         "id": "83a733b4.c0b84",
1204         "type": "execute",
1205         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1206         "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`\"/>",
1207         "comments": "",
1208         "outputs": 1,
1209         "x": 2460.7500915527344,
1210         "y": 2049.0004920959473,
1211         "z": "513be127.a07bb",
1212         "wires": [
1213             []
1214         ]
1215     },
1216     {
1217         "id": "75b8532d.68caac",
1218         "type": "execute",
1219         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
1220         "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`\"/>",
1221         "comments": "",
1222         "outputs": 1,
1223         "x": 2513.2845211029053,
1224         "y": 2096.599470168352,
1225         "z": "513be127.a07bb",
1226         "wires": [
1227             []
1228         ]
1229     },
1230     {
1231         "id": "53355d4b.015824",
1232         "type": "execute",
1233         "name": "Populate MOUNT NAME",
1234         "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`\"/>",
1235         "comments": "",
1236         "outputs": 1,
1237         "x": 2458.2850036621094,
1238         "y": 2137.5991249084473,
1239         "z": "513be127.a07bb",
1240         "wires": [
1241             []
1242         ]
1243     },
1244     {
1245         "id": "52473cea.41fc74",
1246         "type": "switchNode",
1247         "name": "ransim mounted",
1248         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1249         "comments": "",
1250         "outputs": 1,
1251         "x": 1835.7500915527344,
1252         "y": 2051.0000038146973,
1253         "z": "513be127.a07bb",
1254         "wires": [
1255             [
1256                 "9c4ef17.059861",
1257                 "335d1762.3cac28"
1258             ]
1259         ]
1260     },
1261     {
1262         "id": "a532217.38330e",
1263         "type": "execute",
1264         "name": "prepare mcc",
1265         "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`\"/>",
1266         "comments": "",
1267         "outputs": 1,
1268         "x": 1825.7500915527344,
1269         "y": 2090.0000038146973,
1270         "z": "513be127.a07bb",
1271         "wires": [
1272             []
1273         ]
1274     },
1275     {
1276         "id": "8b0c09a6.a56a98",
1277         "type": "execute",
1278         "name": "prepare mnc",
1279         "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`\"/>",
1280         "comments": "",
1281         "outputs": 1,
1282         "x": 1826.2500915527344,
1283         "y": 2130.0000038146973,
1284         "z": "513be127.a07bb",
1285         "wires": [
1286             []
1287         ]
1288     },
1289     {
1290         "id": "197dd02.8fd493",
1291         "type": "block",
1292         "name": "block : atomic",
1293         "xml": "<block atomic=\"true\">",
1294         "atomic": "true",
1295         "comments": "",
1296         "outputs": 1,
1297         "x": 1582.7499694824219,
1298         "y": 2129.0000038146973,
1299         "z": "513be127.a07bb",
1300         "wires": [
1301             [
1302                 "52473cea.41fc74",
1303                 "a532217.38330e",
1304                 "8b0c09a6.a56a98",
1305                 "58f89da5.6d1ff4",
1306                 "b0fd7452.b53658",
1307                 "d3251489.710798",
1308                 "e99cf064.e7ce9"
1309             ]
1310         ]
1311     },
1312     {
1313         "id": "58f89da5.6d1ff4",
1314         "type": "for",
1315         "name": "For Number of cells",
1316         "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
1317         "comments": "",
1318         "outputs": 1,
1319         "x": 1842.0002136230469,
1320         "y": 2240.0000038146973,
1321         "z": "513be127.a07bb",
1322         "wires": [
1323             [
1324                 "3c03d88f.a8f4f8"
1325             ]
1326         ]
1327     },
1328     {
1329         "id": "238904f6.a948dc",
1330         "type": "execute",
1331         "name": "cellLocalId",
1332         "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'`\" />",
1333         "comments": "",
1334         "outputs": 1,
1335         "x": 2257.25,
1336         "y": 2148.500244140625,
1337         "z": "513be127.a07bb",
1338         "wires": [
1339             []
1340         ]
1341     },
1342     {
1343         "id": "3c03d88f.a8f4f8",
1344         "type": "block",
1345         "name": "block : atomic",
1346         "xml": "<block atomic=\"true\">",
1347         "atomic": "true",
1348         "outputs": 1,
1349         "x": 2044.7499694824219,
1350         "y": 2240.0000038146973,
1351         "z": "513be127.a07bb",
1352         "wires": [
1353             [
1354                 "238904f6.a948dc",
1355                 "2882106e.e905a",
1356                 "d9a8159a.7a0648",
1357                 "8d13cd7.0a0a63",
1358                 "2b840bed.80c574",
1359                 "7f422a47.f33af4",
1360                 "95147a7c.3155c8",
1361                 "3bdc030.15f9bfe"
1362             ]
1363         ]
1364     },
1365     {
1366         "id": "2882106e.e905a",
1367         "type": "execute",
1368         "name": "predictedMaxNumberofConns",
1369         "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'`\" />",
1370         "comments": "",
1371         "outputs": 1,
1372         "x": 2325.499969482422,
1373         "y": 2294.5002479553223,
1374         "z": "513be127.a07bb",
1375         "wires": [
1376             []
1377         ]
1378     },
1379     {
1380         "id": "d9a8159a.7a0648",
1381         "type": "execute",
1382         "name": "patch NearRTRIC - config",
1383         "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' />",
1384         "comments": "",
1385         "outputs": 1,
1386         "x": 2309.249969482422,
1387         "y": 2366.0000038146973,
1388         "z": "513be127.a07bb",
1389         "wires": [
1390             [
1391                 "964f3ecf.3437f",
1392                 "e7049f51.e023"
1393             ]
1394         ]
1395     },
1396     {
1397         "id": "964f3ecf.3437f",
1398         "type": "success",
1399         "name": "success",
1400         "xml": "<outcome value='success'>\n",
1401         "comments": "",
1402         "outputs": 1,
1403         "x": 2529.7500915527344,
1404         "y": 2366.2500038146973,
1405         "z": "513be127.a07bb",
1406         "wires": [
1407             [
1408                 "e7cea680.c59228"
1409             ]
1410         ]
1411     },
1412     {
1413         "id": "e7049f51.e023",
1414         "type": "failure",
1415         "name": "failure",
1416         "xml": "<outcome value='failure'>\n",
1417         "comments": "",
1418         "outputs": 1,
1419         "x": 2526.3128356933594,
1420         "y": 2402.8125038146973,
1421         "z": "513be127.a07bb",
1422         "wires": [
1423             [
1424                 "409cda64.6de9e4"
1425             ]
1426         ]
1427     },
1428     {
1429         "id": "409cda64.6de9e4",
1430         "type": "block",
1431         "name": "block",
1432         "xml": "<block>",
1433         "atomic": "false",
1434         "comments": "",
1435         "outputs": 1,
1436         "x": 2683.3125915527344,
1437         "y": 2402.8125038146973,
1438         "z": "513be127.a07bb",
1439         "wires": [
1440             [
1441                 "8d76d454.bc7f68",
1442                 "2dcc3c8f.bb2a04",
1443                 "9d694bfa.b7a508",
1444                 "fc231309.cfcd1"
1445             ]
1446         ]
1447     },
1448     {
1449         "id": "e7cea680.c59228",
1450         "type": "block",
1451         "name": "block : atomic",
1452         "xml": "<block atomic='true'>",
1453         "atomic": "true",
1454         "comments": "",
1455         "outputs": 1,
1456         "x": 2705.7498474121094,
1457         "y": 2366.2500038146973,
1458         "z": "513be127.a07bb",
1459         "wires": [
1460             [
1461                 "beb41c3c.5e954"
1462             ]
1463         ]
1464     },
1465     {
1466         "id": "8d76d454.bc7f68",
1467         "type": "returnFailure",
1468         "name": "return failure",
1469         "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'/>",
1470         "comments": "",
1471         "x": 2899.3125915527344,
1472         "y": 2438.8125038146973,
1473         "z": "513be127.a07bb",
1474         "wires": []
1475     },
1476     {
1477         "id": "2dcc3c8f.bb2a04",
1478         "type": "set",
1479         "name": "set",
1480         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
1481         "comments": "",
1482         "x": 2880.3130798339844,
1483         "y": 2402.9235877990723,
1484         "z": "513be127.a07bb",
1485         "wires": []
1486     },
1487     {
1488         "id": "beb41c3c.5e954",
1489         "type": "record",
1490         "name": "record",
1491         "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=\"Successfully patched NearRTRIC configuration\"/>",
1492         "comments": "",
1493         "outputs": 1,
1494         "x": 2880.4996032714844,
1495         "y": 2367.0002479553223,
1496         "z": "513be127.a07bb",
1497         "wires": [
1498             []
1499         ]
1500     },
1501     {
1502         "id": "277a3d68.dd2e52",
1503         "type": "record",
1504         "name": "record",
1505         "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",
1506         "comments": "",
1507         "outputs": 1,
1508         "x": 1141.4999694824219,
1509         "y": 1938.9998817443848,
1510         "z": "513be127.a07bb",
1511         "wires": [
1512             []
1513         ]
1514     },
1515     {
1516         "id": "b0fd7452.b53658",
1517         "type": "execute",
1518         "name": "CUCellListEntries",
1519         "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",
1520         "comments": "",
1521         "outputs": 1,
1522         "x": 1837.9999694824219,
1523         "y": 2166.2500038146973,
1524         "z": "513be127.a07bb",
1525         "wires": [
1526             []
1527         ]
1528     },
1529     {
1530         "id": "d3251489.710798",
1531         "type": "record",
1532         "name": "record",
1533         "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<parameter name=\"field3\" value=\"`$tmp.gNBCUName`\" />\n\n\n\n",
1534         "comments": "",
1535         "outputs": 1,
1536         "x": 1803.9999694824219,
1537         "y": 2204.2500038146973,
1538         "z": "513be127.a07bb",
1539         "wires": [
1540             []
1541         ]
1542     },
1543     {
1544         "id": "8d13cd7.0a0a63",
1545         "type": "record",
1546         "name": "record",
1547         "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",
1548         "comments": "",
1549         "outputs": 1,
1550         "x": 2254.750213623047,
1551         "y": 2329.7500038146973,
1552         "z": "513be127.a07bb",
1553         "wires": [
1554             []
1555         ]
1556     },
1557     {
1558         "id": "e99cf064.e7ce9",
1559         "type": "set",
1560         "name": "set Temp Variables",
1561         "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>\n<parameter name=\"tmp.gNBCUName\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].gNBCUName`\"/>\n\n",
1562         "comments": "",
1563         "x": 1845.4999694824219,
1564         "y": 2014.5000038146973,
1565         "z": "513be127.a07bb",
1566         "wires": []
1567     },
1568     {
1569         "id": "344eb1aa.d1cc4e",
1570         "type": "set",
1571         "name": "append configParam",
1572         "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'\" />",
1573         "comments": "",
1574         "x": 2300.312469482422,
1575         "y": 2258.6250038146973,
1576         "z": "513be127.a07bb",
1577         "wires": []
1578     },
1579     {
1580         "id": "2b840bed.80c574",
1581         "type": "execute",
1582         "name": "append configParam",
1583         "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\" />",
1584         "comments": "",
1585         "outputs": 1,
1586         "x": 2298.2500915527344,
1587         "y": 2222.7500038146973,
1588         "z": "513be127.a07bb",
1589         "wires": [
1590             []
1591         ]
1592     },
1593     {
1594         "id": "f6b9f7d2.efcaf8",
1595         "type": "switchNode",
1596         "name": "check nearrtric",
1597         "xml": "<switch test='`$tmp.nearRTRICId == 11 `'>\n",
1598         "comments": "",
1599         "outputs": 1,
1600         "x": 1273.4001159667969,
1601         "y": 202.00000381469727,
1602         "z": "513be127.a07bb",
1603         "wires": [
1604             [
1605                 "15feed92.70ff22",
1606                 "c662724a.83d0e"
1607             ]
1608         ]
1609     },
1610     {
1611         "id": "15feed92.70ff22",
1612         "type": "outcome",
1613         "name": "True",
1614         "xml": "<outcome value='true'>\n",
1615         "comments": "",
1616         "outputs": 1,
1617         "x": 1502.6003112792969,
1618         "y": 21.00000762939453,
1619         "z": "513be127.a07bb",
1620         "wires": [
1621             [
1622                 "96acbe01.e65cc"
1623             ]
1624         ]
1625     },
1626     {
1627         "id": "c662724a.83d0e",
1628         "type": "outcome",
1629         "name": "False",
1630         "xml": "<outcome value='false'>\n",
1631         "comments": "",
1632         "outputs": 1,
1633         "x": 1501.3999938964844,
1634         "y": 132.00000381469727,
1635         "z": "513be127.a07bb",
1636         "wires": [
1637             [
1638                 "19b85aab.8fe4f5"
1639             ]
1640         ]
1641     },
1642     {
1643         "id": "316217c6.cc61a8",
1644         "type": "block",
1645         "name": "block : atomic",
1646         "xml": "<block atomic='true'>",
1647         "atomic": "true",
1648         "comments": "",
1649         "outputs": 1,
1650         "x": 1271.3999938964844,
1651         "y": 258.00000381469727,
1652         "z": "513be127.a07bb",
1653         "wires": [
1654             [
1655                 "d1b8244d.9ebc68"
1656             ]
1657         ]
1658     },
1659     {
1660         "id": "d1b8244d.9ebc68",
1661         "type": "execute",
1662         "name": "check policytype",
1663         "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' />",
1664         "comments": "",
1665         "outputs": 1,
1666         "x": 1527.0000915527344,
1667         "y": 263.00000381469727,
1668         "z": "513be127.a07bb",
1669         "wires": [
1670             [
1671                 "a307e888.184eb8",
1672                 "4ae3b4c6.722a5c"
1673             ]
1674         ]
1675     },
1676     {
1677         "id": "a307e888.184eb8",
1678         "type": "success",
1679         "name": "success",
1680         "xml": "<outcome value='success'>\n",
1681         "comments": "",
1682         "outputs": 1,
1683         "x": 1733.0002136230469,
1684         "y": 202.00000381469727,
1685         "z": "513be127.a07bb",
1686         "wires": [
1687             [
1688                 "164836ca.d93ea9"
1689             ]
1690         ]
1691     },
1692     {
1693         "id": "164836ca.d93ea9",
1694         "type": "block",
1695         "name": "block : atomic",
1696         "xml": "<block atomic='true'>",
1697         "atomic": "true",
1698         "comments": "",
1699         "outputs": 1,
1700         "x": 2027.0003356933594,
1701         "y": 199.5672950744629,
1702         "z": "513be127.a07bb",
1703         "wires": [
1704             [
1705                 "3e751117.36b6de",
1706                 "6876325e.659e4c",
1707                 "351b39b3.97e466",
1708                 "240b8dcb.ff8022"
1709             ]
1710         ]
1711     },
1712     {
1713         "id": "3e751117.36b6de",
1714         "type": "record",
1715         "name": "record",
1716         "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`\"/>",
1717         "comments": "",
1718         "outputs": 1,
1719         "x": 2344.0003356933594,
1720         "y": 77.56728744506836,
1721         "z": "513be127.a07bb",
1722         "wires": [
1723             []
1724         ]
1725     },
1726     {
1727         "id": "4ae3b4c6.722a5c",
1728         "type": "failure",
1729         "name": "failure",
1730         "xml": "<outcome value='failure'>\n",
1731         "comments": "",
1732         "outputs": 1,
1733         "x": 1730.9999694824219,
1734         "y": 260.56735610961914,
1735         "z": "513be127.a07bb",
1736         "wires": [
1737             [
1738                 "c29a196c.5673a8"
1739             ]
1740         ]
1741     },
1742     {
1743         "id": "c29a196c.5673a8",
1744         "type": "block",
1745         "name": "block : atomic",
1746         "xml": "<block atomic='true'>",
1747         "atomic": "true",
1748         "comments": "",
1749         "outputs": 1,
1750         "x": 2025.9999694824219,
1751         "y": 257.56735610961914,
1752         "z": "513be127.a07bb",
1753         "wires": [
1754             [
1755                 "840b0219.61cc7"
1756             ]
1757         ]
1758     },
1759     {
1760         "id": "840b0219.61cc7",
1761         "type": "record",
1762         "name": "record",
1763         "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\"/>",
1764         "comments": "",
1765         "outputs": 1,
1766         "x": 2224.9998474121094,
1767         "y": 256.56735610961914,
1768         "z": "513be127.a07bb",
1769         "wires": [
1770             []
1771         ]
1772     },
1773     {
1774         "id": "6876325e.659e4c",
1775         "type": "execute",
1776         "name": "getpolicylength",
1777         "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'`\" />",
1778         "comments": "",
1779         "outputs": 1,
1780         "x": 2368.6897888183594,
1781         "y": 25.000003814697266,
1782         "z": "513be127.a07bb",
1783         "wires": [
1784             []
1785         ]
1786     },
1787     {
1788         "id": "351b39b3.97e466",
1789         "type": "switchNode",
1790         "name": "check the action",
1791         "xml": "<switch test='`$tmp.policytypelength > 0`'>\n",
1792         "comments": "",
1793         "outputs": 1,
1794         "x": 2375.0003356933594,
1795         "y": 136.00000381469727,
1796         "z": "513be127.a07bb",
1797         "wires": [
1798             [
1799                 "3f01a2c5.9a0d7e",
1800                 "aee50f4a.503d6"
1801             ]
1802         ]
1803     },
1804     {
1805         "id": "3f01a2c5.9a0d7e",
1806         "type": "outcome",
1807         "name": "True",
1808         "xml": "<outcome value='true'>\n",
1809         "comments": "",
1810         "outputs": 1,
1811         "x": 2629.6001892089844,
1812         "y": 84.00000381469727,
1813         "z": "513be127.a07bb",
1814         "wires": [
1815             [
1816                 "400472c.c544a8c"
1817             ]
1818         ]
1819     },
1820     {
1821         "id": "aee50f4a.503d6",
1822         "type": "outcome",
1823         "name": "False",
1824         "xml": "<outcome value='false'>\n",
1825         "comments": "",
1826         "outputs": 1,
1827         "x": 2633.6001892089844,
1828         "y": 134.00000381469727,
1829         "z": "513be127.a07bb",
1830         "wires": [
1831             [
1832                 "c6baa2d8.f8c4f"
1833             ]
1834         ]
1835     },
1836     {
1837         "id": "400472c.c544a8c",
1838         "type": "block",
1839         "name": "block : atomic",
1840         "xml": "<block atomic='true'>",
1841         "atomic": "true",
1842         "comments": "",
1843         "outputs": 1,
1844         "x": 2837.6001892089844,
1845         "y": 83.00000381469727,
1846         "z": "513be127.a07bb",
1847         "wires": [
1848             [
1849                 "88b62a94.90a5e8"
1850             ]
1851         ]
1852     },
1853     {
1854         "id": "c6baa2d8.f8c4f",
1855         "type": "block",
1856         "name": "block : atomic",
1857         "xml": "<block atomic='true'>",
1858         "atomic": "true",
1859         "comments": "",
1860         "outputs": 1,
1861         "x": 2836.6004333496094,
1862         "y": 135.00000381469727,
1863         "z": "513be127.a07bb",
1864         "wires": [
1865             [
1866                 "a9e2a1d0.323aa",
1867                 "f81019b2.90f4b8"
1868             ]
1869         ]
1870     },
1871     {
1872         "id": "88b62a94.90a5e8",
1873         "type": "record",
1874         "name": "record",
1875         "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\"/>",
1876         "comments": "",
1877         "outputs": 1,
1878         "x": 3023.6001892089844,
1879         "y": 83.00000381469727,
1880         "z": "513be127.a07bb",
1881         "wires": [
1882             []
1883         ]
1884     },
1885     {
1886         "id": "a9e2a1d0.323aa",
1887         "type": "execute",
1888         "name": "create policytype",
1889         "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' />",
1890         "comments": "",
1891         "outputs": 1,
1892         "x": 3063.6004333496094,
1893         "y": 180.00000381469727,
1894         "z": "513be127.a07bb",
1895         "wires": [
1896             [
1897                 "b3c271c4.ae008"
1898             ]
1899         ]
1900     },
1901     {
1902         "id": "f81019b2.90f4b8",
1903         "type": "record",
1904         "name": "record",
1905         "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\"/>",
1906         "comments": "",
1907         "outputs": 1,
1908         "x": 3028.4004821777344,
1909         "y": 134.00000381469727,
1910         "z": "513be127.a07bb",
1911         "wires": [
1912             []
1913         ]
1914     },
1915     {
1916         "id": "b3c271c4.ae008",
1917         "type": "success",
1918         "name": "success",
1919         "xml": "<outcome value='success'>\n",
1920         "comments": "",
1921         "outputs": 1,
1922         "x": 3249.4109802246094,
1923         "y": 179.2001075744629,
1924         "z": "513be127.a07bb",
1925         "wires": [
1926             [
1927                 "9fd5149c.f92e98"
1928             ]
1929         ]
1930     },
1931     {
1932         "id": "625b8c53.b12834",
1933         "type": "record",
1934         "name": "record",
1935         "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\"/>",
1936         "comments": "",
1937         "outputs": 1,
1938         "x": 3600.0000915527344,
1939         "y": 178.00000381469727,
1940         "z": "513be127.a07bb",
1941         "wires": [
1942             []
1943         ]
1944     },
1945     {
1946         "id": "9fd5149c.f92e98",
1947         "type": "block",
1948         "name": "block : atomic",
1949         "xml": "<block atomic='true'>",
1950         "atomic": "true",
1951         "comments": "",
1952         "outputs": 1,
1953         "x": 3411.0000915527344,
1954         "y": 178.00000381469727,
1955         "z": "513be127.a07bb",
1956         "wires": [
1957             [
1958                 "625b8c53.b12834"
1959             ]
1960         ]
1961     },
1962     {
1963         "id": "240b8dcb.ff8022",
1964         "type": "execute",
1965         "name": "create policyinstance ",
1966         "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' />",
1967         "comments": "",
1968         "outputs": 1,
1969         "x": 2389.2000427246094,
1970         "y": 197.00000381469727,
1971         "z": "513be127.a07bb",
1972         "wires": [
1973             [
1974                 "da400c55.da78b"
1975             ]
1976         ]
1977     },
1978     {
1979         "id": "bcc855c7.88a3f8",
1980         "type": "record",
1981         "name": "record",
1982         "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\"/>",
1983         "comments": "",
1984         "outputs": 1,
1985         "x": 3045.5999450683594,
1986         "y": 240.00000381469727,
1987         "z": "513be127.a07bb",
1988         "wires": [
1989             []
1990         ]
1991     },
1992     {
1993         "id": "4c527da9.d78154",
1994         "type": "block",
1995         "name": "block : atomic",
1996         "xml": "<block atomic='true'>",
1997         "atomic": "true",
1998         "comments": "",
1999         "outputs": 1,
2000         "x": 2847.5997009277344,
2001         "y": 198.00000381469727,
2002         "z": "513be127.a07bb",
2003         "wires": [
2004             [
2005                 "bcc855c7.88a3f8"
2006             ]
2007         ]
2008     },
2009     {
2010         "id": "da400c55.da78b",
2011         "type": "success",
2012         "name": "success",
2013         "xml": "<outcome value='success'>\n",
2014         "comments": "",
2015         "outputs": 1,
2016         "x": 2640.5994567871094,
2017         "y": 198.19995498657227,
2018         "z": "513be127.a07bb",
2019         "wires": [
2020             [
2021                 "4c527da9.d78154"
2022             ]
2023         ]
2024     },
2025     {
2026         "id": "96acbe01.e65cc",
2027         "type": "set",
2028         "name": "set Temp Variables",
2029         "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",
2030         "comments": "",
2031         "x": 1750.8000183105469,
2032         "y": 20,
2033         "z": "513be127.a07bb",
2034         "wires": []
2035     },
2036     {
2037         "id": "19b85aab.8fe4f5",
2038         "type": "set",
2039         "name": "set Temp Variables",
2040         "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",
2041         "comments": "",
2042         "x": 1739.8000183105469,
2043         "y": 131.00000381469727,
2044         "z": "513be127.a07bb",
2045         "wires": []
2046     },
2047     {
2048         "id": "7cdaabe8.1f36d4",
2049         "type": "comment",
2050         "name": "A1-adaptor simulators",
2051         "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",
2052         "comments": "",
2053         "x": 781,
2054         "y": 23.000000953674316,
2055         "z": "513be127.a07bb",
2056         "wires": []
2057     },
2058     {
2059         "id": "700ba82b.62cbe8",
2060         "type": "for",
2061         "name": "For anchorsList",
2062         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2063         "comments": "",
2064         "outputs": 1,
2065         "x": 1416.5345458984375,
2066         "y": 1095.1790161132812,
2067         "z": "513be127.a07bb",
2068         "wires": [
2069             [
2070                 "efa6fdc7.0049f"
2071             ]
2072         ]
2073     },
2074     {
2075         "id": "efa6fdc7.0049f",
2076         "type": "block",
2077         "name": "block : atomic",
2078         "xml": "<block atomic='true'>",
2079         "atomic": "true",
2080         "comments": "",
2081         "outputs": 1,
2082         "x": 1626.222412109375,
2083         "y": 1095.333251953125,
2084         "z": "513be127.a07bb",
2085         "wires": [
2086             [
2087                 "b3149659.c00418",
2088                 "90fa1998.ffbec8"
2089             ]
2090         ]
2091     },
2092     {
2093         "id": "b3149659.c00418",
2094         "type": "execute",
2095         "name": "read schemaSet",
2096         "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",
2097         "comments": "",
2098         "outputs": 1,
2099         "x": 1873.882968902588,
2100         "y": 1094.5123281478882,
2101         "z": "513be127.a07bb",
2102         "wires": [
2103             []
2104         ]
2105     },
2106     {
2107         "id": "90fa1998.ffbec8",
2108         "type": "switchNode",
2109         "name": "check schemaSetName",
2110         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2111         "comments": "",
2112         "outputs": 1,
2113         "x": 1894.8549728393555,
2114         "y": 1167.7623310089111,
2115         "z": "513be127.a07bb",
2116         "wires": [
2117             [
2118                 "f40bc9af.d6a3a8"
2119             ]
2120         ]
2121     },
2122     {
2123         "id": "f40bc9af.d6a3a8",
2124         "type": "outcome",
2125         "name": "if ran-inventory",
2126         "xml": "<outcome value='ran-inventory'>\n",
2127         "comments": "",
2128         "outputs": 1,
2129         "x": 2117.660400390625,
2130         "y": 1168.2344970703125,
2131         "z": "513be127.a07bb",
2132         "wires": [
2133             [
2134                 "75bb8c23.1f2114"
2135             ]
2136         ]
2137     },
2138     {
2139         "id": "75bb8c23.1f2114",
2140         "type": "block",
2141         "name": "block : atomic",
2142         "xml": "<block atomic='true'>",
2143         "atomic": "true",
2144         "comments": "",
2145         "outputs": 1,
2146         "x": 2327.722915649414,
2147         "y": 1167.8332104682922,
2148         "z": "513be127.a07bb",
2149         "wires": [
2150             [
2151                 "1b814dca.ea75d2",
2152                 "f94e3553.4bb888",
2153                 "3f6307bc.18b9e8",
2154                 "e6f44041.cb2f2",
2155                 "a4307efb.aa7b6",
2156                 "4bcb2812.d2a498",
2157                 "afd12c75.342f3",
2158                 "aaf77a55.80b748"
2159             ]
2160         ]
2161     },
2162     {
2163         "id": "17741f2e.70c0a1",
2164         "type": "switchNode",
2165         "name": "ransim mounted",
2166         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
2167         "comments": "",
2168         "outputs": 1,
2169         "x": 1424.3333435058594,
2170         "y": 1286.0000038146973,
2171         "z": "513be127.a07bb",
2172         "wires": [
2173             [
2174                 "1e47cef9.f29151",
2175                 "677948dd.2dc1d8"
2176             ]
2177         ]
2178     },
2179     {
2180         "id": "1e47cef9.f29151",
2181         "type": "outcome",
2182         "name": "Not Mounted",
2183         "xml": "<outcome value='false'>\n",
2184         "comments": "",
2185         "outputs": 1,
2186         "x": 1638.3331909179688,
2187         "y": 1286.9997596740723,
2188         "z": "513be127.a07bb",
2189         "wires": [
2190             [
2191                 "f6ca17aa.4a3fb8"
2192             ]
2193         ]
2194     },
2195     {
2196         "id": "677948dd.2dc1d8",
2197         "type": "outcome",
2198         "name": "Mounted",
2199         "xml": "<outcome value='true'>\n",
2200         "comments": "",
2201         "outputs": 1,
2202         "x": 1630.3333892822266,
2203         "y": 1328.999843597412,
2204         "z": "513be127.a07bb",
2205         "wires": [
2206             [
2207                 "4493ca7c.164de4"
2208             ]
2209         ]
2210     },
2211     {
2212         "id": "4493ca7c.164de4",
2213         "type": "block",
2214         "name": "ransim  URL",
2215         "xml": "<block atomic='true'>",
2216         "atomic": "true",
2217         "comments": "",
2218         "outputs": 1,
2219         "x": 1804.3233070373535,
2220         "y": 1328.999843597412,
2221         "z": "513be127.a07bb",
2222         "wires": [
2223             [
2224                 "fc696b6f.adcce8",
2225                 "c042c902.fb3eb8"
2226             ]
2227         ]
2228     },
2229     {
2230         "id": "f6ca17aa.4a3fb8",
2231         "type": "block",
2232         "name": "URL",
2233         "xml": "<block atomic='true'>",
2234         "atomic": "true",
2235         "comments": "",
2236         "outputs": 1,
2237         "x": 1800.534854888916,
2238         "y": 1287.5989627838135,
2239         "z": "513be127.a07bb",
2240         "wires": [
2241             [
2242                 "bd76421e.a2177"
2243             ]
2244         ]
2245     },
2246     {
2247         "id": "bd76421e.a2177",
2248         "type": "execute",
2249         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
2250         "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`\"/>",
2251         "comments": "",
2252         "outputs": 1,
2253         "x": 2097.3333625793457,
2254         "y": 1288.0001678466797,
2255         "z": "513be127.a07bb",
2256         "wires": [
2257             []
2258         ]
2259     },
2260     {
2261         "id": "fc696b6f.adcce8",
2262         "type": "execute",
2263         "name": "generate addnSSAIEntry.ToNearRTRIC URL",
2264         "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`\"/>",
2265         "comments": "",
2266         "outputs": 1,
2267         "x": 2098.8678665161133,
2268         "y": 1329.5992889404297,
2269         "z": "513be127.a07bb",
2270         "wires": [
2271             []
2272         ]
2273     },
2274     {
2275         "id": "c042c902.fb3eb8",
2276         "type": "execute",
2277         "name": "Populate MOUNT NAME",
2278         "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`\"/>",
2279         "comments": "",
2280         "outputs": 1,
2281         "x": 2039.8681945800781,
2282         "y": 1370.5989656448364,
2283         "z": "513be127.a07bb",
2284         "wires": [
2285             []
2286         ]
2287     },
2288     {
2289         "id": "670b6cb6.da9684",
2290         "type": "for",
2291         "name": "For anchorsList",
2292         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
2293         "comments": "",
2294         "outputs": 1,
2295         "x": 1429.9510879516602,
2296         "y": 1593.8457098007202,
2297         "z": "513be127.a07bb",
2298         "wires": [
2299             [
2300                 "4e14c9d3.6c6ae8"
2301             ]
2302         ]
2303     },
2304     {
2305         "id": "4e14c9d3.6c6ae8",
2306         "type": "block",
2307         "name": "block : atomic",
2308         "xml": "<block atomic='true'>",
2309         "atomic": "true",
2310         "comments": "",
2311         "outputs": 1,
2312         "x": 1619.6387557983398,
2313         "y": 1596.000005722046,
2314         "z": "513be127.a07bb",
2315         "wires": [
2316             [
2317                 "ce56b9ce.c3b9a8",
2318                 "39e7d374.11df1c"
2319             ]
2320         ]
2321     },
2322     {
2323         "id": "ce56b9ce.c3b9a8",
2324         "type": "execute",
2325         "name": "read schemaSet",
2326         "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",
2327         "comments": "",
2328         "outputs": 1,
2329         "x": 1864.2995681762695,
2330         "y": 1590.179042816162,
2331         "z": "513be127.a07bb",
2332         "wires": [
2333             []
2334         ]
2335     },
2336     {
2337         "id": "39e7d374.11df1c",
2338         "type": "switchNode",
2339         "name": "check schemaSetName",
2340         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
2341         "comments": "",
2342         "outputs": 1,
2343         "x": 1889.2715759277344,
2344         "y": 1637.4290447235107,
2345         "z": "513be127.a07bb",
2346         "wires": [
2347             [
2348                 "b5ee1a85.0829b8"
2349             ]
2350         ]
2351     },
2352     {
2353         "id": "b5ee1a85.0829b8",
2354         "type": "outcome",
2355         "name": "if ran-network",
2356         "xml": "<outcome value='ran-network'>\n",
2357         "comments": "",
2358         "outputs": 1,
2359         "x": 2115.077247619629,
2360         "y": 1635.9012126922607,
2361         "z": "513be127.a07bb",
2362         "wires": [
2363             [
2364                 "4b6dd38f.7d4acc"
2365             ]
2366         ]
2367     },
2368     {
2369         "id": "4b6dd38f.7d4acc",
2370         "type": "block",
2371         "name": "block : atomic",
2372         "xml": "<block atomic='true'>",
2373         "atomic": "true",
2374         "comments": "",
2375         "outputs": 1,
2376         "x": 2307.139347076416,
2377         "y": 1635.5000066757202,
2378         "z": "513be127.a07bb",
2379         "wires": [
2380             [
2381                 "4dc8ca92.8f7344",
2382                 "50a5816f.e3dec",
2383                 "3e8bbe48.8f6a72",
2384                 "7f28ad4.b113354",
2385                 "5f608acc.d3e534",
2386                 "ff1f8d4f.1c228",
2387                 "bbbe4cfd.aa908",
2388                 "c47ce08d.a909c",
2389                 "39a53327.ab28dc",
2390                 "e87c0a41.27d578",
2391                 "60503363.b2756c",
2392                 "a55d3a5b.3d31a8"
2393             ]
2394         ]
2395     },
2396     {
2397         "id": "1b814dca.ea75d2",
2398         "type": "execute",
2399         "name": "read sliceProfileId from input",
2400         "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\" />",
2401         "comments": "",
2402         "outputs": 1,
2403         "x": 2647.000129699707,
2404         "y": 1035.9999618530273,
2405         "z": "513be127.a07bb",
2406         "wires": [
2407             []
2408         ]
2409     },
2410     {
2411         "id": "f94e3553.4bb888",
2412         "type": "record",
2413         "name": "record",
2414         "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",
2415         "comments": "",
2416         "outputs": 1,
2417         "x": 2580.000129699707,
2418         "y": 1069.9999618530273,
2419         "z": "513be127.a07bb",
2420         "wires": [
2421             []
2422         ]
2423     },
2424     {
2425         "id": "3f6307bc.18b9e8",
2426         "type": "execute",
2427         "name": "generate plmnid URL cps",
2428         "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`\"/>",
2429         "comments": "",
2430         "outputs": 1,
2431         "x": 2636.639347076416,
2432         "y": 1102.9834051132202,
2433         "z": "513be127.a07bb",
2434         "wires": [
2435             []
2436         ]
2437     },
2438     {
2439         "id": "e6f44041.cb2f2",
2440         "type": "execute",
2441         "name": "prepare tbdmt template",
2442         "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`\"/>",
2443         "comments": "",
2444         "outputs": 1,
2445         "x": 2628.639347076416,
2446         "y": 1136.5833415985107,
2447         "z": "513be127.a07bb",
2448         "wires": [
2449             []
2450         ]
2451     },
2452     {
2453         "id": "a4307efb.aa7b6",
2454         "type": "record",
2455         "name": "record TBDMT RestAPI params",
2456         "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`\" />",
2457         "comments": "",
2458         "outputs": 1,
2459         "x": 2655.639316558838,
2460         "y": 1171.7834553718567,
2461         "z": "513be127.a07bb",
2462         "wires": [
2463             []
2464         ]
2465     },
2466     {
2467         "id": "4bcb2812.d2a498",
2468         "type": "execute",
2469         "name": "Get pLMNId mcc, mnc from sliceprofileID",
2470         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnid-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
2471         "comments": "",
2472         "outputs": 1,
2473         "x": 2684.6396446228027,
2474         "y": 1206.7833800315857,
2475         "z": "513be127.a07bb",
2476         "wires": [
2477             [
2478                 "23a4a799.9b6888",
2479                 "c72af35e.c366e"
2480             ]
2481         ]
2482     },
2483     {
2484         "id": "23a4a799.9b6888",
2485         "type": "failure",
2486         "name": "failure",
2487         "xml": "<outcome value='failure'>\n",
2488         "comments": "",
2489         "outputs": 1,
2490         "x": 2951.4167671203613,
2491         "y": 1146.6943154335022,
2492         "z": "513be127.a07bb",
2493         "wires": [
2494             [
2495                 "ae56da96.03a168"
2496             ]
2497         ]
2498     },
2499     {
2500         "id": "c72af35e.c366e",
2501         "type": "success",
2502         "name": "success",
2503         "xml": "<outcome value='success'>\n",
2504         "comments": "",
2505         "outputs": 1,
2506         "x": 2957.6386756896973,
2507         "y": 1207.5833497047424,
2508         "z": "513be127.a07bb",
2509         "wires": [
2510             [
2511                 "dc58656a.6c97f8"
2512             ]
2513         ]
2514     },
2515     {
2516         "id": "ae56da96.03a168",
2517         "type": "block",
2518         "name": "block",
2519         "xml": "<block>",
2520         "atomic": "false",
2521         "comments": "",
2522         "outputs": 1,
2523         "x": 3129.639003753662,
2524         "y": 1146.5831174850464,
2525         "z": "513be127.a07bb",
2526         "wires": [
2527             [
2528                 "4bc0dc54.162a84",
2529                 "be287d98.8fce2",
2530                 "ba10a7c1.229f48",
2531                 "9d694bfa.b7a508"
2532             ]
2533         ]
2534     },
2535     {
2536         "id": "dc58656a.6c97f8",
2537         "type": "block",
2538         "name": "block : atomic",
2539         "xml": "<block atomic='true'>",
2540         "atomic": "true",
2541         "comments": "",
2542         "outputs": 1,
2543         "x": 3127.527675628662,
2544         "y": 1207.4721035957336,
2545         "z": "513be127.a07bb",
2546         "wires": [
2547             [
2548                 "3ac29824.416758",
2549                 "60bc452b.487fbc",
2550                 "2fb3c15f.93ca2e"
2551             ]
2552         ]
2553     },
2554     {
2555         "id": "be287d98.8fce2",
2556         "type": "record",
2557         "name": "record",
2558         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to obtain MCC, MNC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-get-plmnid.json`\"/>\n",
2559         "comments": "",
2560         "outputs": 1,
2561         "x": 3313.3331871032715,
2562         "y": 1066.6668195724487,
2563         "z": "513be127.a07bb",
2564         "wires": [
2565             []
2566         ]
2567     },
2568     {
2569         "id": "4bc0dc54.162a84",
2570         "type": "set",
2571         "name": "set",
2572         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2573         "comments": "",
2574         "x": 3313.1945152282715,
2575         "y": 1017.4721565246582,
2576         "z": "513be127.a07bb",
2577         "wires": []
2578     },
2579     {
2580         "id": "60bc452b.487fbc",
2581         "type": "execute",
2582         "name": "read nearRTRICId-PLMN",
2583         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mcc' />\n\t<parameter name='source' value=\"`'getplmnid-cps-response.[0].mcc'`\" />\n",
2584         "comments": "",
2585         "outputs": 1,
2586         "x": 3381.3503608703613,
2587         "y": 1170.4496865272522,
2588         "z": "513be127.a07bb",
2589         "wires": [
2590             []
2591         ]
2592     },
2593     {
2594         "id": "3ac29824.416758",
2595         "type": "record",
2596         "name": "record",
2597         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained MCC, MNC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$tmp.plmn.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmn.mnc`\"/>\n",
2598         "comments": "",
2599         "outputs": 1,
2600         "x": 3323.1394233703613,
2601         "y": 1245.8332314491272,
2602         "z": "513be127.a07bb",
2603         "wires": [
2604             []
2605         ]
2606     },
2607     {
2608         "id": "ba10a7c1.229f48",
2609         "type": "returnFailure",
2610         "name": "return failure",
2611         "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'/>",
2612         "comments": "",
2613         "x": 3331.9998512268066,
2614         "y": 1105.999990940094,
2615         "z": "513be127.a07bb",
2616         "wires": []
2617     },
2618     {
2619         "id": "2fb3c15f.93ca2e",
2620         "type": "execute",
2621         "name": "read nearRTRICId-PLMN",
2622         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mnc' />\n\t<parameter name='source' value=\"`'getplmnid-cps-response.[0].mnc'`\" />\n",
2623         "comments": "",
2624         "outputs": 1,
2625         "x": 3379.6670112609863,
2626         "y": 1208.0001015663147,
2627         "z": "513be127.a07bb",
2628         "wires": [
2629             []
2630         ]
2631     },
2632     {
2633         "id": "afd12c75.342f3",
2634         "type": "set",
2635         "name": "set mcc & mnc Variables",
2636         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",
2637         "comments": "",
2638         "x": 2634.6670265197754,
2639         "y": 1242.333445072174,
2640         "z": "513be127.a07bb",
2641         "wires": []
2642     },
2643     {
2644         "id": "aaf77a55.80b748",
2645         "type": "record",
2646         "name": "record",
2647         "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`\"/>",
2648         "comments": "",
2649         "outputs": 1,
2650         "x": 2578.66703414917,
2651         "y": 1276.333445072174,
2652         "z": "513be127.a07bb",
2653         "wires": [
2654             []
2655         ]
2656     },
2657     {
2658         "id": "4dc8ca92.8f7344",
2659         "type": "set",
2660         "name": "set  Variables",
2661         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.mcc`' />\n<parameter name='tmp.mnc' value='`$tmp.mnc`' />\n<parameter name='tmp.configParameter' value='`dLThptPerSlice`' />\n<parameter name='tmp.configValue' value='`$tmp.dLThptPerSlice`' />",
2662         "comments": "",
2663         "x": 2597.000171661377,
2664         "y": 1471.999979019165,
2665         "z": "513be127.a07bb",
2666         "wires": []
2667     },
2668     {
2669         "id": "50a5816f.e3dec",
2670         "type": "record",
2671         "name": "record",
2672         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inputs\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.configParameter`\"/>\n<parameter name=\"field8\" value=\"`$tmp.configValue`\"/>",
2673         "comments": "",
2674         "outputs": 1,
2675         "x": 2576.8053436279297,
2676         "y": 1504.6664958000183,
2677         "z": "513be127.a07bb",
2678         "wires": [
2679             []
2680         ]
2681     },
2682     {
2683         "id": "3e8bbe48.8f6a72",
2684         "type": "execute",
2685         "name": "generate dLThptPerSliceURL cps",
2686         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
2687         "comments": "",
2688         "outputs": 1,
2689         "x": 2653.4722061157227,
2690         "y": 1537.6666736602783,
2691         "z": "513be127.a07bb",
2692         "wires": [
2693             []
2694         ]
2695     },
2696     {
2697         "id": "7f28ad4.b113354",
2698         "type": "execute",
2699         "name": "prepare tbdmt template",
2700         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-configData`\"/>",
2701         "comments": "",
2702         "outputs": 1,
2703         "x": 2619.4722061157227,
2704         "y": 1573.2666101455688,
2705         "z": "513be127.a07bb",
2706         "wires": [
2707             []
2708         ]
2709     },
2710     {
2711         "id": "5f608acc.d3e534",
2712         "type": "record",
2713         "name": "record TBDMT RestAPI params",
2714         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to patch dLThptPerSlice\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchconfigData.url`\" />",
2715         "comments": "",
2716         "outputs": 1,
2717         "x": 2645.4720458984375,
2718         "y": 1609.466480255127,
2719         "z": "513be127.a07bb",
2720         "wires": [
2721             []
2722         ]
2723     },
2724     {
2725         "id": "ff1f8d4f.1c228",
2726         "type": "execute",
2727         "name": "patch dLThptPerSlice",
2728         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-configData.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchdLThptPerSlice-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
2729         "comments": "",
2730         "outputs": 1,
2731         "x": 2612.472007751465,
2732         "y": 1644.4664916992188,
2733         "z": "513be127.a07bb",
2734         "wires": [
2735             [
2736                 "e3fb6c6a.05a4",
2737                 "28104511.b614da"
2738             ]
2739         ]
2740     },
2741     {
2742         "id": "28104511.b614da",
2743         "type": "success",
2744         "name": "success",
2745         "xml": "<outcome value='success'>\n",
2746         "comments": "",
2747         "outputs": 1,
2748         "x": 2861.471405029297,
2749         "y": 1643.2662868499756,
2750         "z": "513be127.a07bb",
2751         "wires": [
2752             [
2753                 "b01b9a3b.384858"
2754             ]
2755         ]
2756     },
2757     {
2758         "id": "e3fb6c6a.05a4",
2759         "type": "failure",
2760         "name": "failure",
2761         "xml": "<outcome value='failure'>\n",
2762         "comments": "",
2763         "outputs": 1,
2764         "x": 2865.249336242676,
2765         "y": 1564.3774337768555,
2766         "z": "513be127.a07bb",
2767         "wires": [
2768             [
2769                 "4e94910b.b126e"
2770             ]
2771         ]
2772     },
2773     {
2774         "id": "4e94910b.b126e",
2775         "type": "block",
2776         "name": "block",
2777         "xml": "<block>",
2778         "atomic": "false",
2779         "comments": "",
2780         "outputs": 1,
2781         "x": 2995.471408843994,
2782         "y": 1566.2662858963013,
2783         "z": "513be127.a07bb",
2784         "wires": [
2785             [
2786                 "34297ac8.2ed556",
2787                 "38b190fe.fb02c",
2788                 "738113cf.947b7c"
2789             ]
2790         ]
2791     },
2792     {
2793         "id": "b01b9a3b.384858",
2794         "type": "block",
2795         "name": "block : atomic",
2796         "xml": "<block atomic='true'>",
2797         "atomic": "true",
2798         "comments": "",
2799         "outputs": 1,
2800         "x": 3025.3607292175293,
2801         "y": 1644.1552848815918,
2802         "z": "513be127.a07bb",
2803         "wires": [
2804             [
2805                 "24193db6.087a92"
2806             ]
2807         ]
2808     },
2809     {
2810         "id": "24193db6.087a92",
2811         "type": "record",
2812         "name": "record",
2813         "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`\"/>",
2814         "comments": "",
2815         "outputs": 1,
2816         "x": 3204.972064971924,
2817         "y": 1644.51628780365,
2818         "z": "513be127.a07bb",
2819         "wires": [
2820             []
2821         ]
2822     },
2823     {
2824         "id": "738113cf.947b7c",
2825         "type": "returnFailure",
2826         "name": "return failure",
2827         "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'/>",
2828         "comments": "",
2829         "x": 3166.805347442627,
2830         "y": 1564.6666860580444,
2831         "z": "513be127.a07bb",
2832         "wires": []
2833     },
2834     {
2835         "id": "34297ac8.2ed556",
2836         "type": "set",
2837         "name": "set",
2838         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2839         "comments": "",
2840         "x": 3147.0271339416504,
2841         "y": 1525.1555099487305,
2842         "z": "513be127.a07bb",
2843         "wires": []
2844     },
2845     {
2846         "id": "38b190fe.fb02c",
2847         "type": "record",
2848         "name": "record",
2849         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to update CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-configData.json`\"/>\n<parameter name=\"field3\" value=\"`$patchdLThptPerSlice-cps-response.httpResponse`\"/>",
2850         "comments": "",
2851         "outputs": 1,
2852         "x": 3148.166072845459,
2853         "y": 1484.349940776825,
2854         "z": "513be127.a07bb",
2855         "wires": [
2856             []
2857         ]
2858     },
2859     {
2860         "id": "fef565e4.dc1dc8",
2861         "type": "set",
2862         "name": "set",
2863         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
2864         "comments": "",
2865         "x": 3212.3328819274902,
2866         "y": 1824.8052654266357,
2867         "z": "513be127.a07bb",
2868         "wires": []
2869     },
2870     {
2871         "id": "a00d28cc.f37068",
2872         "type": "returnFailure",
2873         "name": "return failure",
2874         "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'/>",
2875         "comments": "",
2876         "x": 3236.7781982421875,
2877         "y": 1865.3166599273682,
2878         "z": "513be127.a07bb",
2879         "wires": []
2880     },
2881     {
2882         "id": "c961ef2f.69b8b",
2883         "type": "record",
2884         "name": "record",
2885         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched uLThptPerSlice\"/>\n<parameter name=\"field2\" value=\"`$patchuLThptPerSlice-cps-response.httpResponse`\"/>",
2886         "comments": "",
2887         "outputs": 1,
2888         "x": 3229.2781944274902,
2889         "y": 1923.1663932800293,
2890         "z": "513be127.a07bb",
2891         "wires": [
2892             []
2893         ]
2894     },
2895     {
2896         "id": "1408a4fb.b4a68b",
2897         "type": "block",
2898         "name": "block : atomic",
2899         "xml": "<block atomic='true'>",
2900         "atomic": "true",
2901         "comments": "",
2902         "outputs": 1,
2903         "x": 3051.666862487793,
2904         "y": 1922.8057165145874,
2905         "z": "513be127.a07bb",
2906         "wires": [
2907             [
2908                 "c961ef2f.69b8b"
2909             ]
2910         ]
2911     },
2912     {
2913         "id": "ca95f230.2f18a",
2914         "type": "block",
2915         "name": "block",
2916         "xml": "<block>",
2917         "atomic": "false",
2918         "comments": "",
2919         "outputs": 1,
2920         "x": 3016.7775382995605,
2921         "y": 1867.9162693023682,
2922         "z": "513be127.a07bb",
2923         "wires": [
2924             [
2925                 "fef565e4.dc1dc8",
2926                 "a00d28cc.f37068",
2927                 "39742e4f.f53b32"
2928             ]
2929         ]
2930     },
2931     {
2932         "id": "5b8674a8.d9101c",
2933         "type": "success",
2934         "name": "success",
2935         "xml": "<outcome value='success'>\n",
2936         "comments": "",
2937         "outputs": 1,
2938         "x": 2875.7775344848633,
2939         "y": 1921.9163932800293,
2940         "z": "513be127.a07bb",
2941         "wires": [
2942             [
2943                 "1408a4fb.b4a68b"
2944             ]
2945         ]
2946     },
2947     {
2948         "id": "f15175d1.84c128",
2949         "type": "failure",
2950         "name": "failure",
2951         "xml": "<outcome value='failure'>\n",
2952         "comments": "",
2953         "outputs": 1,
2954         "x": 2870.555353164673,
2955         "y": 1868.0273904800415,
2956         "z": "513be127.a07bb",
2957         "wires": [
2958             [
2959                 "ca95f230.2f18a"
2960             ]
2961         ]
2962     },
2963     {
2964         "id": "39a53327.ab28dc",
2965         "type": "execute",
2966         "name": "generate uLThptPerSliceURL cps",
2967         "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`\"/>",
2968         "comments": "",
2969         "outputs": 1,
2970         "x": 2650.778160095215,
2971         "y": 1758.316611289978,
2972         "z": "513be127.a07bb",
2973         "wires": [
2974             []
2975         ]
2976     },
2977     {
2978         "id": "e87c0a41.27d578",
2979         "type": "execute",
2980         "name": "prepare tbdmt template",
2981         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchuLThptPerSlice.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-configData`\"/>",
2982         "comments": "",
2983         "outputs": 1,
2984         "x": 2620.7779998779297,
2985         "y": 1793.9165487289429,
2986         "z": "513be127.a07bb",
2987         "wires": [
2988             []
2989         ]
2990     },
2991     {
2992         "id": "60503363.b2756c",
2993         "type": "record",
2994         "name": "record TBDMT RestAPI params",
2995         "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`\" />",
2996         "comments": "",
2997         "outputs": 1,
2998         "x": 2646.7779998779297,
2999         "y": 1832.1164197921753,
3000         "z": "513be127.a07bb",
3001         "wires": [
3002             []
3003         ]
3004     },
3005     {
3006         "id": "a55d3a5b.3d31a8",
3007         "type": "execute",
3008         "name": "patch uLThptPerSlice",
3009         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-configData.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchuLThptPerSlice-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
3010         "comments": "",
3011         "outputs": 1,
3012         "x": 2613.7779998779297,
3013         "y": 1869.116421699524,
3014         "z": "513be127.a07bb",
3015         "wires": [
3016             [
3017                 "f15175d1.84c128",
3018                 "5b8674a8.d9101c"
3019             ]
3020         ]
3021     },
3022     {
3023         "id": "bbbe4cfd.aa908",
3024         "type": "set",
3025         "name": "set  Variables",
3026         "xml": "<set>\n<parameter name='tmp.configParameter' value='`uLThptPerSlice`' />\n<parameter name='tmp.configValue' value='`$tmp.uLThptPerSlice`' />",
3027         "comments": "",
3028         "x": 2586.361198425293,
3029         "y": 1686.649926185608,
3030         "z": "513be127.a07bb",
3031         "wires": []
3032     },
3033     {
3034         "id": "39742e4f.f53b32",
3035         "type": "record",
3036         "name": "record",
3037         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to update CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-uLThptPerSlice.json`\"/>\n",
3038         "comments": "",
3039         "outputs": 1,
3040         "x": 3210.472339630127,
3041         "y": 1785.999979019165,
3042         "z": "513be127.a07bb",
3043         "wires": [
3044             []
3045         ]
3046     },
3047     {
3048         "id": "c47ce08d.a909c",
3049         "type": "record",
3050         "name": "record",
3051         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Inputs\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.configParameter`\"/>\n<parameter name=\"field8\" value=\"`$tmp.configValue`\"/>",
3052         "comments": "",
3053         "outputs": 1,
3054         "x": 2567.472225189209,
3055         "y": 1722.9999389648438,
3056         "z": "513be127.a07bb",
3057         "wires": [
3058             []
3059         ]
3060     },
3061     {
3062         "id": "5f116544.d498fc",
3063         "type": "execute",
3064         "name": "prepare mcc",
3065         "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`\"/>",
3066         "comments": "",
3067         "outputs": 1,
3068         "x": 1415.0000381469727,
3069         "y": 1336,
3070         "z": "513be127.a07bb",
3071         "wires": [
3072             []
3073         ]
3074     },
3075     {
3076         "id": "c776e8b8.6ecab8",
3077         "type": "execute",
3078         "name": "prepare mnc",
3079         "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`\"/>",
3080         "comments": "",
3081         "outputs": 1,
3082         "x": 1413.5000381469727,
3083         "y": 1379,
3084         "z": "513be127.a07bb",
3085         "wires": [
3086             []
3087         ]
3088     },
3089     {
3090         "id": "da52d684.8fdc18",
3091         "type": "record",
3092         "name": "record",
3093         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Closed loop API params\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n\n\n\n\n\n\n",
3094         "comments": "",
3095         "outputs": 1,
3096         "x": 1401.2498779296875,
3097         "y": 1425.2498779296875,
3098         "z": "513be127.a07bb",
3099         "wires": [
3100             []
3101         ]
3102     },
3103     {
3104         "id": "f6157bd6.6c8118",
3105         "type": "execute",
3106         "name": "patch NearRTRIC - config",
3107         "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' />",
3108         "comments": "",
3109         "outputs": 1,
3110         "x": 1454.2500381469727,
3111         "y": 1485.5,
3112         "z": "513be127.a07bb",
3113         "wires": [
3114             [
3115                 "a771db16.c54ed8",
3116                 "afb25100.488ec"
3117             ]
3118         ]
3119     },
3120     {
3121         "id": "a771db16.c54ed8",
3122         "type": "success",
3123         "name": "success",
3124         "xml": "<outcome value='success'>\n",
3125         "comments": "",
3126         "outputs": 1,
3127         "x": 1708.7500457763672,
3128         "y": 1461.7500066757202,
3129         "z": "513be127.a07bb",
3130         "wires": [
3131             [
3132                 "354f8ec9.20bd92"
3133             ]
3134         ]
3135     },
3136     {
3137         "id": "354f8ec9.20bd92",
3138         "type": "block",
3139         "name": "block : atomic",
3140         "xml": "<block atomic='true'>",
3141         "atomic": "true",
3142         "comments": "",
3143         "outputs": 1,
3144         "x": 1876.7497215270996,
3145         "y": 1460.7500076293945,
3146         "z": "513be127.a07bb",
3147         "wires": [
3148             [
3149                 "4b62f71e.19e488"
3150             ]
3151         ]
3152     },
3153     {
3154         "id": "f09fb8c5.52a858",
3155         "type": "set",
3156         "name": "set",
3157         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
3158         "comments": "",
3159         "x": 2094.3131217956543,
3160         "y": 1484.4233756065369,
3161         "z": "513be127.a07bb",
3162         "wires": []
3163     },
3164     {
3165         "id": "4b62f71e.19e488",
3166         "type": "record",
3167         "name": "record",
3168         "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\"/>",
3169         "comments": "",
3170         "outputs": 1,
3171         "x": 2089.499523162842,
3172         "y": 1428.5000357627869,
3173         "z": "513be127.a07bb",
3174         "wires": [
3175             []
3176         ]
3177     },
3178     {
3179         "id": "b8494607.b05f18",
3180         "type": "execute",
3181         "name": "getAnchors URL",
3182         "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
3183         "comments": "",
3184         "outputs": 1,
3185         "x": 1700.0000839233398,
3186         "y": 922.9999771118164,
3187         "z": "513be127.a07bb",
3188         "wires": [
3189             []
3190         ]
3191     },
3192     {
3193         "id": "76c3fe9.88825",
3194         "type": "record",
3195         "name": "record",
3196         "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 cps anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
3197         "comments": "",
3198         "outputs": 1,
3199         "x": 1668.2500839233398,
3200         "y": 965.7499780654907,
3201         "z": "513be127.a07bb",
3202         "wires": [
3203             []
3204         ]
3205     },
3206     {
3207         "id": "57211dd0.b15634",
3208         "type": "execute",
3209         "name": "Get list of anchors from CPS",
3210         "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\"/>",
3211         "comments": "",
3212         "outputs": 1,
3213         "x": 1736.0556640625,
3214         "y": 1009.9165649414062,
3215         "z": "513be127.a07bb",
3216         "wires": [
3217             [
3218                 "2497feac.6f4ba2",
3219                 "f244104d.0c3bf"
3220             ]
3221         ]
3222     },
3223     {
3224         "id": "831a27a7.2b4128",
3225         "type": "execute",
3226         "name": "set anchors size",
3227         "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
3228         "comments": "",
3229         "outputs": 1,
3230         "x": 1695.4047050476074,
3231         "y": 1056.8208627700806,
3232         "z": "513be127.a07bb",
3233         "wires": [
3234             []
3235         ]
3236     },
3237     {
3238         "id": "f244104d.0c3bf",
3239         "type": "failure",
3240         "name": "failure",
3241         "xml": "<outcome value='failure'>\n",
3242         "comments": "",
3243         "outputs": 1,
3244         "x": 1991.3614120483398,
3245         "y": 969.5554542541504,
3246         "z": "513be127.a07bb",
3247         "wires": [
3248             [
3249                 "e455aa65.280a18"
3250             ]
3251         ]
3252     },
3253     {
3254         "id": "2497feac.6f4ba2",
3255         "type": "success",
3256         "name": "success",
3257         "xml": "<outcome value='success'>\n",
3258         "comments": "",
3259         "outputs": 1,
3260         "x": 1992.3614120483398,
3261         "y": 1008.7499122619629,
3262         "z": "513be127.a07bb",
3263         "wires": [
3264             [
3265                 "e7a0fa4e.ddfcb8"
3266             ]
3267         ]
3268     },
3269     {
3270         "id": "e455aa65.280a18",
3271         "type": "block",
3272         "name": "block",
3273         "xml": "<block>",
3274         "atomic": "false",
3275         "comments": "",
3276         "outputs": 1,
3277         "x": 2147.05574798584,
3278         "y": 969.1667823791504,
3279         "z": "513be127.a07bb",
3280         "wires": [
3281             [
3282                 "df1515b9.e17388",
3283                 "ad88fd2a.cc946"
3284             ]
3285         ]
3286     },
3287     {
3288         "id": "e7a0fa4e.ddfcb8",
3289         "type": "block",
3290         "name": "block : atomic",
3291         "xml": "<block atomic='true'>",
3292         "atomic": "true",
3293         "comments": "",
3294         "outputs": 1,
3295         "x": 2166.8056259155273,
3296         "y": 1009.4165382385254,
3297         "z": "513be127.a07bb",
3298         "wires": [
3299             [
3300                 "edad793e.73a418",
3301                 "455a620b.ba31fc"
3302             ]
3303         ]
3304     },
3305     {
3306         "id": "df1515b9.e17388",
3307         "type": "set",
3308         "name": "set",
3309         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
3310         "comments": "",
3311         "x": 2362.8332748413086,
3312         "y": 931.999813079834,
3313         "z": "513be127.a07bb",
3314         "wires": []
3315     },
3316     {
3317         "id": "ad88fd2a.cc946",
3318         "type": "record",
3319         "name": "record",
3320         "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\"/>",
3321         "comments": "",
3322         "outputs": 1,
3323         "x": 2361.6391220092773,
3324         "y": 968.5276222229004,
3325         "z": "513be127.a07bb",
3326         "wires": [
3327             []
3328         ]
3329     },
3330     {
3331         "id": "edad793e.73a418",
3332         "type": "record",
3333         "name": "record",
3334         "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`\"/>",
3335         "comments": "",
3336         "outputs": 1,
3337         "x": 2365.5551376342773,
3338         "y": 1009.6664772033691,
3339         "z": "513be127.a07bb",
3340         "wires": [
3341             []
3342         ]
3343     },
3344     {
3345         "id": "455a620b.ba31fc",
3346         "type": "execute",
3347         "name": "printContext",
3348         "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' />",
3349         "comments": "",
3350         "outputs": 1,
3351         "x": 2382.083335876465,
3352         "y": 1052.4164772033691,
3353         "z": "513be127.a07bb",
3354         "wires": [
3355             []
3356         ]
3357     },
3358     {
3359         "id": "95147a7c.3155c8",
3360         "type": "block",
3361         "name": "get anchors",
3362         "xml": "<block atomic='true'>",
3363         "atomic": "true",
3364         "comments": "",
3365         "outputs": 1,
3366         "x": 1413.0000839233398,
3367         "y": 972.9999771118164,
3368         "z": "513be127.a07bb",
3369         "wires": [
3370             [
3371                 "b8494607.b05f18",
3372                 "76c3fe9.88825",
3373                 "57211dd0.b15634",
3374                 "831a27a7.2b4128"
3375             ]
3376         ]
3377     },
3378     {
3379         "id": "afb25100.488ec",
3380         "type": "failure",
3381         "name": "failure",
3382         "xml": "<outcome value='failure'>\n",
3383         "comments": "",
3384         "outputs": 1,
3385         "x": 1719.3128700256348,
3386         "y": 1509.3125085830688,
3387         "z": "513be127.a07bb",
3388         "wires": [
3389             [
3390                 "869f9778.eca168"
3391             ]
3392         ]
3393     },
3394     {
3395         "id": "869f9778.eca168",
3396         "type": "block",
3397         "name": "block",
3398         "xml": "<block>",
3399         "atomic": "false",
3400         "comments": "",
3401         "outputs": 1,
3402         "x": 1868.3127136230469,
3403         "y": 1510.3123455047607,
3404         "z": "513be127.a07bb",
3405         "wires": [
3406             [
3407                 "da64ade6.b898f",
3408                 "f09fb8c5.52a858"
3409             ]
3410         ]
3411     },
3412     {
3413         "id": "da64ade6.b898f",
3414         "type": "returnFailure",
3415         "name": "return failure",
3416         "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'/>",
3417         "comments": "",
3418         "x": 2055.3126373291016,
3419         "y": 1535.3123679161072,
3420         "z": "513be127.a07bb",
3421         "wires": []
3422     },
3423     {
3424         "id": "7f422a47.f33af4",
3425         "type": "for",
3426         "name": "For anchorsList",
3427         "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
3428         "comments": "",
3429         "outputs": 1,
3430         "x": 1829.0000381469727,
3431         "y": 2532,
3432         "z": "513be127.a07bb",
3433         "wires": [
3434             [
3435                 "1ec49b78.a5d815"
3436             ]
3437         ]
3438     },
3439     {
3440         "id": "1ec49b78.a5d815",
3441         "type": "block",
3442         "name": "block : atomic",
3443         "xml": "<block atomic='true'>",
3444         "atomic": "true",
3445         "comments": "",
3446         "outputs": 1,
3447         "x": 2018.6877059936523,
3448         "y": 2534.1542959213257,
3449         "z": "513be127.a07bb",
3450         "wires": [
3451             [
3452                 "c0319f43.ae0bc",
3453                 "217e97ff.f67a68"
3454             ]
3455         ]
3456     },
3457     {
3458         "id": "c0319f43.ae0bc",
3459         "type": "execute",
3460         "name": "read schemaSet",
3461         "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",
3462         "comments": "",
3463         "outputs": 1,
3464         "x": 2263.348518371582,
3465         "y": 2528.333333015442,
3466         "z": "513be127.a07bb",
3467         "wires": [
3468             []
3469         ]
3470     },
3471     {
3472         "id": "217e97ff.f67a68",
3473         "type": "switchNode",
3474         "name": "check schemaSetName",
3475         "xml": "<switch test='`$tmp.schemaset.name`'>\n",
3476         "comments": "",
3477         "outputs": 1,
3478         "x": 2288.320526123047,
3479         "y": 2575.5833349227905,
3480         "z": "513be127.a07bb",
3481         "wires": [
3482             [
3483                 "ff28cc3c.d03f8"
3484             ]
3485         ]
3486     },
3487     {
3488         "id": "ff28cc3c.d03f8",
3489         "type": "outcome",
3490         "name": "if ran-network",
3491         "xml": "<outcome value='ran-network'>\n",
3492         "comments": "",
3493         "outputs": 1,
3494         "x": 2514.1261978149414,
3495         "y": 2574.0555028915405,
3496         "z": "513be127.a07bb",
3497         "wires": [
3498             [
3499                 "c02f503d.329a8"
3500             ]
3501         ]
3502     },
3503     {
3504         "id": "c02f503d.329a8",
3505         "type": "block",
3506         "name": "block : atomic",
3507         "xml": "<block atomic='true'>",
3508         "atomic": "true",
3509         "comments": "",
3510         "outputs": 1,
3511         "x": 2706.1882972717285,
3512         "y": 2573.654296875,
3513         "z": "513be127.a07bb",
3514         "wires": [
3515             [
3516                 "f991558d.341b18",
3517                 "b554151a.1ec478",
3518                 "28f088c9.42eb98",
3519                 "8590e230.e2d19",
3520                 "97255c.ed9b3aa8",
3521                 "2d2eb351.253ebc"
3522             ]
3523         ]
3524     },
3525     {
3526         "id": "f991558d.341b18",
3527         "type": "set",
3528         "name": "set  Variables",
3529         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.mnc`'/>\n<parameter name='tmp.configParameter' value='`maxNumberOfConns`'/>\n<parameter name='tmp.configValue' value='`$tmp.predictedMaxNumberofConns`'/>",
3530         "comments": "",
3531         "x": 2989.0491218566895,
3532         "y": 2520.154269218445,
3533         "z": "513be127.a07bb",
3534         "wires": []
3535     },
3536     {
3537         "id": "b554151a.1ec478",
3538         "type": "record",
3539         "name": "record",
3540         "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=\"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.predictedMaxNumberofConns`\" />\n<parameter name=\"field7\" value=\"`$tmp.configParameter`\"/>\n<parameter name=\"field8\" value=\"`$tmp.idNRCellCU`\"/>",
3541         "comments": "",
3542         "outputs": 1,
3543         "x": 2970.8542861938477,
3544         "y": 2554.82080078125,
3545         "z": "513be127.a07bb",
3546         "wires": [
3547             []
3548         ]
3549     },
3550     {
3551         "id": "28f088c9.42eb98",
3552         "type": "execute",
3553         "name": "generate patch configData URL cps",
3554         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n    <parameter name=\"target\" value=\"{schemaSet}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
3555         "comments": "",
3556         "outputs": 1,
3557         "x": 3052.521156311035,
3558         "y": 2589.820963859558,
3559         "z": "513be127.a07bb",
3560         "wires": [
3561             []
3562         ]
3563     },
3564     {
3565         "id": "8590e230.e2d19",
3566         "type": "execute",
3567         "name": "prepare tbdmt template",
3568         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n    <parameter name=\"target\" value=\"{templateId}\"/>\n    <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-cell-configData`\"/>",
3569         "comments": "",
3570         "outputs": 1,
3571         "x": 3018.521156311035,
3572         "y": 2625.4209003448486,
3573         "z": "513be127.a07bb",
3574         "wires": [
3575             []
3576         ]
3577     },
3578     {
3579         "id": "97255c.ed9b3aa8",
3580         "type": "record",
3581         "name": "record TBDMT RestAPI params",
3582         "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=\"URL for CPS TDBMT to patch maxNumberOfConns\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchconfigData.url`\" />",
3583         "comments": "",
3584         "outputs": 1,
3585         "x": 3047.52099609375,
3586         "y": 2660.620849609375,
3587         "z": "513be127.a07bb",
3588         "wires": [
3589             []
3590         ]
3591     },
3592     {
3593         "id": "2d2eb351.253ebc",
3594         "type": "execute",
3595         "name": "patch maxNumberOfConns",
3596         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-cell-configData.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchmaxNumberOfConns-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\"/>",
3597         "comments": "",
3598         "outputs": 1,
3599         "x": 3038.52099609375,
3600         "y": 2703.620849609375,
3601         "z": "513be127.a07bb",
3602         "wires": [
3603             [
3604                 "6315c6f7.18d948",
3605                 "35068e32.491742"
3606             ]
3607         ]
3608     },
3609     {
3610         "id": "35068e32.491742",
3611         "type": "success",
3612         "name": "success",
3613         "xml": "<outcome value='success'>\n",
3614         "comments": "",
3615         "outputs": 1,
3616         "x": 3260.5203552246094,
3617         "y": 2695.4205770492554,
3618         "z": "513be127.a07bb",
3619         "wires": [
3620             [
3621                 "64a8ff55.9a692"
3622             ]
3623         ]
3624     },
3625     {
3626         "id": "6315c6f7.18d948",
3627         "type": "failure",
3628         "name": "failure",
3629         "xml": "<outcome value='failure'>\n",
3630         "comments": "",
3631         "outputs": 1,
3632         "x": 3264.2982864379883,
3633         "y": 2616.5317239761353,
3634         "z": "513be127.a07bb",
3635         "wires": [
3636             [
3637                 "adc2d7f7.f5a568"
3638             ]
3639         ]
3640     },
3641     {
3642         "id": "adc2d7f7.f5a568",
3643         "type": "block",
3644         "name": "block",
3645         "xml": "<block>",
3646         "atomic": "false",
3647         "comments": "",
3648         "outputs": 1,
3649         "x": 3394.5203590393066,
3650         "y": 2618.420576095581,
3651         "z": "513be127.a07bb",
3652         "wires": [
3653             [
3654                 "5d487aa8.fe6324",
3655                 "e17e05fd.b0ee78",
3656                 "42ff46dc.5786b8"
3657             ]
3658         ]
3659     },
3660     {
3661         "id": "64a8ff55.9a692",
3662         "type": "block",
3663         "name": "block : atomic",
3664         "xml": "<block atomic='true'>",
3665         "atomic": "true",
3666         "comments": "",
3667         "outputs": 1,
3668         "x": 3424.409679412842,
3669         "y": 2696.3095750808716,
3670         "z": "513be127.a07bb",
3671         "wires": [
3672             [
3673                 "4b9aed06.95a724"
3674             ]
3675         ]
3676     },
3677     {
3678         "id": "4b9aed06.95a724",
3679         "type": "record",
3680         "name": "record",
3681         "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=\"Successfully patchedmaxNumberOfConns\"/>\n<parameter name=\"field2\" value=\"`$patchmaxNumberOfConns-cps-response.httpResponse`\"/>",
3682         "comments": "",
3683         "outputs": 1,
3684         "x": 3604.0210151672363,
3685         "y": 2696.6705780029297,
3686         "z": "513be127.a07bb",
3687         "wires": [
3688             []
3689         ]
3690     },
3691     {
3692         "id": "42ff46dc.5786b8",
3693         "type": "returnFailure",
3694         "name": "return failure",
3695         "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'/>",
3696         "comments": "",
3697         "x": 3565.8542976379395,
3698         "y": 2616.820976257324,
3699         "z": "513be127.a07bb",
3700         "wires": []
3701     },
3702     {
3703         "id": "5d487aa8.fe6324",
3704         "type": "set",
3705         "name": "set",
3706         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
3707         "comments": "",
3708         "x": 3546.076084136963,
3709         "y": 2577.3098001480103,
3710         "z": "513be127.a07bb",
3711         "wires": []
3712     },
3713     {
3714         "id": "e17e05fd.b0ee78",
3715         "type": "record",
3716         "name": "record",
3717         "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=\"Failed to update CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-configData.json`\"/>\n<parameter name=\"field3\" value=\"`$patchmaxNumberOfConns-cps-response.httpResponse`\"/>",
3718         "comments": "",
3719         "outputs": 1,
3720         "x": 3547.2150230407715,
3721         "y": 2536.5042309761047,
3722         "z": "513be127.a07bb",
3723         "wires": [
3724             []
3725         ]
3726     },
3727     {
3728         "id": "fc231309.cfcd1",
3729         "type": "record",
3730         "name": "record",
3731         "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=\"Failed to patch NearRTRIC configuration\"/>",
3732         "comments": "",
3733         "outputs": 1,
3734         "x": 3029,
3735         "y": 2376,
3736         "z": "513be127.a07bb",
3737         "wires": [
3738             []
3739         ]
3740     },
3741     {
3742         "id": "3bdc030.15f9bfe",
3743         "type": "set",
3744         "name": "set  Variables",
3745         "xml": "<set>\n<parameter name='tmp.idNRCellCU' value='`$tmp.cellLocalId`'/>\n",
3746         "comments": "",
3747         "x": 2282,
3748         "y": 2185,
3749         "z": "513be127.a07bb",
3750         "wires": []
3751     },
3752     {
3753         "id": "e6c9a77.5298d58",
3754         "type": "record",
3755         "name": "record",
3756         "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 patch NearRTRIC for closed loop operation\"/>",
3757         "comments": "",
3758         "outputs": 1,
3759         "x": 2187,
3760         "y": 513,
3761         "z": "513be127.a07bb",
3762         "wires": [
3763             []
3764         ]
3765     }
3766 ]