SDWAN flow based end-end test and issue fix
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-deactivate.json
1 [
2   {
3     "id": "28277ffa.638ba",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 139.57137298583984,
8     "y": 52.00390625,
9     "z": "3dfa2ee1.d9eb62",
10     "wires": [
11       [
12         "4a59deb7.c7457"
13       ]
14     ]
15   },
16   {
17     "id": "4a59deb7.c7457",
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": 214.8570785522461,
26     "y": 92.24201774597168,
27     "z": "3dfa2ee1.d9eb62",
28     "wires": [
29       [
30         "4241d8c0.16daf8"
31       ]
32     ]
33   },
34   {
35     "id": "4241d8c0.16daf8",
36     "type": "method",
37     "name": "method sdwan-vnf-topology-operation-device-deactivate",
38     "xml": "<method rpc='sdwan-vnf-topology-operation-device-deactivate' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 208,
42     "y": 132.0039005279541,
43     "z": "3dfa2ee1.d9eb62",
44     "wires": [
45       [
46         "e1131c3b.26e86"
47       ]
48     ]
49   },
50   {
51     "id": "e1131c3b.26e86",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 232.73810195922852,
58     "y": 322.69744873046875,
59     "z": "3dfa2ee1.d9eb62",
60     "wires": [
61       [
62         "f0fdfb5e.5f4f98",
63         "f90e57ef.2882a8",
64         "7e2abc70.e22d84",
65         "c34a88b2.04b7e8",
66         "270267d5.5e26e8",
67         "58a16fad.ea89b",
68         "90a0a7b1.52f328",
69         "f53c993f.c19e48",
70         "30405ea5.d01402",
71         "6f2e8f06.6beb6",
72         "8a59eab6.8ca808",
73         "fd82888d.de41f8",
74         "86982181.80824"
75       ]
76     ]
77   },
78   {
79     "id": "f0fdfb5e.5f4f98",
80     "type": "set",
81     "name": "set vnf in service-data",
82     "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.`' />",
83     "comments": "",
84     "x": 488.57144927978516,
85     "y": 745.0041379928589,
86     "z": "3dfa2ee1.d9eb62",
87     "wires": []
88   },
89   {
90     "id": "f90e57ef.2882a8",
91     "type": "set",
92     "name": "set vnfId and vnf-object-path",
93     "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/'` \" />",
94     "comments": "",
95     "x": 510.12699127197266,
96     "y": 787.2263488769531,
97     "z": "3dfa2ee1.d9eb62",
98     "wires": []
99   },
100   {
101     "id": "c34a88b2.04b7e8",
102     "type": "returnSuccess",
103     "name": "return success",
104     "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",
105     "comments": "",
106     "x": 468.90482330322266,
107     "y": 949.7816972732544,
108     "z": "3dfa2ee1.d9eb62",
109     "wires": []
110   },
111   {
112     "id": "86982181.80824",
113     "type": "update",
114     "name": "update SDWAN DeviceInstance status to AAI",
115     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n      key='device.id = $vnf-topology-operation-input.vnf-information.vnf-id' >\n<parameter name='id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name='operational-status' value='PendingDelete' />",
116     "comments": "",
117     "outputs": 1,
118     "x": 559.2344131469727,
119     "y": 890.1517286300659,
120     "z": "3dfa2ee1.d9eb62",
121     "wires": [
122       []
123     ]
124   },
125   {
126     "id": "7e2abc70.e22d84",
127     "type": "set",
128     "name": "set vnf-level-oper-status to PendingDelete",
129     "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",
130     "comments": "",
131     "x": 548.5714797973633,
132     "y": 844.0041055679321,
133     "z": "3dfa2ee1.d9eb62",
134     "wires": []
135   },
136   {
137     "id": "6f2e8f06.6beb6",
138     "type": "get-resource",
139     "name": "get-resource esr-thirdparty-sdnc",
140     "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",
141     "comments": "",
142     "outputs": 1,
143     "x": 515.1269454956055,
144     "y": 372.00386905670166,
145     "z": "3dfa2ee1.d9eb62",
146     "wires": [
147       [
148         "f6a1b10b.feba7",
149         "3f65fa89.adee86",
150         "78d7b0ce.bc9f4"
151       ]
152     ]
153   },
154   {
155     "id": "f6a1b10b.feba7",
156     "type": "success",
157     "name": "success",
158     "xml": "<outcome value='success'>\n",
159     "comments": "",
160     "outputs": 1,
161     "x": 742.126953125,
162     "y": 300.00386810302734,
163     "z": "3dfa2ee1.d9eb62",
164     "wires": [
165       [
166         "7f8f918f.20ef"
167       ]
168     ]
169   },
170   {
171     "id": "7f8f918f.20ef",
172     "type": "set",
173     "name": "set controller data",
174     "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",
175     "comments": "",
176     "x": 940.627067565918,
177     "y": 291.003867149353,
178     "z": "3dfa2ee1.d9eb62",
179     "wires": []
180   },
181   {
182     "id": "3f65fa89.adee86",
183     "type": "not-found",
184     "name": "not-found",
185     "xml": "<outcome value='not-found'>\n",
186     "comments": "",
187     "outputs": 1,
188     "x": 744.6178817749023,
189     "y": 332.577880859375,
190     "z": "3dfa2ee1.d9eb62",
191     "wires": [
192       [
193         "d39e70d3.4d393"
194       ]
195     ]
196   },
197   {
198     "id": "d39e70d3.4d393",
199     "type": "returnFailure",
200     "name": "return failure",
201     "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",
202     "comments": "",
203     "x": 921.1893501281738,
204     "y": 329.86363315582275,
205     "z": "3dfa2ee1.d9eb62",
206     "wires": []
207   },
208   {
209     "id": "78d7b0ce.bc9f4",
210     "type": "other",
211     "name": "other",
212     "xml": "<outcome value='Other'>\n",
213     "comments": "",
214     "outputs": 1,
215     "x": 736.9508895874023,
216     "y": 373.91119384765625,
217     "z": "3dfa2ee1.d9eb62",
218     "wires": [
219       [
220         "9d02040e.b8d128"
221       ]
222     ]
223   },
224   {
225     "id": "9d02040e.b8d128",
226     "type": "returnFailure",
227     "name": "return failure",
228     "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",
229     "comments": "",
230     "x": 924.723445892334,
231     "y": 369.35038661956787,
232     "z": "3dfa2ee1.d9eb62",
233     "wires": []
234   },
235   {
236     "id": "8a59eab6.8ca808",
237     "type": "execute",
238     "name": "execute RestApiCallNode Get token",
239     "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/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\"/>",
240     "comments": "",
241     "outputs": 1,
242     "x": 538.0155982971191,
243     "y": 438.1150779724121,
244     "z": "3dfa2ee1.d9eb62",
245     "wires": [
246       [
247         "26f9897c.dede86",
248         "de10be74.3d175"
249       ]
250     ]
251   },
252   {
253     "id": "26f9897c.dede86",
254     "type": "success",
255     "name": "success",
256     "xml": "<outcome value='success'>\n",
257     "comments": "",
258     "outputs": 1,
259     "x": 773.0155982971191,
260     "y": 416.1150779724121,
261     "z": "3dfa2ee1.d9eb62",
262     "wires": [
263       [
264         "2cf72494.6f564c"
265       ]
266     ]
267   },
268   {
269     "id": "de10be74.3d175",
270     "type": "failure",
271     "name": "failure",
272     "xml": "<outcome value='failure'>\n",
273     "comments": "",
274     "outputs": 1,
275     "x": 765.2655982971191,
276     "y": 469.75796127319336,
277     "z": "3dfa2ee1.d9eb62",
278     "wires": [
279       [
280         "af0aa9cf.0f24c8"
281       ]
282     ]
283   },
284   {
285     "id": "2cf72494.6f564c",
286     "type": "set",
287     "name": "set token-id",
288     "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
289     "comments": "",
290     "x": 927.0155982971191,
291     "y": 417.1150779724121,
292     "z": "3dfa2ee1.d9eb62",
293     "wires": []
294   },
295   {
296     "id": "d3b082c5.69f01",
297     "type": "success",
298     "name": "success",
299     "xml": "<outcome value='success'>\n",
300     "comments": "",
301     "outputs": 1,
302     "x": 874.1268157958984,
303     "y": 653.1151113510132,
304     "z": "3dfa2ee1.d9eb62",
305     "wires": [
306       [
307         "99768bda.9cb4d8"
308       ]
309     ]
310   },
311   {
312     "id": "99768bda.9cb4d8",
313     "type": "block",
314     "name": "block : atomic",
315     "xml": "<block atomic=\"true\">",
316     "atomic": "true",
317     "comments": "",
318     "outputs": 1,
319     "x": 1045.2378311157227,
320     "y": 651.8929319381714,
321     "z": "3dfa2ee1.d9eb62",
322     "wires": [
323       []
324     ]
325   },
326   {
327     "id": "af0aa9cf.0f24c8",
328     "type": "block",
329     "name": "block",
330     "xml": "<block>\n",
331     "atomic": "false",
332     "comments": "",
333     "outputs": 1,
334     "x": 913.1266403198242,
335     "y": 466.00391006469727,
336     "z": "3dfa2ee1.d9eb62",
337     "wires": [
338       []
339     ]
340   },
341   {
342     "id": "2e0a17d4.eed478",
343     "type": "comment",
344     "name": "Do Nothing",
345     "info": "",
346     "comments": "",
347     "x": 1048.6822141011553,
348     "y": 464.89278581407336,
349     "z": "3dfa2ee1.d9eb62",
350     "wires": []
351   },
352   {
353     "id": "333f615c.44144e",
354     "type": "failure",
355     "name": "failure",
356     "xml": "<outcome value='failure'>\n",
357     "comments": "",
358     "outputs": 1,
359     "x": 870.6823692321777,
360     "y": 706.4483976364136,
361     "z": "3dfa2ee1.d9eb62",
362     "wires": [
363       [
364         "d0bb3a12.db6658"
365       ]
366     ]
367   },
368   {
369     "id": "d0bb3a12.db6658",
370     "type": "returnFailure",
371     "name": "return failure",
372     "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",
373     "comments": "",
374     "x": 1015.6823692321777,
375     "y": 709.4483976364136,
376     "z": "3dfa2ee1.d9eb62",
377     "wires": []
378   },
379   {
380     "id": "d3422f84.faf5e",
381     "type": "comment",
382     "name": "deviceId need to provide here?",
383     "info": "",
384     "comments": "",
385     "x": 509.9047050476074,
386     "y": 504.00390625,
387     "z": "3dfa2ee1.d9eb62",
388     "wires": []
389   },
390   {
391     "id": "f9274c25.d5eea",
392     "type": "comment",
393     "name": "tmp.thirdparty-sdnc-id to be hardcoded here?",
394     "info": "",
395     "comments": "",
396     "x": 563.9047393798828,
397     "y": 291.0039653778076,
398     "z": "3dfa2ee1.d9eb62",
399     "wires": []
400   },
401   {
402     "id": "4a930baa.676754",
403     "type": "returnSuccess",
404     "name": "return success",
405     "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",
406     "comments": "",
407     "x": 803.904655456543,
408     "y": 1694.3372421264648,
409     "z": "3dfa2ee1.d9eb62",
410     "wires": []
411   },
412   {
413     "id": "270267d5.5e26e8",
414     "type": "for",
415     "name": "for vidx..service-data.vnfs.vnf_length[]",
416     "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
417     "comments": "",
418     "outputs": 1,
419     "x": 547.6026229858398,
420     "y": 220.03515625,
421     "z": "3dfa2ee1.d9eb62",
422     "wires": [
423       [
424         "728ab8ba.7e8bd8"
425       ]
426     ]
427   },
428   {
429     "id": "728ab8ba.7e8bd8",
430     "type": "block",
431     "name": "block",
432     "xml": "<block>\n",
433     "atomic": "false",
434     "comments": "",
435     "outputs": 1,
436     "x": 795.9522171020508,
437     "y": 220.5752239227295,
438     "z": "3dfa2ee1.d9eb62",
439     "wires": [
440       [
441         "905ea52f.02efa8"
442       ]
443     ]
444   },
445   {
446     "id": "905ea52f.02efa8",
447     "type": "switchNode",
448     "name": "switch vnfid found",
449     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
450     "comments": "",
451     "outputs": 1,
452     "x": 950.0318145751953,
453     "y": 220.28530597686768,
454     "z": "3dfa2ee1.d9eb62",
455     "wires": [
456       [
457         "7e04ad09.ef3004"
458       ]
459     ]
460   },
461   {
462     "id": "873538e6.7c6cb8",
463     "type": "block",
464     "name": "block : atomic",
465     "xml": "<block atomic=\"true\">",
466     "atomic": "true",
467     "outputs": 1,
468     "x": 1243.6293258666992,
469     "y": 221.58561897277832,
470     "z": "3dfa2ee1.d9eb62",
471     "wires": [
472       [
473         "3c1b116b.de0f4e",
474         "2734bda2.1de7a2",
475         "79d2ab5b.7f7124"
476       ]
477     ]
478   },
479   {
480     "id": "7e04ad09.ef3004",
481     "type": "outcomeTrue",
482     "name": "true",
483     "xml": "<outcome value='true'>\n",
484     "comments": "",
485     "outputs": 1,
486     "x": 1104.9838066101074,
487     "y": 221.17798519134521,
488     "z": "3dfa2ee1.d9eb62",
489     "wires": [
490       [
491         "873538e6.7c6cb8"
492       ]
493     ]
494   },
495   {
496     "id": "2734bda2.1de7a2",
497     "type": "set",
498     "name": "set vnf-request-input.",
499     "xml": "<set>\n<parameter name='vnf-request-input.' value='`$ctx.vnf-data.vnf-data.vnf-request-input.`' />\n\n",
500     "comments": "",
501     "x": 1484.9621810913086,
502     "y": 177.58567905426025,
503     "z": "3dfa2ee1.d9eb62",
504     "wires": []
505   },
506   {
507     "id": "3c1b116b.de0f4e",
508     "type": "set",
509     "name": "set tmp.vidx and ctx.vnf-data",
510     "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
511     "comments": "",
512     "x": 1512.5158920288086,
513     "y": 130.92804336547852,
514     "z": "3dfa2ee1.d9eb62",
515     "wires": []
516   },
517   {
518     "id": "79d2ab5b.7f7124",
519     "type": "call",
520     "name": "call sdwan-get-device-param",
521     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-device-param' mode='sync' >\n",
522     "comments": "",
523     "outputs": 1,
524     "x": 1489.6026306152344,
525     "y": 240.03514957427979,
526     "z": "3dfa2ee1.d9eb62",
527     "wires": [
528       []
529     ]
530   },
531   {
532     "id": "58a16fad.ea89b",
533     "type": "switchNode",
534     "name": "switch tmp.vidx ",
535     "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
536     "comments": "",
537     "outputs": 1,
538     "x": 464.60262298583984,
539     "y": 262.03515625,
540     "z": "3dfa2ee1.d9eb62",
541     "wires": [
542       [
543         "dde49dff.66ec"
544       ]
545     ]
546   },
547   {
548     "id": "dde49dff.66ec",
549     "type": "outcome",
550     "name": "NULL",
551     "xml": "<outcome value=''>\n",
552     "comments": "",
553     "outputs": 1,
554     "x": 612.0312652587891,
555     "y": 261.6065664291382,
556     "z": "3dfa2ee1.d9eb62",
557     "wires": [
558       [
559         "94b39f5e.140ba"
560       ]
561     ]
562   },
563   {
564     "id": "94b39f5e.140ba",
565     "type": "returnFailure",
566     "name": "return failure",
567     "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",
568     "comments": "",
569     "x": 761.4599914550781,
570     "y": 262.7494840621948,
571     "z": "3dfa2ee1.d9eb62",
572     "wires": []
573   },
574   {
575     "id": "fd82888d.de41f8",
576     "type": "execute",
577     "name": "execute RestApiCallNode delete Devcie Instance",
578     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-device-del.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=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"deviceResp\"/>\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`\" />",
579     "comments": "",
580     "outputs": 1,
581     "x": 580.6026992797852,
582     "y": 676.0352630615234,
583     "z": "3dfa2ee1.d9eb62",
584     "wires": [
585       [
586         "d3b082c5.69f01",
587         "333f615c.44144e"
588       ]
589     ]
590   },
591   {
592     "id": "90a0a7b1.52f328",
593     "type": "execute",
594     "name": "execute Properties",
595     "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",
596     "comments": "",
597     "outputs": 1,
598     "x": 488.60262298583984,
599     "y": 326.03515625,
600     "z": "3dfa2ee1.d9eb62",
601     "wires": [
602       []
603     ]
604   },
605   {
606     "id": "f53c993f.c19e48",
607     "type": "set",
608     "name": "set device Id length and deviceId",
609     "xml": "<set>\n<parameter name='prop.devices[0]' value='`$prop.device.deviceId`' />\n\n\n",
610     "comments": "",
611     "x": 520.6026458740234,
612     "y": 613.0351934432983,
613     "z": "3dfa2ee1.d9eb62",
614     "wires": []
615   },
616   {
617     "id": "30405ea5.d01402",
618     "type": "set",
619     "name": "set device Id length and deviceId",
620     "xml": "<set>\n<parameter name='prop.devices_length' value='1' />\n\n\n",
621     "comments": "",
622     "x": 524.6026229858398,
623     "y": 571.03515625,
624     "z": "3dfa2ee1.d9eb62",
625     "wires": []
626   }
627 ]