[\r
{\r
- "id": "9067dc50.e26888",\r
+ "id": "5a4a886b.6438b8",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 130,\r
- "y": 78,\r
- "z": "65374df1.8a48d4",\r
+ "x": 118,\r
+ "y": 82,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "51326c57.b5118c"\r
+ "2fc91b3e.7646fc"\r
]\r
]\r
},\r
{\r
- "id": "51326c57.b5118c",\r
+ "id": "2fc91b3e.7646fc",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"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
"outputs": 1,\r
- "x": 261.2856903076172,\r
- "y": 127.23810863494873,\r
- "z": "65374df1.8a48d4",\r
+ "x": 249.2856903076172,\r
+ "y": 131.23810863494873,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "1a80b7c8.5e20d"\r
+ "1c977ea2.89d1e9"\r
]\r
]\r
},\r
{\r
- "id": "1a80b7c8.5e20d",\r
+ "id": "1c977ea2.89d1e9",\r
"type": "method",\r
"name": "method tsli-vnf-topology-operation-trans-slice-delete",\r
"xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-delete' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 264.4286193847656,\r
- "y": 212.00003242492676,\r
- "z": "65374df1.8a48d4",\r
+ "x": 252.42861938476562,\r
+ "y": 216.00003242492676,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "727ca303.e92f14"\r
+ "8ce10b59.587f08"\r
]\r
]\r
},\r
{\r
- "id": "727ca303.e92f14",\r
+ "id": "8ce10b59.587f08",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 414.238037109375,\r
- "y": 341.6666564941406,\r
- "z": "65374df1.8a48d4",\r
+ "x": 402.238037109375,\r
+ "y": 345.6666564941406,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "89ce3405.afdad8",\r
- "f34628af.971e58",\r
- "662b7b8b.c02da4"\r
+ "c14a5da1.726bc8",\r
+ "f7f11593.991128",\r
+ "fbeb2897.5d3ca"\r
]\r
]\r
},\r
{\r
- "id": "89ce3405.afdad8",\r
+ "id": "c14a5da1.726bc8",\r
"type": "returnSuccess",\r
"name": "return success",\r
"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
"comments": "",\r
- "x": 710.5716552734375,\r
- "y": 618.59716796875,\r
- "z": "65374df1.8a48d4",\r
+ "x": 698.5716552734375,\r
+ "y": 622.59716796875,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "7661af19.3745a8",\r
+ "id": "86779e76.e7bc38",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 742,\r
- "y": 293,\r
- "z": "65374df1.8a48d4",\r
+ "x": 730,\r
+ "y": 297,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "f34628af.971e58",\r
+ "id": "f7f11593.991128",\r
"type": "save",\r
"name": "get service-instance from aai",\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 762,\r
- "y": 389,\r
- "z": "65374df1.8a48d4",\r
+ "x": 750,\r
+ "y": 393,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "f2d7e1a3.9c55b8",\r
- "893eca26.41fe2",\r
- "67ceb9a8.a14aa8"\r
+ "6ad861a9.030e08",\r
+ "37e2fd06.c6c79a",\r
+ "2beeb8ca.34f3f"\r
]\r
]\r
},\r
{\r
- "id": "f2d7e1a3.9c55b8",\r
+ "id": "6ad861a9.030e08",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 981,\r
- "y": 327,\r
- "z": "65374df1.8a48d4",\r
+ "x": 969,\r
+ "y": 331,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "6a81e2af.afefb4"\r
+ "c860abc6.0b576"\r
]\r
]\r
},\r
{\r
- "id": "893eca26.41fe2",\r
+ "id": "37e2fd06.c6c79a",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 990.490966796875,\r
- "y": 369.57403564453125,\r
- "z": "65374df1.8a48d4",\r
+ "x": 978.490966796875,\r
+ "y": 373.57403564453125,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "adcdedad.e4cfa8"\r
+ "7a133195.09b68"\r
]\r
]\r
},\r
{\r
- "id": "67ceb9a8.a14aa8",\r
+ "id": "2beeb8ca.34f3f",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 979,\r
- "y": 416,\r
- "z": "65374df1.8a48d4",\r
+ "x": 967,\r
+ "y": 420,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "51f8ebc0.b96fdc"\r
+ "f9d75edb.c19d18"\r
]\r
]\r
},\r
{\r
- "id": "adcdedad.e4cfa8",\r
+ "id": "7a133195.09b68",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 1144.0623779296875,\r
- "y": 372.8597717285156,\r
- "z": "65374df1.8a48d4",\r
+ "x": 1132.0623779296875,\r
+ "y": 376.8597717285156,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "51f8ebc0.b96fdc",\r
+ "id": "f9d75edb.c19d18",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 1148,\r
- "y": 417,\r
- "z": "65374df1.8a48d4",\r
+ "x": 1136,\r
+ "y": 421,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "6a81e2af.afefb4",\r
+ "id": "c860abc6.0b576",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1178,\r
- "y": 323,\r
- "z": "65374df1.8a48d4",\r
+ "x": 1166,\r
+ "y": 327,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "37d91278.b2e28e"\r
+ "f376992c.11dc58"\r
]\r
]\r
},\r
{\r
- "id": "37d91278.b2e28e",\r
+ "id": "f376992c.11dc58",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1401.33349609375,\r
- "y": 322.99993896484375,\r
- "z": "65374df1.8a48d4",\r
+ "x": 1389.33349609375,\r
+ "y": 326.99993896484375,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "63dc2a73.eea004"\r
+ "8db70c24.1a1f5"\r
]\r
]\r
},\r
{\r
- "id": "63dc2a73.eea004",\r
+ "id": "8db70c24.1a1f5",\r
"type": "outcome",\r
"name": "connectivity",\r
"xml": "<outcome value='connectivity'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1602.0001335144043,\r
- "y": 324.00002098083496,\r
- "z": "65374df1.8a48d4",\r
+ "x": 1590.0001335144043,\r
+ "y": 328.00002098083496,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "3bc5d31f.4eff1c"\r
+ "5dc8f559.ac7c5c"\r
]\r
]\r
},\r
{\r
- "id": "662b7b8b.c02da4",\r
+ "id": "fbeb2897.5d3ca",\r
"type": "execute",\r
"name": "execute properties",\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 728,\r
- "y": 337,\r
- "z": "65374df1.8a48d4",\r
+ "x": 716,\r
+ "y": 341,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3bc5d31f.4eff1c",\r
+ "id": "5dc8f559.ac7c5c",\r
"type": "save",\r
"name": "get connectivity from aai",\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 1840,\r
- "y": 326,\r
- "z": "65374df1.8a48d4",\r
+ "x": 1828,\r
+ "y": 330,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "f9ddca30.13fc18",\r
- "2e83e20a.a4c64e",\r
- "bbb85f3b.347968"\r
+ "17e90170.66a2cf",\r
+ "46c095c4.314d14",\r
+ "64e3b5e2.26b114"\r
]\r
]\r
},\r
{\r
- "id": "f9ddca30.13fc18",\r
+ "id": "17e90170.66a2cf",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2048,\r
- "y": 290,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2036,\r
+ "y": 294,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "7f6304c6.68b434"\r
+ "c90d8c84.a14a1"\r
]\r
]\r
},\r
{\r
- "id": "2e83e20a.a4c64e",\r
+ "id": "46c095c4.314d14",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2048.490966796875,\r
- "y": 335.57403564453125,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2036.490966796875,\r
+ "y": 339.57403564453125,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "848ced52.aed45"\r
+ "3f9ff972.5c8816"\r
]\r
]\r
},\r
{\r
- "id": "bbb85f3b.347968",\r
+ "id": "64e3b5e2.26b114",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2046,\r
- "y": 379,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2034,\r
+ "y": 383,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "67746d9a.bb8fac"\r
+ "6b417e35.8fa86"\r
]\r
]\r
},\r
{\r
- "id": "848ced52.aed45",\r
+ "id": "3f9ff972.5c8816",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2211.0623779296875,\r
- "y": 335.8597717285156,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2199.0623779296875,\r
+ "y": 339.8597717285156,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "67746d9a.bb8fac",\r
+ "id": "6b417e35.8fa86",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2215,\r
- "y": 380,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2203,\r
+ "y": 384,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "a1788c2.5cbcc7",\r
+ "id": "62f4640b.361d2c",\r
"type": "save",\r
"name": "get vpn-binding from aai",\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 2521,\r
- "y": 379,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2509,\r
+ "y": 383,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "ff5b5708.803718",\r
- "2b7ab4e7.4996c4",\r
- "8f3a9f9c.feba08"\r
+ "41f800bd.97bbd8",\r
+ "3588ab7d.ccee3c",\r
+ "5014f1b1.a66d2"\r
]\r
]\r
},\r
{\r
- "id": "66c494d6.d131ec",\r
+ "id": "9b1454f6.71587",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2905,\r
- "y": 379,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2893,\r
+ "y": 383,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "4df4ccfd.828a9c",\r
- "cc810976.1e78e",\r
- "6804b3fb.447a5c",\r
- "1114cd30.8fbe33",\r
- "77014142.ee291",\r
- "eea604e.273be78",\r
- "c7f4c6b5.89c68"\r
+ "3ec88632.a3afda",\r
+ "ef2eaf52.5162b",\r
+ "74648c00.009a34",\r
+ "176c3740.91c4e1",\r
+ "a43ffa2e.f43268",\r
+ "b74320f6.969fd8",\r
+ "2043f8a6.e6867"\r
]\r
]\r
},\r
{\r
- "id": "ff5b5708.803718",\r
+ "id": "41f800bd.97bbd8",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2732,\r
- "y": 381,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2720,\r
+ "y": 385,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "66c494d6.d131ec"\r
+ "9b1454f6.71587"\r
]\r
]\r
},\r
{\r
- "id": "2b7ab4e7.4996c4",\r
+ "id": "3588ab7d.ccee3c",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2732.490966796875,\r
- "y": 426.57403564453125,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2720.490966796875,\r
+ "y": 430.57403564453125,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "71b7f260.a02afc"\r
+ "f5b7e34a.e6a3a"\r
]\r
]\r
},\r
{\r
- "id": "8f3a9f9c.feba08",\r
+ "id": "5014f1b1.a66d2",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2730,\r
- "y": 470,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2718,\r
+ "y": 474,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "f1455dfe.4b515"\r
+ "dad8e49f.e5f9b8"\r
]\r
]\r
},\r
{\r
- "id": "f1455dfe.4b515",\r
+ "id": "dad8e49f.e5f9b8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
"comments": "",\r
- "x": 2897,\r
- "y": 469,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2885,\r
+ "y": 473,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "71b7f260.a02afc",\r
+ "id": "f5b7e34a.e6a3a",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 2895.0623779296875,\r
- "y": 426.8597717285156,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2883.0623779296875,\r
+ "y": 430.8597717285156,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "7f6304c6.68b434",\r
+ "id": "c90d8c84.a14a1",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2249,\r
- "y": 285,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2237,\r
+ "y": 289,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "df01a5ae.6dc3e8"\r
+ "304af23b.91e62e"\r
]\r
]\r
},\r
{\r
- "id": "df01a5ae.6dc3e8",\r
+ "id": "304af23b.91e62e",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2454,\r
- "y": 285,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2442,\r
+ "y": 289,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "3c18e8d0.67c0b"\r
+ "a73bd099.6c0378"\r
]\r
]\r
},\r
{\r
- "id": "3c18e8d0.67c0b",\r
+ "id": "a73bd099.6c0378",\r
"type": "outcome",\r
"name": "vpn-binding",\r
"xml": "<outcome value='vpn-binding'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2620,\r
- "y": 285,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2608,\r
+ "y": 289,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "2564f00.0bbdd9"\r
+ "98e41266.eb692"\r
]\r
]\r
},\r
{\r
- "id": "2564f00.0bbdd9",\r
+ "id": "98e41266.eb692",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 2783,\r
- "y": 285,\r
- "z": "65374df1.8a48d4",\r
+ "x": 2771,\r
+ "y": 289,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "a1788c2.5cbcc7"\r
+ "62f4640b.361d2c"\r
]\r
]\r
},\r
{\r
- "id": "4df4ccfd.828a9c",\r
+ "id": "3ec88632.a3afda",\r
"type": "set",\r
"name": "set pnf-name",\r
"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
"comments": "",\r
- "x": 3120,\r
- "y": 89,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3108,\r
+ "y": 93,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "cc810976.1e78e",\r
+ "id": "ef2eaf52.5162b",\r
"type": "get-resource",\r
"name": "get-resource src pnf",\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 3146,\r
- "y": 206,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3134,\r
+ "y": 210,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "fbb5125b.955718",\r
- "693af83c.f3ea18",\r
- "2473f4a.835008c"\r
+ "d4d69c61.a67388",\r
+ "cc6ec5bd.14d058",\r
+ "7b98c47b.75268c"\r
]\r
]\r
},\r
{\r
- "id": "fbb5125b.955718",\r
+ "id": "d4d69c61.a67388",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3341.5001220703125,\r
- "y": 158,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3329.5001220703125,\r
+ "y": 162,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "9a9b433a.0ee84"\r
+ "6766d137.85bc78"\r
]\r
]\r
},\r
{\r
- "id": "693af83c.f3ea18",\r
+ "id": "cc6ec5bd.14d058",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3333.5001220703125,\r
- "y": 213,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3321.5001220703125,\r
+ "y": 217,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "3249d5d1.aac972"\r
+ "e5b8c6a7.d0685"\r
]\r
]\r
},\r
{\r
- "id": "9a9b433a.0ee84",\r
+ "id": "6766d137.85bc78",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3485.8824462890625,\r
- "y": 157.65567016601562,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3473.8824462890625,\r
+ "y": 161.65567016601562,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "4c1ac004.69f11"\r
+ "6ec2253c.e8e2fc"\r
]\r
]\r
},\r
{\r
- "id": "4c1ac004.69f11",\r
+ "id": "6ec2253c.e8e2fc",\r
"type": "for",\r
"name": "for each relationship",\r
"xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3670,\r
- "y": 156,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3658,\r
+ "y": 160,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "4cdbe422.34f9d4"\r
+ "8bfd549d.ff7578"\r
]\r
]\r
},\r
{\r
- "id": "4cdbe422.34f9d4",\r
+ "id": "8bfd549d.ff7578",\r
"type": "switchNode",\r
"name": "switch related-to",\r
"xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3865,\r
- "y": 156,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3853,\r
+ "y": 160,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "9761202f.b6a0b"\r
+ "e0432128.bf189"\r
]\r
]\r
},\r
{\r
- "id": "2473f4a.835008c",\r
+ "id": "7b98c47b.75268c",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3338.5001220703125,\r
- "y": 270,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3326.5001220703125,\r
+ "y": 274,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "aacead6d.fefcb8"\r
+ "a0edf332.814bd"\r
]\r
]\r
},\r
{\r
- "id": "aacead6d.fefcb8",\r
+ "id": "a0edf332.814bd",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3490.5001220703125,\r
- "y": 271,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3478.5001220703125,\r
+ "y": 275,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "3249d5d1.aac972",\r
+ "id": "e5b8c6a7.d0685",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 3501.5001220703125,\r
- "y": 214,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3489.5001220703125,\r
+ "y": 218,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "4c67262e.3701a8",\r
+ "id": "e1454ec0.76085",\r
"type": "execute",\r
"name": "get esr-thirdparty-sdnc",\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 4453,\r
- "y": 173,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4441,\r
+ "y": 177,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "906ef06e.7739a8",\r
- "cb4dc0cc.5ae2c",\r
- "8ceaa5d5.dc9b88"\r
+ "d8d8f637.323998",\r
+ "a47d1ee9.cdd92",\r
+ "e6ec849b.7b7268"\r
]\r
]\r
},\r
{\r
- "id": "12825971.5566ff",\r
+ "id": "682b00ad.3f22e",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 4247,\r
- "y": 160,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4235,\r
+ "y": 164,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "dddd5795.4cbcd",\r
- "4c67262e.3701a8",\r
- "459c85bd.d88044"\r
+ "e9dde318.2ce9c8",\r
+ "e1454ec0.76085",\r
+ "d1046ced.fbcef8"\r
]\r
]\r
},\r
{\r
- "id": "dddd5795.4cbcd",\r
+ "id": "e9dde318.2ce9c8",\r
"type": "set",\r
"name": "set esr-thirdparty-sdnc domain id",\r
"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
"comments": "",\r
- "x": 4483,\r
- "y": 121,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4471,\r
+ "y": 125,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "906ef06e.7739a8",\r
+ "id": "d8d8f637.323998",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4663,\r
- "y": 164,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4651,\r
+ "y": 168,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "97b50ccf.b69cd8"\r
+ "d20b8026.ed11d"\r
]\r
]\r
},\r
{\r
- "id": "cb4dc0cc.5ae2c",\r
+ "id": "a47d1ee9.cdd92",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4655,\r
- "y": 219,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4643,\r
+ "y": 223,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "34cf9d59.f69aea"\r
+ "8f556dc3.062b5"\r
]\r
]\r
},\r
{\r
- "id": "8ceaa5d5.dc9b88",\r
+ "id": "e6ec849b.7b7268",\r
"type": "other",\r
"name": "other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4660,\r
- "y": 276,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4648,\r
+ "y": 280,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "6573a76f.8f9128"\r
+ "c00b4c05.8ab27"\r
]\r
]\r
},\r
{\r
- "id": "6573a76f.8f9128",\r
+ "id": "c00b4c05.8ab27",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 4812,\r
- "y": 277,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4800,\r
+ "y": 281,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "34cf9d59.f69aea",\r
+ "id": "8f556dc3.062b5",\r
"type": "returnFailure",\r
"name": "return failure",\r
"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
"comments": "",\r
- "x": 4823,\r
- "y": 222,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4811,\r
+ "y": 226,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "97b50ccf.b69cd8",\r
+ "id": "d20b8026.ed11d",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4807.38232421875,\r
- "y": 161.65567016601562,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4795.38232421875,\r
+ "y": 165.65567016601562,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "e66f9d95.0b353"\r
+ "3c8da8b7.eb2a3"\r
]\r
]\r
},\r
{\r
- "id": "9761202f.b6a0b",\r
+ "id": "e0432128.bf189",\r
"type": "outcome",\r
"name": "esr-thirdparty-sdnc",\r
"xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4068,\r
- "y": 160,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4056,\r
+ "y": 164,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "12825971.5566ff"\r
+ "682b00ad.3f22e"\r
]\r
]\r
},\r
{\r
- "id": "e66f9d95.0b353",\r
+ "id": "3c8da8b7.eb2a3",\r
"type": "set",\r
"name": "set controller domain data",\r
"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
"comments": "",\r
- "x": 5022,\r
- "y": 158,\r
- "z": "65374df1.8a48d4",\r
+ "x": 5010,\r
+ "y": 162,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "459c85bd.d88044",\r
+ "id": "d1046ced.fbcef8",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4403,\r
- "y": 237,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4391,\r
+ "y": 241,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "1114cd30.8fbe33",\r
+ "id": "b74320f6.969fd8",\r
"type": "execute",\r
"name": "execute RestApiCallNode Delete transport slice without token",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-optical-slice:deallocate-optical-slice'`\" />\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=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-optical-slice:deallocate-optical-slice'`\" />\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=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3270,\r
- "y": 504,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3258,\r
+ "y": 508,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "aa415b48.c51fe8",\r
- "f0d3a65b.427ad8"\r
+ "5f11d071.d597d8",\r
+ "2c04f9a8.8e1bee"\r
]\r
]\r
},\r
{\r
- "id": "aa415b48.c51fe8",\r
+ "id": "5f11d071.d597d8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3613.5,\r
- "y": 499,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3601.5,\r
+ "y": 503,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "c60de7c9.d4f7f8"\r
+ "bc1a033f.a0f87"\r
]\r
]\r
},\r
{\r
- "id": "f0d3a65b.427ad8",\r
+ "id": "2c04f9a8.8e1bee",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3617.5,\r
- "y": 539,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3605.5,\r
+ "y": 543,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "a329dc5b.ef894"\r
+ "14490b55.121775"\r
]\r
]\r
},\r
{\r
- "id": "a329dc5b.ef894",\r
+ "id": "14490b55.121775",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3775,\r
- "y": 539,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3763,\r
+ "y": 543,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "c60de7c9.d4f7f8",\r
+ "id": "bc1a033f.a0f87",\r
"type": "returnFailure",\r
"name": "return failure",\r
- "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",\r
+ "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 deallocate transport slice rest api\" />\n",\r
"comments": "",\r
- "x": 3771.5,\r
- "y": 499,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3759.5,\r
+ "y": 503,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "6804b3fb.447a5c",\r
+ "id": "74648c00.009a34",\r
"type": "set",\r
"name": "set attachment_param for TN NSSSI deleteion in PNC",\r
"xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
"comments": "",\r
- "x": 3246,\r
- "y": 379,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3234,\r
+ "y": 383,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "77014142.ee291",\r
+ "id": "176c3740.91c4e1",\r
"type": "save",\r
"name": "delete connectivity resource in AAI",\r
"xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3176,\r
- "y": 814,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3164,\r
+ "y": 818,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "eea604e.273be78",\r
+ "id": "a43ffa2e.f43268",\r
"type": "save",\r
"name": "delete vpn-binding resource in AAI",\r
"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
"comments": "",\r
"outputs": 1,\r
- "x": 3172,\r
- "y": 858,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3160,\r
+ "y": 862,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "c7f4c6b5.89c68",\r
+ "id": "2ee33a01.a56356",\r
"type": "execute",\r
"name": "execute RestApiCallNode domain UNI deColoring",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-network:networks/network=networkId-providerId-' + $tmp.aai.connectivity.access-provider-id + '-clientId-' + $tmp.aai.connectivity.access-client-id + '-topologyId-' + $tmp.aai.connectivity.access-topology-id + '/node=' + $tmp.aai.connectivity.access-node-id + '/ietf-network-topology:termination-point=' + $tmp.aai.connectivity.access-ltp-id + '/ietf-te-topology:te/ietf-optical-slice:tp-slice-id' `\" />\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=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-network:networks/network=networkId-providerId-' + $tmp.aai.connectivity.access-provider-id + '-clientId-' + $tmp.aai.connectivity.access-client-id + '-topologyId-' + $tmp.aai.connectivity.access-topology-id + '/node=' + $tmp.aai.connectivity.access-node-id + '/ietf-network-topology:termination-point=' + $tmp.aai.connectivity.access-ltp-id + '/ietf-te-topology:te/ietf-optical-slice:slice-id-list=' + $slice-instance-id `\" />\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=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3233,\r
- "y": 677,\r
- "z": "65374df1.8a48d4",\r
+ "x": 3744,\r
+ "y": 682,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "e6edfa38.71c268",\r
- "137ffb3e.b1daa5"\r
+ "708d25c4.9f039c",\r
+ "9fd83c73.a107c"\r
]\r
]\r
},\r
{\r
- "id": "137ffb3e.b1daa5",\r
+ "id": "9fd83c73.a107c",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3499,\r
- "y": 657,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4010,\r
+ "y": 662,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "7548726d.c6844c"\r
+ "a8d157b0.ef0838"\r
]\r
]\r
},\r
{\r
- "id": "e6edfa38.71c268",\r
+ "id": "708d25c4.9f039c",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3500.000213623047,\r
- "y": 707.9999094009399,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4011.000213623047,\r
+ "y": 712.9999094009399,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[\r
- "67229e1a.f4d798"\r
+ "aa9d5dd.46a2da"\r
]\r
]\r
},\r
{\r
- "id": "7548726d.c6844c",\r
+ "id": "a8d157b0.ef0838",\r
"type": "returnFailure",\r
"name": "return failure",\r
- "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 OOF api\" />\n",\r
+ "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 decoloring UNI rest api\" />\n",\r
"comments": "",\r
- "x": 3639.0002479553223,\r
- "y": 657.0000009536743,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4150.000247955322,\r
+ "y": 662.0000009536743,\r
+ "z": "d544e90d.c47ab8",\r
"wires": []\r
},\r
{\r
- "id": "67229e1a.f4d798",\r
+ "id": "aa9d5dd.46a2da",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 3645.02725982666,\r
- "y": 705.7453947067261,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4156.02725982666,\r
+ "y": 710.7453947067261,\r
+ "z": "d544e90d.c47ab8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "2043f8a6.e6867",\r
+ "type": "switchNode",\r
+ "name": "switch connectivity has ethernet service",\r
+ "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3193,\r
+ "y": 699,\r
+ "z": "d544e90d.c47ab8",\r
+ "wires": [\r
+ [\r
+ "f28924af.d151d",\r
+ "b67c4790.638238"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b67c4790.638238",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3431,\r
+ "y": 682,\r
+ "z": "d544e90d.c47ab8",\r
+ "wires": [\r
+ [\r
+ "2ee33a01.a56356"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f28924af.d151d",\r
+ "type": "outcome",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3443,\r
+ "y": 749,\r
+ "z": "d544e90d.c47ab8",\r
"wires": [\r
[]\r
]\r