+ "id": "6947b80c.413c68",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",\r
+ "comments": "",\r
+ "x": 723.566650390625,\r
+ "y": 1196.066650390625,\r
+ "z": "100033e5.240444",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b6b263f3.b9fe38",\r
+ "type": "get-resource",\r
+ "name": "get resources from DB -controller_id",\r
+ "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\nkey='SELECT controller_id\nfrom TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE\nWHERE controller_id = $controllerid'\npfx='dbcontrollerid'>\n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 836.066650390625,\r
+ "y": 787.066650390625,\r
+ "z": "100033e5.240444",\r
+ "wires": [\r
+ [\r
+ "7a3da34b.513514",\r
+ "553772e.9e98c8c",\r
+ "b885de93.3b5b9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3b06d733.c1279",\r
+ "type": "set",\r
+ "name": "set controller_id",\r
+ "xml": "<set>\n<parameter name='controllerid' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",\r
+ "comments": "",\r
+ "x": 796.066650390625,\r
+ "y": 721.066650390625,\r
+ "z": "100033e5.240444",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7a3da34b.513514",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1075.066650390625,\r
+ "y": 807.066650390625,\r
+ "z": "100033e5.240444",\r
+ "wires": [\r
+ [\r
+ "971049fa.30ea4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "971049fa.30ea4",\r
+ "type": "delete",\r
+ "name": "delete from db",\r
+ "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n resource=\"SQL\"\n key=\"DELETE FROM TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE WHERE controller_id = $controllerid\">",\r