integration test issues fix for sdwan and sotn
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sotn-attachment-topology-operation-deactivate.json
index 17d4054..a0bd528 100644 (file)
@@ -1,20 +1,20 @@
 [
   {
-    "id": "b54f27ef.5db9a8",
+    "id": "4cfb64e6.6e881c",
     "type": "dgstart",
     "name": "DGSTART",
     "outputs": 1,
-    "x": 76.00390625,
-    "y": 37.00390625,
-    "z": "4ec136ff.390af8",
+    "x": 94,
+    "y": 32,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "73825793.639008"
+        "12c465a6.56166a"
       ]
     ]
   },
   {
-    "id": "73825793.639008",
+    "id": "12c465a6.56166a",
     "type": "service-logic",
     "name": "GENERIC-RESOURCE-API ${project.version}",
     "module": "GENERIC-RESOURCE-API",
     "comments": "",
     "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}'>",
     "outputs": 1,
-    "x": 288.00391006469727,
-    "y": 109.0039234161377,
-    "z": "4ec136ff.390af8",
+    "x": 275.00000381469727,
+    "y": 92.0000171661377,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "91a3b40f.a091b8"
+        "2a9804fb.335a2c"
       ]
     ]
   },
   {
-    "id": "91a3b40f.a091b8",
+    "id": "2a9804fb.335a2c",
     "type": "method",
     "name": "sotn-attachment-topology-operation-deactivate",
     "xml": "<method rpc='sotn-attachment-topology-operation-deactivate' mode='sync'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 276.0040283203125,
-    "y": 197.00390625,
-    "z": "4ec136ff.390af8",
+    "x": 263.0001220703125,
+    "y": 180,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "8b49cdb4.0b003"
+        "8ef7baf0.8ab7b8"
       ]
     ]
   },
   {
-    "id": "8b49cdb4.0b003",
+    "id": "8ef7baf0.8ab7b8",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 292.0040283203125,
-    "y": 752.0041508674622,
-    "z": "4ec136ff.390af8",
+    "x": 279.0001220703125,
+    "y": 735.0002446174622,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "c083b508.69c318",
-        "520006f2.b2e4d8",
-        "70bf29a.577bcd8",
-        "648ef4ed.e1062c",
-        "8e15ef85.af876",
-        "7cd467cc.f359b8",
-        "4ca01b12.aeeae4",
-        "6963b7ed.1ac188",
-        "2a2a1345.d7f2ec",
-        "5c89f183.d2653",
-        "f1e26abf.1dc9f8",
-        "25f9e140.e4210e",
-        "1507ea99.aa8315",
-        "3a95a888.e92908",
-        "dd09565b.b81778",
-        "60ba1f59.42707",
-        "bf1b5f9f.275aa",
-        "ff509458.45f008",
-        "980e2d4b.7e472",
-        "372ff043.61187"
+        "7071662b.7233c8",
+        "3ad2f841.5f9c18",
+        "e4bfecd2.3089e",
+        "8d649aff.9610f8",
+        "76bb0e72.4c9e6",
+        "cfcc4cd.498b3b",
+        "d2afdfc8.3d49c",
+        "ff0d92e9.55c77",
+        "db753550.5e2778",
+        "6873bae7.8cf8e4",
+        "7a073085.0e81c",
+        "6fa8d61c.7e4378",
+        "39d4dd71.5f1112",
+        "d845a062.e24db",
+        "9b7849da.439398",
+        "5b4906aa.434008",
+        "485e569f.2b52d8",
+        "417e0490.1d34dc",
+        "d67f9f52.31c1f",
+        "2a0b728c.4f365e"
       ]
     ]
   },
   {
-    "id": "c083b508.69c318",
+    "id": "7071662b.7233c8",
     "type": "set",
     "name": "set tmp.ar.allotted-resource-id,etc",
     "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",
     "comments": "",
-    "x": 688.9974670410156,
-    "y": 150.9973931312561,
-    "z": "4ec136ff.390af8",
+    "x": 675.9935607910156,
+    "y": 133.9934868812561,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "8cf7665f.0ad548",
+    "id": "f3d4b61.bd26248",
     "type": "comment",
     "name": "set tmp ar-id to fetch resource from MDSAL",
     "info": "",
     "comments": "",
-    "x": 717.9577789306641,
-    "y": 115.02918910980225,
-    "z": "4ec136ff.390af8",
+    "x": 704.9538726806641,
+    "y": 98.02528285980225,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "520006f2.b2e4d8",
+    "id": "3ad2f841.5f9c18",
     "type": "set",
     "name": "set tmp.ar.self-link",
     "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n",
     "comments": "",
-    "x": 642.9974060058594,
-    "y": 243.99739837646484,
-    "z": "4ec136ff.390af8",
+    "x": 629.9934997558594,
+    "y": 226.99349212646484,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "8e15ef85.af876",
+    "id": "76bb0e72.4c9e6",
     "type": "execute",
     "name": "execute Properties",
     "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",
     "comments": "",
     "outputs": 1,
-    "x": 649.2592964172363,
-    "y": 331.6641273498535,
-    "z": "4ec136ff.390af8",
+    "x": 636.2553901672363,
+    "y": 314.6602210998535,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "70bf29a.577bcd8",
+    "id": "e4bfecd2.3089e",
     "type": "execute",
     "name": "generate allotted-resource tmp.ar-url",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
     "comments": "",
     "outputs": 1,
-    "x": 699.2593994140625,
-    "y": 418.66412830352783,
-    "z": "4ec136ff.390af8",
+    "x": 686.2554931640625,
+    "y": 401.66022205352783,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "f4f0e304.bbd67",
+    "id": "12a5d929.d1ab27",
     "type": "comment",
     "name": "GET connection-attachment-allotted-resource from mdsal",
     "info": "",
     "comments": "",
-    "x": 742.8123931884766,
-    "y": 489.54267501831055,
-    "z": "4ec136ff.390af8",
+    "x": 729.8084869384766,
+    "y": 472.53876876831055,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "3183ed7f.7cdf82",
+    "id": "d0fe36b8.253ae8",
     "type": "comment",
     "name": "Used for setting output to API Handler",
     "info": "",
     "comments": "",
-    "x": 696.9974365234375,
-    "y": 210.997407913208,
-    "z": "4ec136ff.390af8",
+    "x": 683.9935302734375,
+    "y": 193.993501663208,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "61fa78e8.e88928",
+    "id": "b80d794b.4e9278",
     "type": "comment",
     "name": "Obtain different URL, template location etc",
     "info": "For saving resource information to MDSAL & for AAI",
     "comments": "",
-    "x": 714.9974021911621,
-    "y": 296.8862886428833,
-    "z": "4ec136ff.390af8",
+    "x": 701.9934959411621,
+    "y": 279.8823823928833,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "e460b896.d8ce98",
+    "id": "cbbc01c9.a6bad",
     "type": "comment",
     "name": "Used to Get AR by id to MDSAL, same as self-link",
     "info": "",
     "comments": "",
-    "x": 740.9974212646484,
-    "y": 383.8862476348877,
-    "z": "4ec136ff.390af8",
+    "x": 727.9935150146484,
+    "y": 366.8823413848877,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "f65756e0.dd7818",
+    "id": "dd903f73.c503a",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1183.6707344055176,
-    "y": 537.0039348602295,
-    "z": "4ec136ff.390af8",
+    "x": 1170.6668281555176,
+    "y": 520.0000286102295,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "4dc0f774.40c9e8"
+        "a2e7e6e6.009bb8"
       ]
     ]
   },
   {
-    "id": "4dc0f774.40c9e8",
+    "id": "a2e7e6e6.009bb8",
     "type": "block",
     "name": "block: atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1352.6707382202148,
-    "y": 535.5038356781006,
-    "z": "4ec136ff.390af8",
+    "x": 1339.6668319702148,
+    "y": 518.4999294281006,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "a07cda93.450c08"
+        "40901b07.2b8a34"
       ]
     ]
   },
   {
-    "id": "a07cda93.450c08",
+    "id": "40901b07.2b8a34",
     "type": "switchNode",
     "name": "switch cr length",
     "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1525.5280075073242,
-    "y": 473.12299823760986,
-    "z": "4ec136ff.390af8",
+    "x": 1512.5241012573242,
+    "y": 456.11909198760986,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "22ec9ce0.2f5dd4",
-        "f2f6c092.18725"
+        "ff35eb42.56bb08",
+        "269f23f1.ccbfdc"
       ]
     ]
   },
   {
-    "id": "22ec9ce0.2f5dd4",
+    "id": "ff35eb42.56bb08",
     "type": "other",
     "name": "outcome 1",
     "xml": "<outcome value='1'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1762.8612518310547,
-    "y": 451.1229486465454,
-    "z": "4ec136ff.390af8",
+    "x": 1749.8573455810547,
+    "y": 434.1190423965454,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "9d16e841.df5298"
+        "51f5ccd7.88acc4"
       ]
     ]
   },
   {
-    "id": "9d16e841.df5298",
+    "id": "51f5ccd7.88acc4",
     "type": "block",
     "name": "block: atomic",
     "xml": "<block atomic='true'>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1947.3851413726807,
-    "y": 448.02778244018555,
-    "z": "4ec136ff.390af8",
+    "x": 1934.3812351226807,
+    "y": 431.02387619018555,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "3e7b6049.99c1f",
-        "76484c5f.5d8d34",
-        "659367d9.de17c8"
+        "6cd3d1da.71f58",
+        "b9e7534b.5d3c7",
+        "69d088e.2321178"
       ]
     ]
   },
   {
-    "id": "15003538.c9037b",
+    "id": "608eef9f.ff52c",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n    \n",
     "comments": "",
-    "x": 1871.5229835510254,
-    "y": 573.0700235366821,
-    "z": "4ec136ff.390af8",
+    "x": 1858.5190773010254,
+    "y": 556.0661172866821,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "1584b53e.263d2b",
+    "id": "5569926e.6ec77c",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1175.5225372314453,
-    "y": 572.0700197219849,
-    "z": "4ec136ff.390af8",
+    "x": 1162.5186309814453,
+    "y": 555.0661134719849,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "cfb38062.240c9"
+        "8fd3c2e7.8c13"
       ]
     ]
   },
   {
-    "id": "cfb38062.240c9",
+    "id": "8fd3c2e7.8c13",
     "type": "block",
     "name": "block: atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1355.5224876403809,
-    "y": 572.7365703582764,
-    "z": "4ec136ff.390af8",
+    "x": 1342.5185813903809,
+    "y": 555.7326641082764,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "15003538.c9037b"
+        "608eef9f.ff52c"
       ]
     ]
   },
   {
-    "id": "f2f6c092.18725",
+    "id": "269f23f1.ccbfdc",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1751.1892051696777,
-    "y": 488.4033088684082,
-    "z": "4ec136ff.390af8",
+    "x": 1738.1852989196777,
+    "y": 471.3994026184082,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "15003538.c9037b"
+        "608eef9f.ff52c"
       ]
     ]
   },
   {
-    "id": "3e7b6049.99c1f",
+    "id": "6cd3d1da.71f58",
     "type": "set",
     "name": "set connection-attachment-ar from get",
     "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",
     "comments": "",
-    "x": 2193.448699951172,
-    "y": 408.0040121078491,
-    "z": "4ec136ff.390af8",
+    "x": 2180.444793701172,
+    "y": 391.0001058578491,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "659367d9.de17c8",
+    "id": "69d088e.2321178",
     "type": "set",
     "name": "set oper-status",
     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-ar.allotted-resource-status.rpc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
     "comments": "",
-    "x": 2126.4486961364746,
-    "y": 498.43256664276123,
-    "z": "4ec136ff.390af8",
+    "x": 2113.4447898864746,
+    "y": 481.42866039276123,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "76484c5f.5d8d34",
+    "id": "b9e7534b.5d3c7",
     "type": "switchNode",
     "name": "switch order-status",
     "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2137.448532104492,
-    "y": 452.0040159225464,
-    "z": "4ec136ff.390af8",
+    "x": 2124.444625854492,
+    "y": 435.0001096725464,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "731472d3.90aa5c",
-        "76bb9af5.092564"
+        "e31f34a6.200f98",
+        "4be6cb8d.440694"
       ]
     ]
   },
   {
-    "id": "731472d3.90aa5c",
+    "id": "e31f34a6.200f98",
     "type": "outcome",
     "name": "outcome Active",
     "xml": "<outcome value='Active'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2344.048480987549,
-    "y": 442.0040159225464,
-    "z": "4ec136ff.390af8",
+    "x": 2331.044574737549,
+    "y": 425.0001096725464,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "e2186fc5.ee965"
+        "3c41da84.a11fe6"
       ]
     ]
   },
   {
-    "id": "76bb9af5.092564",
+    "id": "4be6cb8d.440694",
     "type": "outcome",
     "name": "outcome Other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2343.7630004882812,
-    "y": 484.4326066970825,
-    "z": "4ec136ff.390af8",
+    "x": 2330.7590942382812,
+    "y": 467.4287004470825,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "c14114c.2df93e8"
+        "4f30d53e.7d564c"
       ]
     ]
   },
   {
-    "id": "e2186fc5.ee965",
+    "id": "3c41da84.a11fe6",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2496.5190353393555,
-    "y": 440.3796663284302,
-    "z": "4ec136ff.390af8",
+    "x": 2483.5151290893555,
+    "y": 423.3757600784302,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "c14114c.2df93e8",
+    "id": "4f30d53e.7d564c",
     "type": "returnFailure",
     "name": "return failure",
     "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\" \n    value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
     "comments": "",
-    "x": 2516.6708908081055,
-    "y": 481.004017829895,
-    "z": "4ec136ff.390af8",
+    "x": 2503.6669845581055,
+    "y": 464.000111579895,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "71b7df96.cf2fe",
+    "id": "b70a2f75.befcc",
     "type": "call",
     "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",
     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 904.3070220947266,
-    "y": 633.4974970817566,
-    "z": "4ec136ff.390af8",
+    "x": 891.3031158447266,
+    "y": 616.4935908317566,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "7cd467cc.f359b8",
+    "id": "cfcc4cd.498b3b",
     "type": "block",
     "name": "block: atomic",
     "xml": "<block atomic=\"true\">\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 601.3131866455078,
-    "y": 634.5038452148438,
-    "z": "4ec136ff.390af8",
+    "x": 588.3092803955078,
+    "y": 617.4999389648438,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "71b7df96.cf2fe"
+        "b70a2f75.befcc"
       ]
     ]
   },
   {
-    "id": "e0dac461.755818",
+    "id": "11cd074.969d5f9",
     "type": "comment",
     "name": "GET parent-service-data from mdsal to check existence of other End point",
     "info": "",
     "comments": "",
-    "x": 783.0043487548828,
-    "y": 695.5356044769287,
-    "z": "4ec136ff.390af8",
+    "x": 770.0004425048828,
+    "y": 678.5316982269287,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "6358d403.359d6c",
+    "id": "9f5cf8a1.eb07d8",
     "type": "for",
     "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",
     "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 1673.1889038085938,
-    "y": 899.0079889297485,
-    "z": "4ec136ff.390af8",
+    "x": 1660.1849975585938,
+    "y": 882.0040826797485,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "48ab36b2.10b5c8"
+        "60ecfe73.436f5"
       ]
     ]
   },
   {
-    "id": "e3f9ceb3.fcc12",
+    "id": "99b7fbfe.94a448",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1079.3308753967285,
-    "y": 1031.5794496536255,
-    "z": "4ec136ff.390af8",
+    "x": 1066.3269691467285,
+    "y": 1014.5755434036255,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "6bf2a454.b0478c"
+        "6439feba.07b8e"
       ]
     ]
   },
   {
-    "id": "879c81fc.e34a9",
+    "id": "bdbde57e.1f4d78",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 1270.4582767486572,
-    "y": 896.7054774537683,
-    "z": "4ec136ff.390af8",
+    "x": 1257.4543704986572,
+    "y": 879.7015712037683,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "6358d403.359d6c"
+        "9f5cf8a1.eb07d8"
       ]
     ]
   },
   {
-    "id": "48ab36b2.10b5c8",
+    "id": "60ecfe73.436f5",
     "type": "switchNode",
     "name": "switch allotted-resource-id",
     "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2108.300304412842,
-    "y": 899.0078859329224,
-    "z": "4ec136ff.390af8",
+    "x": 2095.296398162842,
+    "y": 882.0039796829224,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "ca0f68e.fe64c98",
-        "9210d9d0.b73bc8"
+        "1a655308.b661fd",
+        "be68f27f.28bd6"
       ]
     ]
   },
   {
-    "id": "ca0f68e.fe64c98",
+    "id": "1a655308.b661fd",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2317.110652923584,
-    "y": 879.4723424911499,
-    "z": "4ec136ff.390af8",
+    "x": 2304.106746673584,
+    "y": 862.4684362411499,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "bd0a6759.014208"
+        "9a95bbc4.4906f8"
       ]
     ]
   },
   {
-    "id": "5b20e51b.570d9c",
+    "id": "b3792237.47167",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 2465.871406555176,
-    "y": 915.3295240402222,
-    "z": "4ec136ff.390af8",
+    "x": 2452.867500305176,
+    "y": 898.3256177902222,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "6fdc71ce.76ec1"
+        "5c963186.53d88"
       ]
     ]
   },
   {
-    "id": "6fdc71ce.76ec1",
+    "id": "5c963186.53d88",
     "type": "set",
     "name": "set tmp.pidx and ptx.consumed-ar",
     "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
     "comments": "",
-    "x": 2700.728843688965,
-    "y": 913.9010553359985,
-    "z": "4ec136ff.390af8",
+    "x": 2687.724937438965,
+    "y": 896.8971490859985,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "645720a8.c9b45",
+    "id": "bd64de18.15892",
     "type": "comment",
     "name": "Check existence of other AR in parent service data",
     "info": "Check if other allotted resource is available.",
     "comments": "",
-    "x": 706.9667510986328,
-    "y": 865.8968267440796,
-    "z": "4ec136ff.390af8",
+    "x": 693.9628448486328,
+    "y": 848.8929204940796,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "a518915c.e4ec5",
+    "id": "7e8c22a4.61fc8c",
     "type": "other",
     "name": "outcome 1",
     "xml": "<outcome value='1'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1089.9832229614258,
-    "y": 966.681170463562,
-    "z": "4ec136ff.390af8",
+    "x": 1076.9793167114258,
+    "y": 949.677264213562,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "613ca19d.9a54f"
+        "c4a79f00.128a8"
       ]
     ]
   },
   {
-    "id": "6bf2a454.b0478c",
+    "id": "6439feba.07b8e",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n    \n",
     "comments": "",
-    "x": 1251.9832191467285,
-    "y": 1030.681191444397,
-    "z": "4ec136ff.390af8",
+    "x": 1238.9793128967285,
+    "y": 1013.677285194397,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "525b4334.32e11c",
+    "id": "2061f78c.10bc08",
     "type": "other",
     "name": "outcome 2",
     "xml": "<outcome value='2'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1095.9832973480225,
-    "y": 897.6811778321862,
-    "z": "4ec136ff.390af8",
+    "x": 1082.9793910980225,
+    "y": 880.6772715821862,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "879c81fc.e34a9"
+        "bdbde57e.1f4d78"
       ]
     ]
   },
   {
-    "id": "bd0a6759.014208",
+    "id": "9a95bbc4.4906f8",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2446.094711303711,
-    "y": 874.6810827255249,
-    "z": "4ec136ff.390af8",
+    "x": 2433.090805053711,
+    "y": 857.6771764755249,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "9210d9d0.b73bc8",
+    "id": "be68f27f.28bd6",
     "type": "outcomeTrue",
     "name": "false",
     "xml": "<outcome value='false'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2317.0947036743164,
-    "y": 913.6810865402222,
-    "z": "4ec136ff.390af8",
+    "x": 2304.0907974243164,
+    "y": 896.6771802902222,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "5b20e51b.570d9c"
+        "b3792237.47167"
       ]
     ]
   },
   {
-    "id": "1306b994.c05466",
+    "id": "de57d171.2f008",
     "type": "switchNode",
     "name": "switch mdsal-psd.networks_length",
     "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1502.3169021606445,
-    "y": 969.9036674499512,
-    "z": "4ec136ff.390af8",
+    "x": 1489.3129959106445,
+    "y": 952.8997611999512,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "bcbc6710.4989d8",
-        "4a1544ae.b670bc"
+        "2dedf29c.7f1aee",
+        "754f989d.208718"
       ]
     ]
   },
   {
-    "id": "4a1544ae.b670bc",
+    "id": "754f989d.208718",
     "type": "other",
     "name": "outcome 1",
     "xml": "<outcome value='1'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1732.3169250488281,
-    "y": 945.7924995422363,
-    "z": "4ec136ff.390af8",
+    "x": 1719.3130187988281,
+    "y": 928.7885932922363,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "dd72a26.9ccfe6"
+        "55c6b97a.4d77c8"
       ]
     ]
   },
   {
-    "id": "bcbc6710.4989d8",
+    "id": "2dedf29c.7f1aee",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1726.3170471191406,
-    "y": 1005.7924995422363,
-    "z": "4ec136ff.390af8",
+    "x": 1713.3131408691406,
+    "y": 988.7885932922363,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "a79d34a4.7a5eb8"
+        "f186a46c.9bf998"
       ]
     ]
   },
   {
-    "id": "a79d34a4.7a5eb8",
+    "id": "f186a46c.9bf998",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Incorrect state found more then 1 network\" />\n    \n",
     "comments": "",
-    "x": 1898.9694328308105,
-    "y": 1005.8943061828613,
-    "z": "4ec136ff.390af8",
+    "x": 1885.9655265808105,
+    "y": 988.8903999328613,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "4762bac5.0337d4",
+    "id": "30d37efb.acb512",
     "type": "set",
     "name": "set tmp.network.",
     "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n",
     "comments": "",
-    "x": 2100.761848449707,
-    "y": 935.7926588058472,
-    "z": "4ec136ff.390af8",
+    "x": 2087.757942199707,
+    "y": 918.7887525558472,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "613ca19d.9a54f",
+    "id": "c4a79f00.128a8",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 1262.427577972412,
-    "y": 967.7924184799194,
-    "z": "4ec136ff.390af8",
+    "x": 1249.423671722412,
+    "y": 950.7885122299194,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "1306b994.c05466"
+        "de57d171.2f008"
       ]
     ]
   },
   {
-    "id": "dd72a26.9ccfe6",
+    "id": "55c6b97a.4d77c8",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 1900.094596862793,
-    "y": 964.7923336029053,
-    "z": "4ec136ff.390af8",
+    "x": 1887.090690612793,
+    "y": 947.7884273529053,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "4762bac5.0337d4",
-        "da4b8e5c.bc1b9"
+        "30d37efb.acb512",
+        "71f1a549.c26fcc"
       ]
     ]
   },
   {
-    "id": "da4b8e5c.bc1b9",
+    "id": "71f1a549.c26fcc",
     "type": "for",
     "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",
     "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",
     "comments": "",
     "outputs": 1,
-    "x": 2276.09521484375,
-    "y": 1007.7923412322998,
-    "z": "4ec136ff.390af8",
+    "x": 2263.09130859375,
+    "y": 990.7884349822998,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "ff7a40b2.21a91"
+        "7875ac99.845f44"
       ]
     ]
   },
   {
-    "id": "ff7a40b2.21a91",
+    "id": "7875ac99.845f44",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 2599.6508750915527,
-    "y": 1008.7924184799194,
-    "z": "4ec136ff.390af8",
+    "x": 2586.6469688415527,
+    "y": 991.7885122299194,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "ffa1f84e.980b68",
-        "b00db02b.eb8b6"
+        "e81ff7c1.f7c6b8",
+        "bdffba6f.6b28d8"
       ]
     ]
   },
   {
-    "id": "ffa1f84e.980b68",
+    "id": "e81ff7c1.f7c6b8",
     "type": "switchNode",
     "name": "switch access-node-id",
     "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",
     "comments": "",
     "outputs": 1,
-    "x": 2778.1609802246094,
-    "y": 992.8028364181519,
-    "z": "4ec136ff.390af8",
+    "x": 2765.1570739746094,
+    "y": 975.7989301681519,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "3081e79b.edd628"
+        "e7b692af.0dd02"
       ]
     ]
   },
   {
-    "id": "3081e79b.edd628",
+    "id": "e7b692af.0dd02",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2965.1609802246094,
-    "y": 993.8028364181519,
-    "z": "4ec136ff.390af8",
+    "x": 2952.1570739746094,
+    "y": 976.7989301681519,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "d1012448.dbd488"
+        "bf146f7a.eb901"
       ]
     ]
   },
   {
-    "id": "d1012448.dbd488",
+    "id": "bf146f7a.eb901",
     "type": "set",
     "name": "set tmp.found-in-network tmp.ep-available",
     "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",
     "comments": "",
-    "x": 3216.160987854004,
-    "y": 993.4027786254883,
-    "z": "4ec136ff.390af8",
+    "x": 3203.157081604004,
+    "y": 976.3988723754883,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "b00db02b.eb8b6",
+    "id": "bdffba6f.6b28d8",
     "type": "returnSuccess",
     "name": "return success",
     "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",
     "comments": "",
-    "x": 2761.15087890625,
-    "y": 1037.7924356460571,
-    "z": "4ec136ff.390af8",
+    "x": 2748.14697265625,
+    "y": 1020.7885293960571,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "648ef4ed.e1062c",
+    "id": "8d649aff.9610f8",
     "type": "switchNode",
     "name": "switch tmp.ep-available",
     "xml": "<switch test='`$tmp.ep-available`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 638.3167724609375,
-    "y": 1170.2366914749146,
-    "z": "4ec136ff.390af8",
+    "x": 625.3128662109375,
+    "y": 1153.2327852249146,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "59ee447d.77e34c",
-        "88dd47.020332b8"
+        "4f8ffbf3.76c804",
+        "5d810111.f89bf"
       ]
     ]
   },
   {
-    "id": "88dd47.020332b8",
+    "id": "5d810111.f89bf",
     "type": "outcomeTrue",
     "name": "true",
     "xml": "<outcome value='true'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 820.9836082458496,
-    "y": 1194.5700998306274,
-    "z": "4ec136ff.390af8",
+    "x": 807.9797019958496,
+    "y": 1177.5661935806274,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "f03a557c.a1bc78"
+        "fc624863.8ed628"
       ]
     ]
   },
   {
-    "id": "59ee447d.77e34c",
+    "id": "4f8ffbf3.76c804",
     "type": "outcomeTrue",
     "name": "false",
     "xml": "<outcome value='false'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 823.8723793029785,
-    "y": 1133.570198059082,
-    "z": "4ec136ff.390af8",
+    "x": 810.8684730529785,
+    "y": 1116.566291809082,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "5a5c3a3.170aec4"
+        "95d9e1c5.ffafd"
       ]
     ]
   },
   {
-    "id": "5a5c3a3.170aec4",
+    "id": "95d9e1c5.ffafd",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 960.8724555969238,
-    "y": 1132.4590120315552,
-    "z": "4ec136ff.390af8",
+    "x": 947.8685493469238,
+    "y": 1115.4551057815552,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "f03a557c.a1bc78",
+    "id": "fc624863.8ed628",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 991.0946960449219,
-    "y": 1192.5700578689575,
-    "z": "4ec136ff.390af8",
+    "x": 978.0907897949219,
+    "y": 1175.5661516189575,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "7df4dec5.12529"
+        "36542d01.f14212"
       ]
     ]
   },
   {
-    "id": "530d26e7.1066c8",
+    "id": "1ad5d4a1.aaa1eb",
     "type": "comment",
     "name": "GET connection-attachment-ar to store AR data from mdsal",
     "info": "",
     "comments": "",
-    "x": 2176.476852416992,
-    "y": 372.5078754425049,
-    "z": "4ec136ff.390af8",
+    "x": 2163.472946166992,
+    "y": 355.5039691925049,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "96d6938d.7bded",
+    "id": "d24d901f.d9d76",
     "type": "comment",
     "name": "Set source end point",
     "info": "",
     "comments": "",
-    "x": 614.9767456054688,
-    "y": 602.2579708099365,
-    "z": "4ec136ff.390af8",
+    "x": 601.9728393554688,
+    "y": 585.2540645599365,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "4ca01b12.aeeae4",
+    "id": "d2afdfc8.3d49c",
     "type": "set",
     "name": "set tmp.ar.parent-service-instance-id",
     "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",
     "comments": "",
-    "x": 667.9728240966797,
-    "y": 727.0041151046753,
-    "z": "4ec136ff.390af8",
+    "x": 654.9689178466797,
+    "y": 710.0002088546753,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "13901d91.bcbec2",
+    "id": "7153ec61.6a9434",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1045.9728202819824,
-    "y": 776.004114151001,
-    "z": "4ec136ff.390af8",
+    "x": 1032.9689140319824,
+    "y": 759.000207901001,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "1def54f0.081ddb"
+        "90308511.d0d098"
       ]
     ]
   },
   {
-    "id": "eada0637.1dd9c8",
+    "id": "f1d188a0.fe8058",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1037.8246231079102,
-    "y": 811.0701990127563,
-    "z": "4ec136ff.390af8",
+    "x": 1024.8207168579102,
+    "y": 794.0662927627563,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "7eae3ac9.be18e4"
+        "f851790f.ede818"
       ]
     ]
   },
   {
-    "id": "7eae3ac9.be18e4",
+    "id": "f851790f.ede818",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN resource not found\" />\n    \n",
     "comments": "",
-    "x": 1212.9733085632324,
-    "y": 807.3375492095947,
-    "z": "4ec136ff.390af8",
+    "x": 1199.9694023132324,
+    "y": 790.3336429595947,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "1def54f0.081ddb",
+    "id": "90308511.d0d098",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1196.9728202819824,
-    "y": 774.004114151001,
-    "z": "4ec136ff.390af8",
+    "x": 1183.9689140319824,
+    "y": 757.000207901001,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "6963b7ed.1ac188",
+    "id": "ff0d92e9.55c77",
     "type": "set",
     "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",
     "xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />",
     "comments": "",
-    "x": 754.9728164672852,
-    "y": 901.0040884017944,
-    "z": "4ec136ff.390af8",
+    "x": 741.9689102172852,
+    "y": 884.0001821517944,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "e7dc10be.4a762",
+    "id": "717c1a02.c09b54",
     "type": "comment",
     "name": "If other EP exists delete from domain controller",
     "info": "",
     "comments": "",
-    "x": 688.9727172851562,
-    "y": 1095.003903388977,
-    "z": "4ec136ff.390af8",
+    "x": 675.9688110351562,
+    "y": 1077.999997138977,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "3c03726e.58d62e",
+    "id": "b5225e87.1d6d6",
     "type": "set",
     "name": "set controller data",
     "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",
     "comments": "",
-    "x": 2693.97354888916,
-    "y": 1392.0043325424194,
-    "z": "4ec136ff.390af8",
+    "x": 2680.96964263916,
+    "y": 1375.0004262924194,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "b649f241.fe659",
+    "id": "a7698ae.d89d278",
     "type": "get-resource",
     "name": "get-resource esr-thirdparty-sdnc",
     "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.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2257.473487854004,
-    "y": 1451.0043325424194,
-    "z": "4ec136ff.390af8",
+    "x": 2244.469581604004,
+    "y": 1434.0004262924194,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "4eb1e7d1.a91458",
-        "8b33a960.d74f98",
-        "58a39417.8a89cc"
+        "f44dc730.296008",
+        "1e7b258.a67f1db",
+        "565f7f73.66ef7"
       ]
     ]
   },
   {
-    "id": "4eb1e7d1.a91458",
+    "id": "f44dc730.296008",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2496.473487854004,
-    "y": 1404.0043325424194,
-    "z": "4ec136ff.390af8",
+    "x": 2483.469581604004,
+    "y": 1387.0004262924194,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "3c03726e.58d62e"
+        "b5225e87.1d6d6"
       ]
     ]
   },
   {
-    "id": "8b33a960.d74f98",
+    "id": "1e7b258.a67f1db",
     "type": "not-found",
     "name": "not-found",
     "xml": "<outcome value='not-found'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2499.964454650879,
-    "y": 1451.5783681869507,
-    "z": "4ec136ff.390af8",
+    "x": 2486.960548400879,
+    "y": 1434.5744619369507,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "d1891615.f0fe68"
+        "b82d2ebf.1a1b3"
       ]
     ]
   },
   {
-    "id": "58a39417.8a89cc",
+    "id": "565f7f73.66ef7",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2495.297462463379,
-    "y": 1492.911681175232,
-    "z": "4ec136ff.390af8",
+    "x": 2482.293556213379,
+    "y": 1475.907774925232,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "9094de14.94959"
+        "a1bb007f.4a95b"
       ]
     ]
   },
   {
-    "id": "d1891615.f0fe68",
+    "id": "b82d2ebf.1a1b3",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 2676.5358657836914,
-    "y": 1439.864104270935,
-    "z": "4ec136ff.390af8",
+    "x": 2663.5319595336914,
+    "y": 1422.860198020935,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "9094de14.94959",
+    "id": "a1bb007f.4a95b",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 2683.0700187683105,
-    "y": 1488.3508739471436,
-    "z": "4ec136ff.390af8",
+    "x": 2670.0661125183105,
+    "y": 1471.3469676971436,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "de59b3c5.550e5",
+    "id": "41073eca.4f87f",
     "type": "get-resource",
     "name": "get-resource pnf",
-    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"network-resource.network-id = $mdsal-psd.service-data.networks.network[0].network-id \n\t\tAND pnf.pnf-name = $tmp.node-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n\n",
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.node-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 2199.9736404418945,
-    "y": 1336.004324913025,
-    "z": "4ec136ff.390af8",
+    "x": 2186.9697341918945,
+    "y": 1319.000418663025,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "e39bc756.013308",
-        "2a9857ce.2f6878",
-        "1952da4b.fcde26"
+        "ea378f67.57494",
+        "868c9cb5.9db7b",
+        "3a1faec8.e90752"
       ]
     ]
   },
   {
-    "id": "e39bc756.013308",
+    "id": "ea378f67.57494",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2387.9736557006836,
-    "y": 1282.0043172836304,
-    "z": "4ec136ff.390af8",
+    "x": 2374.9697494506836,
+    "y": 1265.0004110336304,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "21d4c191.6f41ee"
+        "1d2ccfbd.a8cd2"
       ]
     ]
   },
   {
-    "id": "2a9857ce.2f6878",
+    "id": "868c9cb5.9db7b",
     "type": "not-found",
     "name": "not-found",
     "xml": "<outcome value='not-found'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2393.464702606201,
-    "y": 1324.5782136917114,
-    "z": "4ec136ff.390af8",
+    "x": 2380.460796356201,
+    "y": 1307.5743074417114,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "7c6a4960.24dda8"
+        "9b840dcb.a56fd"
       ]
     ]
   },
   {
-    "id": "1952da4b.fcde26",
+    "id": "3a1faec8.e90752",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2379.797710418701,
-    "y": 1362.9115495681763,
-    "z": "4ec136ff.390af8",
+    "x": 2366.793804168701,
+    "y": 1345.9076433181763,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "6c19b1e1.1bbdd"
+        "6444ae02.9da9b"
       ]
     ]
   },
   {
-    "id": "7c6a4960.24dda8",
+    "id": "9b840dcb.a56fd",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 2547.036003112793,
-    "y": 1314.8640203475952,
-    "z": "4ec136ff.390af8",
+    "x": 2534.032096862793,
+    "y": 1297.8601140975952,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "6c19b1e1.1bbdd",
+    "id": "6444ae02.9da9b",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 2543.570182800293,
-    "y": 1354.3508396148682,
-    "z": "4ec136ff.390af8",
+    "x": 2530.566276550293,
+    "y": 1337.3469333648682,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "21d4c191.6f41ee",
+    "id": "1d2ccfbd.a8cd2",
     "type": "set",
     "name": "set tmp.thirdparty-sdnc-id",
     "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
     "comments": "",
-    "x": 2587.9736709594727,
-    "y": 1277.0043172836304,
-    "z": "4ec136ff.390af8",
+    "x": 2574.9697647094727,
+    "y": 1260.0004110336304,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "4f8efcb5.a9cf14",
+    "id": "9df1ac2f.51afc",
     "type": "comment",
     "name": "get domain controller information",
     "info": "",
     "comments": "",
-    "x": 2243.4775466918945,
-    "y": 1305.0082921981812,
-    "z": "4ec136ff.390af8",
+    "x": 2230.4736404418945,
+    "y": 1288.0043859481812,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "35e0c434.3e437c",
+    "id": "8e68e45a.813908",
     "type": "execute",
     "name": "execute RestApiCallNode Delete ethernet Service",
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + 'restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.actual.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
     "comments": "",
     "outputs": 1,
-    "x": 2305.97354888916,
-    "y": 1556.0043325424194,
-    "z": "4ec136ff.390af8",
+    "x": 2292.96964263916,
+    "y": 1539.0004262924194,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "c3b6b741.e17f38",
-        "dfd52870.a619b8"
+        "133da42a.747e7c",
+        "65e79690.a17a38"
       ]
     ]
   },
   {
-    "id": "c3b6b741.e17f38",
+    "id": "133da42a.747e7c",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2592.973487854004,
-    "y": 1579.0043325424194,
-    "z": "4ec136ff.390af8",
+    "x": 2579.969581604004,
+    "y": 1562.0004262924194,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "1373f104.3035cf"
+        "25b2c93d.e0d066"
       ]
     ]
   },
   {
-    "id": "1373f104.3035cf",
+    "id": "25b2c93d.e0d066",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "comments": "",
     "outputs": 1,
-    "x": 2762.9734268188477,
-    "y": 1582.0043325424194,
-    "z": "4ec136ff.390af8",
+    "x": 2749.9695205688477,
+    "y": 1565.0004262924194,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "98709530.f9e578",
+    "id": "48ed3cb6.2c6ac4",
     "type": "returnFailure",
     "name": "return failure",
     "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",
     "comments": "",
-    "x": 2762.97354888916,
-    "y": 1538.0043325424194,
-    "z": "4ec136ff.390af8",
+    "x": 2749.96964263916,
+    "y": 1521.0004262924194,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "dfd52870.a619b8",
+    "id": "65e79690.a17a38",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2595.9734268188477,
-    "y": 1538.0043325424194,
-    "z": "4ec136ff.390af8",
+    "x": 2582.9695205688477,
+    "y": 1521.0004262924194,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "98709530.f9e578"
+        "48ed3cb6.2c6ac4"
       ]
     ]
   },
   {
-    "id": "a09d44d6.036498",
+    "id": "d8c8a336.34039",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 917.7346534729004,
-    "y": 1694.9566963911057,
-    "z": "4ec136ff.390af8",
+    "x": 904.7307472229004,
+    "y": 1677.9527901411057,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "8338cff1.c1a26"
+        "16163acd.838405"
       ]
     ]
   },
   {
-    "id": "8338cff1.c1a26",
+    "id": "16163acd.838405",
     "type": "returnFailure",
     "name": "return failure",
     "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=\"AAI failed\" />\n",
     "comments": "",
-    "x": 1084.2585334777832,
-    "y": 1706.5757673978806,
-    "z": "4ec136ff.390af8",
+    "x": 1071.2546272277832,
+    "y": 1689.5718611478806,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "9111ff4f.4282f",
+    "id": "dfa99ab0.574428",
     "type": "failure",
     "name": "not-found",
     "xml": "<outcome value='not-found'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 924.8299407958984,
-    "y": 1727.7186640501022,
-    "z": "4ec136ff.390af8",
+    "x": 911.8260345458984,
+    "y": 1710.7147578001022,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "8338cff1.c1a26"
+        "16163acd.838405"
       ]
     ]
   },
   {
-    "id": "e911009.f267e",
+    "id": "60dc28ca.d224f8",
     "type": "comment",
     "name": "Save Resource to AAI",
     "info": "",
     "comments": "",
-    "x": 636.7823677062988,
-    "y": 1677.3060846328735,
-    "z": "4ec136ff.390af8",
+    "x": 623.7784614562988,
+    "y": 1660.3021783828735,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "3a95a888.e92908",
+    "id": "d845a062.e24db",
     "type": "set",
     "name": "set output to api handler",
     "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
     "comments": "",
-    "x": 651.5500640869141,
-    "y": 1598.8315658569336,
-    "z": "4ec136ff.390af8",
+    "x": 638.5461578369141,
+    "y": 1581.8276596069336,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "dd09565b.b81778",
+    "id": "9b7849da.439398",
     "type": "returnSuccess",
     "name": "return success",
     "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",
     "comments": "",
-    "x": 619.9631462097168,
-    "y": 1759.4473180770874,
-    "z": "4ec136ff.390af8",
+    "x": 606.9592399597168,
+    "y": 1742.4434118270874,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "1507ea99.aa8315",
+    "id": "39d4dd71.5f1112",
     "type": "execute",
     "name": "execute RestApiCallNode - PUT AR by id",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 701.2821655273438,
-    "y": 1506.472339630127,
-    "z": "4ec136ff.390af8",
+    "x": 688.2782592773438,
+    "y": 1489.468433380127,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "36bc9007.e2fa4",
-        "65e8ae51.bc0a7",
-        "822d49a0.d686d8"
+        "f102f99f.ef15d8",
+        "c83c9026.cf22e",
+        "7e167ed3.568ff"
       ]
     ]
   },
   {
-    "id": "36bc9007.e2fa4",
+    "id": "f102f99f.ef15d8",
     "type": "not-found",
     "name": "not-found",
     "xml": "<outcome value='not-found'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 969.9235420227051,
-    "y": 1557.803751371801,
-    "z": "4ec136ff.390af8",
+    "x": 956.9196357727051,
+    "y": 1540.799845121801,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "4b0971a1.d1673"
+        "5e6822ac.d3f74c"
       ]
     ]
   },
   {
-    "id": "65e8ae51.bc0a7",
+    "id": "c83c9026.cf22e",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 960.9235916137695,
-    "y": 1526.3037771210074,
-    "z": "4ec136ff.390af8",
+    "x": 947.9196853637695,
+    "y": 1509.2998708710074,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "4b0971a1.d1673"
+        "5e6822ac.d3f74c"
       ]
     ]
   },
   {
-    "id": "822d49a0.d686d8",
+    "id": "7e167ed3.568ff",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 964.6736297607422,
-    "y": 1496.6608819961548,
-    "z": "4ec136ff.390af8",
+    "x": 951.6697235107422,
+    "y": 1479.6569757461548,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "d0da3bc8.9e8958"
+        "a5182b73.66b2a8"
       ]
     ]
   },
   {
-    "id": "4b0971a1.d1673",
+    "id": "5e6822ac.d3f74c",
     "type": "returnFailure",
     "name": "return failure",
     "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 updating md-sal for connection-attachment-allotted-resource\" />\n",
     "comments": "",
-    "x": 1130.6736297607422,
-    "y": 1527.0538009628654,
-    "z": "4ec136ff.390af8",
+    "x": 1117.6697235107422,
+    "y": 1510.0498947128654,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "d0da3bc8.9e8958",
+    "id": "a5182b73.66b2a8",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1106.3295974731445,
-    "y": 1492.853051185608,
-    "z": "4ec136ff.390af8",
+    "x": 1093.3256912231445,
+    "y": 1475.849144935608,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "2a2a1345.d7f2ec",
+    "id": "db753550.5e2778",
     "type": "set",
     "name": "set ar-data",
     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />",
     "comments": "",
-    "x": 601.4957847595215,
-    "y": 1356.8532626628876,
-    "z": "4ec136ff.390af8",
+    "x": 588.4918785095215,
+    "y": 1339.8493564128876,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "f1e26abf.1dc9f8",
+    "id": "7a073085.0e81c",
     "type": "execute",
     "name": "execute getTime",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 618.7816276550293,
-    "y": 1429.4728603363037,
-    "z": "4ec136ff.390af8",
+    "x": 605.7777214050293,
+    "y": 1412.4689540863037,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "25f9e140.e4210e",
+    "id": "6fa8d61c.7e4378",
     "type": "set",
     "name": "set allotted-resource-oper-status",
     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='PendingDelete' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
     "comments": "",
-    "x": 673.768684387207,
-    "y": 1467.4239978790283,
-    "z": "4ec136ff.390af8",
+    "x": 660.764778137207,
+    "y": 1450.4200916290283,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "5c89f183.d2653",
+    "id": "6873bae7.8cf8e4",
     "type": "set",
     "name": "set model-data",
     "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",
     "comments": "",
-    "x": 615.3373260498047,
-    "y": 1396.027913093567,
-    "z": "4ec136ff.390af8",
+    "x": 602.3334197998047,
+    "y": 1379.024006843567,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "b42e02fb.93ce4",
+    "id": "9fb656d5.ef4218",
     "type": "comment",
     "name": "Prepare data for allotted-resource addition to MDSAL",
     "info": "This will add to allotted-resource which is present inside service.",
     "comments": "",
-    "x": 728.6707878112793,
-    "y": 1317.0278651714325,
-    "z": "4ec136ff.390af8",
+    "x": 715.6668815612793,
+    "y": 1300.0239589214325,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "3f84c752.6766f8",
+    "id": "ad67b90f.7f4058",
     "type": "comment",
     "name": "Add to allotted-resources in mdsal",
     "info": "",
     "comments": "",
-    "x": 670.2506141662598,
-    "y": 1284.4411668777466,
-    "z": "4ec136ff.390af8",
+    "x": 657.2467079162598,
+    "y": 1267.4372606277466,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "60ba1f59.42707",
+    "id": "5b4906aa.434008",
     "type": "update",
     "name": "update AAI allotted-resource",
-    "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"PendingDelete\" />\n",
+    "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<!--parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" /-->\n\t<parameter name=\"operational-status\" value=\"PendingDelete\" />\n",
     "comments": "",
     "outputs": 1,
-    "x": 663.2266464233398,
-    "y": 1714.7582273483276,
-    "z": "4ec136ff.390af8",
+    "x": 650.2227401733398,
+    "y": 1697.7543210983276,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "a09d44d6.036498",
-        "9111ff4f.4282f"
+        "d8c8a336.34039",
+        "dfa99ab0.574428"
       ]
     ]
   },
   {
-    "id": "7df4dec5.12529",
+    "id": "36542d01.f14212",
     "type": "get-resource",
     "name": "get-resource connectivity",
-    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"connectivity\" \n\t\tkey=\"connectivity.connectivity-id = $mdsal-psd.networks.network[0].network-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.connectivity' local-only='false' >\n",
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"connectivity\" \n\t\tkey=\"connectivity.connectivity-id = $mdsal-psd.service-data.networks.network[0].network-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.connectivity' local-only='false' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 1197.0044708251953,
-    "y": 1192.5083332061768,
-    "z": "4ec136ff.390af8",
+    "x": 1184.0005645751953,
+    "y": 1175.5044269561768,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "c873d73.0af9728",
-        "1fd3fb2b.7cf7a5"
+        "ac511500.01c158",
+        "73ce6220.0aa3ac"
       ]
     ]
   },
   {
-    "id": "482867b5.2cc388",
+    "id": "acaf1b93.77d2c8",
     "type": "block",
     "name": "block : atomic",
     "xml": "<block atomic=\"true\">",
     "atomic": "true",
     "outputs": 1,
-    "x": 1970.1217803955078,
-    "y": 1389.3484659194946,
-    "z": "4ec136ff.390af8",
+    "x": 1957.1178741455078,
+    "y": 1372.3445596694946,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "6613cefb.76171",
-        "6eb3502d.b2e8f",
-        "de59b3c5.550e5",
-        "b649f241.fe659",
-        "35e0c434.3e437c"
+        "49ef2c84.8031a4",
+        "240e11a5.31781e",
+        "41073eca.4f87f",
+        "a7698ae.d89d278",
+        "8e68e45a.813908",
+        "17a0b9d8.6d99a6"
       ]
     ]
   },
   {
-    "id": "a4dcab46.732d98",
+    "id": "bfb6dec9.6c932",
     "type": "outcome",
     "name": "vpn-binding",
     "xml": "<outcome value='vpn-binding'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1796.290298461914,
-    "y": 1391.8299894332886,
-    "z": "4ec136ff.390af8",
+    "x": 1783.286392211914,
+    "y": 1374.8260831832886,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "482867b5.2cc388"
+        "acaf1b93.77d2c8"
       ]
     ]
   },
   {
-    "id": "2e8bc3df.71844c",
+    "id": "a4e854e4.e41328",
     "type": "for",
     "name": "for each relationship",
     "xml": "<for silentFailure='true' index='vidx' start='0' end='`$tmp.connectivity.relationship-list.relationship_length`' >\n",
     "comments": "",
     "outputs": 1,
-    "x": 1418.0042419433594,
-    "y": 1390.0082159042358,
-    "z": "4ec136ff.390af8",
+    "x": 1405.0003356933594,
+    "y": 1373.0043096542358,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "8af67803.bf6a88"
+        "998442eb.48b4"
       ]
     ]
   },
   {
-    "id": "8af67803.bf6a88",
+    "id": "998442eb.48b4",
     "type": "switchNode",
     "name": "switch related-to",
     "xml": "<switch test='`$tmp.connectivity.relationship-list.relationship[$vidx].related-to`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1630.0042533874512,
-    "y": 1391.0082159042358,
-    "z": "4ec136ff.390af8",
+    "x": 1617.0003471374512,
+    "y": 1374.0043096542358,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "a4dcab46.732d98"
+        "bfb6dec9.6c932"
       ]
     ]
   },
   {
-    "id": "6eb3502d.b2e8f",
+    "id": "240e11a5.31781e",
     "type": "set",
     "name": "set tmp.vpn-name",
     "xml": "<set>\n<parameter name='tmp.vpn-name' value=\"`$tmp.connectivity.relationship-list.relationship[$vidx].relationship-data[0].relationship-value` \" />\n",
     "comments": "",
-    "x": 2203.0044479370117,
-    "y": 1103.008532524109,
-    "z": "4ec136ff.390af8",
+    "x": 2190.0005416870117,
+    "y": 1086.004626274109,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "6613cefb.76171",
+    "id": "49ef2c84.8031a4",
     "type": "execute",
     "name": "split vpnName to find nodeId",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.vpn-name`'/>\n<parameter name=\"regex\" value=\"-\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"route1\"/>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2239.0044021606445,
-    "y": 1204.0078992843628,
-    "z": "4ec136ff.390af8",
+    "x": 2226.0004959106445,
+    "y": 1187.0039930343628,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "41fe5a08.6540e4",
-        "12fef836.878578"
+        "29be775d.300d28",
+        "79e65a65.d62d64"
       ]
     ]
   },
   {
-    "id": "12fef836.878578",
+    "id": "79e65a65.d62d64",
     "type": "failure",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2440.004592895508,
-    "y": 1181.0078916549683,
-    "z": "4ec136ff.390af8",
+    "x": 2427.000686645508,
+    "y": 1164.0039854049683,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "c4ef2190.9fbc6"
+        "2e37c245.6cda0e"
       ]
     ]
   },
   {
-    "id": "c4ef2190.9fbc6",
+    "id": "2e37c245.6cda0e",
     "type": "set",
     "name": "set tmp.node-id",
-    "xml": "<set>\n<parameter name='tmp.node-id' value='`$route1[0]`' />\n",
+    "xml": "<set>\n<parameter name='tmp.node-id' value='`$route1[0]`' />\n<parameter name='tmp.actual.vpn-name' value='`$route1[1]`' />\n",
     "comments": "",
-    "x": 2593.004753112793,
-    "y": 1179.0078926086426,
-    "z": "4ec136ff.390af8",
+    "x": 2580.000846862793,
+    "y": 1162.0039863586426,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "fa885e6a.929bd",
+    "id": "3186476.c93d1b8",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",
     "comments": "",
-    "x": 2577.004919052124,
-    "y": 1228.0078945159912,
-    "z": "4ec136ff.390af8",
+    "x": 2564.001012802124,
+    "y": 1211.0039882659912,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "41fe5a08.6540e4",
+    "id": "29be775d.300d28",
     "type": "failure",
     "name": "failure",
     "xml": "<outcome value='failure'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 2437.00457572937,
-    "y": 1229.0078964233398,
-    "z": "4ec136ff.390af8",
+    "x": 2424.00066947937,
+    "y": 1212.0039901733398,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "fa885e6a.929bd"
+        "3186476.c93d1b8"
       ]
     ]
   },
   {
-    "id": "c873d73.0af9728",
+    "id": "ac511500.01c158",
     "type": "success",
     "name": "success",
     "xml": "<outcome value='success'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1378.0040702819824,
-    "y": 1227.0039777755737,
-    "z": "4ec136ff.390af8",
+    "x": 1365.0001640319824,
+    "y": 1210.0000715255737,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "72cdc300.185abc"
+        "35849f58.75b79"
       ]
     ]
   },
   {
-    "id": "1fd3fb2b.7cf7a5",
+    "id": "73ce6220.0aa3ac",
     "type": "other",
     "name": "other",
     "xml": "<outcome value='Other'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 1380.855800628662,
-    "y": 1154.0702228546143,
-    "z": "4ec136ff.390af8",
+    "x": 1367.851894378662,
+    "y": 1137.0663166046143,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "132951fb.62166e"
+        "3d1a3d62.7aa882"
       ]
     ]
   },
   {
-    "id": "132951fb.62166e",
+    "id": "3d1a3d62.7aa882",
     "type": "returnFailure",
     "name": "return failure",
     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Connectivity resource not found\" />\n    \n",
     "comments": "",
-    "x": 1523.0045700073242,
-    "y": 1154.3376331329346,
-    "z": "4ec136ff.390af8",
+    "x": 1510.0006637573242,
+    "y": 1137.3337268829346,
+    "z": "c671301.759d0d",
     "wires": []
   },
   {
-    "id": "72cdc300.185abc",
+    "id": "35849f58.75b79",
     "type": "block",
     "name": "block",
     "xml": "<block>\n",
     "atomic": "false",
     "comments": "",
     "outputs": 1,
-    "x": 1380.0040817260742,
-    "y": 1305.0041437149048,
-    "z": "4ec136ff.390af8",
+    "x": 1367.0001754760742,
+    "y": 1288.0002374649048,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "2e8bc3df.71844c"
+        "a4e854e4.e41328"
       ]
     ]
   },
   {
-    "id": "bf1b5f9f.275aa",
+    "id": "485e569f.2b52d8",
     "type": "execute",
     "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 816.3378601074219,
-    "y": 553.5038557052612,
-    "z": "4ec136ff.390af8",
+    "x": 803.3339538574219,
+    "y": 536.4999494552612,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "f65756e0.dd7818",
-        "1584b53e.263d2b"
+        "dd903f73.c503a",
+        "5569926e.6ec77c"
       ]
     ]
   },
   {
-    "id": "ff509458.45f008",
+    "id": "417e0490.1d34dc",
     "type": "execute",
     "name": "get parent-service-data tmp.ar-url-psd",
     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",
     "comments": "",
     "outputs": 1,
-    "x": 670.0041046142578,
-    "y": 762.0041170120239,
-    "z": "4ec136ff.390af8",
+    "x": 657.0001983642578,
+    "y": 745.0002107620239,
+    "z": "c671301.759d0d",
     "wires": [
       []
     ]
   },
   {
-    "id": "980e2d4b.7e472",
+    "id": "d67f9f52.31c1f",
     "type": "execute",
     "name": "execute RestApiCallNode - get-resource parent service data",
     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",
     "comments": "",
     "outputs": 1,
-    "x": 737.0040664672852,
-    "y": 797.0042009353638,
-    "z": "4ec136ff.390af8",
+    "x": 724.0001602172852,
+    "y": 780.0002946853638,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "13901d91.bcbec2",
-        "eada0637.1dd9c8"
+        "7153ec61.6a9434",
+        "f1d188a0.fe8058"
       ]
     ]
   },
   {
-    "id": "372ff043.61187",
+    "id": "2a0b728c.4f365e",
     "type": "switchNode",
     "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",
     "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",
     "comments": "",
     "outputs": 1,
-    "x": 753.1881866455078,
-    "y": 971.7220287322998,
-    "z": "4ec136ff.390af8",
+    "x": 740.1842803955078,
+    "y": 954.7181224822998,
+    "z": "c671301.759d0d",
     "wires": [
       [
-        "e3f9ceb3.fcc12",
-        "a518915c.e4ec5",
-        "525b4334.32e11c"
+        "99b7fbfe.94a448",
+        "7e8c22a4.61fc8c",
+        "2061f78c.10bc08"
       ]
     ]
+  },
+  {
+    "id": "17a0b9d8.6d99a6",
+    "type": "update",
+    "name": "delete AAI vpn-binding",
+    "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.vpn-name' >",
+    "comments": "",
+    "outputs": 1,
+    "x": 2224,
+    "y": 1642,
+    "z": "c671301.759d0d",
+    "wires": [
+      [
+        "496ebae3.0822d4",
+        "1b687bcc.3acb54"
+      ]
+    ]
+  },
+  {
+    "id": "496ebae3.0822d4",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2478.5080070495605,
+    "y": 1622.198469042778,
+    "z": "c671301.759d0d",
+    "wires": [
+      [
+        "9a00ded1.17f07"
+      ]
+    ]
+  },
+  {
+    "id": "1b687bcc.3acb54",
+    "type": "failure",
+    "name": "not-found",
+    "xml": "<outcome value='not-found'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 2485.6032943725586,
+    "y": 1654.9604367017746,
+    "z": "c671301.759d0d",
+    "wires": [
+      [
+        "9a00ded1.17f07"
+      ]
+    ]
+  },
+  {
+    "id": "9a00ded1.17f07",
+    "type": "returnFailure",
+    "name": "return failure",
+    "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=\"AAI failed\" />\n",
+    "comments": "",
+    "x": 2645.0318870544434,
+    "y": 1633.817540049553,
+    "z": "c671301.759d0d",
+    "wires": []
   }
-]
\ No newline at end of file
+]