f1e5f1e4e269aab06fcb605ef7bbbe04259defc4
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSlice.json
1 [
2     {
3         "id": "de9c4bb9.dd1918",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 159,
10         "y": 201.9895896911621,
11         "z": "e88d8790.e40a88",
12         "wires": [
13             [
14                 "93874454.9246c8"
15             ]
16         ]
17     },
18     {
19         "id": "9fa80d53.d40c7",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 162,
24         "y": 51.989585876464844,
25         "z": "e88d8790.e40a88",
26         "wires": [
27             [
28                 "263df2ce.eceb3e"
29             ]
30         ]
31     },
32     {
33         "id": "263df2ce.eceb3e",
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": 219.99998474121094,
42         "y": 112.98968124389648,
43         "z": "e88d8790.e40a88",
44         "wires": [
45             [
46                 "de9c4bb9.dd1918"
47             ]
48         ]
49     },
50     {
51         "id": "93874454.9246c8",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 168.48959732055664,
59         "y": 366.9896306991577,
60         "z": "e88d8790.e40a88",
61         "wires": [
62             [
63                 "b00f872c.0512c8",
64                 "b71c824f.49493",
65                 "78f37f23.e25c4",
66                 "3587eb4d.c8c884",
67                 "93a9509f.81d6e",
68                 "c12192ce.5dd2c",
69                 "9ac10eb.edc0ff",
70                 "7c842f93.0103b",
71                 "354a772d.176308"
72             ]
73         ]
74     },
75     {
76         "id": "7c842f93.0103b",
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": 428.48958587646484,
82         "y": 912.9899969100952,
83         "z": "e88d8790.e40a88",
84         "wires": []
85     },
86     {
87         "id": "59512b6d.4b1d34",
88         "type": "comment",
89         "name": "instantiateRANSlice",
90         "info": "",
91         "comments": "",
92         "x": 444,
93         "y": 45,
94         "z": "e88d8790.e40a88",
95         "wires": []
96     },
97     {
98         "id": "b00f872c.0512c8",
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": 502.0003356933594,
105         "y": 96.01045989990234,
106         "z": "e88d8790.e40a88",
107         "wires": [
108             []
109         ]
110     },
111     {
112         "id": "78f37f23.e25c4",
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": 551.0000915527344,
119         "y": 185.0104274749756,
120         "z": "e88d8790.e40a88",
121         "wires": [
122             [
123                 "7a5c9f65.c5a97"
124             ]
125         ]
126     },
127     {
128         "id": "7a5c9f65.c5a97",
129         "type": "other",
130         "name": "success",
131         "xml": "<outcome value='success'>\n",
132         "comments": "",
133         "outputs": 1,
134         "x": 779.0001029968262,
135         "y": 165.01044273376465,
136         "z": "e88d8790.e40a88",
137         "wires": [
138             [
139                 "5de17583.f3b77c"
140             ]
141         ]
142     },
143     {
144         "id": "e9a415d6.2e4598",
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": 1122.0002765655518,
151         "y": 172.01047134399414,
152         "z": "e88d8790.e40a88",
153         "wires": [
154             []
155         ]
156     },
157     {
158         "id": "3587eb4d.c8c884",
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": 533.0000534057617,
165         "y": 270.01038455963135,
166         "z": "e88d8790.e40a88",
167         "wires": [
168             []
169         ]
170     },
171     {
172         "id": "93a9509f.81d6e",
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": 512.0000953674316,
179         "y": 319.0104274749756,
180         "z": "e88d8790.e40a88",
181         "wires": [
182             []
183         ]
184     },
185     {
186         "id": "c12192ce.5dd2c",
187         "type": "switchNode",
188         "name": "switch configdb deployed",
189         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
190         "comments": "",
191         "outputs": 1,
192         "x": 502.00008392333984,
193         "y": 609.8992719650269,
194         "z": "e88d8790.e40a88",
195         "wires": [
196             [
197                 "51bd6a07.1944d4"
198             ]
199         ]
200     },
201     {
202         "id": "51bd6a07.1944d4",
203         "type": "outcome",
204         "name": "Deployed",
205         "xml": "<outcome value='true'>\n",
206         "comments": "",
207         "outputs": 1,
208         "x": 574.0001487731934,
209         "y": 806.8992958068848,
210         "z": "e88d8790.e40a88",
211         "wires": [
212             [
213                 "2812fa43.45bf06"
214             ]
215         ]
216     },
217     {
218         "id": "b71c824f.49493",
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": 551.0000915527344,
224         "y": 144.01047706604004,
225         "z": "e88d8790.e40a88",
226         "wires": []
227     },
228     {
229         "id": "2b55759c.be87da",
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": 1140.0002746582031,
236         "y": 106.01044368743896,
237         "z": "e88d8790.e40a88",
238         "wires": [
239             []
240         ]
241     },
242     {
243         "id": "5de17583.f3b77c",
244         "type": "block",
245         "name": "block : atomic",
246         "xml": "<block atomic='true'>",
247         "atomic": "true",
248         "comments": "",
249         "outputs": 1,
250         "x": 948.0001907348633,
251         "y": 140.0104410648346,
252         "z": "e88d8790.e40a88",
253         "wires": [
254             [
255                 "2b55759c.be87da",
256                 "e9a415d6.2e4598"
257             ]
258         ]
259     },
260     {
261         "id": "54c56245.8decbc",
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": 1392.0003280639648,
267         "y": 346.01045751571655,
268         "z": "e88d8790.e40a88",
269         "wires": []
270     },
271     {
272         "id": "2812fa43.45bf06",
273         "type": "block",
274         "name": "block : atomic",
275         "xml": "<block atomic='true'>",
276         "atomic": "true",
277         "comments": "",
278         "outputs": 1,
279         "x": 717.0000381469727,
280         "y": 712.0000190734863,
281         "z": "e88d8790.e40a88",
282         "wires": [
283             [
284                 "3161655c.54a3ea"
285             ]
286         ]
287     },
288     {
289         "id": "9ac10eb.edc0ff",
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": 525.0000152587891,
296         "y": 229.00002670288086,
297         "z": "e88d8790.e40a88",
298         "wires": [
299             []
300         ]
301     },
302     {
303         "id": "63e33a85.579ea4",
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": 1436.0107421875,
310         "y": 440.01045989990234,
311         "z": "e88d8790.e40a88",
312         "wires": [
313             []
314         ]
315     },
316     {
317         "id": "73a45a34.62e664",
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": 1442.0107955932617,
324         "y": 483.01042079925537,
325         "z": "e88d8790.e40a88",
326         "wires": [
327             []
328         ]
329     },
330     {
331         "id": "38840452.4e55ac",
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": 1345.004295349121,
338         "y": 537.003885269165,
339         "z": "e88d8790.e40a88",
340         "wires": [
341             []
342         ]
343     },
344     {
345         "id": "a4262dde.68861",
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": 799,
351         "y": 84,
352         "z": "e88d8790.e40a88",
353         "wires": []
354     },
355     {
356         "id": "3161655c.54a3ea",
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": 902.0104866027832,
363         "y": 784.0104658603668,
364         "z": "e88d8790.e40a88",
365         "wires": [
366             [
367                 "d891309b.d3d43",
368                 "aa743487.5db6d8",
369                 "904ecdc5.c7923",
370                 "384b4605.aaf9aa"
371             ]
372         ]
373     },
374     {
375         "id": "d891309b.d3d43",
376         "type": "outcome",
377         "name": "allocate",
378         "xml": "<outcome value='allocate'>",
379         "comments": "",
380         "outputs": 1,
381         "x": 1130.010498046875,
382         "y": 657.8993492126465,
383         "z": "e88d8790.e40a88",
384         "wires": [
385             [
386                 "f8cbd6a1.a346f8"
387             ]
388         ]
389     },
390     {
391         "id": "aa743487.5db6d8",
392         "type": "outcome",
393         "name": "modify-allocate",
394         "xml": "<outcome value='modify-allocate'>",
395         "comments": "",
396         "outputs": 1,
397         "x": 1139.7247695922852,
398         "y": 733.3993918895721,
399         "z": "e88d8790.e40a88",
400         "wires": [
401             [
402                 "283e57d2.550fb8"
403             ]
404         ]
405     },
406     {
407         "id": "904ecdc5.c7923",
408         "type": "outcome",
409         "name": "modify-deallocate",
410         "xml": "<outcome value='modify-deallocate'>",
411         "comments": "",
412         "outputs": 1,
413         "x": 1147.0818710327148,
414         "y": 823.54221534729,
415         "z": "e88d8790.e40a88",
416         "wires": [
417             [
418                 "9c517b53.732668"
419             ]
420         ]
421     },
422     {
423         "id": "384b4605.aaf9aa",
424         "type": "outcome",
425         "name": "reconfigure",
426         "xml": "<outcome value='reconfigure'>",
427         "comments": "",
428         "outputs": 1,
429         "x": 1119.0818710327148,
430         "y": 906.5780248641968,
431         "z": "e88d8790.e40a88",
432         "wires": [
433             [
434                 "1de88d9b.1ce0a2"
435             ]
436         ]
437     },
438     {
439         "id": "f8cbd6a1.a346f8",
440         "type": "block",
441         "name": "block : atomic",
442         "xml": "<block atomic=\"true\">",
443         "atomic": "true",
444         "outputs": 1,
445         "x": 1342.999864578247,
446         "y": 642.000039100647,
447         "z": "e88d8790.e40a88",
448         "wires": [
449             [
450                 "c5920a88.91e768",
451                 "d5b69581.ede008"
452             ]
453         ]
454     },
455     {
456         "id": "283e57d2.550fb8",
457         "type": "block",
458         "name": "block : atomic",
459         "xml": "<block atomic=\"true\">",
460         "atomic": "true",
461         "outputs": 1,
462         "x": 1363.2143173217773,
463         "y": 737.5001220703125,
464         "z": "e88d8790.e40a88",
465         "wires": [
466             [
467                 "d3332650.34bd78",
468                 "d481d921.e66a28"
469             ]
470         ]
471     },
472     {
473         "id": "1de88d9b.1ce0a2",
474         "type": "block",
475         "name": "block : atomic",
476         "xml": "<block atomic=\"true\">",
477         "atomic": "true",
478         "outputs": 1,
479         "x": 1350.821418762207,
480         "y": 933.4286909103394,
481         "z": "e88d8790.e40a88",
482         "wires": [
483             [
484                 "f9f72ad.82208d8",
485                 "affb1530.9fc0e8"
486             ]
487         ]
488     },
489     {
490         "id": "9c517b53.732668",
491         "type": "block",
492         "name": "block : atomic",
493         "xml": "<block atomic=\"true\">",
494         "atomic": "true",
495         "outputs": 1,
496         "x": 1363.7499084472656,
497         "y": 835.643012046814,
498         "z": "e88d8790.e40a88",
499         "wires": [
500             [
501                 "eac47c65.f6e12",
502                 "e35d09c4.f12e88"
503             ]
504         ]
505     },
506     {
507         "id": "c5920a88.91e768",
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": 1631.2498474121094,
514         "y": 630.7500152587891,
515         "z": "e88d8790.e40a88",
516         "wires": [
517             [
518                 "a1b199f1.43d858"
519             ]
520         ]
521     },
522     {
523         "id": "a1b199f1.43d858",
524         "type": "failure",
525         "name": "failure",
526         "xml": "<outcome value='failure'>\n",
527         "comments": "",
528         "outputs": 1,
529         "x": 1897.1069793701172,
530         "y": 639.321457862854,
531         "z": "e88d8790.e40a88",
532         "wires": [
533             [
534                 "5a813a7d.eab534"
535             ]
536         ]
537     },
538     {
539         "id": "5a813a7d.eab534",
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": 2069.1069869995117,
545         "y": 639.4286108016968,
546         "z": "e88d8790.e40a88",
547         "wires": []
548     },
549     {
550         "id": "d3332650.34bd78",
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": 1655.6787719726562,
557         "y": 740.7500581741333,
558         "z": "e88d8790.e40a88",
559         "wires": [
560             [
561                 "2f3f6f4d.eb2fa"
562             ]
563         ]
564     },
565     {
566         "id": "2f3f6f4d.eb2fa",
567         "type": "failure",
568         "name": "failure",
569         "xml": "<outcome value='failure'>\n",
570         "comments": "",
571         "outputs": 1,
572         "x": 1916.9644050598145,
573         "y": 737.7500839233398,
574         "z": "e88d8790.e40a88",
575         "wires": [
576             [
577                 "76e8d116.52e33"
578             ]
579         ]
580     },
581     {
582         "id": "76e8d116.52e33",
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": 2085.535846710205,
588         "y": 737.4286289215088,
589         "z": "e88d8790.e40a88",
590         "wires": []
591     },
592     {
593         "id": "f9f72ad.82208d8",
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": 1643.8213424682617,
600         "y": 933.0357494354248,
601         "z": "e88d8790.e40a88",
602         "wires": [
603             [
604                 "fe94370f.c8bbd8"
605             ]
606         ]
607     },
608     {
609         "id": "fe94370f.c8bbd8",
610         "type": "failure",
611         "name": "failure",
612         "xml": "<outcome value='failure'>\n",
613         "comments": "",
614         "outputs": 1,
615         "x": 1900.1070671081543,
616         "y": 933.0357751846313,
617         "z": "e88d8790.e40a88",
618         "wires": [
619             [
620                 "26a0f5b0.30f06a"
621             ]
622         ]
623     },
624     {
625         "id": "26a0f5b0.30f06a",
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": 2068.678508758545,
631         "y": 932.7143201828003,
632         "z": "e88d8790.e40a88",
633         "wires": []
634     },
635     {
636         "id": "eac47c65.f6e12",
637         "type": "call",
638         "name": "call instantiateRANSliceModifyDeallocate",
639         "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyDeallocate' mode='sync' >\n",
640         "comments": "",
641         "outputs": 1,
642         "x": 1636.9641571044922,
643         "y": 834.0357847213745,
644         "z": "e88d8790.e40a88",
645         "wires": [
646             [
647                 "95418ab2.b58958"
648             ]
649         ]
650     },
651     {
652         "id": "95418ab2.b58958",
653         "type": "failure",
654         "name": "failure",
655         "xml": "<outcome value='failure'>\n",
656         "comments": "",
657         "outputs": 1,
658         "x": 1915.5355796813965,
659         "y": 832.6072387695312,
660         "z": "e88d8790.e40a88",
661         "wires": [
662             [
663                 "9c0603c7.6b8fe"
664             ]
665         ]
666     },
667     {
668         "id": "9c0603c7.6b8fe",
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": 2084.107021331787,
674         "y": 832.2857837677002,
675         "z": "e88d8790.e40a88",
676         "wires": []
677     },
678     {
679         "id": "3f271e6d.820012",
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": 1415.0003280639648,
685         "y": 392.0000009536743,
686         "z": "e88d8790.e40a88",
687         "wires": []
688     },
689     {
690         "id": "7fbdbbb9.ba3154",
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": 378.0000228881836,
697         "y": 1028.0000104904175,
698         "z": "e88d8790.e40a88",
699         "wires": [
700             []
701         ]
702     },
703     {
704         "id": "d5b69581.ede008",
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": 1579.000015258789,
711         "y": 571.0000410079956,
712         "z": "e88d8790.e40a88",
713         "wires": [
714             []
715         ]
716     },
717     {
718         "id": "d481d921.e66a28",
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": 1560.9999694824219,
725         "y": 682.0000429153442,
726         "z": "e88d8790.e40a88",
727         "wires": [
728             []
729         ]
730     },
731     {
732         "id": "e35d09c4.f12e88",
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": 1554.9999694824219,
739         "y": 782.0000429153442,
740         "z": "e88d8790.e40a88",
741         "wires": [
742             []
743         ]
744     },
745     {
746         "id": "affb1530.9fc0e8",
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": 1554.9999694824219,
753         "y": 883.0000429153442,
754         "z": "e88d8790.e40a88",
755         "wires": [
756             []
757         ]
758     },
759     {
760         "id": "d5ab20c6.7ea2a",
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": 994.0003509521484,
767         "y": 241.66679668426514,
768         "z": "e88d8790.e40a88",
769         "wires": [
770             [
771                 "53f9ecd9.12d394",
772                 "dc5f688a.4f8758"
773             ]
774         ]
775     },
776     {
777         "id": "53f9ecd9.12d394",
778         "type": "failure",
779         "name": "true",
780         "xml": "<outcome value='true'>\n",
781         "comments": "",
782         "outputs": 1,
783         "x": 1213.0003623962402,
784         "y": 220.66673374176025,
785         "z": "e88d8790.e40a88",
786         "wires": [
787             [
788                 "6185424.1fab4bc"
789             ]
790         ]
791     },
792     {
793         "id": "dc5f688a.4f8758",
794         "type": "failure",
795         "name": "false",
796         "xml": "<outcome value='false'>\n",
797         "comments": "",
798         "outputs": 1,
799         "x": 1172.0002746582031,
800         "y": 314.66671562194824,
801         "z": "e88d8790.e40a88",
802         "wires": [
803             [
804                 "cbd5d689.1a5498"
805             ]
806         ]
807     },
808     {
809         "id": "cbd5d689.1a5498",
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": 1393.0000457763672,
816         "y": 279.66671562194824,
817         "z": "e88d8790.e40a88",
818         "wires": [
819             [
820                 "62ad505f.ec2a7"
821             ]
822         ]
823     },
824     {
825         "id": "6185424.1fab4bc",
826         "type": "block",
827         "name": "block : atomic",
828         "xml": "<block atomic=\"true\">",
829         "atomic": "true",
830         "outputs": 1,
831         "x": 1648.0000457763672,
832         "y": 115.6667308807373,
833         "z": "e88d8790.e40a88",
834         "wires": [
835             [
836                 "4b12490e.744838",
837                 "46571d5c.4c2cc4"
838             ]
839         ]
840     },
841     {
842         "id": "4b12490e.744838",
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": 1871.0000534057617,
849         "y": 74.66672992706299,
850         "z": "e88d8790.e40a88",
851         "wires": [
852             []
853         ]
854     },
855     {
856         "id": "62ad505f.ec2a7",
857         "type": "failure",
858         "name": "true",
859         "xml": "<outcome value='true'>\n",
860         "comments": "",
861         "outputs": 1,
862         "x": 1555.0000457763672,
863         "y": 201.66671323776245,
864         "z": "e88d8790.e40a88",
865         "wires": [
866             [
867                 "ea5444f.25ee6b8"
868             ]
869         ]
870     },
871     {
872         "id": "ea5444f.25ee6b8",
873         "type": "block",
874         "name": "block : atomic",
875         "xml": "<block atomic=\"true\">",
876         "atomic": "true",
877         "outputs": 1,
878         "x": 1662.000373840332,
879         "y": 316.6667175292969,
880         "z": "e88d8790.e40a88",
881         "wires": [
882             [
883                 "e53b6d12.81629",
884                 "46571d5c.4c2cc4"
885             ]
886         ]
887     },
888     {
889         "id": "e53b6d12.81629",
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": 1719.000373840332,
896         "y": 205.6667127609253,
897         "z": "e88d8790.e40a88",
898         "wires": [
899             []
900         ]
901     },
902     {
903         "id": "46571d5c.4c2cc4",
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": 1975.0003814697266,
909         "y": 228.0000457763672,
910         "z": "e88d8790.e40a88",
911         "wires": []
912     },
913     {
914         "id": "354a772d.176308",
915         "type": "block",
916         "name": "block : atomic",
917         "xml": "<block atomic='true'>",
918         "atomic": "true",
919         "comments": "",
920         "outputs": 1,
921         "x": 395.00008392333984,
922         "y": 383.00006103515625,
923         "z": "e88d8790.e40a88",
924         "wires": [
925             [
926                 "e6acf72b.7c9cb8"
927             ]
928         ]
929     },
930     {
931         "id": "e6acf72b.7c9cb8",
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": 553.0106964111328,
938         "y": 436.0104389190674,
939         "z": "e88d8790.e40a88",
940         "wires": [
941             [
942                 "f712f649.f12c08",
943                 "923ce51e.57a028",
944                 "c5c820.b60e17e",
945                 "483105b6.48928c"
946             ]
947         ]
948     },
949     {
950         "id": "f712f649.f12c08",
951         "type": "outcome",
952         "name": "reconfigure",
953         "xml": "<outcome value='reconfigure'>",
954         "comments": "",
955         "outputs": 1,
956         "x": 770.0819129943848,
957         "y": 295.5779733657837,
958         "z": "e88d8790.e40a88",
959         "wires": [
960             [
961                 "11cb4c01.d8bfb4"
962             ]
963         ]
964     },
965     {
966         "id": "11cb4c01.d8bfb4",
967         "type": "block",
968         "name": "block : atomic",
969         "xml": "<block atomic=\"true\">",
970         "atomic": "true",
971         "outputs": 1,
972         "x": 876.821662902832,
973         "y": 401.4286584854126,
974         "z": "e88d8790.e40a88",
975         "wires": [
976             [
977                 "d5ab20c6.7ea2a"
978             ]
979         ]
980     },
981     {
982         "id": "576d3781.9a9898",
983         "type": "block",
984         "name": "block : atomic",
985         "xml": "<block atomic=\"true\">",
986         "atomic": "true",
987         "outputs": 1,
988         "x": 1065.6666793823242,
989         "y": 495.00002098083496,
990         "z": "e88d8790.e40a88",
991         "wires": [
992             [
993                 "54c56245.8decbc",
994                 "3f271e6d.820012",
995                 "63e33a85.579ea4",
996                 "73a45a34.62e664",
997                 "38840452.4e55ac"
998             ]
999         ]
1000     },
1001     {
1002         "id": "9d22435d.1120b",
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": 2365,
1008         "y": 236,
1009         "z": "e88d8790.e40a88",
1010         "wires": []
1011     },
1012     {
1013         "id": "923ce51e.57a028",
1014         "type": "outcome",
1015         "name": "allocate",
1016         "xml": "<outcome value='allocate'>",
1017         "comments": "",
1018         "outputs": 1,
1019         "x": 831.6667098999023,
1020         "y": 462.3333568572998,
1021         "z": "e88d8790.e40a88",
1022         "wires": [
1023             [
1024                 "576d3781.9a9898"
1025             ]
1026         ]
1027     },
1028     {
1029         "id": "c5c820.b60e17e",
1030         "type": "outcome",
1031         "name": "modify-allocate",
1032         "xml": "<outcome value='modify-allocate'>",
1033         "comments": "",
1034         "outputs": 1,
1035         "x": 821.3810653686523,
1036         "y": 507.8333988189697,
1037         "z": "e88d8790.e40a88",
1038         "wires": [
1039             [
1040                 "576d3781.9a9898"
1041             ]
1042         ]
1043     },
1044     {
1045         "id": "483105b6.48928c",
1046         "type": "outcome",
1047         "name": "modify-deallocate",
1048         "xml": "<outcome value='modify-deallocate'>",
1049         "comments": "",
1050         "outputs": 1,
1051         "x": 805.7381629943848,
1052         "y": 572.9761924743652,
1053         "z": "e88d8790.e40a88",
1054         "wires": [
1055             [
1056                 "576d3781.9a9898"
1057             ]
1058         ]
1059     }
1060 ]