SOTN siteInstance DGs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_site-vnf-topology-operation-activate.json
1 [
2   {
3     "id": "fe5a38bb.bd0078",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 108,
8     "y": 187.0103931427002,
9     "z": "e876afdc.6a24f",
10     "wires": [
11       [
12         "8fa75912.54ed58"
13       ]
14     ]
15   },
16   {
17     "id": "8fa75912.54ed58",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
23     "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='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs": 1,
25     "x": 183.28570556640625,
26     "y": 227.24850463867188,
27     "z": "e876afdc.6a24f",
28     "wires": [
29       [
30         "a48c87a9.a55028"
31       ]
32     ]
33   },
34   {
35     "id": "a48c87a9.a55028",
36     "type": "method",
37     "name": "method site-vnf-topology-operation-activate",
38     "xml": "<method rpc='site-vnf-topology-operation-activate' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 204.42861938476562,
42     "y": 317.0103931427002,
43     "z": "e876afdc.6a24f",
44     "wires": [
45       [
46         "38f14e2f.c24e22"
47       ]
48     ]
49   },
50   {
51     "id": "38f14e2f.c24e22",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 192.66673278808594,
58     "y": 506.6771717071533,
59     "z": "e876afdc.6a24f",
60     "wires": [
61       [
62         "44a8ff3e.e9b76",
63         "79a45953.cb4488",
64         "6e5a67bd.c2ddb8",
65         "dc5b8c85.92a84",
66         "3adc7192.5bf7fe",
67         "1ddd800f.cc627",
68         "708f2def.d37784",
69         "73349d78.1f3074",
70         "6ab44a9b.48e9b4",
71         "3f3b503b.d5da4",
72         "99fac312.5a742"
73       ]
74     ]
75   },
76   {
77     "id": "dc5b8c85.92a84",
78     "type": "for",
79     "name": "for loop i - VNF input parameters",
80     "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`' >\n",
81     "comments": "",
82     "outputs": 1,
83     "x": 649.1047821044922,
84     "y": 325.078284740448,
85     "z": "e876afdc.6a24f",
86     "wires": [
87       [
88         "b5990ea7.a9c72"
89       ]
90     ]
91   },
92   {
93     "id": "44a8ff3e.e9b76",
94     "type": "switchNode",
95     "name": "switch service-data.vnfs.vnf_length",
96     "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
97     "comments": "",
98     "outputs": 1,
99     "x": 631.9896621704102,
100     "y": 135.99998807907104,
101     "z": "e876afdc.6a24f",
102     "wires": [
103       [
104         "def084ef.6fe5a8",
105         "6c59b52d.4816dc",
106         "fe5f06d4.6ce418"
107       ]
108     ]
109   },
110   {
111     "id": "def084ef.6fe5a8",
112     "type": "other",
113     "name": "Null",
114     "xml": "<outcome value=''>\n",
115     "comments": "",
116     "outputs": 1,
117     "x": 862.9896392822266,
118     "y": 138.0000514984131,
119     "z": "e876afdc.6a24f",
120     "wires": [
121       [
122         "a40915eb.62f7c8"
123       ]
124     ]
125   },
126   {
127     "id": "a40915eb.62f7c8",
128     "type": "returnFailure",
129     "name": "return failure",
130     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
131     "comments": "",
132     "x": 1020.7671546936035,
133     "y": 118.88899993896484,
134     "z": "e876afdc.6a24f",
135     "wires": []
136   },
137   {
138     "id": "6c59b52d.4816dc",
139     "type": "other",
140     "name": "other",
141     "xml": "<outcome value='Other'>\n",
142     "comments": "",
143     "outputs": 1,
144     "x": 854.9900665283203,
145     "y": 173.00007343292236,
146     "z": "e876afdc.6a24f",
147     "wires": [
148       [
149         "7b4738a3.9186a8"
150       ]
151     ]
152   },
153   {
154     "id": "7b4738a3.9186a8",
155     "type": "block",
156     "name": "block : atomic",
157     "xml": "<block atomic=\"true\">",
158     "atomic": "true",
159     "outputs": 1,
160     "x": 1021.2595367431641,
161     "y": 164.55460691452026,
162     "z": "e876afdc.6a24f",
163     "wires": [
164       [
165         "39aaaddb.c527a2",
166         "80c14f8c.d4c2",
167         "fb9527f.4513dd8"
168       ]
169     ]
170   },
171   {
172     "id": "39aaaddb.c527a2",
173     "type": "for",
174     "name": "for vidx..service-data.vnfs.vnf_length[]",
175     "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
176     "comments": "",
177     "outputs": 1,
178     "x": 1291.2756271362305,
179     "y": 108.42860794067383,
180     "z": "e876afdc.6a24f",
181     "wires": [
182       [
183         "792cd7fe.bce288"
184       ]
185     ]
186   },
187   {
188     "id": "80c14f8c.d4c2",
189     "type": "switchNode",
190     "name": "switch tmp.vidx ",
191     "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
192     "comments": "",
193     "outputs": 1,
194     "x": 1227.5769805908203,
195     "y": 159.41179656982422,
196     "z": "e876afdc.6a24f",
197     "wires": [
198       [
199         "767a61a0.371db"
200       ]
201     ]
202   },
203   {
204     "id": "767a61a0.371db",
205     "type": "outcome",
206     "name": "NULL",
207     "xml": "<outcome value=''>\n",
208     "comments": "",
209     "outputs": 1,
210     "x": 1379.0057830810547,
211     "y": 159.98322677612305,
212     "z": "e876afdc.6a24f",
213     "wires": [
214       [
215         "10547f9b.2e5b4"
216       ]
217     ]
218   },
219   {
220     "id": "506c3f6d.abfb3",
221     "type": "switchNode",
222     "name": "switch vnfid found",
223     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
224     "comments": "",
225     "outputs": 1,
226     "x": 1688.7043685913086,
227     "y": 68.67873001098633,
228     "z": "e876afdc.6a24f",
229     "wires": [
230       [
231         "970983d7.84ecd"
232       ]
233     ]
234   },
235   {
236     "id": "10547f9b.2e5b4",
237     "type": "returnFailure",
238     "name": "return failure",
239     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
240     "comments": "",
241     "x": 1517.434181213379,
242     "y": 161.12604904174805,
243     "z": "e876afdc.6a24f",
244     "wires": []
245   },
246   {
247     "id": "970983d7.84ecd",
248     "type": "outcomeTrue",
249     "name": "true",
250     "xml": "<outcome value='true'>\n",
251     "comments": "",
252     "outputs": 1,
253     "x": 1862.6568489074707,
254     "y": 68.57145023345947,
255     "z": "e876afdc.6a24f",
256     "wires": [
257       [
258         "13efb35.8a5a24d"
259       ]
260     ]
261   },
262   {
263     "id": "13efb35.8a5a24d",
264     "type": "set",
265     "name": "set tmp.vidx and ctx.vnf-data",
266     "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
267     "comments": "",
268     "x": 2058.1885986328125,
269     "y": 68.32144069671631,
270     "z": "e876afdc.6a24f",
271     "wires": []
272   },
273   {
274     "id": "fe5f06d4.6ce418",
275     "type": "outcome",
276     "name": "0",
277     "xml": "<outcome value='0'>\n",
278     "comments": "",
279     "outputs": 1,
280     "x": 860.9584503173828,
281     "y": 100.96874046325684,
282     "z": "e876afdc.6a24f",
283     "wires": [
284       [
285         "a40915eb.62f7c8"
286       ]
287     ]
288   },
289   {
290     "id": "3adc7192.5bf7fe",
291     "type": "returnSuccess",
292     "name": "return success",
293     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
294     "comments": "",
295     "x": 576.3336982727051,
296     "y": 689.3441772460938,
297     "z": "e876afdc.6a24f",
298     "wires": []
299   },
300   {
301     "id": "6ab44a9b.48e9b4",
302     "type": "set",
303     "name": "set vnf-level-oper-status to Active",
304     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='Active' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
305     "comments": "",
306     "x": 638.8138885498047,
307     "y": 523.6816167831421,
308     "z": "e876afdc.6a24f",
309     "wires": []
310   },
311   {
312     "id": "73349d78.1f3074",
313     "type": "set",
314     "name": "set vnf-index and vnf-object-path",
315     "xml": "<set>\n<parameter name='vnfId' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $service-data.vnfs.vnf[$tmp.vidx].vnf-id  + '/vnf-data/'` \" />",
316     "comments": "",
317     "x": 638.50048828125,
318     "y": 480.3441514968872,
319     "z": "e876afdc.6a24f",
320     "wires": []
321   },
322   {
323     "id": "aaa950b9.3f56b",
324     "type": "success",
325     "name": "success",
326     "xml": "<outcome value='success'>\n",
327     "comments": "",
328     "outputs": 1,
329     "x": 1565.500316619873,
330     "y": 818.0003184080124,
331     "z": "e876afdc.6a24f",
332     "wires": [
333       [
334         "88dbfad5.81b4c8"
335       ]
336     ]
337   },
338   {
339     "id": "88dbfad5.81b4c8",
340     "type": "set",
341     "name": "set controller data",
342     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",
343     "comments": "",
344     "x": 1754.0004119873047,
345     "y": 812.0003280639648,
346     "z": "e876afdc.6a24f",
347     "wires": []
348   },
349   {
350     "id": "1c9cd1a7.9cc68e",
351     "type": "not-found",
352     "name": "not-found",
353     "xml": "<outcome value='not-found'>\n",
354     "comments": "",
355     "outputs": 1,
356     "x": 1568.991283416748,
357     "y": 865.5743540525436,
358     "z": "e876afdc.6a24f",
359     "wires": [
360       [
361         "55bc7178.25cc8"
362       ]
363     ]
364   },
365   {
366     "id": "55bc7178.25cc8",
367     "type": "returnFailure",
368     "name": "return failure",
369     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
370     "comments": "",
371     "x": 1742.5626945495605,
372     "y": 853.860090136528,
373     "z": "e876afdc.6a24f",
374     "wires": []
375   },
376   {
377     "id": "98e7b2b4.03262",
378     "type": "other",
379     "name": "other",
380     "xml": "<outcome value='Other'>\n",
381     "comments": "",
382     "outputs": 1,
383     "x": 1561.324291229248,
384     "y": 906.9076670408249,
385     "z": "e876afdc.6a24f",
386     "wires": [
387       [
388         "201a39ec.7051b6"
389       ]
390     ]
391   },
392   {
393     "id": "201a39ec.7051b6",
394     "type": "returnFailure",
395     "name": "return failure",
396     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
397     "comments": "",
398     "x": 1749.0968475341797,
399     "y": 902.3468598127365,
400     "z": "e876afdc.6a24f",
401     "wires": []
402   },
403   {
404     "id": "fccf6b1b.062f88",
405     "type": "get-resource",
406     "name": "get-resource esr-thirdparty-sdnc",
407     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
408     "comments": "",
409     "outputs": 1,
410     "x": 1298.500228881836,
411     "y": 866.0003242492676,
412     "z": "e876afdc.6a24f",
413     "wires": [
414       [
415         "aaa950b9.3f56b",
416         "1c9cd1a7.9cc68e",
417         "98e7b2b4.03262"
418       ]
419     ]
420   },
421   {
422     "id": "9d503875.591ee8",
423     "type": "execute",
424     "name": "execute RestApiCallNode Create  SDWAN site",
425     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-site.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/sites'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"site-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
426     "comments": "",
427     "outputs": 1,
428     "x": 1352.0003204345703,
429     "y": 1023.0002918243408,
430     "z": "e876afdc.6a24f",
431     "wires": [
432       [
433         "caf01e6b.3d325"
434       ]
435     ]
436   },
437   {
438     "id": "e7caa58d.8c0ca8",
439     "type": "block",
440     "name": "block : atomic",
441     "xml": "<block atomic=\"true\">",
442     "atomic": "true",
443     "comments": "",
444     "outputs": 1,
445     "x": 1820.6667022705078,
446     "y": 1037.8891677856445,
447     "z": "e876afdc.6a24f",
448     "wires": [
449       []
450     ]
451   },
452   {
453     "id": "67309670.5d6238",
454     "type": "returnFailure",
455     "name": "return failure",
456     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",
457     "comments": "",
458     "x": 1796.111343383789,
459     "y": 1099.4445505142212,
460     "z": "e876afdc.6a24f",
461     "wires": []
462   },
463   {
464     "id": "e2a202c3.ab071",
465     "type": "failure",
466     "name": "failure",
467     "xml": "<outcome value='failure'>\n",
468     "comments": "",
469     "outputs": 1,
470     "x": 1651.111343383789,
471     "y": 1096.4445505142212,
472     "z": "e876afdc.6a24f",
473     "wires": [
474       [
475         "67309670.5d6238"
476       ]
477     ]
478   },
479   {
480     "id": "caf01e6b.3d325",
481     "type": "success",
482     "name": "success",
483     "xml": "<outcome value='success'>\n",
484     "comments": "",
485     "outputs": 1,
486     "x": 1647.5557174682617,
487     "y": 1038.1113357543945,
488     "z": "e876afdc.6a24f",
489     "wires": [
490       [
491         "e7caa58d.8c0ca8"
492       ]
493     ]
494   },
495   {
496     "id": "3f3b503b.d5da4",
497     "type": "set",
498     "name": "copy input data to service data",
499     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />",
500     "comments": "",
501     "x": 627.0004348754883,
502     "y": 566.0005855560303,
503     "z": "e876afdc.6a24f",
504     "wires": []
505   },
506   {
507     "id": "93347dcc.a6583",
508     "type": "execute",
509     "name": "execute RestApiCallNode Get token",
510     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
511     "comments": "",
512     "outputs": 1,
513     "x": 1299.7543258666992,
514     "y": 959.0043849945068,
515     "z": "e876afdc.6a24f",
516     "wires": [
517       [
518         "c5378ae6.053748",
519         "cfecc2b7.775a9"
520       ]
521     ]
522   },
523   {
524     "id": "c5378ae6.053748",
525     "type": "success",
526     "name": "success",
527     "xml": "<outcome value='success'>\n",
528     "comments": "",
529     "outputs": 1,
530     "x": 1564.754207611084,
531     "y": 944.004280090332,
532     "z": "e876afdc.6a24f",
533     "wires": [
534       [
535         "574fb0f8.2705b"
536       ]
537     ]
538   },
539   {
540     "id": "cfecc2b7.775a9",
541     "type": "failure",
542     "name": "failure",
543     "xml": "<outcome value='failure'>\n",
544     "comments": "",
545     "outputs": 1,
546     "x": 1557.004207611084,
547     "y": 985.6471633911133,
548     "z": "e876afdc.6a24f",
549     "wires": [
550       [
551         "a43bfc8d.c3ede"
552       ]
553     ]
554   },
555   {
556     "id": "a43bfc8d.c3ede",
557     "type": "block",
558     "name": "block",
559     "xml": "<block>\n",
560     "atomic": "false",
561     "comments": "",
562     "outputs": 1,
563     "x": 1683.087703704834,
564     "y": 985.893196105957,
565     "z": "e876afdc.6a24f",
566     "wires": [
567       []
568     ]
569   },
570   {
571     "id": "574fb0f8.2705b",
572     "type": "set",
573     "name": "set token-id",
574     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
575     "comments": "",
576     "x": 1701.754207611084,
577     "y": 944.004280090332,
578     "z": "e876afdc.6a24f",
579     "wires": []
580   },
581   {
582     "id": "bbce2e16.d72aa",
583     "type": "comment",
584     "name": "tmp.thirdparty-sdnc-id is hardcoded value?",
585     "info": "",
586     "comments": "",
587     "x": 1295.0041198730469,
588     "y": 833.0042457580566,
589     "z": "e876afdc.6a24f",
590     "wires": []
591   },
592   {
593     "id": "708f2def.d37784",
594     "type": "set",
595     "name": "set vnf-index to service data",
596     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1].name' value='siteId' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1].value' value='`$site-result[0].id`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1`' />\n",
597     "comments": "",
598     "x": 628.0042037963867,
599     "y": 442.00424671173096,
600     "z": "e876afdc.6a24f",
601     "wires": []
602   },
603   {
604     "id": "c2a60a1e.d3e7f8",
605     "type": "switchNode",
606     "name": "switch ActivateSDWANDeviceInstance",
607     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.request-information.request-action == 'ActivateSDWANDeviceInstance'`\">\n\n    \n    \n\n",
608     "comments": "",
609     "outputs": 1,
610     "x": 1756.2543411254883,
611     "y": 138.00390720367432,
612     "z": "e876afdc.6a24f",
613     "wires": [
614       [
615         "3b24cc2e.de2954"
616       ]
617     ]
618   },
619   {
620     "id": "3b24cc2e.de2954",
621     "type": "outcomeTrue",
622     "name": "true",
623     "xml": "<outcome value='true'>\n",
624     "comments": "",
625     "outputs": 1,
626     "x": 1983.2541961669922,
627     "y": 137.00390625,
628     "z": "e876afdc.6a24f",
629     "wires": [
630       [
631         "68cbbed8.08fd8"
632       ]
633     ]
634   },
635   {
636     "id": "792cd7fe.bce288",
637     "type": "block",
638     "name": "block",
639     "xml": "<block>\n",
640     "atomic": "false",
641     "comments": "",
642     "outputs": 1,
643     "x": 1526.254165649414,
644     "y": 109.00389289855957,
645     "z": "e876afdc.6a24f",
646     "wires": [
647       [
648         "c2a60a1e.d3e7f8",
649         "506c3f6d.abfb3"
650       ]
651     ]
652   },
653   {
654     "id": "460c13d8.2f2f3c",
655     "type": "comment",
656     "name": "Get devices",
657     "info": "",
658     "comments": "",
659     "x": 1790.0043563842773,
660     "y": 158.75392246246338,
661     "z": "e876afdc.6a24f",
662     "wires": []
663   },
664   {
665     "id": "79a45953.cb4488",
666     "type": "set",
667     "name": "set prop.site.sdwan false",
668     "xml": "<set>\n<parameter name='prop.site.sdwan' value=\"false\" />\n\n",
669     "comments": "",
670     "x": 618,
671     "y": 229.0000123977661,
672     "z": "e876afdc.6a24f",
673     "wires": []
674   },
675   {
676     "id": "1ddd800f.cc627",
677     "type": "switchNode",
678     "name": "switch prop.site.sdwan",
679     "xml": "<switch test=\"`$prop.site.sdwan`\">\n",
680     "comments": "",
681     "outputs": 1,
682     "x": 607.0001220703125,
683     "y": 384.6666269302368,
684     "z": "e876afdc.6a24f",
685     "wires": [
686       [
687         "7c42fbb6.c14864"
688       ]
689     ]
690   },
691   {
692     "id": "7c42fbb6.c14864",
693     "type": "outcomeTrue",
694     "name": "true",
695     "xml": "<outcome value='true'>\n",
696     "comments": "",
697     "outputs": 1,
698     "x": 786.000171661377,
699     "y": 381.6666269302368,
700     "z": "e876afdc.6a24f",
701     "wires": [
702       [
703         "9d5e017e.9579d"
704       ]
705     ]
706   },
707   {
708     "id": "9d5e017e.9579d",
709     "type": "block",
710     "name": "block : atomic",
711     "xml": "<block atomic=\"true\">",
712     "atomic": "true",
713     "outputs": 1,
714     "x": 960.000244140625,
715     "y": 908.6668318510056,
716     "z": "e876afdc.6a24f",
717     "wires": [
718       [
719         "93347dcc.a6583",
720         "9d503875.591ee8",
721         "69c072d6.f6ae7c",
722         "fccf6b1b.062f88"
723       ]
724     ]
725   },
726   {
727     "id": "68cbbed8.08fd8",
728     "type": "block",
729     "name": "block : atomic",
730     "xml": "<block atomic=\"true\">",
731     "atomic": "true",
732     "outputs": 1,
733     "x": 1921.6669616699219,
734     "y": 248.00000762939453,
735     "z": "e876afdc.6a24f",
736     "wires": [
737       [
738         "7e0b70dd.7568"
739       ]
740     ]
741   },
742   {
743     "id": "7e0b70dd.7568",
744     "type": "for",
745     "name": "for loop deviceidx - Get deviceId from servicedata",
746     "xml": "<for index=\"deviceidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param_length`\">",
747     "comments": "",
748     "outputs": 1,
749     "x": 2205.0007934570312,
750     "y": 251.00003814697266,
751     "z": "e876afdc.6a24f",
752     "wires": [
753       [
754         "bb46e6b5.934b78"
755       ]
756     ]
757   },
758   {
759     "id": "bb46e6b5.934b78",
760     "type": "block",
761     "name": "block",
762     "xml": "<block>\n",
763     "atomic": "false",
764     "comments": "",
765     "outputs": 1,
766     "x": 2135.00057220459,
767     "y": 334.0002021789551,
768     "z": "e876afdc.6a24f",
769     "wires": [
770       [
771         "68a7dd5e.b34a34"
772       ]
773     ]
774   },
775   {
776     "id": "68a7dd5e.b34a34",
777     "type": "switchNode",
778     "name": "switch deviceId",
779     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].name == 'deviceId'`\">\n",
780     "comments": "",
781     "outputs": 1,
782     "x": 2295.0008277893066,
783     "y": 336.00005531311035,
784     "z": "e876afdc.6a24f",
785     "wires": [
786       [
787         "eb058687.6ea298"
788       ]
789     ]
790   },
791   {
792     "id": "eb058687.6ea298",
793     "type": "outcomeTrue",
794     "name": "true",
795     "xml": "<outcome value='true'>\n",
796     "comments": "",
797     "outputs": 1,
798     "x": 2447.0009994506836,
799     "y": 335.00005531311035,
800     "z": "e876afdc.6a24f",
801     "wires": [
802       [
803         "468bec8a.569b34"
804       ]
805     ]
806   },
807   {
808     "id": "468bec8a.569b34",
809     "type": "set",
810     "name": "set deviceId",
811     "xml": "<set>\n<parameter name='prop.site.deviceId[$prop.site.deviceId_length]' value='`$service-data.vnfs.vnf[$tmp.deviceVidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$deviceidx].value`' />\n<parameter name='prop.site.deviceId_length' value='`$prop.site.deviceId_length + 1`' />\n",
812     "comments": "",
813     "x": 2587.001003265381,
814     "y": 334.6000099182129,
815     "z": "e876afdc.6a24f",
816     "wires": []
817   },
818   {
819     "id": "fb9527f.4513dd8",
820     "type": "set",
821     "name": "set prop.site.deviceId_length",
822     "xml": "<set>\n<parameter name='prop.site.deviceId_length' value='0' />\n",
823     "comments": "",
824     "x": 1264.000072479248,
825     "y": 64,
826     "z": "e876afdc.6a24f",
827     "wires": []
828   },
829   {
830     "id": "b5990ea7.a9c72",
831     "type": "block",
832     "name": "block",
833     "xml": "<block>\n",
834     "atomic": "false",
835     "comments": "",
836     "outputs": 1,
837     "x": 1026.0003089904785,
838     "y": 424.00009059906006,
839     "z": "e876afdc.6a24f",
840     "wires": [
841       [
842         "982966d0.a9a8e8",
843         "f41887bb.544248",
844         "4ca7692.19f0f98",
845         "e068ac07.3a75f",
846         "caf25c5.4962fa",
847         "a0b5938f.d00a8",
848         "a3f45232.9e1a1",
849         "b56118e.cb3ebe8",
850         "6dc0a862.fb8db8",
851         "beea925c.34a3c"
852       ]
853     ]
854   },
855   {
856     "id": "beea925c.34a3c",
857     "type": "switchNode",
858     "name": "switch name",
859     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n\n",
860     "comments": "",
861     "outputs": 1,
862     "x": 1260.2222442626953,
863     "y": 283.000036239624,
864     "z": "e876afdc.6a24f",
865     "wires": [
866       [
867         "86ab3afd.9888f8"
868       ]
869     ]
870   },
871   {
872     "id": "86ab3afd.9888f8",
873     "type": "outcomeTrue",
874     "name": "true",
875     "xml": "<outcome value='true'>\n",
876     "comments": "",
877     "outputs": 1,
878     "x": 1438.2222576141357,
879     "y": 286.000036239624,
880     "z": "e876afdc.6a24f",
881     "wires": [
882       [
883         "daf4941f.5f7e68"
884       ]
885     ]
886   },
887   {
888     "id": "daf4941f.5f7e68",
889     "type": "set",
890     "name": "set name",
891     "xml": "<set>\n<parameter name='prop.site.name' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
892     "comments": "",
893     "x": 1585.222267150879,
894     "y": 285.60003185272217,
895     "z": "e876afdc.6a24f",
896     "wires": []
897   },
898   {
899     "id": "982966d0.a9a8e8",
900     "type": "switchNode",
901     "name": "switch type",
902     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'type'`\">\n",
903     "comments": "",
904     "outputs": 1,
905     "x": 1239.1179161071777,
906     "y": 580.9734859466553,
907     "z": "e876afdc.6a24f",
908     "wires": [
909       [
910         "bbc62e0b.50f11"
911       ]
912     ]
913   },
914   {
915     "id": "bbc62e0b.50f11",
916     "type": "outcomeTrue",
917     "name": "true",
918     "xml": "<outcome value='true'>\n",
919     "comments": "",
920     "outputs": 1,
921     "x": 1418.1177597045898,
922     "y": 581.9734058380127,
923     "z": "e876afdc.6a24f",
924     "wires": [
925       [
926         "91550639.119c38"
927       ]
928     ]
929   },
930   {
931     "id": "91550639.119c38",
932     "type": "set",
933     "name": "set type",
934     "xml": "<set>\n<parameter name='prop.site.type' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='prop.site.sdwan' value=\"true\" />",
935     "comments": "",
936     "x": 1568.1177711486816,
937     "y": 583.5734205245972,
938     "z": "e876afdc.6a24f",
939     "wires": []
940   },
941   {
942     "id": "f41887bb.544248",
943     "type": "switchNode",
944     "name": "switch role",
945     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'role'`\">\n",
946     "comments": "",
947     "outputs": 1,
948     "x": 1240.1175918579102,
949     "y": 624.9735260009766,
950     "z": "e876afdc.6a24f",
951     "wires": [
952       [
953         "2facef98.25444"
954       ]
955     ]
956   },
957   {
958     "id": "2facef98.25444",
959     "type": "outcomeTrue",
960     "name": "true",
961     "xml": "<outcome value='true'>\n",
962     "comments": "",
963     "outputs": 1,
964     "x": 1410.1175994873047,
965     "y": 634.9734888076782,
966     "z": "e876afdc.6a24f",
967     "wires": [
968       [
969         "2de9cb05.be1da4"
970       ]
971     ]
972   },
973   {
974     "id": "6dc0a862.fb8db8",
975     "type": "switchNode",
976     "name": "switch location-name",
977     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'location-name'`\">\n",
978     "comments": "",
979     "outputs": 1,
980     "x": 1283.117431640625,
981     "y": 324.97334480285645,
982     "z": "e876afdc.6a24f",
983     "wires": [
984       [
985         "bd2efb08.1c1158"
986       ]
987     ]
988   },
989   {
990     "id": "bd2efb08.1c1158",
991     "type": "outcomeTrue",
992     "name": "true",
993     "xml": "<outcome value='true'>\n",
994     "comments": "",
995     "outputs": 1,
996     "x": 1447.117603302002,
997     "y": 324.97334575653076,
998     "z": "e876afdc.6a24f",
999     "wires": [
1000       [
1001         "4ee2193.b3e14e8"
1002       ]
1003     ]
1004   },
1005   {
1006     "id": "4ee2193.b3e14e8",
1007     "type": "set",
1008     "name": "set location-name",
1009     "xml": "<set>\n<parameter name='prop.site.location-name' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1010     "comments": "",
1011     "x": 1609.1176147460938,
1012     "y": 324.57340240478516,
1013     "z": "e876afdc.6a24f",
1014     "wires": []
1015   },
1016   {
1017     "id": "b56118e.cb3ebe8",
1018     "type": "switchNode",
1019     "name": "switch address",
1020     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'address'`\">\n",
1021     "comments": "",
1022     "outputs": 1,
1023     "x": 1266.117431640625,
1024     "y": 360.9733486175537,
1025     "z": "e876afdc.6a24f",
1026     "wires": [
1027       [
1028         "86891afb.54bc78"
1029       ]
1030     ]
1031   },
1032   {
1033     "id": "86891afb.54bc78",
1034     "type": "outcomeTrue",
1035     "name": "true",
1036     "xml": "<outcome value='true'>\n",
1037     "comments": "",
1038     "outputs": 1,
1039     "x": 1436.1172790527344,
1040     "y": 368.9733476638794,
1041     "z": "e876afdc.6a24f",
1042     "wires": [
1043       [
1044         "4e393c27.e3c2c4"
1045       ]
1046     ]
1047   },
1048   {
1049     "id": "4e393c27.e3c2c4",
1050     "type": "set",
1051     "name": "set location-address",
1052     "xml": "<set>\n<parameter name='prop.site.location-address' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1053     "comments": "",
1054     "x": 1624.1174545288086,
1055     "y": 364.5733232498169,
1056     "z": "e876afdc.6a24f",
1057     "wires": []
1058   },
1059   {
1060     "id": "a3f45232.9e1a1",
1061     "type": "switchNode",
1062     "name": "switch postcode",
1063     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'postcode'`\">\n",
1064     "comments": "",
1065     "outputs": 1,
1066     "x": 1267.117431640625,
1067     "y": 402.97330951690674,
1068     "z": "e876afdc.6a24f",
1069     "wires": [
1070       [
1071         "8476b452.fd9df8"
1072       ]
1073     ]
1074   },
1075   {
1076     "id": "8476b452.fd9df8",
1077     "type": "outcomeTrue",
1078     "name": "true",
1079     "xml": "<outcome value='true'>\n",
1080     "comments": "",
1081     "outputs": 1,
1082     "x": 1432.117603302002,
1083     "y": 401.97330951690674,
1084     "z": "e876afdc.6a24f",
1085     "wires": [
1086       [
1087         "44bf054e.3e0bdc"
1088       ]
1089     ]
1090   },
1091   {
1092     "id": "44bf054e.3e0bdc",
1093     "type": "set",
1094     "name": "set location-postcode",
1095     "xml": "<set>\n<parameter name='prop.site.location-postcode' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1096     "comments": "",
1097     "x": 1619.1174545288086,
1098     "y": 403.57332611083984,
1099     "z": "e876afdc.6a24f",
1100     "wires": []
1101   },
1102   {
1103     "id": "4ca7692.19f0f98",
1104     "type": "switchNode",
1105     "name": "switch controlPoints",
1106     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'controlPoints'`\">\n",
1107     "comments": "",
1108     "outputs": 1,
1109     "x": 1261.0007247924805,
1110     "y": 670.0002679824829,
1111     "z": "e876afdc.6a24f",
1112     "wires": [
1113       [
1114         "6d9c8ede.093ce"
1115       ]
1116     ]
1117   },
1118   {
1119     "id": "6d9c8ede.093ce",
1120     "type": "outcomeTrue",
1121     "name": "true",
1122     "xml": "<outcome value='true'>\n",
1123     "comments": "",
1124     "outputs": 1,
1125     "x": 1421.0007400512695,
1126     "y": 681.0003499984741,
1127     "z": "e876afdc.6a24f",
1128     "wires": [
1129       [
1130         "473f9a91.4991c4"
1131       ]
1132     ]
1133   },
1134   {
1135     "id": "6c8e946.594c76c",
1136     "type": "set",
1137     "name": "set role",
1138     "xml": "<set>\n<parameter name='prop.site.role' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='prop.site.sdwan' value=\"true\" />\n",
1139     "comments": "",
1140     "x": 1764.0007648468018,
1141     "y": 602.0002603530884,
1142     "z": "e876afdc.6a24f",
1143     "wires": []
1144   },
1145   {
1146     "id": "c48a4f4.5838eb",
1147     "type": "set",
1148     "name": "set controlPoint",
1149     "xml": "<set>\n<parameter name='prop.site.controlPoint' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n\n",
1150     "comments": "",
1151     "x": 1806.0007667541504,
1152     "y": 701.0003480911255,
1153     "z": "e876afdc.6a24f",
1154     "wires": []
1155   },
1156   {
1157     "id": "99fac312.5a742",
1158     "type": "save",
1159     "name": "update siteInstance configuration in AAI",
1160     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='site-resource' \n      key='site-resource.id = $service-data.vnfs.vnf[$tmp.vidx].vnf-id' >\n<parameter name='id' value='`$service-data.vnfs.vnf[$tmp.vidx].vnf-id`' />      \n<parameter name='generated-site-id' value='`$site-result[0].site-id`' /> \n<parameter name='operational-status' value='Active' />\n",
1161     "comments": "",
1162     "outputs": 1,
1163     "x": 657.0001220703125,
1164     "y": 627.0001001358032,
1165     "z": "e876afdc.6a24f",
1166     "wires": [
1167       []
1168     ]
1169   },
1170   {
1171     "id": "6e5a67bd.c2ddb8",
1172     "type": "execute",
1173     "name": "execute Properties",
1174     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
1175     "comments": "",
1176     "outputs": 1,
1177     "x": 603.0000381469727,
1178     "y": 274.00000190734863,
1179     "z": "e876afdc.6a24f",
1180     "wires": [
1181       []
1182     ]
1183   },
1184   {
1185     "id": "239b469c.39b6fa",
1186     "type": "execute",
1187     "name": "execute split roles",
1188     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.site.role`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.site.roles\"/>\n",
1189     "comments": "",
1190     "outputs": 1,
1191     "x": 1820.6671142578125,
1192     "y": 658.0001821517944,
1193     "z": "e876afdc.6a24f",
1194     "wires": [
1195       []
1196     ]
1197   },
1198   {
1199     "id": "2de9cb05.be1da4",
1200     "type": "block",
1201     "name": "block : atomic",
1202     "xml": "<block atomic=\"true\">",
1203     "atomic": "true",
1204     "outputs": 1,
1205     "x": 1567.667251586914,
1206     "y": 638.0001821517944,
1207     "z": "e876afdc.6a24f",
1208     "wires": [
1209       [
1210         "6c8e946.594c76c",
1211         "239b469c.39b6fa"
1212       ]
1213     ]
1214   },
1215   {
1216     "id": "473f9a91.4991c4",
1217     "type": "block",
1218     "name": "block : atomic",
1219     "xml": "<block atomic=\"true\">",
1220     "atomic": "true",
1221     "outputs": 1,
1222     "x": 1579.6670875549316,
1223     "y": 685.0001058578491,
1224     "z": "e876afdc.6a24f",
1225     "wires": [
1226       [
1227         "c48a4f4.5838eb",
1228         "363cf22d.62d78e"
1229       ]
1230     ]
1231   },
1232   {
1233     "id": "363cf22d.62d78e",
1234     "type": "execute",
1235     "name": "execute split control points",
1236     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.site.controlPoint`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.site.controlpoints\"/>\n",
1237     "comments": "",
1238     "outputs": 1,
1239     "x": 1848.667106628418,
1240     "y": 762.0001888275146,
1241     "z": "e876afdc.6a24f",
1242     "wires": [
1243       []
1244     ]
1245   },
1246   {
1247     "id": "a0b5938f.d00a8",
1248     "type": "switchNode",
1249     "name": "switch latitude",
1250     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'latitude'`\">\n",
1251     "comments": "",
1252     "outputs": 1,
1253     "x": 1257.333740234375,
1254     "y": 447.0000867843628,
1255     "z": "e876afdc.6a24f",
1256     "wires": [
1257       [
1258         "b21592f4.5618f"
1259       ]
1260     ]
1261   },
1262   {
1263     "id": "b21592f4.5618f",
1264     "type": "outcomeTrue",
1265     "name": "true",
1266     "xml": "<outcome value='true'>\n",
1267     "comments": "",
1268     "outputs": 1,
1269     "x": 1433.3335876464844,
1270     "y": 442.0000457763672,
1271     "z": "e876afdc.6a24f",
1272     "wires": [
1273       [
1274         "29af6eef.bf06b2"
1275       ]
1276     ]
1277   },
1278   {
1279     "id": "29af6eef.bf06b2",
1280     "type": "set",
1281     "name": "set location-latitude",
1282     "xml": "<set>\n<parameter name='prop.site.location-latitude' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1283     "comments": "",
1284     "x": 1607.333595275879,
1285     "y": 440.6000623703003,
1286     "z": "e876afdc.6a24f",
1287     "wires": []
1288   },
1289   {
1290     "id": "caf25c5.4962fa",
1291     "type": "switchNode",
1292     "name": "switch longitude",
1293     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'longitude'`\">\n",
1294     "comments": "",
1295     "outputs": 1,
1296     "x": 1260.333740234375,
1297     "y": 487.00012969970703,
1298     "z": "e876afdc.6a24f",
1299     "wires": [
1300       [
1301         "7df2c337.3c1b4c"
1302       ]
1303     ]
1304   },
1305   {
1306     "id": "7df2c337.3c1b4c",
1307     "type": "outcomeTrue",
1308     "name": "true",
1309     "xml": "<outcome value='true'>\n",
1310     "comments": "",
1311     "outputs": 1,
1312     "x": 1432.3337478637695,
1313     "y": 482.00017166137695,
1314     "z": "e876afdc.6a24f",
1315     "wires": [
1316       [
1317         "86c3a1c7.6636a"
1318       ]
1319     ]
1320   },
1321   {
1322     "id": "86c3a1c7.6636a",
1323     "type": "set",
1324     "name": "set location-latitude",
1325     "xml": "<set>\n<parameter name='prop.site.location-latitude' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1326     "comments": "",
1327     "x": 1614.3336029052734,
1328     "y": 485.6000232696533,
1329     "z": "e876afdc.6a24f",
1330     "wires": []
1331   },
1332   {
1333     "id": "4e291944.287288",
1334     "type": "outcomeTrue",
1335     "name": "true",
1336     "xml": "<outcome value='true'>\n",
1337     "comments": "",
1338     "outputs": 1,
1339     "x": 1423.3337478637695,
1340     "y": 532.0001745223999,
1341     "z": "e876afdc.6a24f",
1342     "wires": [
1343       [
1344         "f818ecd2.ba80f"
1345       ]
1346     ]
1347   },
1348   {
1349     "id": "2bbb97af.762cc8",
1350     "type": "set",
1351     "name": "set emails",
1352     "xml": "<set>\n<parameter name='prop.site.emails' value='`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
1353     "comments": "",
1354     "x": 1781.3334426879883,
1355     "y": 500.6000266075134,
1356     "z": "e876afdc.6a24f",
1357     "wires": []
1358   },
1359   {
1360     "id": "e068ac07.3a75f",
1361     "type": "switchNode",
1362     "name": "switch emails",
1363     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-data.vnf-request-input.vnf-input-parameters.param[$idx].name == 'emails'`\">\n",
1364     "comments": "",
1365     "outputs": 1,
1366     "x": 1250.3338165283203,
1367     "y": 532.0001745223999,
1368     "z": "e876afdc.6a24f",
1369     "wires": [
1370       [
1371         "4e291944.287288"
1372       ]
1373     ]
1374   },
1375   {
1376     "id": "3f69ab6a.936704",
1377     "type": "execute",
1378     "name": "execute split emails",
1379     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$prop.site.emails`'/>\n<parameter name=\"regex\" value=\",\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"prop.site.email\"/>\n",
1380     "comments": "",
1381     "outputs": 1,
1382     "x": 1806.9997863769531,
1383     "y": 546.9999294281006,
1384     "z": "e876afdc.6a24f",
1385     "wires": [
1386       []
1387     ]
1388   },
1389   {
1390     "id": "f818ecd2.ba80f",
1391     "type": "block",
1392     "name": "block : atomic",
1393     "xml": "<block atomic=\"true\">",
1394     "atomic": "true",
1395     "outputs": 1,
1396     "x": 1585.333755493164,
1397     "y": 533.0000920295715,
1398     "z": "e876afdc.6a24f",
1399     "wires": [
1400       [
1401         "2bbb97af.762cc8",
1402         "3f69ab6a.936704"
1403       ]
1404     ]
1405   },
1406   {
1407     "id": "69c072d6.f6ae7c",
1408     "type": "set",
1409     "name": "set siteId",
1410     "xml": "<set>\n<parameter name='prop.site.siteId' value=\"\" />\n\n",
1411     "comments": "",
1412     "x": 1220.0000762939453,
1413     "y": 762.0000247955322,
1414     "z": "e876afdc.6a24f",
1415     "wires": []
1416   },
1417   {
1418     "id": "c77bd4e4.651878",
1419     "type": "comment",
1420     "name": "should be null in request",
1421     "info": "",
1422     "comments": "",
1423     "x": 1229,
1424     "y": 732.999979019165,
1425     "z": "e876afdc.6a24f",
1426     "wires": []
1427   }
1428 ]