RanSlice DG, Templates - Integration Testing Fixes
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSlice.json
1 [
2     {
3         "id": "f1148ca3.5ca0a",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 126.75,
10         "y": 215.7395896911621,
11         "z": "da691f27.3219f",
12         "wires": [
13             [
14                 "156d6531.efde9b"
15             ]
16         ]
17     },
18     {
19         "id": "b069cd36.782c9",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 129.75,
24         "y": 65.73958587646484,
25         "z": "da691f27.3219f",
26         "wires": [
27             [
28                 "3d8648fa.b8cda8"
29             ]
30         ]
31     },
32     {
33         "id": "3d8648fa.b8cda8",
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": 187.74998474121094,
42         "y": 126.73968124389648,
43         "z": "da691f27.3219f",
44         "wires": [
45             [
46                 "f1148ca3.5ca0a"
47             ]
48         ]
49     },
50     {
51         "id": "156d6531.efde9b",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 136.23959732055664,
59         "y": 380.7396306991577,
60         "z": "da691f27.3219f",
61         "wires": [
62             [
63                 "6888726f.11571c",
64                 "b5226aca.7abca8",
65                 "2477e49c.ec529c",
66                 "99154e95.c5f0b",
67                 "eb38c86e.9a1d48",
68                 "e09d3b25.806ca8",
69                 "16edce4c.6783d2",
70                 "5d4374eb.f3572c",
71                 "748c3b31.9647a4"
72             ]
73         ]
74     },
75     {
76         "id": "5d4374eb.f3572c",
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": 396.23958587646484,
82         "y": 926.7399969100952,
83         "z": "da691f27.3219f",
84         "wires": []
85     },
86     {
87         "id": "2f7c696.b0eec96",
88         "type": "comment",
89         "name": "instantiateRANSlice",
90         "info": "",
91         "comments": "",
92         "x": 411.75,
93         "y": 58.75,
94         "z": "da691f27.3219f",
95         "wires": []
96     },
97     {
98         "id": "6888726f.11571c",
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": 469.7503356933594,
105         "y": 109.76045989990234,
106         "z": "da691f27.3219f",
107         "wires": [
108             []
109         ]
110     },
111     {
112         "id": "2477e49c.ec529c",
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": 518.7500915527344,
119         "y": 198.7604274749756,
120         "z": "da691f27.3219f",
121         "wires": [
122             [
123                 "96d5e7b4.bdd878"
124             ]
125         ]
126     },
127     {
128         "id": "96d5e7b4.bdd878",
129         "type": "other",
130         "name": "success",
131         "xml": "<outcome value='success'>\n",
132         "comments": "",
133         "outputs": 1,
134         "x": 746.7501029968262,
135         "y": 178.76044273376465,
136         "z": "da691f27.3219f",
137         "wires": [
138             [
139                 "8843ee24.fbfd7"
140             ]
141         ]
142     },
143     {
144         "id": "456f43f0.54c41c",
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": 1089.7502765655518,
151         "y": 185.76047134399414,
152         "z": "da691f27.3219f",
153         "wires": [
154             []
155         ]
156     },
157     {
158         "id": "99154e95.c5f0b",
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": 500.7500534057617,
165         "y": 283.76038455963135,
166         "z": "da691f27.3219f",
167         "wires": [
168             []
169         ]
170     },
171     {
172         "id": "eb38c86e.9a1d48",
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": 479.75009536743164,
179         "y": 332.7604274749756,
180         "z": "da691f27.3219f",
181         "wires": [
182             []
183         ]
184     },
185     {
186         "id": "e09d3b25.806ca8",
187         "type": "switchNode",
188         "name": "switch configdb deployed",
189         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
190         "comments": "",
191         "outputs": 1,
192         "x": 469.75008392333984,
193         "y": 623.6492719650269,
194         "z": "da691f27.3219f",
195         "wires": [
196             [
197                 "30a8d676.e998ca"
198             ]
199         ]
200     },
201     {
202         "id": "30a8d676.e998ca",
203         "type": "outcome",
204         "name": "Deployed",
205         "xml": "<outcome value='true'>\n",
206         "comments": "",
207         "outputs": 1,
208         "x": 541.7501487731934,
209         "y": 820.6492958068848,
210         "z": "da691f27.3219f",
211         "wires": [
212             [
213                 "a2d30976.7f48e8"
214             ]
215         ]
216     },
217     {
218         "id": "b5226aca.7abca8",
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": 518.7500915527344,
224         "y": 157.76047706604004,
225         "z": "da691f27.3219f",
226         "wires": []
227     },
228     {
229         "id": "2f23e956.230a16",
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": 1107.7502746582031,
236         "y": 119.76044368743896,
237         "z": "da691f27.3219f",
238         "wires": [
239             []
240         ]
241     },
242     {
243         "id": "8843ee24.fbfd7",
244         "type": "block",
245         "name": "block : atomic",
246         "xml": "<block atomic='true'>",
247         "atomic": "true",
248         "comments": "",
249         "outputs": 1,
250         "x": 915.7501907348633,
251         "y": 153.7604410648346,
252         "z": "da691f27.3219f",
253         "wires": [
254             [
255                 "2f23e956.230a16",
256                 "456f43f0.54c41c"
257             ]
258         ]
259     },
260     {
261         "id": "9181e66e.31e328",
262         "type": "set",
263         "name": "set Temp Variables",
264         "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`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaTAList_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.snssaiList[0]`'/>\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": 1359.7503280639648,
267         "y": 359.76045751571655,
268         "z": "da691f27.3219f",
269         "wires": []
270     },
271     {
272         "id": "a2d30976.7f48e8",
273         "type": "block",
274         "name": "block : atomic",
275         "xml": "<block atomic='true'>",
276         "atomic": "true",
277         "comments": "",
278         "outputs": 1,
279         "x": 684.7500381469727,
280         "y": 725.7500190734863,
281         "z": "da691f27.3219f",
282         "wires": [
283             [
284                 "5206f412.8f596c"
285             ]
286         ]
287     },
288     {
289         "id": "16edce4c.6783d2",
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": 492.75001525878906,
296         "y": 242.75002670288086,
297         "z": "da691f27.3219f",
298         "wires": [
299             []
300         ]
301     },
302     {
303         "id": "a3c71830.4f42f8",
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": 1911.0335540771484,
310         "y": 499.76049613952637,
311         "z": "da691f27.3219f",
312         "wires": [
313             []
314         ]
315     },
316     {
317         "id": "9097e44b.ea3938",
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": 1905.0335311889648,
324         "y": 535.851318359375,
325         "z": "da691f27.3219f",
326         "wires": [
327             []
328         ]
329     },
330     {
331         "id": "555f8ecc.c976b",
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": 1312.754295349121,
338         "y": 550.753885269165,
339         "z": "da691f27.3219f",
340         "wires": [
341             []
342         ]
343     },
344     {
345         "id": "fa9e795.b435d88",
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": 766.75,
351         "y": 97.75,
352         "z": "da691f27.3219f",
353         "wires": []
354     },
355     {
356         "id": "5206f412.8f596c",
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": 869.7604866027832,
363         "y": 797.7604658603668,
364         "z": "da691f27.3219f",
365         "wires": [
366             [
367                 "919bed98.d805c",
368                 "3623bdec.476752",
369                 "50de09ef.7b3688",
370                 "45399248.42f0bc"
371             ]
372         ]
373     },
374     {
375         "id": "919bed98.d805c",
376         "type": "outcome",
377         "name": "allocate",
378         "xml": "<outcome value='allocate'>",
379         "comments": "",
380         "outputs": 1,
381         "x": 1097.760498046875,
382         "y": 671.6493492126465,
383         "z": "da691f27.3219f",
384         "wires": [
385             [
386                 "5e6fee97.b28fc"
387             ]
388         ]
389     },
390     {
391         "id": "3623bdec.476752",
392         "type": "outcome",
393         "name": "modify-allocate",
394         "xml": "<outcome value='modify-allocate'>",
395         "comments": "",
396         "outputs": 1,
397         "x": 1107.4747695922852,
398         "y": 747.1493918895721,
399         "z": "da691f27.3219f",
400         "wires": [
401             [
402                 "b9467d44.66d1d"
403             ]
404         ]
405     },
406     {
407         "id": "50de09ef.7b3688",
408         "type": "outcome",
409         "name": "modify-deallocate",
410         "xml": "<outcome value='modify-deallocate'>",
411         "comments": "",
412         "outputs": 1,
413         "x": 1114.8318710327148,
414         "y": 837.29221534729,
415         "z": "da691f27.3219f",
416         "wires": [
417             [
418                 "6c05b635.efe6c8"
419             ]
420         ]
421     },
422     {
423         "id": "45399248.42f0bc",
424         "type": "outcome",
425         "name": "reconfigure",
426         "xml": "<outcome value='reconfigure'>",
427         "comments": "",
428         "outputs": 1,
429         "x": 1086.8318710327148,
430         "y": 920.3280248641968,
431         "z": "da691f27.3219f",
432         "wires": [
433             [
434                 "cfee0651.bfde68"
435             ]
436         ]
437     },
438     {
439         "id": "5e6fee97.b28fc",
440         "type": "block",
441         "name": "block : atomic",
442         "xml": "<block atomic=\"true\">",
443         "atomic": "true",
444         "outputs": 1,
445         "x": 1310.749864578247,
446         "y": 655.750039100647,
447         "z": "da691f27.3219f",
448         "wires": [
449             [
450                 "7e8525bb.5f033c",
451                 "8f621f0d.2ed87"
452             ]
453         ]
454     },
455     {
456         "id": "b9467d44.66d1d",
457         "type": "block",
458         "name": "block : atomic",
459         "xml": "<block atomic=\"true\">",
460         "atomic": "true",
461         "outputs": 1,
462         "x": 1330.9643173217773,
463         "y": 751.2501220703125,
464         "z": "da691f27.3219f",
465         "wires": [
466             [
467                 "d27a2b0c.4e3cb8",
468                 "f7291513.43ee78"
469             ]
470         ]
471     },
472     {
473         "id": "cfee0651.bfde68",
474         "type": "block",
475         "name": "block : atomic",
476         "xml": "<block atomic=\"true\">",
477         "atomic": "true",
478         "outputs": 1,
479         "x": 1318.571418762207,
480         "y": 947.1786909103394,
481         "z": "da691f27.3219f",
482         "wires": [
483             [
484                 "8f2f7bab.04ef18",
485                 "14b85ae4.5ec4a5"
486             ]
487         ]
488     },
489     {
490         "id": "6c05b635.efe6c8",
491         "type": "block",
492         "name": "block : atomic",
493         "xml": "<block atomic=\"true\">",
494         "atomic": "true",
495         "outputs": 1,
496         "x": 1331.4999084472656,
497         "y": 849.393012046814,
498         "z": "da691f27.3219f",
499         "wires": [
500             [
501                 "d2b76ffc.1bd3e",
502                 "9228c3d5.35c2e"
503             ]
504         ]
505     },
506     {
507         "id": "7e8525bb.5f033c",
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": 1598.9998474121094,
514         "y": 644.5000152587891,
515         "z": "da691f27.3219f",
516         "wires": [
517             [
518                 "17bb380b.5f8a78"
519             ]
520         ]
521     },
522     {
523         "id": "17bb380b.5f8a78",
524         "type": "failure",
525         "name": "failure",
526         "xml": "<outcome value='failure'>\n",
527         "comments": "",
528         "outputs": 1,
529         "x": 1864.8569793701172,
530         "y": 653.071457862854,
531         "z": "da691f27.3219f",
532         "wires": [
533             [
534                 "43d16256.9ac58c"
535             ]
536         ]
537     },
538     {
539         "id": "43d16256.9ac58c",
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": 2036.8569869995117,
545         "y": 653.1786108016968,
546         "z": "da691f27.3219f",
547         "wires": []
548     },
549     {
550         "id": "d27a2b0c.4e3cb8",
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": 1623.4287719726562,
557         "y": 754.5000581741333,
558         "z": "da691f27.3219f",
559         "wires": [
560             [
561                 "e5f27ae8.cd0428"
562             ]
563         ]
564     },
565     {
566         "id": "e5f27ae8.cd0428",
567         "type": "failure",
568         "name": "failure",
569         "xml": "<outcome value='failure'>\n",
570         "comments": "",
571         "outputs": 1,
572         "x": 1884.7144050598145,
573         "y": 751.5000839233398,
574         "z": "da691f27.3219f",
575         "wires": [
576             [
577                 "bf972310.7f3af"
578             ]
579         ]
580     },
581     {
582         "id": "bf972310.7f3af",
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": 2053.285846710205,
588         "y": 751.1786289215088,
589         "z": "da691f27.3219f",
590         "wires": []
591     },
592     {
593         "id": "8f2f7bab.04ef18",
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": 1611.5713424682617,
600         "y": 946.7857494354248,
601         "z": "da691f27.3219f",
602         "wires": [
603             [
604                 "63c6f8a7.99a9c8"
605             ]
606         ]
607     },
608     {
609         "id": "63c6f8a7.99a9c8",
610         "type": "failure",
611         "name": "failure",
612         "xml": "<outcome value='failure'>\n",
613         "comments": "",
614         "outputs": 1,
615         "x": 1867.8570671081543,
616         "y": 946.7857751846313,
617         "z": "da691f27.3219f",
618         "wires": [
619             [
620                 "4c86c541.91d97c"
621             ]
622         ]
623     },
624     {
625         "id": "4c86c541.91d97c",
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": 2036.428508758545,
631         "y": 946.4643201828003,
632         "z": "da691f27.3219f",
633         "wires": []
634     },
635     {
636         "id": "d2b76ffc.1bd3e",
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": 1604.7141571044922,
643         "y": 847.7857847213745,
644         "z": "da691f27.3219f",
645         "wires": [
646             [
647                 "80e5183e.291638"
648             ]
649         ]
650     },
651     {
652         "id": "80e5183e.291638",
653         "type": "failure",
654         "name": "failure",
655         "xml": "<outcome value='failure'>\n",
656         "comments": "",
657         "outputs": 1,
658         "x": 1883.2855796813965,
659         "y": 846.3572387695312,
660         "z": "da691f27.3219f",
661         "wires": [
662             [
663                 "5e15f619.313ba8"
664             ]
665         ]
666     },
667     {
668         "id": "5e15f619.313ba8",
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": 2051.857021331787,
674         "y": 846.0357837677002,
675         "z": "da691f27.3219f",
676         "wires": []
677     },
678     {
679         "id": "f8ebb84c.3d8648",
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": 1382.7503280639648,
685         "y": 405.7500009536743,
686         "z": "da691f27.3219f",
687         "wires": []
688     },
689     {
690         "id": "f1d6beae.5f70b",
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": 345.7500228881836,
697         "y": 1041.7500104904175,
698         "z": "da691f27.3219f",
699         "wires": [
700             []
701         ]
702     },
703     {
704         "id": "8f621f0d.2ed87",
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": 1546.750015258789,
711         "y": 584.7500410079956,
712         "z": "da691f27.3219f",
713         "wires": [
714             []
715         ]
716     },
717     {
718         "id": "f7291513.43ee78",
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": 1528.7499694824219,
725         "y": 695.7500429153442,
726         "z": "da691f27.3219f",
727         "wires": [
728             []
729         ]
730     },
731     {
732         "id": "9228c3d5.35c2e",
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": 1522.7499694824219,
739         "y": 795.7500429153442,
740         "z": "da691f27.3219f",
741         "wires": [
742             []
743         ]
744     },
745     {
746         "id": "14b85ae4.5ec4a5",
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": 1522.7499694824219,
753         "y": 896.7500429153442,
754         "z": "da691f27.3219f",
755         "wires": [
756             []
757         ]
758     },
759     {
760         "id": "e2d984c8.afe3d8",
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": 961.7503509521484,
767         "y": 255.41679668426514,
768         "z": "da691f27.3219f",
769         "wires": [
770             [
771                 "42c57d6a.06eb14",
772                 "32922f25.ea7b"
773             ]
774         ]
775     },
776     {
777         "id": "42c57d6a.06eb14",
778         "type": "failure",
779         "name": "true",
780         "xml": "<outcome value='true'>\n",
781         "comments": "",
782         "outputs": 1,
783         "x": 1180.7503623962402,
784         "y": 234.41673374176025,
785         "z": "da691f27.3219f",
786         "wires": [
787             [
788                 "70cee1ea.ee005"
789             ]
790         ]
791     },
792     {
793         "id": "32922f25.ea7b",
794         "type": "failure",
795         "name": "false",
796         "xml": "<outcome value='false'>\n",
797         "comments": "",
798         "outputs": 1,
799         "x": 1139.7502746582031,
800         "y": 328.41671562194824,
801         "z": "da691f27.3219f",
802         "wires": [
803             [
804                 "b773eb8e.918fd8"
805             ]
806         ]
807     },
808     {
809         "id": "b773eb8e.918fd8",
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": 1360.7500457763672,
816         "y": 293.41671562194824,
817         "z": "da691f27.3219f",
818         "wires": [
819             [
820                 "14e9d702.caa349"
821             ]
822         ]
823     },
824     {
825         "id": "70cee1ea.ee005",
826         "type": "block",
827         "name": "block : atomic",
828         "xml": "<block atomic=\"true\">",
829         "atomic": "true",
830         "outputs": 1,
831         "x": 1615.7500457763672,
832         "y": 129.4167308807373,
833         "z": "da691f27.3219f",
834         "wires": [
835             [
836                 "e4c8ba47.06df08",
837                 "79c1f05d.80009"
838             ]
839         ]
840     },
841     {
842         "id": "e4c8ba47.06df08",
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": 1838.7500534057617,
849         "y": 88.41672992706299,
850         "z": "da691f27.3219f",
851         "wires": [
852             []
853         ]
854     },
855     {
856         "id": "14e9d702.caa349",
857         "type": "failure",
858         "name": "true",
859         "xml": "<outcome value='true'>\n",
860         "comments": "",
861         "outputs": 1,
862         "x": 1522.7500457763672,
863         "y": 215.41671323776245,
864         "z": "da691f27.3219f",
865         "wires": [
866             [
867                 "c275ee64.e7807"
868             ]
869         ]
870     },
871     {
872         "id": "c275ee64.e7807",
873         "type": "block",
874         "name": "block : atomic",
875         "xml": "<block atomic=\"true\">",
876         "atomic": "true",
877         "outputs": 1,
878         "x": 1629.750373840332,
879         "y": 330.4167175292969,
880         "z": "da691f27.3219f",
881         "wires": [
882             [
883                 "95c8d487.134458",
884                 "79c1f05d.80009"
885             ]
886         ]
887     },
888     {
889         "id": "95c8d487.134458",
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": 1686.750373840332,
896         "y": 219.4167127609253,
897         "z": "da691f27.3219f",
898         "wires": [
899             []
900         ]
901     },
902     {
903         "id": "79c1f05d.80009",
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": 1942.7503814697266,
909         "y": 241.7500457763672,
910         "z": "da691f27.3219f",
911         "wires": []
912     },
913     {
914         "id": "748c3b31.9647a4",
915         "type": "block",
916         "name": "block : atomic",
917         "xml": "<block atomic='true'>",
918         "atomic": "true",
919         "comments": "",
920         "outputs": 1,
921         "x": 362.75008392333984,
922         "y": 396.75006103515625,
923         "z": "da691f27.3219f",
924         "wires": [
925             [
926                 "bda99f9f.492b4"
927             ]
928         ]
929     },
930     {
931         "id": "bda99f9f.492b4",
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": 520.7606964111328,
938         "y": 449.7604389190674,
939         "z": "da691f27.3219f",
940         "wires": [
941             [
942                 "55d75944.0ffeb8",
943                 "29f7dca.fe73424",
944                 "f4d2ce1c.ca64a",
945                 "b23fb089.32b0d"
946             ]
947         ]
948     },
949     {
950         "id": "55d75944.0ffeb8",
951         "type": "outcome",
952         "name": "reconfigure",
953         "xml": "<outcome value='reconfigure'>",
954         "comments": "",
955         "outputs": 1,
956         "x": 737.8319129943848,
957         "y": 309.3279733657837,
958         "z": "da691f27.3219f",
959         "wires": [
960             [
961                 "712c2533.34035c"
962             ]
963         ]
964     },
965     {
966         "id": "712c2533.34035c",
967         "type": "block",
968         "name": "block : atomic",
969         "xml": "<block atomic=\"true\">",
970         "atomic": "true",
971         "outputs": 1,
972         "x": 844.571662902832,
973         "y": 415.1786584854126,
974         "z": "da691f27.3219f",
975         "wires": [
976             [
977                 "e2d984c8.afe3d8"
978             ]
979         ]
980     },
981     {
982         "id": "1f8dd277.cdeaee",
983         "type": "block",
984         "name": "block : atomic",
985         "xml": "<block atomic=\"true\">",
986         "atomic": "true",
987         "outputs": 1,
988         "x": 1033.4166793823242,
989         "y": 508.75002098083496,
990         "z": "da691f27.3219f",
991         "wires": [
992             [
993                 "9181e66e.31e328",
994                 "f8ebb84c.3d8648",
995                 "555f8ecc.c976b",
996                 "9a28fbb9.f123e8"
997             ]
998         ]
999     },
1000     {
1001         "id": "f812552d.6f1818",
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": 2332.75,
1007         "y": 249.75,
1008         "z": "da691f27.3219f",
1009         "wires": []
1010     },
1011     {
1012         "id": "29f7dca.fe73424",
1013         "type": "outcome",
1014         "name": "allocate",
1015         "xml": "<outcome value='allocate'>",
1016         "comments": "",
1017         "outputs": 1,
1018         "x": 799.4167098999023,
1019         "y": 476.0833568572998,
1020         "z": "da691f27.3219f",
1021         "wires": [
1022             [
1023                 "1f8dd277.cdeaee"
1024             ]
1025         ]
1026     },
1027     {
1028         "id": "f4d2ce1c.ca64a",
1029         "type": "outcome",
1030         "name": "modify-allocate",
1031         "xml": "<outcome value='modify-allocate'>",
1032         "comments": "",
1033         "outputs": 1,
1034         "x": 789.1310653686523,
1035         "y": 521.5833988189697,
1036         "z": "da691f27.3219f",
1037         "wires": [
1038             [
1039                 "1f8dd277.cdeaee"
1040             ]
1041         ]
1042     },
1043     {
1044         "id": "b23fb089.32b0d",
1045         "type": "outcome",
1046         "name": "modify-deallocate",
1047         "xml": "<outcome value='modify-deallocate'>",
1048         "comments": "",
1049         "outputs": 1,
1050         "x": 773.4881629943848,
1051         "y": 586.7261924743652,
1052         "z": "da691f27.3219f",
1053         "wires": [
1054             [
1055                 "1f8dd277.cdeaee"
1056             ]
1057         ]
1058     },
1059     {
1060         "id": "9a28fbb9.f123e8",
1061         "type": "switchNode",
1062         "name": "check PLMNId",
1063         "xml": "<switch test='`$tmp.payload.pLMNId`'>",
1064         "comments": "",
1065         "outputs": 1,
1066         "x": 1276.5,
1067         "y": 489.5,
1068         "z": "da691f27.3219f",
1069         "wires": [
1070             [
1071                 "cd4091b5.b0b0a",
1072                 "a9a165d2.c4f938"
1073             ]
1074         ]
1075     },
1076     {
1077         "id": "8dd6994b.f5b608",
1078         "type": "block",
1079         "name": "block : atomic",
1080         "xml": "<block atomic=\"true\">",
1081         "atomic": "true",
1082         "outputs": 1,
1083         "x": 1650.250114440918,
1084         "y": 470.5000066757202,
1085         "z": "da691f27.3219f",
1086         "wires": [
1087             [
1088                 "f4c86a5d.3a9cb8",
1089                 "2359e549.badf4a"
1090             ]
1091         ]
1092     },
1093     {
1094         "id": "cd4091b5.b0b0a",
1095         "type": "outcome",
1096         "name": "not null",
1097         "xml": "<outcome value=''>",
1098         "comments": "",
1099         "outputs": 1,
1100         "x": 1471.25,
1101         "y": 479.5,
1102         "z": "da691f27.3219f",
1103         "wires": [
1104             [
1105                 "73fed02e.ca2d5"
1106             ]
1107         ]
1108     },
1109     {
1110         "id": "a9a165d2.c4f938",
1111         "type": "other",
1112         "name": "other",
1113         "xml": "<outcome value='Other'>\n",
1114         "comments": "",
1115         "outputs": 1,
1116         "x": 1465,
1117         "y": 529.5,
1118         "z": "da691f27.3219f",
1119         "wires": [
1120             [
1121                 "8dd6994b.f5b608"
1122             ]
1123         ]
1124     },
1125     {
1126         "id": "73fed02e.ca2d5",
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": 1604,
1133         "y": 414.5,
1134         "z": "da691f27.3219f",
1135         "wires": [
1136             []
1137         ]
1138     },
1139     {
1140         "id": "f4c86a5d.3a9cb8",
1141         "type": "execute",
1142         "name": "split pLMNId",
1143         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n    <parameter name=\"original_string\" value=\"`$tmp.payload.pLMNId`\" />\n    <parameter name=\"regex\" value=\"-\"/>\n    <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
1144         "comments": "",
1145         "outputs": 1,
1146         "x": 1911.5226135253906,
1147         "y": 353.0123100280762,
1148         "z": "da691f27.3219f",
1149         "wires": [
1150             []
1151         ]
1152     },
1153     {
1154         "id": "2359e549.badf4a",
1155         "type": "set",
1156         "name": "set mcc & mnc Variables",
1157         "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
1158         "comments": "",
1159         "x": 1941.9772033691406,
1160         "y": 400.0577507019043,
1161         "z": "da691f27.3219f",
1162         "wires": []
1163     }
1164 ]