fix odl patches
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSlice.json
1 [
2     {
3         "id": "67a77d09.005634",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 233.0555419921875,
10         "y": 316.9895782470703,
11         "z": "cf6cf6b0.bb1328",
12         "wires": [
13             [
14                 "42dd709f.aad4b"
15             ]
16         ]
17     },
18     {
19         "id": "6123ff94.6f1ca",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 236.0555419921875,
24         "y": 166.98957443237305,
25         "z": "cf6cf6b0.bb1328",
26         "wires": [
27             [
28                 "6c8850d4.ad19d"
29             ]
30         ]
31     },
32     {
33         "id": "6c8850d4.ad19d",
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": 294.05552673339844,
42         "y": 227.9896697998047,
43         "z": "cf6cf6b0.bb1328",
44         "wires": [
45             [
46                 "67a77d09.005634"
47             ]
48         ]
49     },
50     {
51         "id": "42dd709f.aad4b",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 242.54513931274414,
59         "y": 481.9896192550659,
60         "z": "cf6cf6b0.bb1328",
61         "wires": [
62             [
63                 "9f2f24a2.745ca8",
64                 "860cc46e.fa7f88",
65                 "64a49a6.5b4e364",
66                 "ef84eb20.c4e448",
67                 "1bfe8353.4be83d",
68                 "3d941794.9e7798",
69                 "34c03b26.8a2e14",
70                 "85f34d57.c700f",
71                 "1e555148.2d405f"
72             ]
73         ]
74     },
75     {
76         "id": "85f34d57.c700f",
77         "type": "returnSuccess",
78         "name": "return success",
79         "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
80         "comments": "",
81         "x": 502.54512786865234,
82         "y": 1027.9899854660034,
83         "z": "cf6cf6b0.bb1328",
84         "wires": []
85     },
86     {
87         "id": "4bd5cb1a.ab54f4",
88         "type": "comment",
89         "name": "instantiateRANSlice",
90         "info": "",
91         "comments": "",
92         "x": 518.0555419921875,
93         "y": 159.9999885559082,
94         "z": "cf6cf6b0.bb1328",
95         "wires": []
96     },
97     {
98         "id": "9f2f24a2.745ca8",
99         "type": "record",
100         "name": "record",
101         "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=\"RPC to handle instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$instantiate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$instantiate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$instantiate-r-a-n-slice-input.payload`\"/>",
102         "comments": "",
103         "outputs": 1,
104         "x": 576.0558776855469,
105         "y": 211.01044845581055,
106         "z": "cf6cf6b0.bb1328",
107         "wires": [
108             []
109         ]
110     },
111     {
112         "id": "64a49a6.5b4e364",
113         "type": "execute",
114         "name": "execute jsonStringToCtx",
115         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='instantiate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
116         "comments": "",
117         "outputs": 1,
118         "x": 625.0556335449219,
119         "y": 300.0104160308838,
120         "z": "cf6cf6b0.bb1328",
121         "wires": [
122             [
123                 "2297220f.d1d1de"
124             ]
125         ]
126     },
127     {
128         "id": "2297220f.d1d1de",
129         "type": "other",
130         "name": "success",
131         "xml": "<outcome value='success'>\n",
132         "comments": "",
133         "outputs": 1,
134         "x": 853.0556449890137,
135         "y": 280.01043128967285,
136         "z": "cf6cf6b0.bb1328",
137         "wires": [
138             [
139                 "5b1157ca.74ff08"
140             ]
141         ]
142     },
143     {
144         "id": "5d49c24f.5762cc",
145         "type": "record",
146         "name": "record",
147         "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=\"Payload for instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.NSSAI`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field9\" value=\"`$payloadJson.input.sliceProfile.coverageAreaList[0]`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.RANNSSIId`\"/>\n<parameter name=\"field13\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field14\" value=\"`$payloadJson.input.callbackURL`\"/>\n\n\n",
148         "comments": "",
149         "outputs": 1,
150         "x": 1196.0558185577393,
151         "y": 287.01045989990234,
152         "z": "cf6cf6b0.bb1328",
153         "wires": [
154             []
155         ]
156     },
157     {
158         "id": "ef84eb20.c4e448",
159         "type": "execute",
160         "name": "execute Properties",
161         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
162         "comments": "",
163         "outputs": 1,
164         "x": 607.0555953979492,
165         "y": 385.01037311553955,
166         "z": "cf6cf6b0.bb1328",
167         "wires": [
168             []
169         ]
170     },
171     {
172         "id": "1bfe8353.4be83d",
173         "type": "record",
174         "name": "record",
175         "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=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
176         "comments": "",
177         "outputs": 1,
178         "x": 586.0556373596191,
179         "y": 434.0104160308838,
180         "z": "cf6cf6b0.bb1328",
181         "wires": [
182             []
183         ]
184     },
185     {
186         "id": "3d941794.9e7798",
187         "type": "switchNode",
188         "name": "switch configdb deployed",
189         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
190         "comments": "",
191         "outputs": 1,
192         "x": 576.0556259155273,
193         "y": 724.8992605209351,
194         "z": "cf6cf6b0.bb1328",
195         "wires": [
196             [
197                 "8cd8cd55.d7bc8"
198             ]
199         ]
200     },
201     {
202         "id": "8cd8cd55.d7bc8",
203         "type": "outcome",
204         "name": "Deployed",
205         "xml": "<outcome value='true'>\n",
206         "comments": "",
207         "outputs": 1,
208         "x": 648.0556907653809,
209         "y": 921.899284362793,
210         "z": "cf6cf6b0.bb1328",
211         "wires": [
212             [
213                 "afc265fa.6d0098"
214             ]
215         ]
216     },
217     {
218         "id": "860cc46e.fa7f88",
219         "type": "set",
220         "name": "set default status value",
221         "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of instantiateRANSice RPC' />",
222         "comments": "",
223         "x": 625.0556335449219,
224         "y": 259.01046562194824,
225         "z": "cf6cf6b0.bb1328",
226         "wires": []
227     },
228     {
229         "id": "39f5c467.099a5c",
230         "type": "execute",
231         "name": "printContext",
232         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-context.log' />\n\n\n",
233         "comments": "",
234         "outputs": 1,
235         "x": 1214.0558166503906,
236         "y": 221.01043224334717,
237         "z": "cf6cf6b0.bb1328",
238         "wires": [
239             []
240         ]
241     },
242     {
243         "id": "5b1157ca.74ff08",
244         "type": "block",
245         "name": "block : atomic",
246         "xml": "<block atomic='true'>",
247         "atomic": "true",
248         "comments": "",
249         "outputs": 1,
250         "x": 1022.0557327270508,
251         "y": 255.0104296207428,
252         "z": "cf6cf6b0.bb1328",
253         "wires": [
254             [
255                 "39f5c467.099a5c",
256                 "5d49c24f.5762cc"
257             ]
258         ]
259     },
260     {
261         "id": "9dd7ad7.69d2b5",
262         "type": "set",
263         "name": "set Temp Variables",
264         "xml": "<set>\n<parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
265         "comments": "",
266         "x": 1466.0558700561523,
267         "y": 461.01044607162476,
268         "z": "cf6cf6b0.bb1328",
269         "wires": []
270     },
271     {
272         "id": "afc265fa.6d0098",
273         "type": "block",
274         "name": "block : atomic",
275         "xml": "<block atomic='true'>",
276         "atomic": "true",
277         "comments": "",
278         "outputs": 1,
279         "x": 791.0555801391602,
280         "y": 827.0000076293945,
281         "z": "cf6cf6b0.bb1328",
282         "wires": [
283             [
284                 "a3e93025.2a3d6"
285             ]
286         ]
287     },
288     {
289         "id": "34c03b26.8a2e14",
290         "type": "execute",
291         "name": "printContext",
292         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-context.log' />\n\n\n",
293         "comments": "",
294         "outputs": 1,
295         "x": 599.0555572509766,
296         "y": 344.00001525878906,
297         "z": "cf6cf6b0.bb1328",
298         "wires": [
299             []
300         ]
301     },
302     {
303         "id": "a5c3d67d.ddc678",
304         "type": "execute",
305         "name": "SliStringUtils - substring MCC",
306         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mcc\"/>\n    <parameter name=\"begin-index\" value=\"0\" />\n    <parameter name=\"end-index\" value=\"3\" />",
307         "comments": "",
308         "outputs": 1,
309         "x": 2010.0662994384766,
310         "y": 541.0104551315308,
311         "z": "cf6cf6b0.bb1328",
312         "wires": [
313             []
314         ]
315     },
316     {
317         "id": "1cb6911c.4db33f",
318         "type": "execute",
319         "name": "SliStringUtils - substring MNC",
320         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n    <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n    <parameter name=\"result\" value=\"tmp.mnc\"/>\n    <parameter name=\"begin-index\" value=\"4\" />",
321         "comments": "",
322         "outputs": 1,
323         "x": 2014.0662994384766,
324         "y": 588.010401725769,
325         "z": "cf6cf6b0.bb1328",
326         "wires": [
327             []
328         ]
329     },
330     {
331         "id": "cea48eef.d485d",
332         "type": "record",
333         "name": "record",
334         "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=\"PLMNID from Payload: MCC-MNC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
335         "comments": "",
336         "outputs": 1,
337         "x": 1419.0598373413086,
338         "y": 652.0038738250732,
339         "z": "cf6cf6b0.bb1328",
340         "wires": [
341             []
342         ]
343     },
344     {
345         "id": "7f2af55a.f1dc2c",
346         "type": "comment",
347         "name": "TO DO",
348         "info": "- Use \"List of Cells for Tracking Area\" everywhere list\nof cells are sequenced for Restconf transactions...\nNo need to go through all cells as captured in the configDB\nresponse....localID will be the actual value returned \nin \n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $ids + ']'`\" />\n\t\n\ttmp.trackingarea.cell would be cellLocalID",
349         "comments": "",
350         "x": 873.0555419921875,
351         "y": 198.9999885559082,
352         "z": "cf6cf6b0.bb1328",
353         "wires": []
354     },
355     {
356         "id": "a3e93025.2a3d6",
357         "type": "switchNode",
358         "name": "switch action",
359         "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
360         "comments": "",
361         "outputs": 1,
362         "x": 976.0660285949707,
363         "y": 899.010454416275,
364         "z": "cf6cf6b0.bb1328",
365         "wires": [
366             [
367                 "d9af500b.00472",
368                 "b756919a.6a42b",
369                 "e378e31b.1eb2d",
370                 "551ef603.0c3e58"
371             ]
372         ]
373     },
374     {
375         "id": "d9af500b.00472",
376         "type": "outcome",
377         "name": "allocate",
378         "xml": "<outcome value='allocate'>",
379         "comments": "",
380         "outputs": 1,
381         "x": 1204.0660400390625,
382         "y": 772.8993377685547,
383         "z": "cf6cf6b0.bb1328",
384         "wires": [
385             [
386                 "9289244a.4c4bb8"
387             ]
388         ]
389     },
390     {
391         "id": "b756919a.6a42b",
392         "type": "outcome",
393         "name": "modify-allocate",
394         "xml": "<outcome value='modify-allocate'>",
395         "comments": "",
396         "outputs": 1,
397         "x": 1213.7803115844727,
398         "y": 848.3993804454803,
399         "z": "cf6cf6b0.bb1328",
400         "wires": [
401             [
402                 "a4fc78c7.329648"
403             ]
404         ]
405     },
406     {
407         "id": "e378e31b.1eb2d",
408         "type": "outcome",
409         "name": "modify-deallocate",
410         "xml": "<outcome value='modify-deallocate'>",
411         "comments": "",
412         "outputs": 1,
413         "x": 1221.1374130249023,
414         "y": 938.5422039031982,
415         "z": "cf6cf6b0.bb1328",
416         "wires": [
417             [
418                 "b302bef7.3fda8"
419             ]
420         ]
421     },
422     {
423         "id": "551ef603.0c3e58",
424         "type": "outcome",
425         "name": "reconfigure",
426         "xml": "<outcome value='reconfigure'>",
427         "comments": "",
428         "outputs": 1,
429         "x": 1193.1374130249023,
430         "y": 1021.578013420105,
431         "z": "cf6cf6b0.bb1328",
432         "wires": [
433             [
434                 "6c87ccb6.788e84"
435             ]
436         ]
437     },
438     {
439         "id": "9289244a.4c4bb8",
440         "type": "block",
441         "name": "block : atomic",
442         "xml": "<block atomic=\"true\">",
443         "atomic": "true",
444         "outputs": 1,
445         "x": 1417.0554065704346,
446         "y": 757.0000276565552,
447         "z": "cf6cf6b0.bb1328",
448         "wires": [
449             [
450                 "884c04b0.09e5f8",
451                 "ab24a43a.308598"
452             ]
453         ]
454     },
455     {
456         "id": "a4fc78c7.329648",
457         "type": "block",
458         "name": "block : atomic",
459         "xml": "<block atomic=\"true\">",
460         "atomic": "true",
461         "outputs": 1,
462         "x": 1437.2698593139648,
463         "y": 852.5001106262207,
464         "z": "cf6cf6b0.bb1328",
465         "wires": [
466             [
467                 "28dcc680.4a597a",
468                 "22cdbf7c.f7d3b"
469             ]
470         ]
471     },
472     {
473         "id": "6c87ccb6.788e84",
474         "type": "block",
475         "name": "block : atomic",
476         "xml": "<block atomic=\"true\">",
477         "atomic": "true",
478         "outputs": 1,
479         "x": 1424.8769607543945,
480         "y": 1048.4286794662476,
481         "z": "cf6cf6b0.bb1328",
482         "wires": [
483             [
484                 "9a8e2312.7ddf3",
485                 "281ae2be.baaf4e"
486             ]
487         ]
488     },
489     {
490         "id": "b302bef7.3fda8",
491         "type": "block",
492         "name": "block : atomic",
493         "xml": "<block atomic=\"true\">",
494         "atomic": "true",
495         "outputs": 1,
496         "x": 1437.8054504394531,
497         "y": 950.6430006027222,
498         "z": "cf6cf6b0.bb1328",
499         "wires": [
500             [
501                 "52f79f06.a08b1",
502                 "542603bc.4a91fc"
503             ]
504         ]
505     },
506     {
507         "id": "884c04b0.09e5f8",
508         "type": "call",
509         "name": "call instantiateRANSliceAllocate",
510         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
511         "comments": "",
512         "outputs": 1,
513         "x": 1705.3053894042969,
514         "y": 745.7500038146973,
515         "z": "cf6cf6b0.bb1328",
516         "wires": [
517             [
518                 "cb46a7e0.44b9c8"
519             ]
520         ]
521     },
522     {
523         "id": "cb46a7e0.44b9c8",
524         "type": "failure",
525         "name": "failure",
526         "xml": "<outcome value='failure'>\n",
527         "comments": "",
528         "outputs": 1,
529         "x": 1971.1625213623047,
530         "y": 754.3214464187622,
531         "z": "cf6cf6b0.bb1328",
532         "wires": [
533             [
534                 "dc23f13e.76c39"
535             ]
536         ]
537     },
538     {
539         "id": "dc23f13e.76c39",
540         "type": "returnFailure",
541         "name": "return failure",
542         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
543         "comments": "",
544         "x": 2143.162528991699,
545         "y": 754.428599357605,
546         "z": "cf6cf6b0.bb1328",
547         "wires": []
548     },
549     {
550         "id": "28dcc680.4a597a",
551         "type": "call",
552         "name": "call instantiateRANSliceModifyAllocate",
553         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate' mode='sync' >\n",
554         "comments": "",
555         "outputs": 1,
556         "x": 1729.7343139648438,
557         "y": 855.7500467300415,
558         "z": "cf6cf6b0.bb1328",
559         "wires": [
560             [
561                 "ee34f035.a9451"
562             ]
563         ]
564     },
565     {
566         "id": "ee34f035.a9451",
567         "type": "failure",
568         "name": "failure",
569         "xml": "<outcome value='failure'>\n",
570         "comments": "",
571         "outputs": 1,
572         "x": 1991.019947052002,
573         "y": 852.750072479248,
574         "z": "cf6cf6b0.bb1328",
575         "wires": [
576             [
577                 "fdb6ec76.bfbbf"
578             ]
579         ]
580     },
581     {
582         "id": "fdb6ec76.bfbbf",
583         "type": "returnFailure",
584         "name": "return failure",
585         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
586         "comments": "",
587         "x": 2159.5913887023926,
588         "y": 852.428617477417,
589         "z": "cf6cf6b0.bb1328",
590         "wires": []
591     },
592     {
593         "id": "9a8e2312.7ddf3",
594         "type": "call",
595         "name": "call instantiateRANSliceReconfigure",
596         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
597         "comments": "",
598         "outputs": 1,
599         "x": 1717.8768844604492,
600         "y": 1048.035737991333,
601         "z": "cf6cf6b0.bb1328",
602         "wires": [
603             [
604                 "186fc0ff.96087f"
605             ]
606         ]
607     },
608     {
609         "id": "186fc0ff.96087f",
610         "type": "failure",
611         "name": "failure",
612         "xml": "<outcome value='failure'>\n",
613         "comments": "",
614         "outputs": 1,
615         "x": 1974.1626091003418,
616         "y": 1048.0357637405396,
617         "z": "cf6cf6b0.bb1328",
618         "wires": [
619             [
620                 "c861f695.384618"
621             ]
622         ]
623     },
624     {
625         "id": "c861f695.384618",
626         "type": "returnFailure",
627         "name": "return failure",
628         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
629         "comments": "",
630         "x": 2142.7340507507324,
631         "y": 1047.7143087387085,
632         "z": "cf6cf6b0.bb1328",
633         "wires": []
634     },
635     {
636         "id": "52f79f06.a08b1",
637         "type": "call",
638         "name": "call instantiateRANSliceModifyDeallocate",
639         "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance' mode='sync' >\n",
640         "comments": "",
641         "outputs": 1,
642         "x": 1711.0196990966797,
643         "y": 949.0357732772827,
644         "z": "cf6cf6b0.bb1328",
645         "wires": [
646             [
647                 "4cf931ad.91319"
648             ]
649         ]
650     },
651     {
652         "id": "4cf931ad.91319",
653         "type": "failure",
654         "name": "failure",
655         "xml": "<outcome value='failure'>\n",
656         "comments": "",
657         "outputs": 1,
658         "x": 1989.591121673584,
659         "y": 947.6072273254395,
660         "z": "cf6cf6b0.bb1328",
661         "wires": [
662             [
663                 "6e71fce1.9048b4"
664             ]
665         ]
666     },
667     {
668         "id": "6e71fce1.9048b4",
669         "type": "returnFailure",
670         "name": "return failure",
671         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
672         "comments": "",
673         "x": 2158.1625633239746,
674         "y": 947.2857723236084,
675         "z": "cf6cf6b0.bb1328",
676         "wires": []
677     },
678     {
679         "id": "802d2f45.cbb97",
680         "type": "set",
681         "name": "set RRMPolicyRatio IDs",
682         "xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId  + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />",
683         "comments": "",
684         "x": 1489.0558700561523,
685         "y": 506.9999895095825,
686         "z": "cf6cf6b0.bb1328",
687         "wires": []
688     },
689     {
690         "id": "37e405b4.395e2a",
691         "type": "execute",
692         "name": "execute concat customer-id and @test.com",
693         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n    <parameter name=\"source\" value='`$prop.customer-id`'/>\n    <parameter name=\"outputPath\" value=\"tmp.userAccountEmail\"/>\n    <parameter name=\"target\" value=\"@test.com\"/>\n\n\n",
694         "comments": "",
695         "outputs": 1,
696         "x": 452.0555648803711,
697         "y": 1142.9999990463257,
698         "z": "cf6cf6b0.bb1328",
699         "wires": [
700             []
701         ]
702     },
703     {
704         "id": "ab24a43a.308598",
705         "type": "record",
706         "name": "record",
707         "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=\"Calling instantiateRANSliceAllocate \"/>",
708         "comments": "",
709         "outputs": 1,
710         "x": 1653.0555572509766,
711         "y": 686.0000295639038,
712         "z": "cf6cf6b0.bb1328",
713         "wires": [
714             []
715         ]
716     },
717     {
718         "id": "22cdbf7c.f7d3b",
719         "type": "record",
720         "name": "record",
721         "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=\"Calling instantiateRANSliceModifyAllocate \"/>",
722         "comments": "",
723         "outputs": 1,
724         "x": 1635.0555114746094,
725         "y": 797.0000314712524,
726         "z": "cf6cf6b0.bb1328",
727         "wires": [
728             []
729         ]
730     },
731     {
732         "id": "542603bc.4a91fc",
733         "type": "record",
734         "name": "record",
735         "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=\"Calling instantiateRANSliceModifyDeallocate \"/>",
736         "comments": "",
737         "outputs": 1,
738         "x": 1629.0555114746094,
739         "y": 897.0000314712524,
740         "z": "cf6cf6b0.bb1328",
741         "wires": [
742             []
743         ]
744     },
745     {
746         "id": "281ae2be.baaf4e",
747         "type": "record",
748         "name": "record",
749         "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=\"Calling instantiateRANSliceReconfigure \"/>",
750         "comments": "",
751         "outputs": 1,
752         "x": 1629.0555114746094,
753         "y": 998.0000314712524,
754         "z": "cf6cf6b0.bb1328",
755         "wires": [
756             []
757         ]
758     },
759     {
760         "id": "1037fed9.060b91",
761         "type": "execute",
762         "name": "payload has dLThptPerSlice",
763         "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",
764         "comments": "",
765         "outputs": 1,
766         "x": 1068.055892944336,
767         "y": 356.66678524017334,
768         "z": "cf6cf6b0.bb1328",
769         "wires": [
770             [
771                 "696ea6a3.1ddef8",
772                 "75abc41a.6f95dc"
773             ]
774         ]
775     },
776     {
777         "id": "696ea6a3.1ddef8",
778         "type": "failure",
779         "name": "true",
780         "xml": "<outcome value='true'>\n",
781         "comments": "",
782         "outputs": 1,
783         "x": 1287.0559043884277,
784         "y": 335.66672229766846,
785         "z": "cf6cf6b0.bb1328",
786         "wires": [
787             [
788                 "60315b7.97b57a4"
789             ]
790         ]
791     },
792     {
793         "id": "75abc41a.6f95dc",
794         "type": "failure",
795         "name": "false",
796         "xml": "<outcome value='false'>\n",
797         "comments": "",
798         "outputs": 1,
799         "x": 1246.0558166503906,
800         "y": 429.66670417785645,
801         "z": "cf6cf6b0.bb1328",
802         "wires": [
803             [
804                 "a8e66368.9d38f"
805             ]
806         ]
807     },
808     {
809         "id": "a8e66368.9d38f",
810         "type": "execute",
811         "name": "payload contains maxNumberofConns",
812         "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",
813         "comments": "",
814         "outputs": 1,
815         "x": 1467.0555877685547,
816         "y": 394.66670417785645,
817         "z": "cf6cf6b0.bb1328",
818         "wires": [
819             [
820                 "452fe256.38c78c"
821             ]
822         ]
823     },
824     {
825         "id": "60315b7.97b57a4",
826         "type": "block",
827         "name": "block : atomic",
828         "xml": "<block atomic=\"true\">",
829         "atomic": "true",
830         "outputs": 1,
831         "x": 1722.0555877685547,
832         "y": 230.6667194366455,
833         "z": "cf6cf6b0.bb1328",
834         "wires": [
835             [
836                 "69923b8f.84a204",
837                 "eb24946f.4a1418"
838             ]
839         ]
840     },
841     {
842         "id": "69923b8f.84a204",
843         "type": "record",
844         "name": "record",
845         "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=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n",
846         "comments": "",
847         "outputs": 1,
848         "x": 1945.0555953979492,
849         "y": 189.6667184829712,
850         "z": "cf6cf6b0.bb1328",
851         "wires": [
852             []
853         ]
854     },
855     {
856         "id": "452fe256.38c78c",
857         "type": "failure",
858         "name": "true",
859         "xml": "<outcome value='true'>\n",
860         "comments": "",
861         "outputs": 1,
862         "x": 1629.0555877685547,
863         "y": 316.66670179367065,
864         "z": "cf6cf6b0.bb1328",
865         "wires": [
866             [
867                 "8a6a374e.258778"
868             ]
869         ]
870     },
871     {
872         "id": "8a6a374e.258778",
873         "type": "block",
874         "name": "block : atomic",
875         "xml": "<block atomic=\"true\">",
876         "atomic": "true",
877         "outputs": 1,
878         "x": 1736.0559158325195,
879         "y": 431.6667060852051,
880         "z": "cf6cf6b0.bb1328",
881         "wires": [
882             [
883                 "56d45133.ccf3",
884                 "eb24946f.4a1418"
885             ]
886         ]
887     },
888     {
889         "id": "56d45133.ccf3",
890         "type": "record",
891         "name": "record",
892         "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=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n\n\n",
893         "comments": "",
894         "outputs": 1,
895         "x": 1793.0559158325195,
896         "y": 320.6667013168335,
897         "z": "cf6cf6b0.bb1328",
898         "wires": [
899             []
900         ]
901     },
902     {
903         "id": "eb24946f.4a1418",
904         "type": "set",
905         "name": "set Temp Variables",
906         "xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>",
907         "comments": "",
908         "x": 2049.055923461914,
909         "y": 343.0000343322754,
910         "z": "cf6cf6b0.bb1328",
911         "wires": []
912     },
913     {
914         "id": "1e555148.2d405f",
915         "type": "block",
916         "name": "block : atomic",
917         "xml": "<block atomic='true'>",
918         "atomic": "true",
919         "comments": "",
920         "outputs": 1,
921         "x": 469.05562591552734,
922         "y": 498.00004959106445,
923         "z": "cf6cf6b0.bb1328",
924         "wires": [
925             [
926                 "8d71a6f0.72c118"
927             ]
928         ]
929     },
930     {
931         "id": "8d71a6f0.72c118",
932         "type": "switchNode",
933         "name": "switch action",
934         "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
935         "comments": "",
936         "outputs": 1,
937         "x": 627.0662384033203,
938         "y": 551.0104274749756,
939         "z": "cf6cf6b0.bb1328",
940         "wires": [
941             [
942                 "e96f98f4.acde48",
943                 "e2e6a4e2.0774d8",
944                 "3d31f07e.72eaf",
945                 "af4578e1.7541b8"
946             ]
947         ]
948     },
949     {
950         "id": "e96f98f4.acde48",
951         "type": "outcome",
952         "name": "reconfigure",
953         "xml": "<outcome value='reconfigure'>",
954         "comments": "",
955         "outputs": 1,
956         "x": 844.1374549865723,
957         "y": 410.5779619216919,
958         "z": "cf6cf6b0.bb1328",
959         "wires": [
960             [
961                 "37ccc9.534a2338"
962             ]
963         ]
964     },
965     {
966         "id": "37ccc9.534a2338",
967         "type": "block",
968         "name": "block : atomic",
969         "xml": "<block atomic=\"true\">",
970         "atomic": "true",
971         "outputs": 1,
972         "x": 950.8772048950195,
973         "y": 516.4286470413208,
974         "z": "cf6cf6b0.bb1328",
975         "wires": [
976             [
977                 "1037fed9.060b91"
978             ]
979         ]
980     },
981     {
982         "id": "731c9b35.165aa4",
983         "type": "block",
984         "name": "block : atomic",
985         "xml": "<block atomic=\"true\">",
986         "atomic": "true",
987         "outputs": 1,
988         "x": 1139.7222213745117,
989         "y": 610.0000095367432,
990         "z": "cf6cf6b0.bb1328",
991         "wires": [
992             [
993                 "9dd7ad7.69d2b5",
994                 "802d2f45.cbb97",
995                 "cea48eef.d485d",
996                 "88a98036.31d9f"
997             ]
998         ]
999     },
1000     {
1001         "id": "e10f5b24.675b48",
1002         "type": "set",
1003         "name": "Original set Temp Variables",
1004         "xml": "<set>\n<parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
1005         "comments": "",
1006         "x": 2439.0555419921875,
1007         "y": 350.9999885559082,
1008         "z": "cf6cf6b0.bb1328",
1009         "wires": []
1010     },
1011     {
1012         "id": "e2e6a4e2.0774d8",
1013         "type": "outcome",
1014         "name": "allocate",
1015         "xml": "<outcome value='allocate'>",
1016         "comments": "",
1017         "outputs": 1,
1018         "x": 905.7222518920898,
1019         "y": 577.333345413208,
1020         "z": "cf6cf6b0.bb1328",
1021         "wires": [
1022             [
1023                 "731c9b35.165aa4"
1024             ]
1025         ]
1026     },
1027     {
1028         "id": "3d31f07e.72eaf",
1029         "type": "outcome",
1030         "name": "modify-allocate",
1031         "xml": "<outcome value='modify-allocate'>",
1032         "comments": "",
1033         "outputs": 1,
1034         "x": 895.4366073608398,
1035         "y": 622.8333873748779,
1036         "z": "cf6cf6b0.bb1328",
1037         "wires": [
1038             [
1039                 "731c9b35.165aa4"
1040             ]
1041         ]
1042     },
1043     {
1044         "id": "af4578e1.7541b8",
1045         "type": "outcome",
1046         "name": "modify-deallocate",
1047         "xml": "<outcome value='modify-deallocate'>",
1048         "comments": "",
1049         "outputs": 1,
1050         "x": 879.7937049865723,
1051         "y": 687.9761810302734,
1052         "z": "cf6cf6b0.bb1328",
1053         "wires": [
1054             [
1055                 "731c9b35.165aa4"
1056             ]
1057         ]
1058     },
1059     {
1060         "id": "88a98036.31d9f",
1061         "type": "switchNode",
1062         "name": "check PLMNId",
1063         "xml": "<switch test='`$tmp.payload.pLMNId`'>",
1064         "comments": "",
1065         "outputs": 1,
1066         "x": 1382.8055419921875,
1067         "y": 590.7499885559082,
1068         "z": "cf6cf6b0.bb1328",
1069         "wires": [
1070             [
1071                 "271f245d.f4d05c",
1072                 "531292ed.957f9c"
1073             ]
1074         ]
1075     },
1076     {
1077         "id": "ac735917.92f0c8",
1078         "type": "block",
1079         "name": "block : atomic",
1080         "xml": "<block atomic=\"true\">",
1081         "atomic": "true",
1082         "outputs": 1,
1083         "x": 1756.5556564331055,
1084         "y": 571.7499952316284,
1085         "z": "cf6cf6b0.bb1328",
1086         "wires": [
1087             [
1088                 "a5c3d67d.ddc678",
1089                 "1cb6911c.4db33f"
1090             ]
1091         ]
1092     },
1093     {
1094         "id": "271f245d.f4d05c",
1095         "type": "outcome",
1096         "name": "not null",
1097         "xml": "<outcome value=''>",
1098         "comments": "",
1099         "outputs": 1,
1100         "x": 1577.5555419921875,
1101         "y": 580.7499885559082,
1102         "z": "cf6cf6b0.bb1328",
1103         "wires": [
1104             [
1105                 "19f708dc.db11e7"
1106             ]
1107         ]
1108     },
1109     {
1110         "id": "531292ed.957f9c",
1111         "type": "other",
1112         "name": "other",
1113         "xml": "<outcome value='Other'>\n",
1114         "comments": "",
1115         "outputs": 1,
1116         "x": 1571.3055419921875,
1117         "y": 630.7499885559082,
1118         "z": "cf6cf6b0.bb1328",
1119         "wires": [
1120             [
1121                 "ac735917.92f0c8"
1122             ]
1123         ]
1124     },
1125     {
1126         "id": "19f708dc.db11e7",
1127         "type": "record",
1128         "name": "record",
1129         "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=\"It is allocate-modify flow. PLMNId is null\"/>",
1130         "comments": "",
1131         "outputs": 1,
1132         "x": 1710.3055419921875,
1133         "y": 515.7499885559082,
1134         "z": "cf6cf6b0.bb1328",
1135         "wires": [
1136             []
1137         ]
1138     }
1139 ]