+ },
+ {
+ "id": "4838189c.cc5c2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1246.5,
+ "y": 400,
+ "z": "f0bdac73.5c8b08",
+ "wires": [
+ [
+ "3d658710.cc53a",
+ "3ffa7de9.3d22aa",
+ "664b1b62.1edb04",
+ "34505a72.fd91d6",
+ "7e10e5c0.fe770c",
+ "13208c8b.098ffb",
+ "746f494e.5eb71",
+ "234c66fc.f3b94a",
+ "57e3e674.d18598",
+ "b57b62d6.ecd3f8",
+ "19af71a4.6ac59e",
+ "f7634e7a.60329",
+ "ef48199.418d9e8",
+ "bc753ec1.7895e",
+ "68aca326.79a5c4",
+ "4df426f9.add138",
+ "7b807eaa.43ad18",
+ "aeb88291.366bb",
+ "7d79c207.4a89ac",
+ "7b628f48.c22598",
+ "f4a82fcb.89b23",
+ "9f057f5a.21a718",
+ "c28375dc.9cf31",
+ "3493b1b1.d0be5e",
+ "f8750aec.0b434"
+ ]
+ ]
+ },
+ {
+ "id": "81408502.df9e98",
+ "type": "execute",
+ "name": "execute RestApiCallNode Get token",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.sdncRestApi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 967,
+ "y": 915,
+ "z": "f0bdac73.5c8b08",
+ "wires": [
+ [
+ "38a0724b.4de246",
+ "756c4519.f37034"
+ ]
+ ]
+ },
+ {
+ "id": "38a0724b.4de246",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1202,
+ "y": 893,
+ "z": "f0bdac73.5c8b08",
+ "wires": [
+ [
+ "a121e319.bf2cd8"
+ ]
+ ]
+ },
+ {
+ "id": "756c4519.f37034",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1194.25,
+ "y": 946.6428833007812,
+ "z": "f0bdac73.5c8b08",
+ "wires": [
+ [
+ "e1f11752.4c0f58"
+ ]
+ ]
+ },
+ {
+ "id": "e1f11752.4c0f58",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get token rest api\" />\n",
+ "comments": "",
+ "x": 1347,
+ "y": 946.3929443359375,
+ "z": "f0bdac73.5c8b08",
+ "wires": []
+ },
+ {
+ "id": "a121e319.bf2cd8",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.token_id' />\n",
+ "comments": "",
+ "x": 1356,
+ "y": 894,
+ "z": "f0bdac73.5c8b08",
+ "wires": []
+ },
+ {
+ "id": "4a301b10.4617ec",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1382,
+ "y": 1066,
+ "z": "f0bdac73.5c8b08",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41cb92ed.fecc84",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1389.25,
+ "y": 1160.642822265625,
+ "z": "f0bdac73.5c8b08",
+ "wires": [
+ [
+ "ef1bae96.039368"
+ ]
+ ]
+ },
+ {
+ "id": "ef1bae96.039368",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing 3rd party controller rest api\" />\n",
+ "comments": "",
+ "x": 1361,
+ "y": 1345.3929443359375,
+ "z": "f0bdac73.5c8b08",
+ "wires": []