547ed01092311fb74a5ba99f9a9aa46c62a88d01
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-network-topology-operation-deactivate.json
1 [
2   {
3     "id": "2cfde233.a1cf6e",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 103.00390625,
8     "y": 35.003907203674316,
9     "z": "57d2d3d6.9aa6fc",
10     "wires": [
11       [
12         "3b2e232c.fd060c"
13       ]
14     ]
15   },
16   {
17     "id": "3b2e232c.fd060c",
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": 265.00391006469727,
26     "y": 107.0039234161377,
27     "z": "57d2d3d6.9aa6fc",
28     "wires": [
29       [
30         "a53b2fce.2a65f"
31       ]
32     ]
33   },
34   {
35     "id": "a53b2fce.2a65f",
36     "type": "method",
37     "name": "method sdwan-network-topology-operation-deactivate",
38     "xml": "<method rpc='sdwan-network-topology-operation-deactivate' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 253.0040283203125,
42     "y": 195.00390625,
43     "z": "57d2d3d6.9aa6fc",
44     "wires": [
45       [
46         "663d77f7.214e28"
47       ]
48     ]
49   },
50   {
51     "id": "663d77f7.214e28",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 427.00392150878906,
59     "y": 303.0039653778076,
60     "z": "57d2d3d6.9aa6fc",
61     "wires": [
62       [
63         "b928d5a5.e0ad38",
64         "4e2c1ff0.9578e",
65         "f4a9e349.c682f",
66         "23c4ff52.00447",
67         "77ecaa70.6d0df4",
68         "2ea7cfac.fbbe5",
69         "15a8b2bc.455b8d",
70         "b657cd65.d8e7b",
71         "e4693af9.dc3458",
72         "c69b48c1.cce2a8",
73         "992bd0be.f4511",
74         "565518bc.dd3838",
75         "5cca3c72.23bd74"
76       ]
77     ]
78   },
79   {
80     "id": "b928d5a5.e0ad38",
81     "type": "call",
82     "name": "call GENERIC-RESOURCE-API:validate-sdwan-network-input-parameters",
83     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sdwan-network-input-parameters' mode='sync' >\n",
84     "comments": "",
85     "outputs": 1,
86     "x": 885.3928070068359,
87     "y": 52.00390625,
88     "z": "57d2d3d6.9aa6fc",
89     "wires": [
90       []
91     ]
92   },
93   {
94     "id": "4e2c1ff0.9578e",
95     "type": "record",
96     "name": "record",
97     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"sdwan-network-topology-operation-deactivate\"/>\n<parameter name=\"field3\" value=\"SDWAN-Deactivate\"/>\n",
98     "comments": "",
99     "outputs": 1,
100     "x": 685.5595054626465,
101     "y": 105.78175926208496,
102     "z": "57d2d3d6.9aa6fc",
103     "wires": [
104       []
105     ]
106   },
107   {
108     "id": "f4a9e349.c682f",
109     "type": "set",
110     "name": "set networkId and network-object-path",
111     "xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $network-topology-operation-input.network-information.network-id  + '/network-data/'` \" />",
112     "comments": "",
113     "x": 777.5597496032715,
114     "y": 732.3173627853394,
115     "z": "57d2d3d6.9aa6fc",
116     "wires": []
117   },
118   {
119     "id": "23c4ff52.00447",
120     "type": "returnSuccess",
121     "name": "return success",
122     "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",
123     "comments": "",
124     "x": 699.3375511169434,
125     "y": 921.8727827072144,
126     "z": "57d2d3d6.9aa6fc",
127     "wires": []
128   },
129   {
130     "id": "77ecaa70.6d0df4",
131     "type": "set",
132     "name": "set network-level-oper-status",
133     "xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />",
134     "comments": "",
135     "x": 744.4486656188965,
136     "y": 793.5395374298096,
137     "z": "57d2d3d6.9aa6fc",
138     "wires": []
139   },
140   {
141     "id": "2ea7cfac.fbbe5",
142     "type": "execute",
143     "name": "execute Properties",
144     "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",
145     "comments": "",
146     "outputs": 1,
147     "x": 717.8616104125977,
148     "y": 158.78179550170898,
149     "z": "57d2d3d6.9aa6fc",
150     "wires": [
151       []
152     ]
153   },
154   {
155     "id": "15a8b2bc.455b8d",
156     "type": "set",
157     "name": "set network in service-data",
158     "xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />",
159     "comments": "",
160     "x": 738.004280090332,
161     "y": 679.095196723938,
162     "z": "57d2d3d6.9aa6fc",
163     "wires": []
164   },
165   {
166     "id": "b657cd65.d8e7b",
167     "type": "for",
168     "name": "for each network-input-parameters",
169     "xml": "<for index='idx' start='0' end='`$ctx.network-data.network-request-input.network-input-parameters.param_length`' >\n",
170     "comments": "",
171     "outputs": 1,
172     "x": 770.00390625,
173     "y": 229.00781378149986,
174     "z": "57d2d3d6.9aa6fc",
175     "wires": [
176       [
177         "630ca78d.27ae88"
178       ]
179     ]
180   },
181   {
182     "id": "630ca78d.27ae88",
183     "type": "block",
184     "name": "block",
185     "xml": "<block>\n",
186     "atomic": "false",
187     "comments": "",
188     "outputs": 1,
189     "x": 1026.8373374938965,
190     "y": 163.34116491675377,
191     "z": "57d2d3d6.9aa6fc",
192     "wires": [
193       [
194         "3612556b.bbed1a",
195         "c60af583.51da48",
196         "a8faff93.c15f9",
197         "3a3baf52.54ed7"
198       ]
199     ]
200   },
201   {
202     "id": "3612556b.bbed1a",
203     "type": "switchNode",
204     "name": "switch name",
205     "xml": "<switch test=\"`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].name == 'name'`\">\n",
206     "comments": "",
207     "outputs": 1,
208     "x": 1248.837417602539,
209     "y": 53.34119987487793,
210     "z": "57d2d3d6.9aa6fc",
211     "wires": [
212       [
213         "8c14fd7b.27081"
214       ]
215     ]
216   },
217   {
218     "id": "8c14fd7b.27081",
219     "type": "outcomeTrue",
220     "name": "true",
221     "xml": "<outcome value='true'>\n",
222     "comments": "",
223     "outputs": 1,
224     "x": 1422.8375434875488,
225     "y": 53.341203689575195,
226     "z": "57d2d3d6.9aa6fc",
227     "wires": [
228       [
229         "f4242145.e0099"
230       ]
231     ]
232   },
233   {
234     "id": "f4242145.e0099",
235     "type": "set",
236     "name": "set name",
237     "xml": "<set>\n<parameter name='prop.name' value='`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
238     "comments": "",
239     "x": 1585.8374290466309,
240     "y": 52.94119834899902,
241     "z": "57d2d3d6.9aa6fc",
242     "wires": []
243   },
244   {
245     "id": "e4693af9.dc3458",
246     "type": "get-resource",
247     "name": "get-resource esr-thirdparty-sdnc",
248     "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",
249     "comments": "",
250     "outputs": 1,
251     "x": 764.00390625,
252     "y": 338.00781378149986,
253     "z": "57d2d3d6.9aa6fc",
254     "wires": [
255       [
256         "fdb52017.6dec1",
257         "5ded5567.77825c",
258         "2c94536.83be9ac"
259       ]
260     ]
261   },
262   {
263     "id": "fdb52017.6dec1",
264     "type": "success",
265     "name": "success",
266     "xml": "<outcome value='success'>\n",
267     "comments": "",
268     "outputs": 1,
269     "x": 1009.00390625,
270     "y": 284.00781378149986,
271     "z": "57d2d3d6.9aa6fc",
272     "wires": [
273       [
274         "2b35b6e5.d07f8a"
275       ]
276     ]
277   },
278   {
279     "id": "5ded5567.77825c",
280     "type": "not-found",
281     "name": "not-found",
282     "xml": "<outcome value='not-found'>\n",
283     "comments": "",
284     "outputs": 1,
285     "x": 1012.494873046875,
286     "y": 331.5818494260311,
287     "z": "57d2d3d6.9aa6fc",
288     "wires": [
289       [
290         "8424b2a8.48b9d"
291       ]
292     ]
293   },
294   {
295     "id": "2c94536.83be9ac",
296     "type": "other",
297     "name": "other",
298     "xml": "<outcome value='Other'>\n",
299     "comments": "",
300     "outputs": 1,
301     "x": 1007.827880859375,
302     "y": 372.91516241431236,
303     "z": "57d2d3d6.9aa6fc",
304     "wires": [
305       [
306         "ab7ddb5c.582b78"
307       ]
308     ]
309   },
310   {
311     "id": "2b35b6e5.d07f8a",
312     "type": "set",
313     "name": "set controller data",
314     "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",
315     "comments": "",
316     "x": 1206.5039672851562,
317     "y": 272.00781378149986,
318     "z": "57d2d3d6.9aa6fc",
319     "wires": []
320   },
321   {
322     "id": "8424b2a8.48b9d",
323     "type": "returnFailure",
324     "name": "return failure",
325     "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",
326     "comments": "",
327     "x": 1189.0662841796875,
328     "y": 319.8675855100155,
329     "z": "57d2d3d6.9aa6fc",
330     "wires": []
331   },
332   {
333     "id": "ab7ddb5c.582b78",
334     "type": "returnFailure",
335     "name": "return failure",
336     "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",
337     "comments": "",
338     "x": 1195.6004371643066,
339     "y": 368.354355186224,
340     "z": "57d2d3d6.9aa6fc",
341     "wires": []
342   },
343   {
344     "id": "c69b48c1.cce2a8",
345     "type": "execute",
346     "name": "execute RestApiCallNode Get token",
347     "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\"/>",
348     "comments": "",
349     "outputs": 1,
350     "x": 772.00390625,
351     "y": 449.00781378149986,
352     "z": "57d2d3d6.9aa6fc",
353     "wires": [
354       [
355         "ce7c1b67.661578",
356         "8a934505.8ec3a8"
357       ]
358     ]
359   },
360   {
361     "id": "ce7c1b67.661578",
362     "type": "success",
363     "name": "success",
364     "xml": "<outcome value='success'>\n",
365     "comments": "",
366     "outputs": 1,
367     "x": 1007.00390625,
368     "y": 427.00781378149986,
369     "z": "57d2d3d6.9aa6fc",
370     "wires": [
371       [
372         "aa6da81f.8e3f18"
373       ]
374     ]
375   },
376   {
377     "id": "8a934505.8ec3a8",
378     "type": "failure",
379     "name": "failure",
380     "xml": "<outcome value='failure'>\n",
381     "comments": "",
382     "outputs": 1,
383     "x": 999.25390625,
384     "y": 480.6506970822811,
385     "z": "57d2d3d6.9aa6fc",
386     "wires": [
387       [
388         "928c6b17.a04a28"
389       ]
390     ]
391   },
392   {
393     "id": "aa6da81f.8e3f18",
394     "type": "set",
395     "name": "set token-id",
396     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
397     "comments": "",
398     "x": 1161.00390625,
399     "y": 428.00781378149986,
400     "z": "57d2d3d6.9aa6fc",
401     "wires": []
402   },
403   {
404     "id": "928c6b17.a04a28",
405     "type": "returnFailure",
406     "name": "return failure",
407     "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",
408     "comments": "",
409     "x": 1152.00390625,
410     "y": 480.40075811743736,
411     "z": "57d2d3d6.9aa6fc",
412     "wires": []
413   },
414   {
415     "id": "c60af583.51da48",
416     "type": "switchNode",
417     "name": "switch topology",
418     "xml": "<switch test=\"`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].name == 'topology'`\">\n",
419     "comments": "",
420     "outputs": 1,
421     "x": 1254.253890991211,
422     "y": 96.00781416893005,
423     "z": "57d2d3d6.9aa6fc",
424     "wires": [
425       [
426         "6ea0ea88.c5d044"
427       ]
428     ]
429   },
430   {
431     "id": "6ea0ea88.c5d044",
432     "type": "outcomeTrue",
433     "name": "true",
434     "xml": "<outcome value='true'>\n",
435     "comments": "",
436     "outputs": 1,
437     "x": 1428.2540168762207,
438     "y": 96.00781798362732,
439     "z": "57d2d3d6.9aa6fc",
440     "wires": [
441       [
442         "230bc0ec.589fb"
443       ]
444     ]
445   },
446   {
447     "id": "230bc0ec.589fb",
448     "type": "set",
449     "name": "set topology",
450     "xml": "<set>\n<parameter name='prop.topology' value='`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
451     "comments": "",
452     "x": 1591.2539024353027,
453     "y": 95.60781264305115,
454     "z": "57d2d3d6.9aa6fc",
455     "wires": []
456   },
457   {
458     "id": "992bd0be.f4511",
459     "type": "execute",
460     "name": "execute RestApiCallNode delete vpn",
461     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-delete.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn/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=\"vpn-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`\" />",
462     "comments": "",
463     "outputs": 1,
464     "x": 770.7539825439453,
465     "y": 616.0080223083496,
466     "z": "57d2d3d6.9aa6fc",
467     "wires": [
468       []
469     ]
470   },
471   {
472     "id": "565518bc.dd3838",
473     "type": "execute",
474     "name": "execute RestApiCallNode delete vpn topology",
475     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn-id + '/topology'`\" />\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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-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`\" />",
476     "comments": "",
477     "outputs": 1,
478     "x": 800.2539978027344,
479     "y": 549.0079069137573,
480     "z": "57d2d3d6.9aa6fc",
481     "wires": [
482       []
483     ]
484   },
485   {
486     "id": "a8faff93.c15f9",
487     "type": "switchNode",
488     "name": "switch vpn-id",
489     "xml": "<switch test=\"`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].name == 'vpn-id'`\">\n",
490     "comments": "",
491     "outputs": 1,
492     "x": 1248.5039691925049,
493     "y": 179.00390815734863,
494     "z": "57d2d3d6.9aa6fc",
495     "wires": [
496       [
497         "ae3a63c3.3c738"
498       ]
499     ]
500   },
501   {
502     "id": "ae3a63c3.3c738",
503     "type": "outcomeTrue",
504     "name": "true",
505     "xml": "<outcome value='true'>\n",
506     "comments": "",
507     "outputs": 1,
508     "x": 1430.5040016174316,
509     "y": 179.00390696525574,
510     "z": "57d2d3d6.9aa6fc",
511     "wires": [
512       [
513         "4d67f5b4.fc8eec"
514       ]
515     ]
516   },
517   {
518     "id": "4d67f5b4.fc8eec",
519     "type": "set",
520     "name": "set prop.vpn-id",
521     "xml": "<set>\n<parameter name='prop.vpn-id' value='`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
522     "comments": "",
523     "x": 1593.5038871765137,
524     "y": 178.60390162467957,
525     "z": "57d2d3d6.9aa6fc",
526     "wires": []
527   },
528   {
529     "id": "3a3baf52.54ed7",
530     "type": "switchNode",
531     "name": "switch tenant-id",
532     "xml": "<switch test=\"`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].name == 'tenant-id'`\">\n",
533     "comments": "",
534     "outputs": 1,
535     "x": 1254.25390625,
536     "y": 222.00390625,
537     "z": "57d2d3d6.9aa6fc",
538     "wires": [
539       [
540         "1a8e58aa.aa1b17"
541       ]
542     ]
543   },
544   {
545     "id": "1a8e58aa.aa1b17",
546     "type": "outcomeTrue",
547     "name": "true",
548     "xml": "<outcome value='true'>\n",
549     "comments": "",
550     "outputs": 1,
551     "x": 1428.2540321350098,
552     "y": 222.00391006469727,
553     "z": "57d2d3d6.9aa6fc",
554     "wires": [
555       [
556         "3b8512ac.291e5e"
557       ]
558     ]
559   },
560   {
561     "id": "3b8512ac.291e5e",
562     "type": "set",
563     "name": "set prop.tenant-id",
564     "xml": "<set>\n<parameter name='prop.tenant-id' value='`$ctx.network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
565     "comments": "",
566     "x": 1591.2539176940918,
567     "y": 221.6039047241211,
568     "z": "57d2d3d6.9aa6fc",
569     "wires": []
570   },
571   {
572     "id": "5cca3c72.23bd74",
573     "type": "update",
574     "name": "update SDWAN VPN status to AAI",
575     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n      key='sdwan-vpn.sdwan-vpn-id = $network-topology-operation-input.network-information.network-id' >\n<parameter name='sdwan-vpn-id' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='operational-status' value='PendingDelete' />",
576     "comments": "",
577     "outputs": 1,
578     "x": 758.0039443969727,
579     "y": 860.5039930343628,
580     "z": "57d2d3d6.9aa6fc",
581     "wires": [
582       []
583     ]
584   }
585 ]