b93f483da55c50f8ed16ef0147168011c9dce416
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSlice.json
1 [
2     {
3         "id": "a42289ba.f91ed8",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 734.375,
10         "y": 230.9375,
11         "z": "902b25ae.7c3098",
12         "wires": [
13             [
14                 "1046083a.925388"
15             ]
16         ]
17     },
18     {
19         "id": "b74501c3.c1b28",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 737.375,
24         "y": 80.93749618530273,
25         "z": "902b25ae.7c3098",
26         "wires": [
27             [
28                 "bbd24351.afb32"
29             ]
30         ]
31     },
32     {
33         "id": "bbd24351.afb32",
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": 795.3749847412109,
42         "y": 141.93759155273438,
43         "z": "902b25ae.7c3098",
44         "wires": [
45             [
46                 "a42289ba.f91ed8"
47             ]
48         ]
49     },
50     {
51         "id": "1046083a.925388",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 743.8645973205566,
59         "y": 395.9375410079956,
60         "z": "902b25ae.7c3098",
61         "wires": [
62             [
63                 "3954f1bc.d5ae1e",
64                 "a9256fac.7a667",
65                 "1c74dac0.89ed85",
66                 "e8aa052e.4a08a8",
67                 "3ebac649.d77a3a",
68                 "764bab41.3fba94",
69                 "53ac0b9a.a04824",
70                 "9da0386c.caad58",
71                 "1020a2c3.72f18d"
72             ]
73         ]
74     },
75     {
76         "id": "9da0386c.caad58",
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": 1003.8645858764648,
82         "y": 941.9379072189331,
83         "z": "902b25ae.7c3098",
84         "wires": []
85     },
86     {
87         "id": "7af33bee.afa794",
88         "type": "comment",
89         "name": "instantiateRANSlice",
90         "info": "",
91         "comments": "",
92         "x": 1019.375,
93         "y": 73.94791030883789,
94         "z": "902b25ae.7c3098",
95         "wires": []
96     },
97     {
98         "id": "3954f1bc.d5ae1e",
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": 1077.3753356933594,
105         "y": 124.95837020874023,
106         "z": "902b25ae.7c3098",
107         "wires": [
108             []
109         ]
110     },
111     {
112         "id": "1c74dac0.89ed85",
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": 1126.3750915527344,
119         "y": 213.95833778381348,
120         "z": "902b25ae.7c3098",
121         "wires": [
122             [
123                 "8d28b750.83f4c8"
124             ]
125         ]
126     },
127     {
128         "id": "8d28b750.83f4c8",
129         "type": "other",
130         "name": "success",
131         "xml": "<outcome value='success'>\n",
132         "comments": "",
133         "outputs": 1,
134         "x": 1354.3751029968262,
135         "y": 193.95835304260254,
136         "z": "902b25ae.7c3098",
137         "wires": [
138             [
139                 "4c1bf053.4c578"
140             ]
141         ]
142     },
143     {
144         "id": "f29bd4c7.9d4768",
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": 1697.3752765655518,
151         "y": 200.95838165283203,
152         "z": "902b25ae.7c3098",
153         "wires": [
154             []
155         ]
156     },
157     {
158         "id": "e8aa052e.4a08a8",
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": 1108.3750534057617,
165         "y": 298.95829486846924,
166         "z": "902b25ae.7c3098",
167         "wires": [
168             []
169         ]
170     },
171     {
172         "id": "3ebac649.d77a3a",
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": 1087.3750953674316,
179         "y": 347.9583377838135,
180         "z": "902b25ae.7c3098",
181         "wires": [
182             []
183         ]
184     },
185     {
186         "id": "764bab41.3fba94",
187         "type": "switchNode",
188         "name": "switch configdb deployed",
189         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
190         "comments": "",
191         "outputs": 1,
192         "x": 1077.3750839233398,
193         "y": 638.8471822738647,
194         "z": "902b25ae.7c3098",
195         "wires": [
196             [
197                 "97f3e84.1370918"
198             ]
199         ]
200     },
201     {
202         "id": "97f3e84.1370918",
203         "type": "outcome",
204         "name": "Deployed",
205         "xml": "<outcome value='true'>\n",
206         "comments": "",
207         "outputs": 1,
208         "x": 1149.3751487731934,
209         "y": 835.8472061157227,
210         "z": "902b25ae.7c3098",
211         "wires": [
212             [
213                 "c01f23a6.dc70c"
214             ]
215         ]
216     },
217     {
218         "id": "a9256fac.7a667",
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": 1126.3750915527344,
224         "y": 172.95838737487793,
225         "z": "902b25ae.7c3098",
226         "wires": []
227     },
228     {
229         "id": "cc7294d8.84b948",
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": 1715.3752746582031,
236         "y": 134.95835399627686,
237         "z": "902b25ae.7c3098",
238         "wires": [
239             []
240         ]
241     },
242     {
243         "id": "4c1bf053.4c578",
244         "type": "block",
245         "name": "block : atomic",
246         "xml": "<block atomic='true'>",
247         "atomic": "true",
248         "comments": "",
249         "outputs": 1,
250         "x": 1523.3751907348633,
251         "y": 168.95835137367249,
252         "z": "902b25ae.7c3098",
253         "wires": [
254             [
255                 "cc7294d8.84b948",
256                 "f29bd4c7.9d4768"
257             ]
258         ]
259     },
260     {
261         "id": "5f4a9dbe.e82784",
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": 1967.3753280639648,
267         "y": 374.95836782455444,
268         "z": "902b25ae.7c3098",
269         "wires": []
270     },
271     {
272         "id": "c01f23a6.dc70c",
273         "type": "block",
274         "name": "block : atomic",
275         "xml": "<block atomic='true'>",
276         "atomic": "true",
277         "comments": "",
278         "outputs": 1,
279         "x": 1292.3750381469727,
280         "y": 740.9479293823242,
281         "z": "902b25ae.7c3098",
282         "wires": [
283             [
284                 "bb5455ce.e3dd28"
285             ]
286         ]
287     },
288     {
289         "id": "53ac0b9a.a04824",
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": 1100.375015258789,
296         "y": 257.94793701171875,
297         "z": "902b25ae.7c3098",
298         "wires": [
299             []
300         ]
301     },
302     {
303         "id": "62dc21e3.7ba4",
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": 2011.3857421875,
310         "y": 468.95837020874023,
311         "z": "902b25ae.7c3098",
312         "wires": [
313             []
314         ]
315     },
316     {
317         "id": "3760fa0c.ea30a6",
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": 2017.3857955932617,
324         "y": 511.95833110809326,
325         "z": "902b25ae.7c3098",
326         "wires": [
327             []
328         ]
329     },
330     {
331         "id": "a38369ec.dbae38",
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": 1920.379295349121,
338         "y": 565.9517955780029,
339         "z": "902b25ae.7c3098",
340         "wires": [
341             []
342         ]
343     },
344     {
345         "id": "ff988ad6.f70e48",
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": 1374.375,
351         "y": 112.94791030883789,
352         "z": "902b25ae.7c3098",
353         "wires": []
354     },
355     {
356         "id": "bb5455ce.e3dd28",
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": 1477.3854866027832,
363         "y": 812.9583761692047,
364         "z": "902b25ae.7c3098",
365         "wires": [
366             [
367                 "7cd86870.ac51d8",
368                 "a0cb91cf.e7199",
369                 "4da876a.2e36888",
370                 "6d94c593.9d6dac"
371             ]
372         ]
373     },
374     {
375         "id": "7cd86870.ac51d8",
376         "type": "outcome",
377         "name": "allocate",
378         "xml": "<outcome value='allocate'>",
379         "comments": "",
380         "outputs": 1,
381         "x": 1705.385498046875,
382         "y": 686.8472595214844,
383         "z": "902b25ae.7c3098",
384         "wires": [
385             [
386                 "7b2f6de.f14e394"
387             ]
388         ]
389     },
390     {
391         "id": "a0cb91cf.e7199",
392         "type": "outcome",
393         "name": "modify-allocate",
394         "xml": "<outcome value='modify-allocate'>",
395         "comments": "",
396         "outputs": 1,
397         "x": 1715.0997695922852,
398         "y": 762.34730219841,
399         "z": "902b25ae.7c3098",
400         "wires": [
401             [
402                 "799f4e27.f8f1a"
403             ]
404         ]
405     },
406     {
407         "id": "4da876a.2e36888",
408         "type": "outcome",
409         "name": "modify-deallocate",
410         "xml": "<outcome value='modify-deallocate'>",
411         "comments": "",
412         "outputs": 1,
413         "x": 1722.4568710327148,
414         "y": 852.4901256561279,
415         "z": "902b25ae.7c3098",
416         "wires": [
417             [
418                 "1786651.48d4b9b"
419             ]
420         ]
421     },
422     {
423         "id": "6d94c593.9d6dac",
424         "type": "outcome",
425         "name": "reconfigure",
426         "xml": "<outcome value='reconfigure'>",
427         "comments": "",
428         "outputs": 1,
429         "x": 1694.4568710327148,
430         "y": 935.5259351730347,
431         "z": "902b25ae.7c3098",
432         "wires": [
433             [
434                 "50c21a5e.8e7934"
435             ]
436         ]
437     },
438     {
439         "id": "7b2f6de.f14e394",
440         "type": "block",
441         "name": "block : atomic",
442         "xml": "<block atomic=\"true\">",
443         "atomic": "true",
444         "outputs": 1,
445         "x": 1918.374864578247,
446         "y": 670.9479494094849,
447         "z": "902b25ae.7c3098",
448         "wires": [
449             [
450                 "df2d571d.4eda38",
451                 "fef64c42.832fa"
452             ]
453         ]
454     },
455     {
456         "id": "799f4e27.f8f1a",
457         "type": "block",
458         "name": "block : atomic",
459         "xml": "<block atomic=\"true\">",
460         "atomic": "true",
461         "outputs": 1,
462         "x": 1938.5893173217773,
463         "y": 766.4480323791504,
464         "z": "902b25ae.7c3098",
465         "wires": [
466             [
467                 "2a4c84b3.b9568c",
468                 "b106e3dd.cbf93"
469             ]
470         ]
471     },
472     {
473         "id": "50c21a5e.8e7934",
474         "type": "block",
475         "name": "block : atomic",
476         "xml": "<block atomic=\"true\">",
477         "atomic": "true",
478         "outputs": 1,
479         "x": 1926.196418762207,
480         "y": 962.3766012191772,
481         "z": "902b25ae.7c3098",
482         "wires": [
483             [
484                 "a52ee994.bf73c8",
485                 "21feb381.e5eadc"
486             ]
487         ]
488     },
489     {
490         "id": "1786651.48d4b9b",
491         "type": "block",
492         "name": "block : atomic",
493         "xml": "<block atomic=\"true\">",
494         "atomic": "true",
495         "outputs": 1,
496         "x": 1939.1249084472656,
497         "y": 864.5909223556519,
498         "z": "902b25ae.7c3098",
499         "wires": [
500             [
501                 "86386bfc.aabcf8",
502                 "507bd43f.c63d0c"
503             ]
504         ]
505     },
506     {
507         "id": "df2d571d.4eda38",
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": 2206.6248474121094,
514         "y": 659.697925567627,
515         "z": "902b25ae.7c3098",
516         "wires": [
517             [
518                 "295d45ee.e6da2a"
519             ]
520         ]
521     },
522     {
523         "id": "295d45ee.e6da2a",
524         "type": "failure",
525         "name": "failure",
526         "xml": "<outcome value='failure'>\n",
527         "comments": "",
528         "outputs": 1,
529         "x": 2472.481979370117,
530         "y": 668.2693681716919,
531         "z": "902b25ae.7c3098",
532         "wires": [
533             [
534                 "5a602958.c62108"
535             ]
536         ]
537     },
538     {
539         "id": "5a602958.c62108",
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": 2644.4819869995117,
545         "y": 668.3765211105347,
546         "z": "902b25ae.7c3098",
547         "wires": []
548     },
549     {
550         "id": "2a4c84b3.b9568c",
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": 2231.0537719726562,
557         "y": 769.6979684829712,
558         "z": "902b25ae.7c3098",
559         "wires": [
560             [
561                 "899ea9f3.dad958"
562             ]
563         ]
564     },
565     {
566         "id": "899ea9f3.dad958",
567         "type": "failure",
568         "name": "failure",
569         "xml": "<outcome value='failure'>\n",
570         "comments": "",
571         "outputs": 1,
572         "x": 2492.3394050598145,
573         "y": 766.6979942321777,
574         "z": "902b25ae.7c3098",
575         "wires": [
576             [
577                 "e682268a.ba31d8"
578             ]
579         ]
580     },
581     {
582         "id": "e682268a.ba31d8",
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": 2660.910846710205,
588         "y": 766.3765392303467,
589         "z": "902b25ae.7c3098",
590         "wires": []
591     },
592     {
593         "id": "a52ee994.bf73c8",
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": 2219.1963424682617,
600         "y": 961.9836597442627,
601         "z": "902b25ae.7c3098",
602         "wires": [
603             [
604                 "381c40f8.293fe"
605             ]
606         ]
607     },
608     {
609         "id": "381c40f8.293fe",
610         "type": "failure",
611         "name": "failure",
612         "xml": "<outcome value='failure'>\n",
613         "comments": "",
614         "outputs": 1,
615         "x": 2475.4820671081543,
616         "y": 961.9836854934692,
617         "z": "902b25ae.7c3098",
618         "wires": [
619             [
620                 "403c6dba.dcd824"
621             ]
622         ]
623     },
624     {
625         "id": "403c6dba.dcd824",
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": 2644.053508758545,
631         "y": 961.6622304916382,
632         "z": "902b25ae.7c3098",
633         "wires": []
634     },
635     {
636         "id": "86386bfc.aabcf8",
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": 2212.339157104492,
643         "y": 862.9836950302124,
644         "z": "902b25ae.7c3098",
645         "wires": [
646             [
647                 "6b54182.5b947e8"
648             ]
649         ]
650     },
651     {
652         "id": "6b54182.5b947e8",
653         "type": "failure",
654         "name": "failure",
655         "xml": "<outcome value='failure'>\n",
656         "comments": "",
657         "outputs": 1,
658         "x": 2490.9105796813965,
659         "y": 861.5551490783691,
660         "z": "902b25ae.7c3098",
661         "wires": [
662             [
663                 "e63c12cd.7cb5d"
664             ]
665         ]
666     },
667     {
668         "id": "e63c12cd.7cb5d",
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": 2659.482021331787,
674         "y": 861.2336940765381,
675         "z": "902b25ae.7c3098",
676         "wires": []
677     },
678     {
679         "id": "7ef9313d.612ae",
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": 1990.3753280639648,
685         "y": 420.9479112625122,
686         "z": "902b25ae.7c3098",
687         "wires": []
688     },
689     {
690         "id": "a14e0073.7591f",
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": 953.3750228881836,
697         "y": 1056.9479207992554,
698         "z": "902b25ae.7c3098",
699         "wires": [
700             []
701         ]
702     },
703     {
704         "id": "fef64c42.832fa",
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": 2154.375015258789,
711         "y": 599.9479513168335,
712         "z": "902b25ae.7c3098",
713         "wires": [
714             []
715         ]
716     },
717     {
718         "id": "b106e3dd.cbf93",
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": 2136.374969482422,
725         "y": 710.9479532241821,
726         "z": "902b25ae.7c3098",
727         "wires": [
728             []
729         ]
730     },
731     {
732         "id": "507bd43f.c63d0c",
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": 2130.374969482422,
739         "y": 810.9479532241821,
740         "z": "902b25ae.7c3098",
741         "wires": [
742             []
743         ]
744     },
745     {
746         "id": "21feb381.e5eadc",
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": 2130.374969482422,
753         "y": 911.9479532241821,
754         "z": "902b25ae.7c3098",
755         "wires": [
756             []
757         ]
758     },
759     {
760         "id": "3543fc8a.5803f4",
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": 1569.3753509521484,
767         "y": 270.614706993103,
768         "z": "902b25ae.7c3098",
769         "wires": [
770             [
771                 "84c8fb21.66b3f8",
772                 "d9638ed1.f83fa"
773             ]
774         ]
775     },
776     {
777         "id": "84c8fb21.66b3f8",
778         "type": "failure",
779         "name": "true",
780         "xml": "<outcome value='true'>\n",
781         "comments": "",
782         "outputs": 1,
783         "x": 1788.3753623962402,
784         "y": 249.61464405059814,
785         "z": "902b25ae.7c3098",
786         "wires": [
787             [
788                 "7fc3106b.37318"
789             ]
790         ]
791     },
792     {
793         "id": "d9638ed1.f83fa",
794         "type": "failure",
795         "name": "false",
796         "xml": "<outcome value='false'>\n",
797         "comments": "",
798         "outputs": 1,
799         "x": 1747.3752746582031,
800         "y": 343.61462593078613,
801         "z": "902b25ae.7c3098",
802         "wires": [
803             [
804                 "93fbc19d.0d395"
805             ]
806         ]
807     },
808     {
809         "id": "93fbc19d.0d395",
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": 1968.3750457763672,
816         "y": 308.61462593078613,
817         "z": "902b25ae.7c3098",
818         "wires": [
819             [
820                 "1e731d50.90a003"
821             ]
822         ]
823     },
824     {
825         "id": "7fc3106b.37318",
826         "type": "block",
827         "name": "block : atomic",
828         "xml": "<block atomic=\"true\">",
829         "atomic": "true",
830         "outputs": 1,
831         "x": 2223.375045776367,
832         "y": 144.6146411895752,
833         "z": "902b25ae.7c3098",
834         "wires": [
835             [
836                 "c667d854.f89768",
837                 "bc4e0a69.150ea8"
838             ]
839         ]
840     },
841     {
842         "id": "c667d854.f89768",
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": 2446.3750534057617,
849         "y": 103.61464023590088,
850         "z": "902b25ae.7c3098",
851         "wires": [
852             []
853         ]
854     },
855     {
856         "id": "1e731d50.90a003",
857         "type": "failure",
858         "name": "true",
859         "xml": "<outcome value='true'>\n",
860         "comments": "",
861         "outputs": 1,
862         "x": 2130.375045776367,
863         "y": 230.61462354660034,
864         "z": "902b25ae.7c3098",
865         "wires": [
866             [
867                 "4509f93a.f59658"
868             ]
869         ]
870     },
871     {
872         "id": "4509f93a.f59658",
873         "type": "block",
874         "name": "block : atomic",
875         "xml": "<block atomic=\"true\">",
876         "atomic": "true",
877         "outputs": 1,
878         "x": 2237.375373840332,
879         "y": 345.61462783813477,
880         "z": "902b25ae.7c3098",
881         "wires": [
882             [
883                 "cd2f192c.de72c8",
884                 "bc4e0a69.150ea8"
885             ]
886         ]
887     },
888     {
889         "id": "cd2f192c.de72c8",
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": 2294.375373840332,
896         "y": 234.61462306976318,
897         "z": "902b25ae.7c3098",
898         "wires": [
899             []
900         ]
901     },
902     {
903         "id": "bc4e0a69.150ea8",
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": 2550.3753814697266,
909         "y": 256.9479560852051,
910         "z": "902b25ae.7c3098",
911         "wires": []
912     },
913     {
914         "id": "1020a2c3.72f18d",
915         "type": "block",
916         "name": "block : atomic",
917         "xml": "<block atomic='true'>",
918         "atomic": "true",
919         "comments": "",
920         "outputs": 1,
921         "x": 970.3750839233398,
922         "y": 411.94797134399414,
923         "z": "902b25ae.7c3098",
924         "wires": [
925             [
926                 "4be22bcf.cdc874"
927             ]
928         ]
929     },
930     {
931         "id": "4be22bcf.cdc874",
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": 1128.3856964111328,
938         "y": 464.9583492279053,
939         "z": "902b25ae.7c3098",
940         "wires": [
941             [
942                 "79830245.09ca6c",
943                 "2193584b.8e2978",
944                 "68bf8236.225b6c",
945                 "f65ea17e.ee607"
946             ]
947         ]
948     },
949     {
950         "id": "79830245.09ca6c",
951         "type": "outcome",
952         "name": "reconfigure",
953         "xml": "<outcome value='reconfigure'>",
954         "comments": "",
955         "outputs": 1,
956         "x": 1345.4569129943848,
957         "y": 324.5258836746216,
958         "z": "902b25ae.7c3098",
959         "wires": [
960             [
961                 "1e914a5a.c264a6"
962             ]
963         ]
964     },
965     {
966         "id": "1e914a5a.c264a6",
967         "type": "block",
968         "name": "block : atomic",
969         "xml": "<block atomic=\"true\">",
970         "atomic": "true",
971         "outputs": 1,
972         "x": 1452.196662902832,
973         "y": 430.3765687942505,
974         "z": "902b25ae.7c3098",
975         "wires": [
976             [
977                 "3543fc8a.5803f4"
978             ]
979         ]
980     },
981     {
982         "id": "572dea61.27f5f4",
983         "type": "block",
984         "name": "block : atomic",
985         "xml": "<block atomic=\"true\">",
986         "atomic": "true",
987         "outputs": 1,
988         "x": 1641.0416793823242,
989         "y": 523.9479312896729,
990         "z": "902b25ae.7c3098",
991         "wires": [
992             [
993                 "5f4a9dbe.e82784",
994                 "7ef9313d.612ae",
995                 "62dc21e3.7ba4",
996                 "3760fa0c.ea30a6",
997                 "a38369ec.dbae38"
998             ]
999         ]
1000     },
1001     {
1002         "id": "53e96e35.57ec1",
1003         "type": "set",
1004         "name": "Original set Temp Variables",
1005         "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]`'/>",
1006         "comments": "",
1007         "x": 2940.375,
1008         "y": 264.9479103088379,
1009         "z": "902b25ae.7c3098",
1010         "wires": []
1011     },
1012     {
1013         "id": "2193584b.8e2978",
1014         "type": "outcome",
1015         "name": "allocate",
1016         "xml": "<outcome value='allocate'>",
1017         "comments": "",
1018         "outputs": 1,
1019         "x": 1407.0417098999023,
1020         "y": 491.2812671661377,
1021         "z": "902b25ae.7c3098",
1022         "wires": [
1023             [
1024                 "572dea61.27f5f4"
1025             ]
1026         ]
1027     },
1028     {
1029         "id": "68bf8236.225b6c",
1030         "type": "outcome",
1031         "name": "modify-allocate",
1032         "xml": "<outcome value='modify-allocate'>",
1033         "comments": "",
1034         "outputs": 1,
1035         "x": 1396.7560653686523,
1036         "y": 536.7813091278076,
1037         "z": "902b25ae.7c3098",
1038         "wires": [
1039             [
1040                 "572dea61.27f5f4"
1041             ]
1042         ]
1043     },
1044     {
1045         "id": "f65ea17e.ee607",
1046         "type": "outcome",
1047         "name": "modify-deallocate",
1048         "xml": "<outcome value='modify-deallocate'>",
1049         "comments": "",
1050         "outputs": 1,
1051         "x": 1381.1131629943848,
1052         "y": 601.9241027832031,
1053         "z": "902b25ae.7c3098",
1054         "wires": [
1055             [
1056                 "572dea61.27f5f4"
1057             ]
1058         ]
1059     }
1060 ]