[\r
{\r
- "id": "a77f6699.47796",\r
+ "id": "107dd3ad.6ad91c",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 106.75,\r
- "y": 79.77389526367188,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 122.75,\r
+ "y": 72.75,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "c640c202.91b41"\r
+ "83222bba.63a2c8"\r
]\r
]\r
},\r
{\r
- "id": "c640c202.91b41",\r
+ "id": "83222bba.63a2c8",\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": 414.74964904785156,\r
- "y": 79.77391719818115,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 392.74964904785156,\r
+ "y": 73.75002193450928,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "4e95369f.bf41e"\r
+ "97bb6ddd.1d4fd"\r
]\r
]\r
},\r
{\r
- "id": "4e95369f.bf41e",\r
+ "id": "97bb6ddd.1d4fd",\r
"type": "method",\r
"name": "method:bbs-internet-profile-vnf-topology-operation-delete-huawei",\r
"xml": "<method rpc='bbs-internet-profile-vnf-topology-operation-delete-huawei' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 412.7496337890625,\r
- "y": 275.77399349212646,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 390.7496337890625,\r
+ "y": 269.7500982284546,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "a33839b0.90a02"\r
+ "eb7b740e.3178f"\r
]\r
]\r
},\r
{\r
- "id": "a33839b0.90a02",\r
+ "id": "eb7b740e.3178f",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 819.7498626708984,\r
- "y": 276.77395725250244,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 797.7498626708984,\r
+ "y": 270.75006198883057,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "2ed02a5c.5d72ce",\r
- "c8fbb930.846a4",\r
- "3956ad31.45a35a",\r
- "bf1fcd53.ddfe",\r
- "1fd3f69.1d31e89"\r
+ "2aed678d.ccad18",\r
+ "a82b827c.c45a18",\r
+ "38b2d21b.25735e",\r
+ "6ae86a23.f13794",\r
+ "d358382c.fffa98"\r
]\r
]\r
},\r
{\r
- "id": "1fd3f69.1d31e89",\r
+ "id": "52f37237.872894",\r
"type": "execute",\r
"name": "execute:DeleteInternetProfileInstance",\r
"xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`\" />\n <parameter name=\"contentType\" value=\"application/json\"/>\n <parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1208.4009246826172,\r
- "y": 280.7347803115845,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1635.40087890625,\r
+ "y": 273.71087646484375,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "4123db34.0e7424",\r
- "888adbdc.266ba8"\r
+ "57e00cd.1172574",\r
+ "7cf7dc05.83fe54"\r
]\r
]\r
},\r
{\r
- "id": "888adbdc.266ba8",\r
+ "id": "7cf7dc05.83fe54",\r
"type": "outcome",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1509.7339057922363,\r
- "y": 280.7347803115845,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1940.73388671875,\r
+ "y": 271.71087646484375,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "6237fdd6.7dcb44"\r
+ "8bc7302d.af26b8"\r
]\r
]\r
},\r
{\r
- "id": "4123db34.0e7424",\r
+ "id": "57e00cd.1172574",\r
"type": "outcome",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1518.7338180541992,\r
- "y": 355.7347822189331,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1675.7337646484375,\r
+ "y": 358.71087646484375,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "497cc63b.30848"\r
+ "9f9c92c8.4c1788"\r
]\r
]\r
},\r
{\r
- "id": "497cc63b.30848",\r
- "type": "switchNode",\r
- "name": "switch:service-result",\r
- "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1753.7499389648438,\r
- "y": 354.7740774154663,\r
- "z": "e5a6ac34.a7198",\r
- "wires": [\r
- [\r
- "448428e5.a62b48",\r
- "7cffa4c4.69e0d4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "6237fdd6.7dcb44",\r
+ "id": "8bc7302d.af26b8",\r
"type": "returnFailure",\r
"name": "return failure",\r
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error failed to call DeleteInternetProfileInstance\" />\n",\r
"comments": "",\r
- "x": 2018.6675186157227,\r
- "y": 281.0243282318115,\r
- "z": "e5a6ac34.a7198",\r
- "wires": []\r
- },\r
- {\r
- "id": "448428e5.a62b48",\r
- "type": "outcome",\r
- "name": "Other",\r
- "xml": "<outcome value='Other'>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1979.7502784729004,\r
- "y": 355.7741708755493,\r
- "z": "e5a6ac34.a7198",\r
- "wires": [\r
- [\r
- "eba25570.9a106"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "7cffa4c4.69e0d4",\r
- "type": "outcome",\r
- "name": "NULL",\r
- "xml": "<outcome value=''>\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1989.749984741211,\r
- "y": 441.774037361145,\r
- "z": "e5a6ac34.a7198",\r
- "wires": [\r
- [\r
- "4fc581b8.3b36a"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "eba25570.9a106",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"`'Error DeleteInternetProfileInstance return: '+$service-result.errors.error[0].error-message`\" />\n\n",\r
- "comments": "",\r
- "x": 2166.2499465942383,\r
- "y": 355.7740077972412,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 2184.66748046875,\r
+ "y": 282.00042724609375,\r
+ "z": "82f9347f.003f68",\r
"wires": []\r
},\r
{\r
- "id": "4fc581b8.3b36a",\r
- "type": "block",\r
- "name": "block",\r
- "xml": "<block>\n",\r
- "atomic": "false",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 2147.9166145324707,\r
- "y": 442.7740125656128,\r
- "z": "e5a6ac34.a7198",\r
- "wires": [\r
- []\r
- ]\r
- },\r
- {\r
- "id": "2ed02a5c.5d72ce",\r
+ "id": "2aed678d.ccad18",\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": 1147.1387634277344,\r
- "y": 793.6630086898804,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1125.1387634277344,\r
+ "y": 787.6391134262085,\r
+ "z": "82f9347f.003f68",\r
"wires": []\r
},\r
{\r
- "id": "c8fbb930.846a4",\r
+ "id": "a82b827c.c45a18",\r
"type": "call",\r
"name": "call:bbs-internet-profile-vnf-topology-operation-common-huawei",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-common-huawei' mode='sync' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1320.4169082641602,\r
- "y": 196.77395057678223,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1298.4169082641602,\r
+ "y": 190.75005531311035,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "dea36b4d.64e4",\r
+ "id": "3b653e8f.9983c2",\r
"type": "comment",\r
"name": "fetch relationship-list",\r
"info": "",\r
"comments": "",\r
- "x": 1127.9205322265625,\r
- "y": 70,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1105.9205322265625,\r
+ "y": 63.976104736328125,\r
+ "z": "82f9347f.003f68",\r
"wires": []\r
},\r
{\r
- "id": "bf1fcd53.ddfe",\r
- "type": "for",\r
- "name": "for relationship data",\r
- "xml": "<for silentFailure='false' index='rdidx' start='0' end=\"`$aai.service-instance.relationship-list.relationship[$ridx].relationship-data_length`\" >",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 1160.393009185791,\r
- "y": 455.75003242492676,\r
- "z": "e5a6ac34.a7198",\r
- "wires": [\r
- [\r
- "5f6aa36e.f418f4"\r
- ]\r
- ]\r
- },\r
- {\r
- "id": "362b4d43.71efaa",\r
+ "id": "e22b854a.815078",\r
"type": "switchNode",\r
"name": "switch vnf-id",\r
"xml": "<switch test='`$aai.service-instance.relationship-list.relationship[$ridx].relationship-data[$rdidx].relationship-key`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1508.6150512695312,\r
- "y": 455.41671800613403,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 2117.6151123046875,\r
+ "y": 518.392822265625,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "dca82cdd.160458"\r
+ "e2f988d5.7bc23"\r
]\r
]\r
},\r
{\r
- "id": "dca82cdd.160458",\r
+ "id": "e2f988d5.7bc23",\r
"type": "other",\r
"name": "generic-vnf.vnf-id",\r
"xml": "<outcome value='generic-vnf.vnf-id'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1681.837272644043,\r
- "y": 455.5277795791626,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 2290.837333679199,\r
+ "y": 518.5038838386536,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "48c7c532.f812c4"\r
+ "9ee9136f.479f08"\r
]\r
]\r
},\r
{\r
- "id": "48c7c532.f812c4",\r
+ "id": "9ee9136f.479f08",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1861.0594940185547,\r
- "y": 523.3055810928345,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 2512.0594520568848,\r
+ "y": 518.2816786766052,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "dbcb4df4.6dfa68"\r
+ "9b1e6a18.f7cc4"\r
]\r
]\r
},\r
{\r
- "id": "dbcb4df4.6dfa68",\r
+ "id": "9b1e6a18.f7cc4",\r
"type": "update",\r
"name": "get AAI generic-vnf",\r
"xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $aai.service-instance.relationship-list.relationship[$ridx].relationship-data[$rdidx].relationship-value\"\n pfx='aai.generic-vnf' local-only='false' >",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2072.2261810302734,\r
- "y": 524.3056182861328,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 2723.22607421875,\r
+ "y": 519.2817077636719,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "f82b8813.df9498"\r
+ "4f841b67.60eb14"\r
]\r
]\r
},\r
{\r
- "id": "2eceba1e.5f3b96",\r
+ "id": "97288862.73562",\r
"type": "switchNode",\r
"name": "switch vnf-type",\r
"xml": "<switch test='`$aai.generic-vnf.vnf-type`'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2643.50479888916,\r
- "y": 530.5278158187866,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 3249.504741668701,\r
+ "y": 517.5038967132568,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "49b85927.406f78"\r
+ "97ef98e.9440868"\r
]\r
]\r
},\r
{\r
- "id": "49b85927.406f78",\r
+ "id": "97ef98e.9440868",\r
"type": "other",\r
"name": "InternetProfile",\r
"xml": "<outcome value='InternetProfile'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2837.504554748535,\r
- "y": 524.5278453826904,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 3443.504497528076,\r
+ "y": 511.50392627716064,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "301145e6.198712"\r
+ "44e5b717.3abe78"\r
]\r
]\r
},\r
{\r
- "id": "301145e6.198712",\r
+ "id": "44e5b717.3abe78",\r
"type": "set",\r
"name": "set InternetProfile vnf-id",\r
"xml": "<set>\n<parameter name='prop.bbs.internetProfileVNFId' value='`$aai.generic-vnf.vnf-id`' />\n",\r
"comments": "",\r
- "x": 3081.504066467285,\r
- "y": 522.5277700424194,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 3687.504009246826,\r
+ "y": 509.50385093688965,\r
+ "z": "82f9347f.003f68",\r
"wires": []\r
},\r
{\r
- "id": "36ca2449.b1df6c",\r
+ "id": "4daed2f.ab45aac",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1340.9482955932617,\r
- "y": 626.6667156219482,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1318.9482955932617,\r
+ "y": 620.6428203582764,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "aa8632c1.a4018"\r
+ "cda60208.a98e38"\r
]\r
]\r
},\r
{\r
- "id": "f6034493.649d",\r
+ "id": "29e461c3.021796",\r
"type": "not-found",\r
"name": "not-found",\r
"xml": "<outcome value='not-found'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1348.9482955932617,\r
- "y": 686.6667156219482,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1326.9482955932617,\r
+ "y": 680.6428203582764,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "aa8632c1.a4018"\r
+ "cda60208.a98e38"\r
]\r
]\r
},\r
{\r
- "id": "aa8632c1.a4018",\r
+ "id": "cda60208.a98e38",\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": 1556.9482955932617,\r
- "y": 661.6667156219482,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1534.9482955932617,\r
+ "y": 655.6428203582764,\r
+ "z": "82f9347f.003f68",\r
"wires": []\r
},\r
{\r
- "id": "5f6aa36e.f418f4",\r
+ "id": "3dd62fcb.d4bf38",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1343.7538604736328,\r
- "y": 455.5833511352539,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1921.75390625,\r
+ "y": 517.5594482421875,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "362b4d43.71efaa"\r
+ "e22b854a.815078"\r
]\r
]\r
},\r
{\r
- "id": "f33b322.9852f5",\r
+ "id": "6ade0cdb.12e274",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic='true'>",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2460.5039443969727,\r
- "y": 531.0278158187866,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 3066.5038871765137,\r
+ "y": 518.0038967132568,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "2eceba1e.5f3b96"\r
+ "97288862.73562"\r
]\r
]\r
},\r
{\r
- "id": "f82b8813.df9498",\r
+ "id": "4f841b67.60eb14",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2257.9483070373535,\r
- "y": 523.6667051315308,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 2896.9482421875,\r
+ "y": 518.6427917480469,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "f33b322.9852f5"\r
+ "6ade0cdb.12e274"\r
]\r
]\r
},\r
{\r
- "id": "3956ad31.45a35a",\r
+ "id": "38b2d21b.25735e",\r
"type": "update",\r
"name": "deleteResourceAAI",\r
"xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $prop.bbs.internetProfileVNFId\">",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1150.9112243652344,\r
- "y": 626.7129230499268,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1128.9112243652344,\r
+ "y": 620.6890277862549,\r
+ "z": "82f9347f.003f68",\r
"wires": [\r
[\r
- "36ca2449.b1df6c",\r
- "f6034493.649d"\r
+ "4daed2f.ab45aac",\r
+ "29e461c3.021796"\r
]\r
]\r
},\r
{\r
- "id": "95856666.28972",\r
+ "id": "b66e07b8.1ddac8",\r
"type": "comment",\r
"name": "delete AAI resource",\r
"info": "",\r
"comments": "",\r
- "x": 1148.6890716552734,\r
- "y": 573.3796081542969,\r
- "z": "e5a6ac34.a7198",\r
+ "x": 1126.6890716552734,\r
+ "y": 567.355712890625,\r
+ "z": "82f9347f.003f68",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6ae86a23.f13794",\r
+ "type": "update",\r
+ "name": "get AAI service-instance",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"service-instance\" \n\t\tkey=\"customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\"\n pfx='aai.service-instance' local-only='false' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1078,\r
+ "y": 438.75,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "7af9dcae.b039bc",\r
+ "240386a1.30810a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d3f2b322.8b29a",\r
+ "type": "comment",\r
+ "name": "fetch relationship-list",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1063.000015258789,\r
+ "y": 382.7498474121094,\r
+ "z": "82f9347f.003f68",\r
"wires": []\r
+ },\r
+ {\r
+ "id": "7af9dcae.b039bc",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1330.0002326965332,\r
+ "y": 389.74989223480225,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "f374f3a8.4abf78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f374f3a8.4abf78",\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": 1521.000015258789,\r
+ "y": 389.7498779296875,\r
+ "z": "82f9347f.003f68",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "240386a1.30810a",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1266.2501220703125,\r
+ "y": 487.4998474121094,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "e718117f.fb2dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e718117f.fb2dc",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1409.2501220703125,\r
+ "y": 496.4998474121094,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "7333ae69.c02df8",\r
+ "1ab6b41a.45b75c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7333ae69.c02df8",\r
+ "type": "for",\r
+ "name": "for metadata",\r
+ "xml": "<for silentFailure='true' index='rix' start='0' end=\"`$aai.service-instance.metadata.metadatum_length`\" >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1584.75,\r
+ "y": 598.75,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "6e5a59d8.ef6978"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ce9e2279.5491f",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2218,\r
+ "y": 623,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "8ef73844.3e4718"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8ef73844.3e4718",\r
+ "type": "update",\r
+ "name": "deleteResourceAAI",\r
+ "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n resource=\"service-instance\"\n\t\tkey=\"customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id AND\n\t\t\tmetadatum.metaname = $aai.service-instance.metadata.metadatum[$rix].metaname\" >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2445,\r
+ "y": 620,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "852919c3.1568f8",\r
+ "type": "other",\r
+ "name": "service-type",\r
+ "xml": "<outcome value='service-type'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1972.4996337890625,\r
+ "y": 567.5000610351562,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "ce9e2279.5491f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d6328d5b.a9cb68",\r
+ "type": "other",\r
+ "name": "down-speed",\r
+ "xml": "<outcome value='down-speed'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1979.4996337890625,\r
+ "y": 663.5000610351562,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "ce9e2279.5491f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6e5a59d8.ef6978",\r
+ "type": "switchNode",\r
+ "name": "switch vnf-type",\r
+ "xml": "<switch test='`$aai.service-instance.metadata.metadatum[$rix].metaname`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1780.5,\r
+ "y": 620.5,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "4c7c8000.3258b",\r
+ "852919c3.1568f8",\r
+ "d6328d5b.a9cb68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4c7c8000.3258b",\r
+ "type": "other",\r
+ "name": "up-speed",\r
+ "xml": "<outcome value='up-speed'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1972.4996337890625,\r
+ "y": 617.5000610351562,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "ce9e2279.5491f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1ab6b41a.45b75c",\r
+ "type": "for",\r
+ "name": "for relationship-list",\r
+ "xml": "<for silentFailure='true' index='ridx' start='0' end=\"`$aai.service-instance.relationship-list.relationship_length`\" >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1580,\r
+ "y": 463.75,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "cc722b6d.f8805"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cc722b6d.f8805",\r
+ "type": "for",\r
+ "name": "for relationship data",\r
+ "xml": "<for silentFailure='false' index='rdidx' start='0' end=\"`$aai.service-instance.relationship-list.relationship[$ridx].relationship-data_length`\" >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1733.25,\r
+ "y": 520.4999389648438,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "3dd62fcb.d4bf38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9f9c92c8.4c1788",\r
+ "type": "switchNode",\r
+ "name": "switch:service-result",\r
+ "xml": "<switch test=\"`$service-result.status`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1855.25,\r
+ "y": 355.7261047363281,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "9c274296.3d0d1",\r
+ "5de8bdae.d03adc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9c274296.3d0d1",\r
+ "type": "outcome",\r
+ "name": "Other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2061.2503662109375,\r
+ "y": 358.7261962890625,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "79e39401.d28ac4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5de8bdae.d03adc",\r
+ "type": "outcome",\r
+ "name": "ok",\r
+ "xml": "<outcome value='ok'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2073.2501220703125,\r
+ "y": 447.7260437011719,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "4dce1751.41215"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "79e39401.d28ac4",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"`'Error DeleteInternetProfileInstance return: '+$service-result.status`\" />\n\n",\r
+ "comments": "",\r
+ "x": 2209.75,\r
+ "y": 355.7260437011719,\r
+ "z": "82f9347f.003f68",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4dce1751.41215",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2223.4166107177734,\r
+ "y": 447.72605323791504,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "d358382c.fffa98",\r
+ "type": "switchNode",\r
+ "name": "switch svc-action",\r
+ "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1071.75,\r
+ "y": 273.7261047363281,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "2d932b23.299604"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2d932b23.299604",\r
+ "type": "outcome",\r
+ "name": "delete",\r
+ "xml": "<outcome value='delete'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1240.25,\r
+ "y": 277.7261047363281,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "bcac2398.eadaa"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bcac2398.eadaa",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic='true'>",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1400.25,\r
+ "y": 276.2261047363281,\r
+ "z": "82f9347f.003f68",\r
+ "wires": [\r
+ [\r
+ "52f37237.872894"\r
+ ]\r
+ ]\r
}\r
]
\ No newline at end of file