+ "x": 2405.229736328125,
+ "y": 67.35269165039062,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "30cf8a2a.4aa6d6",
+ "type": "returnSuccess",
+ "name": "return success",
+ "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",
+ "comments": "",
+ "x": 806.6978149414062,
+ "y": 941.364501953125,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "3287501.60ecab",
+ "type": "get-resource",
+ "name": "get-resource pnf",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $prop.l3vpn.pe1_id AND \n\t\t depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 810.03125,
+ "y": 368.9202575683594,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "c2bd93d4.a50d6",
+ "50eb06db.534748",
+ "a9ca7e11.e6b52"
+ ]
+ ]
+ },
+ {
+ "id": "c2bd93d4.a50d6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1004.03125,
+ "y": 306.9202575683594,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "70989a52.14a154"
+ ]
+ ]
+ },
+ {
+ "id": "50eb06db.534748",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1013.522216796875,
+ "y": 349.4942932128906,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "a043bfd1.99253"
+ ]
+ ]
+ },
+ {
+ "id": "a9ca7e11.e6b52",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1006.855224609375,
+ "y": 397.8276062011719,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "a1cb98a2.af1948"
+ ]
+ ]
+ },
+ {
+ "id": "a043bfd1.99253",
+ "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
+ "comments": "",
+ "x": 1199.0936279296875,
+ "y": 350.780029296875,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "a1cb98a2.af1948",
+ "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
+ "comments": "",
+ "x": 1195.6278076171875,
+ "y": 401.26678466796875,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "70989a52.14a154",
+ "type": "set",
+ "name": "set tmp.thirdparty-sdnc-id",
+ "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
+ "comments": "",
+ "x": 1218.03125,
+ "y": 302.9202575683594,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "ae7fca3e.07e458",
+ "type": "switchNode",
+ "name": "switch pe1_id",
+ "xml": "<switch test=\"`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].name == 'pe1_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1369.03125,
+ "y": 263.9202575683594,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "7fbf4ad7.4e3104"
+ ]
+ ]
+ },
+ {
+ "id": "7fbf4ad7.4e3104",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1555.03125,
+ "y": 272.9202575683594,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "63b25ae1.3cec14"
+ ]
+ ]
+ },
+ {
+ "id": "63b25ae1.3cec14",
+ "type": "set",
+ "name": "set pe1_id",
+ "xml": "<set>\n<parameter name='prop.l3vpn.pe1_id' value='`$service-data.networks.network[$tmp.nidx].network-data.network-request-input.network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 1738.03125,
+ "y": 276.9202575683594,
+ "z": "b1a89180.b5141",
+ "wires": []
+ },
+ {
+ "id": "19bbbbde.0c4ee4",
+ "type": "delete",
+ "name": "delete underlay configuration in AAI",
+ "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource='configuration' \n key='configuration.configuration-id = $network-topology-operation-input.network-information.network-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 858.03125,
+ "y": 687.9202880859375,
+ "z": "b1a89180.b5141",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1f654f28.833041",
+ "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.restapi.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\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.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\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1623.03125,
+ "y": 586.6979141235352,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "ca41c77.6b99238",
+ "b6f946b3.5d1538"
+ ]
+ ]
+ },
+ {
+ "id": "ca41c77.6b99238",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1863.03125,
+ "y": 549.6979141235352,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "fb54fc36.0391d"
+ ]
+ ]
+ },
+ {
+ "id": "b6f946b3.5d1538",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1870.28125,
+ "y": 616.3407974243164,
+ "z": "b1a89180.b5141",
+ "wires": [
+ [
+ "987fca22.525748"
+ ]
+ ]
+ },
+ {
+ "id": "987fca22.525748",
+ "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": 2051.03125,
+ "y": 615.0908584594727,
+ "z": "b1a89180.b5141",