Epic-231 cbr reports
[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": "9c3e9355.a9b98",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 211,
8     "y": 76,
9     "z": "73283ddb.ad1024",
10     "wires": [
11       [
12         "ce33d12b.fedca"
13       ]
14     ]
15   },
16   {
17     "id": "ce33d12b.fedca",
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": 286.28570556640625,
26     "y": 116.23811149597168,
27     "z": "73283ddb.ad1024",
28     "wires": [
29       [
30         "5efe4e61.39e9f"
31       ]
32     ]
33   },
34   {
35     "id": "5efe4e61.39e9f",
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": 279.42862701416016,
42     "y": 155.9999942779541,
43     "z": "73283ddb.ad1024",
44     "wires": [
45       [
46         "dd73ee5c.ac516"
47       ]
48     ]
49   },
50   {
51     "id": "dd73ee5c.ac516",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 304.1667289733887,
58     "y": 346.69354248046875,
59     "z": "73283ddb.ad1024",
60     "wires": [
61       [
62         "e4601a05.8a4688",
63         "9a1b232.90c38e",
64         "73fbd09e.9edc3",
65         "3e61d24c.5cc44e",
66         "1587e9e4.574f16",
67         "3781959e.04703a",
68         "2a98908a.1304b",
69         "7025602.36919a",
70         "f4083614.bed898",
71         "f8b84934.c5f1e8",
72         "e2ef718b.f3132",
73         "274a3fd3.76447",
74         "5ee6b514.0ecf0c"
75       ]
76     ]
77   },
78   {
79     "id": "e4601a05.8a4688",
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": 560.0000762939453,
85     "y": 769.0002317428589,
86     "z": "73283ddb.ad1024",
87     "wires": []
88   },
89   {
90     "id": "9a1b232.90c38e",
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": 581.5556182861328,
96     "y": 811.2224426269531,
97     "z": "73283ddb.ad1024",
98     "wires": []
99   },
100   {
101     "id": "1587e9e4.574f16",
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": 540.3334503173828,
107     "y": 973.7777910232544,
108     "z": "73283ddb.ad1024",
109     "wires": []
110   },
111   {
112     "id": "73fbd09e.9edc3",
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": 630.6630401611328,
119     "y": 914.1478223800659,
120     "z": "73283ddb.ad1024",
121     "wires": [
122       []
123     ]
124   },
125   {
126     "id": "3e61d24c.5cc44e",
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": 620.0001068115234,
132     "y": 868.0001993179321,
133     "z": "73283ddb.ad1024",
134     "wires": []
135   },
136   {
137     "id": "e2ef718b.f3132",
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 = SDWAN-Controller 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": 586.5555725097656,
144     "y": 395.99996280670166,
145     "z": "73283ddb.ad1024",
146     "wires": [
147       [
148         "5f923fb2.e6dac",
149         "d9f1fd79.ec60b",
150         "917e23b.f000ae"
151       ]
152     ]
153   },
154   {
155     "id": "5f923fb2.e6dac",
156     "type": "success",
157     "name": "success",
158     "xml": "<outcome value='success'>\n",
159     "comments": "",
160     "outputs": 1,
161     "x": 813.5555801391602,
162     "y": 323.99996185302734,
163     "z": "73283ddb.ad1024",
164     "wires": [
165       [
166         "fec9d567.919a68"
167       ]
168     ]
169   },
170   {
171     "id": "fec9d567.919a68",
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": 1012.0556945800781,
177     "y": 314.999960899353,
178     "z": "73283ddb.ad1024",
179     "wires": []
180   },
181   {
182     "id": "d9f1fd79.ec60b",
183     "type": "not-found",
184     "name": "not-found",
185     "xml": "<outcome value='not-found'>\n",
186     "comments": "",
187     "outputs": 1,
188     "x": 816.0465087890625,
189     "y": 356.573974609375,
190     "z": "73283ddb.ad1024",
191     "wires": [
192       [
193         "8773c32.44abd4"
194       ]
195     ]
196   },
197   {
198     "id": "8773c32.44abd4",
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": 992.617977142334,
204     "y": 353.85972690582275,
205     "z": "73283ddb.ad1024",
206     "wires": []
207   },
208   {
209     "id": "917e23b.f000ae",
210     "type": "other",
211     "name": "other",
212     "xml": "<outcome value='Other'>\n",
213     "comments": "",
214     "outputs": 1,
215     "x": 808.3795166015625,
216     "y": 397.90728759765625,
217     "z": "73283ddb.ad1024",
218     "wires": [
219       [
220         "639cc54c.25461c"
221       ]
222     ]
223   },
224   {
225     "id": "639cc54c.25461c",
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": 996.1520729064941,
231     "y": 393.34648036956787,
232     "z": "73283ddb.ad1024",
233     "wires": []
234   },
235   {
236     "id": "274a3fd3.76447",
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": 609.4442253112793,
243     "y": 462.1111717224121,
244     "z": "73283ddb.ad1024",
245     "wires": [
246       [
247         "8dc1f56a.c9edd8",
248         "2d6a0c7e.fec4b4"
249       ]
250     ]
251   },
252   {
253     "id": "8dc1f56a.c9edd8",
254     "type": "success",
255     "name": "success",
256     "xml": "<outcome value='success'>\n",
257     "comments": "",
258     "outputs": 1,
259     "x": 844.4442253112793,
260     "y": 440.1111717224121,
261     "z": "73283ddb.ad1024",
262     "wires": [
263       [
264         "cafcbbb3.279d28"
265       ]
266     ]
267   },
268   {
269     "id": "2d6a0c7e.fec4b4",
270     "type": "failure",
271     "name": "failure",
272     "xml": "<outcome value='failure'>\n",
273     "comments": "",
274     "outputs": 1,
275     "x": 836.6942253112793,
276     "y": 493.75405502319336,
277     "z": "73283ddb.ad1024",
278     "wires": [
279       [
280         "2bb735a3.ef2caa"
281       ]
282     ]
283   },
284   {
285     "id": "cafcbbb3.279d28",
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": 998.4442253112793,
291     "y": 441.1111717224121,
292     "z": "73283ddb.ad1024",
293     "wires": []
294   },
295   {
296     "id": "11e446ee.b59549",
297     "type": "success",
298     "name": "success",
299     "xml": "<outcome value='success'>\n",
300     "comments": "",
301     "outputs": 1,
302     "x": 945.5554428100586,
303     "y": 677.1112051010132,
304     "z": "73283ddb.ad1024",
305     "wires": [
306       [
307         "edc154b6.909958"
308       ]
309     ]
310   },
311   {
312     "id": "edc154b6.909958",
313     "type": "block",
314     "name": "block : atomic",
315     "xml": "<block atomic=\"true\">",
316     "atomic": "true",
317     "comments": "",
318     "outputs": 1,
319     "x": 1116.6664581298828,
320     "y": 675.8890256881714,
321     "z": "73283ddb.ad1024",
322     "wires": [
323       []
324     ]
325   },
326   {
327     "id": "2bb735a3.ef2caa",
328     "type": "block",
329     "name": "block",
330     "xml": "<block>\n",
331     "atomic": "false",
332     "comments": "",
333     "outputs": 1,
334     "x": 984.5552673339844,
335     "y": 490.00000381469727,
336     "z": "73283ddb.ad1024",
337     "wires": [
338       []
339     ]
340   },
341   {
342     "id": "d5f90150.5efad",
343     "type": "comment",
344     "name": "Do Nothing",
345     "info": "",
346     "comments": "",
347     "x": 1120.1108411153155,
348     "y": 488.88887956407336,
349     "z": "73283ddb.ad1024",
350     "wires": []
351   },
352   {
353     "id": "9375b3d1.4ccfc",
354     "type": "failure",
355     "name": "failure",
356     "xml": "<outcome value='failure'>\n",
357     "comments": "",
358     "outputs": 1,
359     "x": 942.1109962463379,
360     "y": 730.4444913864136,
361     "z": "73283ddb.ad1024",
362     "wires": [
363       [
364         "4a4ccb7.2656134"
365       ]
366     ]
367   },
368   {
369     "id": "4a4ccb7.2656134",
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": 1087.110996246338,
375     "y": 733.4444913864136,
376     "z": "73283ddb.ad1024",
377     "wires": []
378   },
379   {
380     "id": "4f2b12fc.8ccc3c",
381     "type": "comment",
382     "name": "deviceId need to provide here?",
383     "info": "",
384     "comments": "",
385     "x": 581.3333320617676,
386     "y": 528,
387     "z": "73283ddb.ad1024",
388     "wires": []
389   },
390   {
391     "id": "f5a0eb00.de7588",
392     "type": "comment",
393     "name": "tmp.thirdparty-sdnc-id to be hardcoded here?",
394     "info": "",
395     "comments": "",
396     "x": 635.333366394043,
397     "y": 315.0000591278076,
398     "z": "73283ddb.ad1024",
399     "wires": []
400   },
401   {
402     "id": "a4f6705d.1d73",
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": 875.3332824707031,
408     "y": 1718.3333358764648,
409     "z": "73283ddb.ad1024",
410     "wires": []
411   },
412   {
413     "id": "3781959e.04703a",
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": 619.03125,
420     "y": 244.03125,
421     "z": "73283ddb.ad1024",
422     "wires": [
423       [
424         "a8d53377.9812d"
425       ]
426     ]
427   },
428   {
429     "id": "a8d53377.9812d",
430     "type": "block",
431     "name": "block",
432     "xml": "<block>\n",
433     "atomic": "false",
434     "comments": "",
435     "outputs": 1,
436     "x": 867.3808441162109,
437     "y": 244.5713176727295,
438     "z": "73283ddb.ad1024",
439     "wires": [
440       [
441         "80a46b1e.d041d8"
442       ]
443     ]
444   },
445   {
446     "id": "80a46b1e.d041d8",
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": 1021.4604415893555,
453     "y": 244.28139972686768,
454     "z": "73283ddb.ad1024",
455     "wires": [
456       [
457         "42dc4574.ff70ac"
458       ]
459     ]
460   },
461   {
462     "id": "89ce8e98.fff87",
463     "type": "block",
464     "name": "block : atomic",
465     "xml": "<block atomic=\"true\">",
466     "atomic": "true",
467     "outputs": 1,
468     "x": 1315.0579528808594,
469     "y": 245.58171272277832,
470     "z": "73283ddb.ad1024",
471     "wires": [
472       [
473         "68c86c18.1fc774",
474         "3e5b1306.9b698c",
475         "50ffba36.d6fac4"
476       ]
477     ]
478   },
479   {
480     "id": "42dc4574.ff70ac",
481     "type": "outcomeTrue",
482     "name": "true",
483     "xml": "<outcome value='true'>\n",
484     "comments": "",
485     "outputs": 1,
486     "x": 1176.4124336242676,
487     "y": 245.17407894134521,
488     "z": "73283ddb.ad1024",
489     "wires": [
490       [
491         "89ce8e98.fff87"
492       ]
493     ]
494   },
495   {
496     "id": "3e5b1306.9b698c",
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": 1556.3908081054688,
502     "y": 201.58177280426025,
503     "z": "73283ddb.ad1024",
504     "wires": []
505   },
506   {
507     "id": "68c86c18.1fc774",
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": 1583.9445190429688,
513     "y": 154.92413711547852,
514     "z": "73283ddb.ad1024",
515     "wires": []
516   },
517   {
518     "id": "50ffba36.d6fac4",
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": 1561.0312576293945,
525     "y": 264.0312433242798,
526     "z": "73283ddb.ad1024",
527     "wires": [
528       []
529     ]
530   },
531   {
532     "id": "2a98908a.1304b",
533     "type": "switchNode",
534     "name": "switch tmp.vidx ",
535     "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
536     "comments": "",
537     "outputs": 1,
538     "x": 536.03125,
539     "y": 286.03125,
540     "z": "73283ddb.ad1024",
541     "wires": [
542       [
543         "ebb7bd09.45a41"
544       ]
545     ]
546   },
547   {
548     "id": "ebb7bd09.45a41",
549     "type": "outcome",
550     "name": "NULL",
551     "xml": "<outcome value=''>\n",
552     "comments": "",
553     "outputs": 1,
554     "x": 683.4598922729492,
555     "y": 285.6026601791382,
556     "z": "73283ddb.ad1024",
557     "wires": [
558       [
559         "94eadd89.567a"
560       ]
561     ]
562   },
563   {
564     "id": "94eadd89.567a",
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": 832.8886184692383,
570     "y": 286.7455778121948,
571     "z": "73283ddb.ad1024",
572     "wires": []
573   },
574   {
575     "id": "5ee6b514.0ecf0c",
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": 652.0313262939453,
582     "y": 700.0313568115234,
583     "z": "73283ddb.ad1024",
584     "wires": [
585       [
586         "11e446ee.b59549",
587         "9375b3d1.4ccfc"
588       ]
589     ]
590   },
591   {
592     "id": "7025602.36919a",
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": 560.03125,
599     "y": 350.03125,
600     "z": "73283ddb.ad1024",
601     "wires": [
602       []
603     ]
604   },
605   {
606     "id": "f4083614.bed898",
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": 602.0312652587891,
612     "y": 645.0312666893005,
613     "z": "73283ddb.ad1024",
614     "wires": []
615   },
616   {
617     "id": "f8b84934.c5f1e8",
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": 596.03125,
623     "y": 595.03125,
624     "z": "73283ddb.ad1024",
625     "wires": []
626   }
627 ]