Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / p2p_eline / GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-delete.json
1 [\r
2     {\r
3         "id": "6e96a925.2c4178",\r
4         "type": "save",\r
5         "name": "get connectivity from aai",\r
6         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
7         "comments": "",\r
8         "outputs": 1,\r
9         "x": 1846.5,\r
10         "y": 345.566650390625,\r
11         "z": "fc139fb9.dc168",\r
12         "wires": [\r
13             [\r
14                 "26063c6f.5592ac",\r
15                 "b31bac0a.907788",\r
16                 "d9da94be.48bb38"\r
17             ]\r
18         ]\r
19     },\r
20     {\r
21         "id": "d703ae31.26417",\r
22         "type": "dgstart",\r
23         "name": "DGSTART",\r
24         "outputs": 1,\r
25         "x": 136.5,\r
26         "y": 97.566650390625,\r
27         "z": "fc139fb9.dc168",\r
28         "wires": [\r
29             [\r
30                 "f1e4dc82.5274e"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "f1e4dc82.5274e",\r
36         "type": "service-logic",\r
37         "name": "GENERIC-RESOURCE-API ${project.version}",\r
38         "module": "GENERIC-RESOURCE-API",\r
39         "version": "${project.version}",\r
40         "comments": "",\r
41         "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}'>",\r
42         "outputs": 1,\r
43         "x": 267.7856903076172,\r
44         "y": 146.80475902557373,\r
45         "z": "fc139fb9.dc168",\r
46         "wires": [\r
47             [\r
48                 "f3ec2c51.edecf"\r
49             ]\r
50         ]\r
51     },\r
52     {\r
53         "id": "f3ec2c51.edecf",\r
54         "type": "method",\r
55         "name": "method p2p-vnf-topology-operation-p2p-delete",\r
56         "xml": "<method rpc='p2p-vnf-topology-operation-p2p-delete' mode='sync'>\n",\r
57         "comments": "",\r
58         "outputs": 1,\r
59         "x": 270.9286193847656,\r
60         "y": 231.56668281555176,\r
61         "z": "fc139fb9.dc168",\r
62         "wires": [\r
63             [\r
64                 "bef36a25.7f3368"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "bef36a25.7f3368",\r
70         "type": "block",\r
71         "name": "block : atomic",\r
72         "xml": "<block atomic=\"true\">",\r
73         "atomic": "true",\r
74         "outputs": 1,\r
75         "x": 420.738037109375,\r
76         "y": 361.2333068847656,\r
77         "z": "fc139fb9.dc168",\r
78         "wires": [\r
79             [\r
80                 "a1f25c26.099408",\r
81                 "d3e0b100.653268",\r
82                 "445ed765.aced3"\r
83             ]\r
84         ]\r
85     },\r
86     {\r
87         "id": "a1f25c26.099408",\r
88         "type": "returnSuccess",\r
89         "name": "return success",\r
90         "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",\r
91         "comments": "",\r
92         "x": 717.0716552734375,\r
93         "y": 638.163818359375,\r
94         "z": "fc139fb9.dc168",\r
95         "wires": []\r
96     },\r
97     {\r
98         "id": "d3e0b100.653268",\r
99         "type": "save",\r
100         "name": "get service-instance from aai",\r
101         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n    \n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--vnf-topology-operation-input.service-information.service-instance-id-->",\r
102         "comments": "",\r
103         "outputs": 1,\r
104         "x": 768.5,\r
105         "y": 408.566650390625,\r
106         "z": "fc139fb9.dc168",\r
107         "wires": [\r
108             [\r
109                 "41386d04.6db6b4",\r
110                 "ee2334d5.f5dd08",\r
111                 "3055412e.0ce5fe"\r
112             ]\r
113         ]\r
114     },\r
115     {\r
116         "id": "41386d04.6db6b4",\r
117         "type": "success",\r
118         "name": "success",\r
119         "xml": "<outcome value='success'>\n",\r
120         "comments": "",\r
121         "outputs": 1,\r
122         "x": 987.5,\r
123         "y": 346.566650390625,\r
124         "z": "fc139fb9.dc168",\r
125         "wires": [\r
126             [\r
127                 "6b5adfd0.03c4c8"\r
128             ]\r
129         ]\r
130     },\r
131     {\r
132         "id": "ee2334d5.f5dd08",\r
133         "type": "not-found",\r
134         "name": "not-found",\r
135         "xml": "<outcome value='not-found'>\n",\r
136         "comments": "",\r
137         "outputs": 1,\r
138         "x": 996.990966796875,\r
139         "y": 389.14068603515625,\r
140         "z": "fc139fb9.dc168",\r
141         "wires": [\r
142             [\r
143                 "36a79df8.93324a"\r
144             ]\r
145         ]\r
146     },\r
147     {\r
148         "id": "3055412e.0ce5fe",\r
149         "type": "failure",\r
150         "name": "failure",\r
151         "xml": "<outcome value='failure'>\n",\r
152         "comments": "",\r
153         "outputs": 1,\r
154         "x": 985.5,\r
155         "y": 435.566650390625,\r
156         "z": "fc139fb9.dc168",\r
157         "wires": [\r
158             [\r
159                 "9ff1dfad.77f908"\r
160             ]\r
161         ]\r
162     },\r
163     {\r
164         "id": "36a79df8.93324a",\r
165         "type": "returnFailure",\r
166         "name": "return failure",\r
167         "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 pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
168         "comments": "",\r
169         "x": 1150.5623779296875,\r
170         "y": 392.4264221191406,\r
171         "z": "fc139fb9.dc168",\r
172         "wires": []\r
173     },\r
174     {\r
175         "id": "9ff1dfad.77f908",\r
176         "type": "returnFailure",\r
177         "name": "return failure",\r
178         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
179         "comments": "",\r
180         "x": 1154.5,\r
181         "y": 436.566650390625,\r
182         "z": "fc139fb9.dc168",\r
183         "wires": []\r
184     },\r
185     {\r
186         "id": "6b5adfd0.03c4c8",\r
187         "type": "for",\r
188         "name": "for each relationship",\r
189         "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
190         "comments": "",\r
191         "outputs": 1,\r
192         "x": 1184.5,\r
193         "y": 342.566650390625,\r
194         "z": "fc139fb9.dc168",\r
195         "wires": [\r
196             [\r
197                 "1d33401f.89cbf8"\r
198             ]\r
199         ]\r
200     },\r
201     {\r
202         "id": "1d33401f.89cbf8",\r
203         "type": "switchNode",\r
204         "name": "switch related-to",\r
205         "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
206         "comments": "",\r
207         "outputs": 1,\r
208         "x": 1407.83349609375,\r
209         "y": 342.56658935546875,\r
210         "z": "fc139fb9.dc168",\r
211         "wires": [\r
212             [\r
213                 "8ed22124.960f7"\r
214             ]\r
215         ]\r
216     },\r
217     {\r
218         "id": "8ed22124.960f7",\r
219         "type": "outcome",\r
220         "name": "connectivity",\r
221         "xml": "<outcome value='connectivity'>\n",\r
222         "comments": "",\r
223         "outputs": 1,\r
224         "x": 1608.5001335144043,\r
225         "y": 343.56667137145996,\r
226         "z": "fc139fb9.dc168",\r
227         "wires": [\r
228             [\r
229                 "6e96a925.2c4178"\r
230             ]\r
231         ]\r
232     },\r
233     {\r
234         "id": "445ed765.aced3",\r
235         "type": "execute",\r
236         "name": "execute properties",\r
237         "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' />",\r
238         "comments": "",\r
239         "outputs": 1,\r
240         "x": 734.5,\r
241         "y": 356.566650390625,\r
242         "z": "fc139fb9.dc168",\r
243         "wires": [\r
244             []\r
245         ]\r
246     },\r
247     {\r
248         "id": "26063c6f.5592ac",\r
249         "type": "success",\r
250         "name": "success",\r
251         "xml": "<outcome value='success'>\n",\r
252         "comments": "",\r
253         "outputs": 1,\r
254         "x": 2054.5,\r
255         "y": 309.566650390625,\r
256         "z": "fc139fb9.dc168",\r
257         "wires": [\r
258             [\r
259                 "b99b3267.40e088"\r
260             ]\r
261         ]\r
262     },\r
263     {\r
264         "id": "b31bac0a.907788",\r
265         "type": "not-found",\r
266         "name": "not-found",\r
267         "xml": "<outcome value='not-found'>\n",\r
268         "comments": "",\r
269         "outputs": 1,\r
270         "x": 2054.990966796875,\r
271         "y": 355.14068603515625,\r
272         "z": "fc139fb9.dc168",\r
273         "wires": [\r
274             [\r
275                 "32e27028.9b3a58"\r
276             ]\r
277         ]\r
278     },\r
279     {\r
280         "id": "d9da94be.48bb38",\r
281         "type": "failure",\r
282         "name": "failure",\r
283         "xml": "<outcome value='failure'>\n",\r
284         "comments": "",\r
285         "outputs": 1,\r
286         "x": 2052.5,\r
287         "y": 398.566650390625,\r
288         "z": "fc139fb9.dc168",\r
289         "wires": [\r
290             [\r
291                 "bb102594.f98758"\r
292             ]\r
293         ]\r
294     },\r
295     {\r
296         "id": "32e27028.9b3a58",\r
297         "type": "returnFailure",\r
298         "name": "return failure",\r
299         "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 pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
300         "comments": "",\r
301         "x": 2217.5623779296875,\r
302         "y": 355.4264221191406,\r
303         "z": "fc139fb9.dc168",\r
304         "wires": []\r
305     },\r
306     {\r
307         "id": "bb102594.f98758",\r
308         "type": "returnFailure",\r
309         "name": "return failure",\r
310         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
311         "comments": "",\r
312         "x": 2221.5,\r
313         "y": 399.566650390625,\r
314         "z": "fc139fb9.dc168",\r
315         "wires": []\r
316     },\r
317     {\r
318         "id": "fe08adbd.838448",\r
319         "type": "save",\r
320         "name": "get vpn-binding from aai",\r
321         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
322         "comments": "",\r
323         "outputs": 1,\r
324         "x": 2527.5,\r
325         "y": 398.566650390625,\r
326         "z": "fc139fb9.dc168",\r
327         "wires": [\r
328             [\r
329                 "518191ba.22ecf8",\r
330                 "909a6e78.caa538",\r
331                 "83b08b2b.a7cd68"\r
332             ]\r
333         ]\r
334     },\r
335     {\r
336         "id": "6abfd2f0.9bae54",\r
337         "type": "block",\r
338         "name": "block : atomic",\r
339         "xml": "<block atomic=\"true\">",\r
340         "atomic": "true",\r
341         "outputs": 1,\r
342         "x": 2911.5,\r
343         "y": 398.566650390625,\r
344         "z": "fc139fb9.dc168",\r
345         "wires": [\r
346             [\r
347                 "858ea86f.8f8b2",\r
348                 "f45d1399.26724",\r
349                 "9edac35c.3fbdf8",\r
350                 "ae43e09b.de34e",\r
351                 "bf21c848.7fc668",\r
352                 "bdaf4361.9ffa5"\r
353             ]\r
354         ]\r
355     },\r
356     {\r
357         "id": "518191ba.22ecf8",\r
358         "type": "success",\r
359         "name": "success",\r
360         "xml": "<outcome value='success'>\n",\r
361         "comments": "",\r
362         "outputs": 1,\r
363         "x": 2738.5,\r
364         "y": 400.566650390625,\r
365         "z": "fc139fb9.dc168",\r
366         "wires": [\r
367             [\r
368                 "6abfd2f0.9bae54"\r
369             ]\r
370         ]\r
371     },\r
372     {\r
373         "id": "909a6e78.caa538",\r
374         "type": "not-found",\r
375         "name": "not-found",\r
376         "xml": "<outcome value='not-found'>\n",\r
377         "comments": "",\r
378         "outputs": 1,\r
379         "x": 2738.990966796875,\r
380         "y": 446.14068603515625,\r
381         "z": "fc139fb9.dc168",\r
382         "wires": [\r
383             [\r
384                 "f47cc910.74818"\r
385             ]\r
386         ]\r
387     },\r
388     {\r
389         "id": "83b08b2b.a7cd68",\r
390         "type": "failure",\r
391         "name": "failure",\r
392         "xml": "<outcome value='failure'>\n",\r
393         "comments": "",\r
394         "outputs": 1,\r
395         "x": 2736.5,\r
396         "y": 489.566650390625,\r
397         "z": "fc139fb9.dc168",\r
398         "wires": [\r
399             [\r
400                 "efa4a882.4faaa"\r
401             ]\r
402         ]\r
403     },\r
404     {\r
405         "id": "efa4a882.4faaa",\r
406         "type": "returnFailure",\r
407         "name": "return failure",\r
408         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
409         "comments": "",\r
410         "x": 2903.5,\r
411         "y": 488.566650390625,\r
412         "z": "fc139fb9.dc168",\r
413         "wires": []\r
414     },\r
415     {\r
416         "id": "f47cc910.74818",\r
417         "type": "returnFailure",\r
418         "name": "return failure",\r
419         "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 pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
420         "comments": "",\r
421         "x": 2901.5623779296875,\r
422         "y": 446.4264221191406,\r
423         "z": "fc139fb9.dc168",\r
424         "wires": []\r
425     },\r
426     {\r
427         "id": "b99b3267.40e088",\r
428         "type": "for",\r
429         "name": "for each relationship",\r
430         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
431         "comments": "",\r
432         "outputs": 1,\r
433         "x": 2255.5,\r
434         "y": 304.566650390625,\r
435         "z": "fc139fb9.dc168",\r
436         "wires": [\r
437             [\r
438                 "39ac0477.da72d4"\r
439             ]\r
440         ]\r
441     },\r
442     {\r
443         "id": "39ac0477.da72d4",\r
444         "type": "switchNode",\r
445         "name": "switch related-to",\r
446         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
447         "comments": "",\r
448         "outputs": 1,\r
449         "x": 2460.5,\r
450         "y": 304.566650390625,\r
451         "z": "fc139fb9.dc168",\r
452         "wires": [\r
453             [\r
454                 "bc9718fc.ebe1a8"\r
455             ]\r
456         ]\r
457     },\r
458     {\r
459         "id": "bc9718fc.ebe1a8",\r
460         "type": "outcome",\r
461         "name": "vpn-binding",\r
462         "xml": "<outcome value='vpn-binding'>\n",\r
463         "comments": "",\r
464         "outputs": 1,\r
465         "x": 2626.5,\r
466         "y": 304.566650390625,\r
467         "z": "fc139fb9.dc168",\r
468         "wires": [\r
469             [\r
470                 "c242c1a1.bac65"\r
471             ]\r
472         ]\r
473     },\r
474     {\r
475         "id": "c242c1a1.bac65",\r
476         "type": "block",\r
477         "name": "block : atomic",\r
478         "xml": "<block atomic=\"true\">",\r
479         "atomic": "true",\r
480         "outputs": 1,\r
481         "x": 2789.5,\r
482         "y": 304.566650390625,\r
483         "z": "fc139fb9.dc168",\r
484         "wires": [\r
485             [\r
486                 "fe08adbd.838448"\r
487             ]\r
488         ]\r
489     },\r
490     {\r
491         "id": "858ea86f.8f8b2",\r
492         "type": "set",\r
493         "name": "set pnf-name",\r
494         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
495         "comments": "",\r
496         "x": 3126.5,\r
497         "y": 108.566650390625,\r
498         "z": "fc139fb9.dc168",\r
499         "wires": []\r
500     },\r
501     {\r
502         "id": "f45d1399.26724",\r
503         "type": "get-resource",\r
504         "name": "get-resource src pnf",\r
505         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
506         "comments": "",\r
507         "outputs": 1,\r
508         "x": 3152.5,\r
509         "y": 225.566650390625,\r
510         "z": "fc139fb9.dc168",\r
511         "wires": [\r
512             [\r
513                 "66fa653a.3a03b4",\r
514                 "b78eabee.b89e08",\r
515                 "ae7f2d3f.30154"\r
516             ]\r
517         ]\r
518     },\r
519     {\r
520         "id": "66fa653a.3a03b4",\r
521         "type": "success",\r
522         "name": "success",\r
523         "xml": "<outcome value='success'>\n",\r
524         "comments": "",\r
525         "outputs": 1,\r
526         "x": 3348.0001220703125,\r
527         "y": 177.566650390625,\r
528         "z": "fc139fb9.dc168",\r
529         "wires": [\r
530             [\r
531                 "e47a4bfe.0e35c8"\r
532             ]\r
533         ]\r
534     },\r
535     {\r
536         "id": "b78eabee.b89e08",\r
537         "type": "not-found",\r
538         "name": "not-found",\r
539         "xml": "<outcome value='not-found'>\n",\r
540         "comments": "",\r
541         "outputs": 1,\r
542         "x": 3340.0001220703125,\r
543         "y": 232.566650390625,\r
544         "z": "fc139fb9.dc168",\r
545         "wires": [\r
546             [\r
547                 "2c2b9fe9.1cbcc"\r
548             ]\r
549         ]\r
550     },\r
551     {\r
552         "id": "e47a4bfe.0e35c8",\r
553         "type": "block",\r
554         "name": "block",\r
555         "xml": "<block>\n",\r
556         "atomic": "false",\r
557         "comments": "",\r
558         "outputs": 1,\r
559         "x": 3492.3824462890625,\r
560         "y": 177.22232055664062,\r
561         "z": "fc139fb9.dc168",\r
562         "wires": [\r
563             [\r
564                 "44537b55.b18bec"\r
565             ]\r
566         ]\r
567     },\r
568     {\r
569         "id": "44537b55.b18bec",\r
570         "type": "for",\r
571         "name": "for each relationship",\r
572         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
573         "comments": "",\r
574         "outputs": 1,\r
575         "x": 3676.5,\r
576         "y": 175.566650390625,\r
577         "z": "fc139fb9.dc168",\r
578         "wires": [\r
579             [\r
580                 "61148fe4.7322b8"\r
581             ]\r
582         ]\r
583     },\r
584     {\r
585         "id": "61148fe4.7322b8",\r
586         "type": "switchNode",\r
587         "name": "switch related-to",\r
588         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
589         "comments": "",\r
590         "outputs": 1,\r
591         "x": 3871.5,\r
592         "y": 175.566650390625,\r
593         "z": "fc139fb9.dc168",\r
594         "wires": [\r
595             [\r
596                 "893d9d4c.c96c6"\r
597             ]\r
598         ]\r
599     },\r
600     {\r
601         "id": "ae7f2d3f.30154",\r
602         "type": "other",\r
603         "name": "other",\r
604         "xml": "<outcome value='Other'>\n",\r
605         "comments": "",\r
606         "outputs": 1,\r
607         "x": 3345.0001220703125,\r
608         "y": 289.566650390625,\r
609         "z": "fc139fb9.dc168",\r
610         "wires": [\r
611             [\r
612                 "78cfd6a8.473698"\r
613             ]\r
614         ]\r
615     },\r
616     {\r
617         "id": "78cfd6a8.473698",\r
618         "type": "returnFailure",\r
619         "name": "return failure",\r
620         "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
621         "comments": "",\r
622         "x": 3497.0001220703125,\r
623         "y": 290.566650390625,\r
624         "z": "fc139fb9.dc168",\r
625         "wires": []\r
626     },\r
627     {\r
628         "id": "2c2b9fe9.1cbcc",\r
629         "type": "returnFailure",\r
630         "name": "return failure",\r
631         "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
632         "comments": "",\r
633         "x": 3508.0001220703125,\r
634         "y": 233.566650390625,\r
635         "z": "fc139fb9.dc168",\r
636         "wires": []\r
637     },\r
638     {\r
639         "id": "15db0dbc.7e7b22",\r
640         "type": "execute",\r
641         "name": "get esr-thirdparty-sdnc",\r
642         "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 = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
643         "comments": "",\r
644         "outputs": 1,\r
645         "x": 4459.5,\r
646         "y": 192.566650390625,\r
647         "z": "fc139fb9.dc168",\r
648         "wires": [\r
649             [\r
650                 "69c85308.191e6c",\r
651                 "42ec7d92.8ab2bc",\r
652                 "4dec231f.a3f764"\r
653             ]\r
654         ]\r
655     },\r
656     {\r
657         "id": "de29e4c2.53e5f8",\r
658         "type": "block",\r
659         "name": "block : atomic",\r
660         "xml": "<block atomic=\"true\">",\r
661         "atomic": "true",\r
662         "outputs": 1,\r
663         "x": 4253.5,\r
664         "y": 179.566650390625,\r
665         "z": "fc139fb9.dc168",\r
666         "wires": [\r
667             [\r
668                 "27169001.6118d8",\r
669                 "15db0dbc.7e7b22",\r
670                 "24546bfc.7b89e4"\r
671             ]\r
672         ]\r
673     },\r
674     {\r
675         "id": "27169001.6118d8",\r
676         "type": "set",\r
677         "name": "set esr-thirdparty-sdnc domain id",\r
678         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
679         "comments": "",\r
680         "x": 4489.5,\r
681         "y": 140.566650390625,\r
682         "z": "fc139fb9.dc168",\r
683         "wires": []\r
684     },\r
685     {\r
686         "id": "69c85308.191e6c",\r
687         "type": "success",\r
688         "name": "success",\r
689         "xml": "<outcome value='success'>\n",\r
690         "comments": "",\r
691         "outputs": 1,\r
692         "x": 4669.5,\r
693         "y": 183.566650390625,\r
694         "z": "fc139fb9.dc168",\r
695         "wires": [\r
696             [\r
697                 "35125c7c.21ee0c"\r
698             ]\r
699         ]\r
700     },\r
701     {\r
702         "id": "42ec7d92.8ab2bc",\r
703         "type": "not-found",\r
704         "name": "not-found",\r
705         "xml": "<outcome value='not-found'>\n",\r
706         "comments": "",\r
707         "outputs": 1,\r
708         "x": 4661.5,\r
709         "y": 238.566650390625,\r
710         "z": "fc139fb9.dc168",\r
711         "wires": [\r
712             [\r
713                 "669042e.d3e06bc"\r
714             ]\r
715         ]\r
716     },\r
717     {\r
718         "id": "4dec231f.a3f764",\r
719         "type": "other",\r
720         "name": "other",\r
721         "xml": "<outcome value='Other'>\n",\r
722         "comments": "",\r
723         "outputs": 1,\r
724         "x": 4666.5,\r
725         "y": 295.566650390625,\r
726         "z": "fc139fb9.dc168",\r
727         "wires": [\r
728             [\r
729                 "c46cafe4.51d85"\r
730             ]\r
731         ]\r
732     },\r
733     {\r
734         "id": "c46cafe4.51d85",\r
735         "type": "returnFailure",\r
736         "name": "return failure",\r
737         "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
738         "comments": "",\r
739         "x": 4818.5,\r
740         "y": 296.566650390625,\r
741         "z": "fc139fb9.dc168",\r
742         "wires": []\r
743     },\r
744     {\r
745         "id": "669042e.d3e06bc",\r
746         "type": "returnFailure",\r
747         "name": "return failure",\r
748         "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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
749         "comments": "",\r
750         "x": 4829.5,\r
751         "y": 241.566650390625,\r
752         "z": "fc139fb9.dc168",\r
753         "wires": []\r
754     },\r
755     {\r
756         "id": "35125c7c.21ee0c",\r
757         "type": "block",\r
758         "name": "block",\r
759         "xml": "<block>\n",\r
760         "atomic": "false",\r
761         "comments": "",\r
762         "outputs": 1,\r
763         "x": 4813.88232421875,\r
764         "y": 181.22232055664062,\r
765         "z": "fc139fb9.dc168",\r
766         "wires": [\r
767             [\r
768                 "1743c2a1.936e0d"\r
769             ]\r
770         ]\r
771     },\r
772     {\r
773         "id": "893d9d4c.c96c6",\r
774         "type": "outcome",\r
775         "name": "esr-thirdparty-sdnc",\r
776         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
777         "comments": "",\r
778         "outputs": 1,\r
779         "x": 4074.5,\r
780         "y": 179.566650390625,\r
781         "z": "fc139fb9.dc168",\r
782         "wires": [\r
783             [\r
784                 "de29e4c2.53e5f8"\r
785             ]\r
786         ]\r
787     },\r
788     {\r
789         "id": "1743c2a1.936e0d",\r
790         "type": "set",\r
791         "name": "set controller domain data",\r
792         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\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=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\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",\r
793         "comments": "",\r
794         "x": 5028.5,\r
795         "y": 177.566650390625,\r
796         "z": "fc139fb9.dc168",\r
797         "wires": []\r
798     },\r
799     {\r
800         "id": "24546bfc.7b89e4",\r
801         "type": "break",\r
802         "name": "break",\r
803         "xml": "<break>\n",\r
804         "comments": "",\r
805         "x": 4409.5,\r
806         "y": 256.566650390625,\r
807         "z": "fc139fb9.dc168",\r
808         "wires": []\r
809     },\r
810     {\r
811         "id": "bdaf4361.9ffa5",\r
812         "type": "set",\r
813         "name": "set attachment_param for TN NSSSI deleteion in PNC",\r
814         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
815         "comments": "",\r
816         "x": 3252.5,\r
817         "y": 398.566650390625,\r
818         "z": "fc139fb9.dc168",\r
819         "wires": []\r
820     },\r
821     {\r
822         "id": "9edac35c.3fbdf8",\r
823         "type": "save",\r
824         "name": "delete connectivity resource in AAI",\r
825         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
826         "comments": "",\r
827         "outputs": 1,\r
828         "x": 3190.5,\r
829         "y": 1330.5665893554688,\r
830         "z": "fc139fb9.dc168",\r
831         "wires": [\r
832             []\r
833         ]\r
834     },\r
835     {\r
836         "id": "ae43e09b.de34e",\r
837         "type": "save",\r
838         "name": "delete vpn-binding resource in AAI",\r
839         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
840         "comments": "",\r
841         "outputs": 1,\r
842         "x": 3186.5,\r
843         "y": 1374.5665893554688,\r
844         "z": "fc139fb9.dc168",\r
845         "wires": [\r
846             []\r
847         ]\r
848     },\r
849     {\r
850         "id": "bf21c848.7fc668",\r
851         "type": "switchNode",\r
852         "name": "switch connectivity has ethernet service",\r
853         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
854         "comments": "",\r
855         "outputs": 1,\r
856         "x": 3211.5,\r
857         "y": 714.566650390625,\r
858         "z": "fc139fb9.dc168",\r
859         "wires": [\r
860             [\r
861                 "59c18f55.2a2ad",\r
862                 "401bd02c.538578"\r
863             ]\r
864         ]\r
865     },\r
866     {\r
867         "id": "401bd02c.538578",\r
868         "type": "other",\r
869         "name": "other",\r
870         "xml": "<outcome value='Other'>\n",\r
871         "comments": "",\r
872         "outputs": 1,\r
873         "x": 3449.5,\r
874         "y": 697.566650390625,\r
875         "z": "fc139fb9.dc168",\r
876         "wires": [\r
877             [\r
878                 "d514777.51de608"\r
879             ]\r
880         ]\r
881     },\r
882     {\r
883         "id": "59c18f55.2a2ad",\r
884         "type": "outcome",\r
885         "name": "Null",\r
886         "xml": "<outcome value=''>\n",\r
887         "comments": "",\r
888         "outputs": 1,\r
889         "x": 3461.5,\r
890         "y": 764.566650390625,\r
891         "z": "fc139fb9.dc168",\r
892         "wires": [\r
893             []\r
894         ]\r
895     },\r
896     {\r
897         "id": "d514777.51de608",\r
898         "type": "execute",\r
899         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
900         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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\"/>-->\n",\r
901         "comments": "",\r
902         "outputs": 1,\r
903         "x": 3824.83349609375,\r
904         "y": 687.1666870117188,\r
905         "z": "fc139fb9.dc168",\r
906         "wires": [\r
907             [\r
908                 "6aebfb3b.efd44c",\r
909                 "933385e0.d5a7b8"\r
910             ]\r
911         ]\r
912     },\r
913     {\r
914         "id": "6aebfb3b.efd44c",\r
915         "type": "failure",\r
916         "name": "failure",\r
917         "xml": "<outcome value='failure'>\n",\r
918         "comments": "",\r
919         "outputs": 1,\r
920         "x": 4168.60009765625,\r
921         "y": 662.1666870117188,\r
922         "z": "fc139fb9.dc168",\r
923         "wires": [\r
924             []\r
925         ]\r
926     },\r
927     {\r
928         "id": "933385e0.d5a7b8",\r
929         "type": "success",\r
930         "name": "success",\r
931         "xml": "<outcome value='success'>\n",\r
932         "comments": "",\r
933         "outputs": 1,\r
934         "x": 4169.600311279297,\r
935         "y": 713.1665964126587,\r
936         "z": "fc139fb9.dc168",\r
937         "wires": [\r
938             [\r
939                 "91477113.19bf5"\r
940             ]\r
941         ]\r
942     },\r
943     {\r
944         "id": "91477113.19bf5",\r
945         "type": "block",\r
946         "name": "block",\r
947         "xml": "<block>\n",\r
948         "atomic": "false",\r
949         "comments": "",\r
950         "outputs": 1,\r
951         "x": 4314.62735748291,\r
952         "y": 710.9120817184448,\r
953         "z": "fc139fb9.dc168",\r
954         "wires": [\r
955             [\r
956                 "1a438ee3.1dcae1"\r
957             ]\r
958         ]\r
959     },\r
960     {\r
961         "id": "2d036a80.ec4f6e",\r
962         "type": "execute",\r
963         "name": "execute Terminate Periodic Pull Connection",\r
964         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.PeriodicDiscoveryNode' method='deleteSubscription' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />-->\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"p2p-vnf-topology-operation-p2p-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
965         "comments": "",\r
966         "outputs": 1,\r
967         "x": 5689.8671875,\r
968         "y": 924.1332702636719,\r
969         "z": "fc139fb9.dc168",\r
970         "wires": [\r
971             []\r
972         ]\r
973     },\r
974     {\r
975         "id": "1a438ee3.1dcae1",\r
976         "type": "switchNode",\r
977         "name": "switch length(vpn-binding.dst-access-ltp) == 0",\r
978         "xml": "<switch test=\"`length($tmp.aai.vpn-binding.dst-access-ltp-id) == 0`\">\n",\r
979         "comments": "",\r
980         "outputs": 1,\r
981         "x": 4518.632568359375,\r
982         "y": 837.9666748046875,\r
983         "z": "fc139fb9.dc168",\r
984         "wires": [\r
985             [\r
986                 "59c592c9.d7994c",\r
987                 "7b7ded64.3b4eb4"\r
988             ]\r
989         ]\r
990     },\r
991     {\r
992         "id": "86b6e124.aff368",\r
993         "type": "switchNode",\r
994         "name": "switch length(vpn-binding.src-access-ltp) == 0",\r
995         "xml": "<switch test=\"`length($tmp.aai.vpn-binding.src-access-ltp-id) == 0`\">\n",\r
996         "comments": "",\r
997         "outputs": 1,\r
998         "x": 5025.632568359375,\r
999         "y": 826.9664611816406,\r
1000         "z": "fc139fb9.dc168",\r
1001         "wires": [\r
1002             [\r
1003                 "9a1a7af4.6ee1b",\r
1004                 "c570c72b.fde4f8"\r
1005             ]\r
1006         ]\r
1007     },\r
1008     {\r
1009         "id": "4d979945.b240f8",\r
1010         "type": "comment",\r
1011         "name": "only dst ttp exists. No src",\r
1012         "info": "",\r
1013         "comments": "",\r
1014         "x": 5283.6328125,\r
1015         "y": 715.9664001464844,\r
1016         "z": "fc139fb9.dc168",\r
1017         "wires": []\r
1018     },\r
1019     {\r
1020         "id": "ab52cc8a.9b36f",\r
1021         "type": "comment",\r
1022         "name": "both src and dst exist",\r
1023         "info": "",\r
1024         "comments": "",\r
1025         "x": 5290.6328125,\r
1026         "y": 877.9664001464844,\r
1027         "z": "fc139fb9.dc168",\r
1028         "wires": []\r
1029     },\r
1030     {\r
1031         "id": "71f0c8c6.7df048",\r
1032         "type": "block",\r
1033         "name": "block : atomic",\r
1034         "xml": "<block atomic=\"true\">",\r
1035         "atomic": "true",\r
1036         "outputs": 1,\r
1037         "x": 5412.6328125,\r
1038         "y": 923.9664611816406,\r
1039         "z": "fc139fb9.dc168",\r
1040         "wires": [\r
1041             [\r
1042                 "2d036a80.ec4f6e"\r
1043             ]\r
1044         ]\r
1045     },\r
1046     {\r
1047         "id": "59c592c9.d7994c",\r
1048         "type": "outcomeTrue",\r
1049         "name": "true",\r
1050         "xml": "<outcome value='true'>\n",\r
1051         "comments": "",\r
1052         "outputs": 1,\r
1053         "x": 4780.566665649414,\r
1054         "y": 894.5666656494141,\r
1055         "z": "fc139fb9.dc168",\r
1056         "wires": [\r
1057             []\r
1058         ]\r
1059     },\r
1060     {\r
1061         "id": "7b7ded64.3b4eb4",\r
1062         "type": "outcomeFalse",\r
1063         "name": "false",\r
1064         "xml": "<outcome value='false'>\n",\r
1065         "comments": "",\r
1066         "outputs": 1,\r
1067         "x": 4778.566665649414,\r
1068         "y": 799.5666656494141,\r
1069         "z": "fc139fb9.dc168",\r
1070         "wires": [\r
1071             [\r
1072                 "86b6e124.aff368"\r
1073             ]\r
1074         ]\r
1075     },\r
1076     {\r
1077         "id": "c570c72b.fde4f8",\r
1078         "type": "outcomeFalse",\r
1079         "name": "false",\r
1080         "xml": "<outcome value='false'>\n",\r
1081         "comments": "",\r
1082         "outputs": 1,\r
1083         "x": 5247.7998046875,\r
1084         "y": 925.36669921875,\r
1085         "z": "fc139fb9.dc168",\r
1086         "wires": [\r
1087             [\r
1088                 "71f0c8c6.7df048"\r
1089             ]\r
1090         ]\r
1091     },\r
1092     {\r
1093         "id": "9a1a7af4.6ee1b",\r
1094         "type": "outcomeTrue",\r
1095         "name": "true",\r
1096         "xml": "<outcome value='true'>\n",\r
1097         "comments": "",\r
1098         "outputs": 1,\r
1099         "x": 5269.7998046875,\r
1100         "y": 767.36669921875,\r
1101         "z": "fc139fb9.dc168",\r
1102         "wires": [\r
1103             []\r
1104         ]\r
1105     }\r
1106 ]