[\r
{\r
- "id": "9067dc50.e26888",\r
+ "id": "1ffbc02a.2de6d",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 130,\r
- "y": 78,\r
- "z": "65374df1.8a48d4",\r
+ "x": 133,\r
+ "y": 76,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "51326c57.b5118c"\r
+ "74e0b2b2.75108c"\r
]\r
]\r
},\r
{\r
- "id": "51326c57.b5118c",\r
+ "id": "74e0b2b2.75108c",\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": 264.2856903076172,\r
+ "y": 125.23810863494873,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "1a80b7c8.5e20d"\r
+ "f846ccbd.4406d8"\r
]\r
]\r
},\r
{\r
- "id": "1a80b7c8.5e20d",\r
+ "id": "f846ccbd.4406d8",\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": 267.4286193847656,\r
+ "y": 210.00003242492676,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "727ca303.e92f14"\r
+ "dc51143b.674018"\r
]\r
]\r
},\r
{\r
- "id": "727ca303.e92f14",\r
+ "id": "dc51143b.674018",\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": 417.238037109375,\r
+ "y": 339.6666564941406,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "89ce3405.afdad8",\r
- "f34628af.971e58",\r
- "662b7b8b.c02da4"\r
+ "45b2aaee.4a9d2c",\r
+ "3e78a125.3512fe",\r
+ "45ccee1d.26f07"\r
]\r
]\r
},\r
{\r
- "id": "89ce3405.afdad8",\r
+ "id": "45b2aaee.4a9d2c",\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": 713.5716552734375,\r
+ "y": 616.59716796875,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "7661af19.3745a8",\r
+ "id": "9ea4d60.c51a0a8",\r
"type": "comment",\r
"name": "new for TransportSlicing",\r
"info": "",\r
"comments": "",\r
- "x": 742,\r
- "y": 293,\r
- "z": "65374df1.8a48d4",\r
+ "x": 745,\r
+ "y": 291,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "f34628af.971e58",\r
+ "id": "3e78a125.3512fe",\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": 765,\r
+ "y": 387,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f2d7e1a3.9c55b8",\r
- "893eca26.41fe2",\r
- "67ceb9a8.a14aa8"\r
+ "86ee6067.0c17a8",\r
+ "bf4bb2c3.815168",\r
+ "ac6196ae.1ef19"\r
]\r
]\r
},\r
{\r
- "id": "f2d7e1a3.9c55b8",\r
+ "id": "86ee6067.0c17a8",\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": 984,\r
+ "y": 325,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "6a81e2af.afefb4"\r
+ "eb95b4de.4ca18"\r
]\r
]\r
},\r
{\r
- "id": "893eca26.41fe2",\r
+ "id": "bf4bb2c3.815168",\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": 993.490966796875,\r
+ "y": 367.57403564453125,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "adcdedad.e4cfa8"\r
+ "4da0ff5c.9fdf8"\r
]\r
]\r
},\r
{\r
- "id": "67ceb9a8.a14aa8",\r
+ "id": "ac6196ae.1ef19",\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": 982,\r
+ "y": 414,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "51f8ebc0.b96fdc"\r
+ "49170b5b.8b327c"\r
]\r
]\r
},\r
{\r
- "id": "adcdedad.e4cfa8",\r
+ "id": "4da0ff5c.9fdf8",\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": 1147.0623779296875,\r
+ "y": 370.8597717285156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "51f8ebc0.b96fdc",\r
+ "id": "49170b5b.8b327c",\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": 1151,\r
+ "y": 415,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "6a81e2af.afefb4",\r
+ "id": "eb95b4de.4ca18",\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": 1181,\r
+ "y": 321,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "37d91278.b2e28e"\r
+ "4f2c512c.91fb8"\r
]\r
]\r
},\r
{\r
- "id": "37d91278.b2e28e",\r
+ "id": "4f2c512c.91fb8",\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": 1404.33349609375,\r
+ "y": 320.99993896484375,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "63dc2a73.eea004"\r
+ "fa463b5.38a29c8"\r
]\r
]\r
},\r
{\r
- "id": "63dc2a73.eea004",\r
+ "id": "fa463b5.38a29c8",\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": 1605.0001335144043,\r
+ "y": 322.00002098083496,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "3bc5d31f.4eff1c"\r
+ "e51d2b5.f353758"\r
]\r
]\r
},\r
{\r
- "id": "662b7b8b.c02da4",\r
+ "id": "45ccee1d.26f07",\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": 731,\r
+ "y": 335,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "3bc5d31f.4eff1c",\r
+ "id": "e51d2b5.f353758",\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": 1843,\r
+ "y": 324,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f9ddca30.13fc18",\r
- "2e83e20a.a4c64e",\r
- "bbb85f3b.347968"\r
+ "bd96538d.fc9d98",\r
+ "d296a5a5.03f2d8",\r
+ "59d0b561.049ff4"\r
]\r
]\r
},\r
{\r
- "id": "f9ddca30.13fc18",\r
+ "id": "bd96538d.fc9d98",\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": 2051,\r
+ "y": 288,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "7f6304c6.68b434"\r
+ "a935f75b.7b8ae8"\r
]\r
]\r
},\r
{\r
- "id": "2e83e20a.a4c64e",\r
+ "id": "d296a5a5.03f2d8",\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": 2051.490966796875,\r
+ "y": 333.57403564453125,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "848ced52.aed45"\r
+ "b4d9ea13.dc5c6"\r
]\r
]\r
},\r
{\r
- "id": "bbb85f3b.347968",\r
+ "id": "59d0b561.049ff4",\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": 2049,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "67746d9a.bb8fac"\r
+ "cc59ead5.ab58f"\r
]\r
]\r
},\r
{\r
- "id": "848ced52.aed45",\r
+ "id": "b4d9ea13.dc5c6",\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": 2214.0623779296875,\r
+ "y": 333.8597717285156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "67746d9a.bb8fac",\r
+ "id": "cc59ead5.ab58f",\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": 2218,\r
+ "y": 378,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "a1788c2.5cbcc7",\r
+ "id": "2055e9c.9575d16",\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": 2524,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "ff5b5708.803718",\r
- "2b7ab4e7.4996c4",\r
- "8f3a9f9c.feba08"\r
+ "1719bc42.5de0cc",\r
+ "b2907373.b3b1a",\r
+ "fb17b477.f9109"\r
]\r
]\r
},\r
{\r
- "id": "66c494d6.d131ec",\r
+ "id": "c87f5113.e0af38",\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": 2908,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\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
+ "1985ee34.d96bba",\r
+ "52698c53.01b1dc",\r
+ "6e17a44c.f8e15c",\r
+ "9562cdef.811fc8",\r
+ "51f18b3b.809efc",\r
+ "9405a159.40925",\r
+ "e776447c.da84c8"\r
]\r
]\r
},\r
{\r
- "id": "ff5b5708.803718",\r
+ "id": "1719bc42.5de0cc",\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": 2735,\r
+ "y": 379,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "66c494d6.d131ec"\r
+ "c87f5113.e0af38"\r
]\r
]\r
},\r
{\r
- "id": "2b7ab4e7.4996c4",\r
+ "id": "b2907373.b3b1a",\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": 2735.490966796875,\r
+ "y": 424.57403564453125,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "71b7f260.a02afc"\r
+ "34c1a665.03471a"\r
]\r
]\r
},\r
{\r
- "id": "8f3a9f9c.feba08",\r
+ "id": "fb17b477.f9109",\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": 2733,\r
+ "y": 468,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "f1455dfe.4b515"\r
+ "8d4bf215.03d04"\r
]\r
]\r
},\r
{\r
- "id": "f1455dfe.4b515",\r
+ "id": "8d4bf215.03d04",\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": 2900,\r
+ "y": 467,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "71b7f260.a02afc",\r
+ "id": "34c1a665.03471a",\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": 2898.0623779296875,\r
+ "y": 424.8597717285156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "7f6304c6.68b434",\r
+ "id": "a935f75b.7b8ae8",\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": 2252,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "df01a5ae.6dc3e8"\r
+ "67091bed.864304"\r
]\r
]\r
},\r
{\r
- "id": "df01a5ae.6dc3e8",\r
+ "id": "67091bed.864304",\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": 2457,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "3c18e8d0.67c0b"\r
+ "4e4ac25c.008624"\r
]\r
]\r
},\r
{\r
- "id": "3c18e8d0.67c0b",\r
+ "id": "4e4ac25c.008624",\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": 2623,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "2564f00.0bbdd9"\r
+ "7c62e56b.ccfd7c"\r
]\r
]\r
},\r
{\r
- "id": "2564f00.0bbdd9",\r
+ "id": "7c62e56b.ccfd7c",\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": 2786,\r
+ "y": 283,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "a1788c2.5cbcc7"\r
+ "2055e9c.9575d16"\r
]\r
]\r
},\r
{\r
- "id": "4df4ccfd.828a9c",\r
+ "id": "1985ee34.d96bba",\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": 3123,\r
+ "y": 87,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "cc810976.1e78e",\r
+ "id": "52698c53.01b1dc",\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": 3149,\r
+ "y": 204,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "fbb5125b.955718",\r
- "693af83c.f3ea18",\r
- "2473f4a.835008c"\r
+ "df3dfd24.e7243",\r
+ "21f9901e.5c5cb",\r
+ "23d5d99c.1069c6"\r
]\r
]\r
},\r
{\r
- "id": "fbb5125b.955718",\r
+ "id": "df3dfd24.e7243",\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": 3344.5001220703125,\r
+ "y": 156,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "9a9b433a.0ee84"\r
+ "b45e1015.15138"\r
]\r
]\r
},\r
{\r
- "id": "693af83c.f3ea18",\r
+ "id": "21f9901e.5c5cb",\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": 3336.5001220703125,\r
+ "y": 211,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "3249d5d1.aac972"\r
+ "77f6a688.81ce38"\r
]\r
]\r
},\r
{\r
- "id": "9a9b433a.0ee84",\r
+ "id": "b45e1015.15138",\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": 3488.8824462890625,\r
+ "y": 155.65567016601562,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "4c1ac004.69f11"\r
+ "a3edca1c.ba087"\r
]\r
]\r
},\r
{\r
- "id": "4c1ac004.69f11",\r
+ "id": "a3edca1c.ba087",\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": 3673,\r
+ "y": 154,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "4cdbe422.34f9d4"\r
+ "db4aebfd.10c0f"\r
]\r
]\r
},\r
{\r
- "id": "4cdbe422.34f9d4",\r
+ "id": "db4aebfd.10c0f",\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": 3868,\r
+ "y": 154,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "9761202f.b6a0b"\r
+ "47e44765.fd9158"\r
]\r
]\r
},\r
{\r
- "id": "2473f4a.835008c",\r
+ "id": "23d5d99c.1069c6",\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": 3341.5001220703125,\r
+ "y": 268,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "aacead6d.fefcb8"\r
+ "4952922a.0e6edc"\r
]\r
]\r
},\r
{\r
- "id": "aacead6d.fefcb8",\r
+ "id": "4952922a.0e6edc",\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": 3493.5001220703125,\r
+ "y": 269,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "3249d5d1.aac972",\r
+ "id": "77f6a688.81ce38",\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": 3504.5001220703125,\r
+ "y": 212,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "4c67262e.3701a8",\r
+ "id": "fa4dfe6b.cee79",\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": 4456,\r
+ "y": 171,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "906ef06e.7739a8",\r
- "cb4dc0cc.5ae2c",\r
- "8ceaa5d5.dc9b88"\r
+ "cbb209f7.a6664",\r
+ "74e5e9b0.d9729",\r
+ "a328bb91.cda89"\r
]\r
]\r
},\r
{\r
- "id": "12825971.5566ff",\r
+ "id": "3f03e2fb.b5f81e",\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": 4250,\r
+ "y": 158,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "dddd5795.4cbcd",\r
- "4c67262e.3701a8",\r
- "459c85bd.d88044"\r
+ "8d9a188f.1a7a4",\r
+ "fa4dfe6b.cee79",\r
+ "920b64ba.47efa"\r
]\r
]\r
},\r
{\r
- "id": "dddd5795.4cbcd",\r
+ "id": "8d9a188f.1a7a4",\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": 4486,\r
+ "y": 119,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "906ef06e.7739a8",\r
+ "id": "cbb209f7.a6664",\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": 4666,\r
+ "y": 162,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "97b50ccf.b69cd8"\r
+ "d166346a.002478"\r
]\r
]\r
},\r
{\r
- "id": "cb4dc0cc.5ae2c",\r
+ "id": "74e5e9b0.d9729",\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": 4658,\r
+ "y": 217,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "34cf9d59.f69aea"\r
+ "73697be7.45641c"\r
]\r
]\r
},\r
{\r
- "id": "8ceaa5d5.dc9b88",\r
+ "id": "a328bb91.cda89",\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": 4663,\r
+ "y": 274,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "6573a76f.8f9128"\r
+ "482cf24f.1774ec"\r
]\r
]\r
},\r
{\r
- "id": "6573a76f.8f9128",\r
+ "id": "482cf24f.1774ec",\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": 4815,\r
+ "y": 275,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "34cf9d59.f69aea",\r
+ "id": "73697be7.45641c",\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": 4826,\r
+ "y": 220,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "97b50ccf.b69cd8",\r
+ "id": "d166346a.002478",\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": 4810.38232421875,\r
+ "y": 159.65567016601562,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "e66f9d95.0b353"\r
+ "2f421760.45d288"\r
]\r
]\r
},\r
{\r
- "id": "9761202f.b6a0b",\r
+ "id": "47e44765.fd9158",\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": 4071,\r
+ "y": 158,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "12825971.5566ff"\r
+ "3f03e2fb.b5f81e"\r
]\r
]\r
},\r
{\r
- "id": "e66f9d95.0b353",\r
+ "id": "2f421760.45d288",\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": 5025,\r
+ "y": 156,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "459c85bd.d88044",\r
+ "id": "920b64ba.47efa",\r
"type": "break",\r
"name": "break",\r
"xml": "<break>\n",\r
"comments": "",\r
- "x": 4403,\r
- "y": 237,\r
- "z": "65374df1.8a48d4",\r
+ "x": 4406,\r
+ "y": 235,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "1114cd30.8fbe33",\r
+ "id": "9405a159.40925",\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": 3273,\r
+ "y": 502,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "aa415b48.c51fe8",\r
- "f0d3a65b.427ad8"\r
+ "ecacf915.574818",\r
+ "e290fc99.96c1d8"\r
]\r
]\r
},\r
{\r
- "id": "aa415b48.c51fe8",\r
+ "id": "ecacf915.574818",\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": 3616.5,\r
+ "y": 497,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "c60de7c9.d4f7f8"\r
+ "6c0fb618.3be698"\r
]\r
]\r
},\r
{\r
- "id": "f0d3a65b.427ad8",\r
+ "id": "e290fc99.96c1d8",\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": 3620.5,\r
+ "y": 537,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "a329dc5b.ef894"\r
+ "735428f1.2ceb3"\r
]\r
]\r
},\r
{\r
- "id": "a329dc5b.ef894",\r
+ "id": "735428f1.2ceb3",\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": 3778,\r
+ "y": 537,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "c60de7c9.d4f7f8",\r
+ "id": "6c0fb618.3be698",\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": 3774.5,\r
+ "y": 497,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "6804b3fb.447a5c",\r
+ "id": "6e17a44c.f8e15c",\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": 3249,\r
+ "y": 377,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "77014142.ee291",\r
+ "id": "9562cdef.811fc8",\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": 3179,\r
+ "y": 812,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "eea604e.273be78",\r
+ "id": "51f18b3b.809efc",\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": 3175,\r
+ "y": 856,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "c7f4c6b5.89c68",\r
+ "id": "9ec21c40.e14a88",\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": 3759,\r
+ "y": 676,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "e6edfa38.71c268",\r
- "137ffb3e.b1daa5"\r
+ "f05a4dc0.054df",\r
+ "f0f39295.b7b9a8"\r
]\r
]\r
},\r
{\r
- "id": "137ffb3e.b1daa5",\r
+ "id": "f0f39295.b7b9a8",\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": 4025,\r
+ "y": 656,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "7548726d.c6844c"\r
+ "b586e36a.93b3e8"\r
]\r
]\r
},\r
{\r
- "id": "e6edfa38.71c268",\r
+ "id": "f05a4dc0.054df",\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": 4026.000213623047,\r
+ "y": 706.9999094009399,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[\r
- "67229e1a.f4d798"\r
+ "67ce9419.db502c"\r
]\r
]\r
},\r
{\r
- "id": "7548726d.c6844c",\r
+ "id": "b586e36a.93b3e8",\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": 4165.000247955322,\r
+ "y": 656.0000009536743,\r
+ "z": "e2fe7a53.da009",\r
"wires": []\r
},\r
{\r
- "id": "67229e1a.f4d798",\r
+ "id": "67ce9419.db502c",\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": 4171.02725982666,\r
+ "y": 704.7453947067261,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e776447c.da84c8",\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": 3208,\r
+ "y": 693,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ [\r
+ "a367a533.706f78",\r
+ "4d988de7.d09044"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4d988de7.d09044",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3446,\r
+ "y": 676,\r
+ "z": "e2fe7a53.da009",\r
+ "wires": [\r
+ [\r
+ "9ec21c40.e14a88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a367a533.706f78",\r
+ "type": "outcome",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3458,\r
+ "y": 743,\r
+ "z": "e2fe7a53.da009",\r
"wires": [\r
[]\r
]\r