Allow sub directories for graphs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-wanport-deactivate.json
1 [
2   {
3     "id": "160bd41b.750adc",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 97,
8     "y": 50,
9     "z": "60265787.2327c8",
10     "wires": [
11       [
12         "7010ff28.09428"
13       ]
14     ]
15   },
16   {
17     "id": "7010ff28.09428",
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": 245.2856903076172,
26     "y": 100.23810863494873,
27     "z": "60265787.2327c8",
28     "wires": [
29       [
30         "f412ee4c.d62e7"
31       ]
32     ]
33   },
34   {
35     "id": "f412ee4c.d62e7",
36     "type": "method",
37     "name": "method sdwan-vnf-topology-operation-wanport-deactivate",
38     "xml": "<method rpc='sdwan-vnf-topology-operation-wanport-deactivate' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 279.4286117553711,
42     "y": 184.0000171661377,
43     "z": "60265787.2327c8",
44     "wires": [
45       [
46         "cc23525.50310b"
47       ]
48     ]
49   },
50   {
51     "id": "cc23525.50310b",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 254.66670608520508,
58     "y": 568.6666831970215,
59     "z": "60265787.2327c8",
60     "wires": [
61       [
62         "8af94d5d.882d",
63         "db706027.a79c1",
64         "a0bc8740.7ee818",
65         "13704b55.ddb7b5",
66         "f6e2bea8.930d7",
67         "1d165946.98b807",
68         "e263e9f9.47b878",
69         "ec6fef57.1d937",
70         "f2ee43ab.85fef"
71       ]
72     ]
73   },
74   {
75     "id": "8af94d5d.882d",
76     "type": "switchNode",
77     "name": "switch service-data.vnfs.vnf_length",
78     "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
79     "comments": "",
80     "outputs": 1,
81     "x": 760.0209541320801,
82     "y": 93.02095350623131,
83     "z": "60265787.2327c8",
84     "wires": [
85       [
86         "80fd0bfd.39f738",
87         "7b7c3289.46689c",
88         "eedac48f.477958"
89       ]
90     ]
91   },
92   {
93     "id": "80fd0bfd.39f738",
94     "type": "other",
95     "name": "Null",
96     "xml": "<outcome value=''>\n",
97     "comments": "",
98     "outputs": 1,
99     "x": 1003.020881652832,
100     "y": 118.02103647589684,
101     "z": "60265787.2327c8",
102     "wires": [
103       [
104         "bd8e7274.c99a"
105       ]
106     ]
107   },
108   {
109     "id": "bd8e7274.c99a",
110     "type": "returnFailure",
111     "name": "return failure",
112     "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",
113     "comments": "",
114     "x": 1151.7983932495117,
115     "y": 97.90997156500816,
116     "z": "60265787.2327c8",
117     "wires": []
118   },
119   {
120     "id": "7b7c3289.46689c",
121     "type": "other",
122     "name": "other",
123     "xml": "<outcome value='Other'>\n",
124     "comments": "",
125     "outputs": 1,
126     "x": 1004.0212059020996,
127     "y": 151.02105936408043,
128     "z": "60265787.2327c8",
129     "wires": [
130       [
131         "fc040973.03bed8"
132       ]
133     ]
134   },
135   {
136     "id": "fc040973.03bed8",
137     "type": "block",
138     "name": "block : atomic",
139     "xml": "<block atomic=\"true\">",
140     "atomic": "true",
141     "outputs": 1,
142     "x": 1151.2909088134766,
143     "y": 140.5755818784237,
144     "z": "60265787.2327c8",
145     "wires": [
146       [
147         "41b2ec7a.c9fac4",
148         "ed9b9aab.53af18"
149       ]
150     ]
151   },
152   {
153     "id": "41b2ec7a.c9fac4",
154     "type": "for",
155     "name": "for vidx..service-data.vnfs.vnf_length[]",
156     "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
157     "comments": "",
158     "outputs": 1,
159     "x": 1396.306869506836,
160     "y": 92.44958147406578,
161     "z": "60265787.2327c8",
162     "wires": [
163       [
164         "da4ef740.d83fa8"
165       ]
166     ]
167   },
168   {
169     "id": "ed9b9aab.53af18",
170     "type": "switchNode",
171     "name": "switch tmp.vidx ",
172     "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
173     "comments": "",
174     "outputs": 1,
175     "x": 1327.6082229614258,
176     "y": 140.432760566473,
177     "z": "60265787.2327c8",
178     "wires": [
179       [
180         "742d2b6f.de3234"
181       ]
182     ]
183   },
184   {
185     "id": "742d2b6f.de3234",
186     "type": "outcome",
187     "name": "NULL",
188     "xml": "<outcome value=''>\n",
189     "comments": "",
190     "outputs": 1,
191     "x": 1481.0368614196777,
192     "y": 139.00417360663414,
193     "z": "60265787.2327c8",
194     "wires": [
195       [
196         "373d4940.5a03b6"
197       ]
198     ]
199   },
200   {
201     "id": "cf1a968e.65c658",
202     "type": "switchNode",
203     "name": "switch vnfid found",
204     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
205     "comments": "",
206     "outputs": 1,
207     "x": 1767.735450744629,
208     "y": 89.69969400763512,
209     "z": "60265787.2327c8",
210     "wires": [
211       [
212         "6d3e9e16.89bfe"
213       ]
214     ]
215   },
216   {
217     "id": "373d4940.5a03b6",
218     "type": "returnFailure",
219     "name": "return failure",
220     "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",
221     "comments": "",
222     "x": 1617.4652557373047,
223     "y": 138.14703592658043,
224     "z": "60265787.2327c8",
225     "wires": []
226   },
227   {
228     "id": "6d3e9e16.89bfe",
229     "type": "outcomeTrue",
230     "name": "true",
231     "xml": "<outcome value='true'>\n",
232     "comments": "",
233     "outputs": 1,
234     "x": 1806.687599182129,
235     "y": 144.59241327643394,
236     "z": "60265787.2327c8",
237     "wires": [
238       [
239         "c733e74a.c143c8"
240       ]
241     ]
242   },
243   {
244     "id": "eedac48f.477958",
245     "type": "outcome",
246     "name": "0",
247     "xml": "<outcome value='0'>\n",
248     "comments": "",
249     "outputs": 1,
250     "x": 999.9896278381348,
251     "y": 85.9897321164608,
252     "z": "60265787.2327c8",
253     "wires": [
254       [
255         "bd8e7274.c99a"
256       ]
257     ]
258   },
259   {
260     "id": "da4ef740.d83fa8",
261     "type": "block",
262     "name": "block",
263     "xml": "<block>\n",
264     "atomic": "false",
265     "comments": "",
266     "outputs": 1,
267     "x": 1615.6565017700195,
268     "y": 91.98964247107506,
269     "z": "60265787.2327c8",
270     "wires": [
271       [
272         "cf1a968e.65c658"
273       ]
274     ]
275   },
276   {
277     "id": "db706027.a79c1",
278     "type": "set",
279     "name": "set vnf in service-data",
280     "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.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.`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-information.' value='`$vnf-topology-operation-input.vnf-information.`' />\n\n",
281     "comments": "",
282     "x": 715.334171295166,
283     "y": 741.6668876111507,
284     "z": "60265787.2327c8",
285     "wires": []
286   },
287   {
288     "id": "a0bc8740.7ee818",
289     "type": "set",
290     "name": "set vnfId and vnf-object-path",
291     "xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.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/'  + $vnf-topology-operation-input.vnf-information.vnf-id  + '/vnf-data/'` \" />",
292     "comments": "",
293     "x": 727.8898124694824,
294     "y": 798.8891824185848,
295     "z": "60265787.2327c8",
296     "wires": []
297   },
298   {
299     "id": "13704b55.ddb7b5",
300     "type": "set",
301     "name": "set vnf-level-oper-status to PendingDelete",
302     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='PendingDelete' />\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",
303     "comments": "",
304     "x": 770.3341865539551,
305     "y": 833.6670182645321,
306     "z": "60265787.2327c8",
307     "wires": []
308   },
309   {
310     "id": "f6e2bea8.930d7",
311     "type": "returnSuccess",
312     "name": "return success",
313     "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",
314     "comments": "",
315     "x": 680.6675567626953,
316     "y": 922.4448512494564,
317     "z": "60265787.2327c8",
318     "wires": []
319   },
320   {
321     "id": "e263e9f9.47b878",
322     "type": "get-resource",
323     "name": "get-resource esr-thirdparty-sdnc",
324     "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 = SDWANController AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
325     "comments": "",
326     "outputs": 1,
327     "x": 740.5003604888916,
328     "y": 261.0001236796379,
329     "z": "60265787.2327c8",
330     "wires": [
331       [
332         "553a8d46.b43834",
333         "4956fcb2.4927a4",
334         "b5f5e61a.4229a8"
335       ]
336     ]
337   },
338   {
339     "id": "553a8d46.b43834",
340     "type": "success",
341     "name": "success",
342     "xml": "<outcome value='success'>\n",
343     "comments": "",
344     "outputs": 1,
345     "x": 959.5003299713135,
346     "y": 220.00012025237083,
347     "z": "60265787.2327c8",
348     "wires": [
349       [
350         "f8d39c98.f3e5a"
351       ]
352     ]
353   },
354   {
355     "id": "4956fcb2.4927a4",
356     "type": "not-found",
357     "name": "not-found",
358     "xml": "<outcome value='not-found'>\n",
359     "comments": "",
360     "outputs": 1,
361     "x": 962.9912967681885,
362     "y": 267.5741558969021,
363     "z": "60265787.2327c8",
364     "wires": [
365       [
366         "60e56df6.080ca4"
367       ]
368     ]
369   },
370   {
371     "id": "b5f5e61a.4229a8",
372     "type": "other",
373     "name": "other",
374     "xml": "<outcome value='Other'>\n",
375     "comments": "",
376     "outputs": 1,
377     "x": 958.3243045806885,
378     "y": 308.90746888518333,
379     "z": "60265787.2327c8",
380     "wires": [
381       [
382         "15107992.3c8136"
383       ]
384     ]
385   },
386   {
387     "id": "15107992.3c8136",
388     "type": "returnFailure",
389     "name": "return failure",
390     "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",
391     "comments": "",
392     "x": 1146.0968608856201,
393     "y": 304.34666165709496,
394     "z": "60265787.2327c8",
395     "wires": []
396   },
397   {
398     "id": "60e56df6.080ca4",
399     "type": "returnFailure",
400     "name": "return failure",
401     "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",
402     "comments": "",
403     "x": 1139.562707901001,
404     "y": 255.85989198088646,
405     "z": "60265787.2327c8",
406     "wires": []
407   },
408   {
409     "id": "f8d39c98.f3e5a",
410     "type": "set",
411     "name": "set controller data",
412     "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",
413     "comments": "",
414     "x": 1140.0004329681396,
415     "y": 214.00015896558762,
416     "z": "60265787.2327c8",
417     "wires": []
418   },
419   {
420     "id": "1d346910.f82317",
421     "type": "execute",
422     "name": "execute RestApiCallNode device port delete",
423     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device-port-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/ports/action/batch-delete'`\" />\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=\"portResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />",
424     "comments": "",
425     "outputs": 1,
426     "x": 773.0005130767822,
427     "y": 636.6668682992458,
428     "z": "60265787.2327c8",
429     "wires": [
430       [
431         "42db533e.b56eac",
432         "3455c58f.b562ea"
433       ]
434     ]
435   },
436   {
437     "id": "42db533e.b56eac",
438     "type": "success",
439     "name": "success",
440     "xml": "<outcome value='success'>\n",
441     "comments": "",
442     "outputs": 1,
443     "x": 1019.0004978179932,
444     "y": 674.6669569909573,
445     "z": "60265787.2327c8",
446     "wires": [
447       [
448         "77804da4.2bade4"
449       ]
450     ]
451   },
452   {
453     "id": "3455c58f.b562ea",
454     "type": "failure",
455     "name": "failure",
456     "xml": "<outcome value='failure'>\n",
457     "comments": "",
458     "outputs": 1,
459     "x": 1015.0005779266357,
460     "y": 628.6668721139431,
461     "z": "60265787.2327c8",
462     "wires": [
463       [
464         "7c085513.57701c"
465       ]
466     ]
467   },
468   {
469     "id": "7c085513.57701c",
470     "type": "returnFailure",
471     "name": "return failure",
472     "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",
473     "comments": "",
474     "x": 1156.0006694793701,
475     "y": 628.6668730676174,
476     "z": "60265787.2327c8",
477     "wires": []
478   },
479   {
480     "id": "77804da4.2bade4",
481     "type": "block",
482     "name": "block : atomic",
483     "xml": "<block atomic=\"true\">",
484     "atomic": "true",
485     "comments": "",
486     "outputs": 1,
487     "x": 1163.0003643035889,
488     "y": 672.6668759286404,
489     "z": "60265787.2327c8",
490     "wires": [
491       []
492     ]
493   },
494   {
495     "id": "b1683370.08944",
496     "type": "execute",
497     "name": "execute RestApiCallNode wan port delete",
498     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-wan-port-del.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/net/transport-network-ports/action/batch-delete'`\" />\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=\"portResp\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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`\" />",
499     "comments": "",
500     "outputs": 1,
501     "x": 764.0006809234619,
502     "y": 529.6668654382229,
503     "z": "60265787.2327c8",
504     "wires": [
505       [
506         "25b510d9.36284",
507         "3a348892.4f4ad8"
508       ]
509     ]
510   },
511   {
512     "id": "25b510d9.36284",
513     "type": "success",
514     "name": "success",
515     "xml": "<outcome value='success'>\n",
516     "comments": "",
517     "outputs": 1,
518     "x": 997.0007762908936,
519     "y": 562.6668578088284,
520     "z": "60265787.2327c8",
521     "wires": [
522       [
523         "cc96ff80.a3e57"
524       ]
525     ]
526   },
527   {
528     "id": "3a348892.4f4ad8",
529     "type": "failure",
530     "name": "failure",
531     "xml": "<outcome value='failure'>\n",
532     "comments": "",
533     "outputs": 1,
534     "x": 1001.0008563995361,
535     "y": 498.6669360101223,
536     "z": "60265787.2327c8",
537     "wires": [
538       [
539         "ce0c3d97.4bdf8"
540       ]
541     ]
542   },
543   {
544     "id": "ce0c3d97.4bdf8",
545     "type": "returnFailure",
546     "name": "return failure",
547     "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",
548     "comments": "",
549     "x": 1146.001028060913,
550     "y": 500.6669360101223,
551     "z": "60265787.2327c8",
552     "wires": []
553   },
554   {
555     "id": "cc96ff80.a3e57",
556     "type": "block",
557     "name": "block : atomic",
558     "xml": "<block atomic=\"true\">",
559     "atomic": "true",
560     "comments": "",
561     "outputs": 1,
562     "x": 1153.0006198883057,
563     "y": 560.6668578088284,
564     "z": "60265787.2327c8",
565     "wires": [
566       []
567     ]
568   },
569   {
570     "id": "1d165946.98b807",
571     "type": "execute",
572     "name": "execute Properties",
573     "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",
574     "comments": "",
575     "outputs": 1,
576     "x": 707.9999885559082,
577     "y": 136.00003084540367,
578     "z": "60265787.2327c8",
579     "wires": [
580       []
581     ]
582   },
583   {
584     "id": "ec6fef57.1d937",
585     "type": "execute",
586     "name": "execute RestApiCallNode Get token",
587     "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.onap.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\"/>",
588     "comments": "",
589     "outputs": 1,
590     "x": 757.0002689361572,
591     "y": 399.6666949689388,
592     "z": "60265787.2327c8",
593     "wires": [
594       [
595         "4f27175.40c29e8",
596         "50a6cd99.43e804"
597       ]
598     ]
599   },
600   {
601     "id": "4f27175.40c29e8",
602     "type": "success",
603     "name": "success",
604     "xml": "<outcome value='success'>\n",
605     "comments": "",
606     "outputs": 1,
607     "x": 991.0003070831299,
608     "y": 385.66671976447105,
609     "z": "60265787.2327c8",
610     "wires": [
611       [
612         "ba76090.b8b84f8"
613       ]
614     ]
615   },
616   {
617     "id": "50a6cd99.43e804",
618     "type": "failure",
619     "name": "failure",
620     "xml": "<outcome value='failure'>\n",
621     "comments": "",
622     "outputs": 1,
623     "x": 984.2502689361572,
624     "y": 431.3095782697201,
625     "z": "60265787.2327c8",
626     "wires": [
627       [
628         "a32d5aa2.e0b408"
629       ]
630     ]
631   },
632   {
633     "id": "a32d5aa2.e0b408",
634     "type": "returnFailure",
635     "name": "return failure",
636     "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 get token rest api\" />\n",
637     "comments": "",
638     "x": 1137.0002689361572,
639     "y": 431.0596393048763,
640     "z": "60265787.2327c8",
641     "wires": []
642   },
643   {
644     "id": "ba76090.b8b84f8",
645     "type": "set",
646     "name": "set token-id",
647     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
648     "comments": "",
649     "x": 1145.0003070831299,
650     "y": 386.66671976447105,
651     "z": "60265787.2327c8",
652     "wires": []
653   },
654   {
655     "id": "c733e74a.c143c8",
656     "type": "block",
657     "name": "block : atomic",
658     "xml": "<block atomic=\"true\">",
659     "atomic": "true",
660     "outputs": 1,
661     "x": 1947.0001106262207,
662     "y": 145.00004610419273,
663     "z": "60265787.2327c8",
664     "wires": [
665       [
666         "2115f98.c329d06",
667         "5f1edf6a.5abca",
668         "e126aeff.fd3f4"
669       ]
670     ]
671   },
672   {
673     "id": "f2ee43ab.85fef",
674     "type": "update",
675     "name": "update SDWAN wan port instance configuration in AAI",
676     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='wan-port-config' \n      key='wan-port-config.wan-port-config-id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name='wan-port-config-id' value=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\" />\n<parameter name='operational-status' value='PendingDelete' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n",
677     "comments": "",
678     "outputs": 1,
679     "x": 793.0002861022949,
680     "y": 875.0004304349422,
681     "z": "60265787.2327c8",
682     "wires": [
683       []
684     ]
685   },
686   {
687     "id": "2115f98.c329d06",
688     "type": "set",
689     "name": "set tmp.vidx and ctx.vnf-data",
690     "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
691     "comments": "",
692     "x": 2197.0313453674316,
693     "y": 96.03129276633263,
694     "z": "60265787.2327c8",
695     "wires": []
696   },
697   {
698     "id": "5f1edf6a.5abca",
699     "type": "set",
700     "name": "set vnf-request-input.",
701     "xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
702     "comments": "",
703     "x": 2169.4776344299316,
704     "y": 142.68892845511436,
705     "z": "60265787.2327c8",
706     "wires": []
707   },
708   {
709     "id": "e126aeff.fd3f4",
710     "type": "call",
711     "name": "call sdwan-get-wan-param",
712     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-wan-param' mode='sync' >\n",
713     "comments": "",
714     "outputs": 1,
715     "x": 2193.477584838867,
716     "y": 192.6889165341854,
717     "z": "60265787.2327c8",
718     "wires": [
719       []
720     ]
721   },
722   {
723     "id": "e35c5cc.ba705a",
724     "type": "call",
725     "name": "call sdwan-get-tenant-auth",
726     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
727     "comments": "",
728     "outputs": 1,
729     "x": 727,
730     "y": 462,
731     "z": "60265787.2327c8",
732     "wires": [
733       []
734     ]
735   }
736 ]