Refactored SOTN and SDWAN DG
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-activate.json
1 [
2   {
3     "id": "206c85aa.5a072a",
4     "type": "comment",
5     "name": "sdwan-vnf-topology-operation-device-activate",
6     "info": "",
7     "comments": "",
8     "x": 508.3447952270508,
9     "y": 68,
10     "z": "51909408.51161c",
11     "wires": []
12   },
13   {
14     "id": "ca427018.80bcb",
15     "type": "service-logic",
16     "name": "GENERIC-RESOURCE-API ${project.version}",
17     "module": "GENERIC-RESOURCE-API",
18     "version": "${project.version}",
19     "comments": "",
20     "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}'>",
21     "outputs": 1,
22     "x": 188.28570556640625,
23     "y": 139.0002670288086,
24     "z": "51909408.51161c",
25     "wires": [
26       [
27         "2fa01ba0.438244"
28       ]
29     ]
30   },
31   {
32     "id": "d277668e.e654a8",
33     "type": "dgstart",
34     "name": "DGSTART",
35     "outputs": 1,
36     "x": 109,
37     "y": 76.76215744018555,
38     "z": "51909408.51161c",
39     "wires": [
40       [
41         "ca427018.80bcb"
42       ]
43     ]
44   },
45   {
46     "id": "29e19c37.979fb4",
47     "type": "block",
48     "name": "block : atomic",
49     "xml": "<block atomic=\"true\">",
50     "atomic": "true",
51     "outputs": 1,
52     "x": 183.6666717529297,
53     "y": 418.42884254455566,
54     "z": "51909408.51161c",
55     "wires": [
56       [
57         "d0145adc.c61398",
58         "8a8e6e5a.af8ac",
59         "5365293b.242938",
60         "2b32a3df.95a32c",
61         "7f49e88e.6ac0a8",
62         "8f8a4ade.fb21d8",
63         "9162baea.a58618",
64         "96cec913.036c98",
65         "f1cfd3b2.a98b6",
66         "7bfd6f06.aec7d",
67         "a82fd005.9ab21",
68         "752aae5e.411ae",
69         "feaf1629.1e79e8",
70         "bd5ee22a.cd67b"
71       ]
72     ]
73   },
74   {
75     "id": "8a8e6e5a.af8ac",
76     "type": "returnSuccess",
77     "name": "return success",
78     "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",
79     "comments": "",
80     "x": 589.0477142333984,
81     "y": 1021.6670913696289,
82     "z": "51909408.51161c",
83     "wires": []
84   },
85   {
86     "id": "d0145adc.c61398",
87     "type": "set",
88     "name": "set vnf-level-oper-status to Active",
89     "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",
90     "comments": "",
91     "x": 670.527774810791,
92     "y": 829.0042400360107,
93     "z": "51909408.51161c",
94     "wires": []
95   },
96   {
97     "id": "7f49e88e.6ac0a8",
98     "type": "set",
99     "name": "copy input data to service data",
100     "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",
101     "comments": "",
102     "x": 648.3809661865234,
103     "y": 885.000415802002,
104     "z": "51909408.51161c",
105     "wires": []
106   },
107   {
108     "id": "7ac7ee71.334c",
109     "type": "comment",
110     "name": "make sure this VNF doesn't exist already",
111     "info": "",
112     "comments": "",
113     "x": 1383.7143249511719,
114     "y": 661.9527359008789,
115     "z": "51909408.51161c",
116     "wires": []
117   },
118   {
119     "id": "7bfd6f06.aec7d",
120     "type": "save",
121     "name": "update deviceInstance configuration in AAI",
122     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n      key='device.device-id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name='device-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<!--parameter name='device-id' value='`$deviceResp.success[0].id`' /-->\n<parameter name='operational-status' value='Active' />",
123     "comments": "",
124     "outputs": 1,
125     "x": 672.7144622802734,
126     "y": 934.8894157409668,
127     "z": "51909408.51161c",
128     "wires": [
129       []
130     ]
131   },
132   {
133     "id": "2fa01ba0.438244",
134     "type": "method",
135     "name": "method sdwan-vnf-topology-operation-device-activate",
136     "xml": "<method rpc='sdwan-vnf-topology-operation-device-activate' mode='sync'>\n",
137     "comments": "",
138     "outputs": 1,
139     "x": 200,
140     "y": 233.3484992980957,
141     "z": "51909408.51161c",
142     "wires": [
143       [
144         "29e19c37.979fb4"
145       ]
146     ]
147   },
148   {
149     "id": "5365293b.242938",
150     "type": "set",
151     "name": "set vnfId and vnf-object-path",
152     "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/'` \" />",
153     "comments": "",
154     "x": 651.7144165039062,
155     "y": 777.9200525283813,
156     "z": "51909408.51161c",
157     "wires": []
158   },
159   {
160     "id": "feaf1629.1e79e8",
161     "type": "execute",
162     "name": "execute RestApiCallNode Create Devcie Instance",
163     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v3/devices'`\" />\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=\"deviceResp\"/>\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`\" />",
164     "comments": "",
165     "outputs": 1,
166     "x": 724.3017807006836,
167     "y": 666.1265420913696,
168     "z": "51909408.51161c",
169     "wires": [
170       [
171         "1fffde57.79b802",
172         "1d6faab2.67fba5"
173       ]
174     ]
175   },
176   {
177     "id": "752aae5e.411ae",
178     "type": "execute",
179     "name": "execute RestApiCallNode Get token",
180     "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\"/>",
181     "comments": "",
182     "outputs": 1,
183     "x": 675.4445495605469,
184     "y": 516.1263904571533,
185     "z": "51909408.51161c",
186     "wires": [
187       [
188         "32c81884.3acf08",
189         "5b1f77c1.6546b8"
190       ]
191     ]
192   },
193   {
194     "id": "32c81884.3acf08",
195     "type": "success",
196     "name": "success",
197     "xml": "<outcome value='success'>\n",
198     "comments": "",
199     "outputs": 1,
200     "x": 907.4445495605469,
201     "y": 496.1263904571533,
202     "z": "51909408.51161c",
203     "wires": [
204       [
205         "8863e5c0.8fc5a8"
206       ]
207     ]
208   },
209   {
210     "id": "5b1f77c1.6546b8",
211     "type": "failure",
212     "name": "failure",
213     "xml": "<outcome value='failure'>\n",
214     "comments": "",
215     "outputs": 1,
216     "x": 899.6945495605469,
217     "y": 537.7692737579346,
218     "z": "51909408.51161c",
219     "wires": [
220       [
221         "1b01e427.5d582c"
222       ]
223     ]
224   },
225   {
226     "id": "8863e5c0.8fc5a8",
227     "type": "set",
228     "name": "set token-id",
229     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
230     "comments": "",
231     "x": 1044.4445495605469,
232     "y": 496.1263904571533,
233     "z": "51909408.51161c",
234     "wires": []
235   },
236   {
237     "id": "1b01e427.5d582c",
238     "type": "block",
239     "name": "block",
240     "xml": "<block>\n",
241     "atomic": "false",
242     "comments": "",
243     "outputs": 1,
244     "x": 1025.7780456542969,
245     "y": 538.0153064727783,
246     "z": "51909408.51161c",
247     "wires": [
248       []
249     ]
250   },
251   {
252     "id": "b65e0d53.3b7ed",
253     "type": "comment",
254     "name": "Do Nothing",
255     "info": "",
256     "comments": "",
257     "x": 1287.3335914611816,
258     "y": 338.9041233062744,
259     "z": "51909408.51161c",
260     "wires": []
261   },
262   {
263     "id": "aa15cb9e.3cdaa8",
264     "type": "block",
265     "name": "block : atomic",
266     "xml": "<block atomic=\"true\">",
267     "atomic": "true",
268     "comments": "",
269     "outputs": 1,
270     "x": 1150.968246459961,
271     "y": 636.0153303146362,
272     "z": "51909408.51161c",
273     "wires": [
274       []
275     ]
276   },
277   {
278     "id": "12eca3bc.6e077c",
279     "type": "returnFailure",
280     "name": "return failure",
281     "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 Activate Device rest api\" />\n",
282     "comments": "",
283     "x": 1152.412826538086,
284     "y": 686.5708627700806,
285     "z": "51909408.51161c",
286     "wires": []
287   },
288   {
289     "id": "1d6faab2.67fba5",
290     "type": "failure",
291     "name": "failure",
292     "xml": "<outcome value='failure'>\n",
293     "comments": "",
294     "outputs": 1,
295     "x": 999.412670135498,
296     "y": 689.5708169937134,
297     "z": "51909408.51161c",
298     "wires": [
299       [
300         "12eca3bc.6e077c"
301       ]
302     ]
303   },
304   {
305     "id": "1fffde57.79b802",
306     "type": "success",
307     "name": "success",
308     "xml": "<outcome value='success'>\n",
309     "comments": "",
310     "outputs": 1,
311     "x": 998.8571853637695,
312     "y": 633.2375288009644,
313     "z": "51909408.51161c",
314     "wires": [
315       [
316         "aa15cb9e.3cdaa8"
317       ]
318     ]
319   },
320   {
321     "id": "8f8a4ade.fb21d8",
322     "type": "set",
323     "name": "set deviceId to service data",
324     "xml": "<set>\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].name' value=\"deviceId\" />\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].value' value='`$deviceResp.success[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",
325     "comments": "",
326     "x": 657.7145690917969,
327     "y": 729.9202995300293,
328     "z": "51909408.51161c",
329     "wires": []
330   },
331   {
332     "id": "a82fd005.9ab21",
333     "type": "get-resource",
334     "name": "get-resource esr-thirdparty-sdnc",
335     "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",
336     "comments": "",
337     "outputs": 1,
338     "x": 670.0002136230469,
339     "y": 420.34861183166504,
340     "z": "51909408.51161c",
341     "wires": [
342       [
343         "342b0391.a4834c",
344         "7a108269.f3476c",
345         "87289215.d0cea"
346       ]
347     ]
348   },
349   {
350     "id": "342b0391.a4834c",
351     "type": "success",
352     "name": "success",
353     "xml": "<outcome value='success'>\n",
354     "comments": "",
355     "outputs": 1,
356     "x": 911.0002708435059,
357     "y": 345.3485860824585,
358     "z": "51909408.51161c",
359     "wires": [
360       [
361         "21df5526.b03a8a"
362       ]
363     ]
364   },
365   {
366     "id": "21df5526.b03a8a",
367     "type": "set",
368     "name": "set controller data",
369     "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",
370     "comments": "",
371     "x": 1087.5003128051758,
372     "y": 336.34857511520386,
373     "z": "51909408.51161c",
374     "wires": []
375   },
376   {
377     "id": "7a108269.f3476c",
378     "type": "not-found",
379     "name": "not-found",
380     "xml": "<outcome value='not-found'>\n",
381     "comments": "",
382     "outputs": 1,
383     "x": 902.4911079406738,
384     "y": 393.92263412475586,
385     "z": "51909408.51161c",
386     "wires": [
387       [
388         "e9fd26db.c0e278"
389       ]
390     ]
391   },
392   {
393     "id": "e9fd26db.c0e278",
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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
397     "comments": "",
398     "x": 1076.0625190734863,
399     "y": 382.20837020874023,
400     "z": "51909408.51161c",
401     "wires": []
402   },
403   {
404     "id": "87289215.d0cea",
405     "type": "other",
406     "name": "other",
407     "xml": "<outcome value='Other'>\n",
408     "comments": "",
409     "outputs": 1,
410     "x": 894.8241157531738,
411     "y": 435.2559471130371,
412     "z": "51909408.51161c",
413     "wires": [
414       [
415         "d7092d64.71989"
416       ]
417     ]
418   },
419   {
420     "id": "d7092d64.71989",
421     "type": "returnFailure",
422     "name": "return failure",
423     "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",
424     "comments": "",
425     "x": 1082.5966720581055,
426     "y": 430.69513988494873,
427     "z": "51909408.51161c",
428     "wires": []
429   },
430   {
431     "id": "2b32a3df.95a32c",
432     "type": "record",
433     "name": "record",
434     "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=\"Provided alloted resource length\"/>\n<parameter name=\"field3\" value=\"'parameters length'\"/>\n<parameter name=\"field4\" value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`'/>\n\n\n\n",
435     "comments": "",
436     "outputs": 1,
437     "x": 615.0000152587891,
438     "y": 298.0151786804199,
439     "z": "51909408.51161c",
440     "wires": [
441       []
442     ]
443   },
444   {
445     "id": "9162baea.a58618",
446     "type": "for",
447     "name": "for vidx..service-data.vnfs.vnf_length[]",
448     "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
449     "comments": "",
450     "outputs": 1,
451     "x": 703.0313034057617,
452     "y": 184.0312786102295,
453     "z": "51909408.51161c",
454     "wires": [
455       [
456         "b4173a9a.c4a2c8"
457       ]
458     ]
459   },
460   {
461     "id": "b4173a9a.c4a2c8",
462     "type": "block",
463     "name": "block",
464     "xml": "<block>\n",
465     "atomic": "false",
466     "comments": "",
467     "outputs": 1,
468     "x": 951.3808975219727,
469     "y": 184.57134628295898,
470     "z": "51909408.51161c",
471     "wires": [
472       [
473         "8ed61ccb.fe1d2"
474       ]
475     ]
476   },
477   {
478     "id": "8ed61ccb.fe1d2",
479     "type": "switchNode",
480     "name": "switch vnfid found",
481     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
482     "comments": "",
483     "outputs": 1,
484     "x": 1105.4604949951172,
485     "y": 184.28142833709717,
486     "z": "51909408.51161c",
487     "wires": [
488       [
489         "25dffe3f.86e402"
490       ]
491     ]
492   },
493   {
494     "id": "94dc5d4a.a00f9",
495     "type": "block",
496     "name": "block : atomic",
497     "xml": "<block atomic=\"true\">",
498     "atomic": "true",
499     "outputs": 1,
500     "x": 1399.058006286621,
501     "y": 185.5817413330078,
502     "z": "51909408.51161c",
503     "wires": [
504       [
505         "fa685102.6e48e",
506         "a75f325a.531e1",
507         "1c8ecc84.ad1ff3"
508       ]
509     ]
510   },
511   {
512     "id": "25dffe3f.86e402",
513     "type": "outcomeTrue",
514     "name": "true",
515     "xml": "<outcome value='true'>\n",
516     "comments": "",
517     "outputs": 1,
518     "x": 1260.4124870300293,
519     "y": 185.1741075515747,
520     "z": "51909408.51161c",
521     "wires": [
522       [
523         "94dc5d4a.a00f9"
524       ]
525     ]
526   },
527   {
528     "id": "a75f325a.531e1",
529     "type": "set",
530     "name": "set vnf-request-input.",
531     "xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
532     "comments": "",
533     "x": 1640.3908615112305,
534     "y": 141.58180141448975,
535     "z": "51909408.51161c",
536     "wires": []
537   },
538   {
539     "id": "fa685102.6e48e",
540     "type": "set",
541     "name": "set tmp.vidx and ctx.vnf-data",
542     "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
543     "comments": "",
544     "x": 1667.9445724487305,
545     "y": 94.92416572570801,
546     "z": "51909408.51161c",
547     "wires": []
548   },
549   {
550     "id": "1c8ecc84.ad1ff3",
551     "type": "call",
552     "name": "call sdwan-get-device-param",
553     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-device-param' mode='sync' >\n",
554     "comments": "",
555     "outputs": 1,
556     "x": 1645.0313110351562,
557     "y": 204.03127193450928,
558     "z": "51909408.51161c",
559     "wires": [
560       []
561     ]
562   },
563   {
564     "id": "96cec913.036c98",
565     "type": "switchNode",
566     "name": "switch tmp.vidx ",
567     "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
568     "comments": "",
569     "outputs": 1,
570     "x": 634.0311889648438,
571     "y": 245.03125,
572     "z": "51909408.51161c",
573     "wires": [
574       [
575         "dd74e5cf.ddfed8"
576       ]
577     ]
578   },
579   {
580     "id": "dd74e5cf.ddfed8",
581     "type": "outcome",
582     "name": "NULL",
583     "xml": "<outcome value=''>\n",
584     "comments": "",
585     "outputs": 1,
586     "x": 781.459831237793,
587     "y": 244.60266017913818,
588     "z": "51909408.51161c",
589     "wires": [
590       [
591         "f70bcb29.83b348"
592       ]
593     ]
594   },
595   {
596     "id": "f70bcb29.83b348",
597     "type": "returnFailure",
598     "name": "return failure",
599     "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",
600     "comments": "",
601     "x": 930.888557434082,
602     "y": 245.74557781219482,
603     "z": "51909408.51161c",
604     "wires": []
605   },
606   {
607     "id": "f1cfd3b2.a98b6",
608     "type": "execute",
609     "name": "execute Properties",
610     "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",
611     "comments": "",
612     "outputs": 1,
613     "x": 629.0311889648438,
614     "y": 341.03125,
615     "z": "51909408.51161c",
616     "wires": [
617       []
618     ]
619   },
620   {
621     "id": "bd5ee22a.cd67b",
622     "type": "call",
623     "name": "call sdwan-get-tenant-auth",
624     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",
625     "comments": "",
626     "outputs": 1,
627     "x": 654.2938385009766,
628     "y": 604.2938222885132,
629     "z": "51909408.51161c",
630     "wires": [
631       []
632     ]
633   }
634 ]