+ },
+ {
+ "id": "84a77140.b8364",
+ "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": 1343,
+ "y": 283,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ [
+ "16fa329d.f3dce5"
+ ]
+ ]
+ },
+ {
+ "id": "16fa329d.f3dce5",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1529,
+ "y": 292,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ [
+ "b53db17c.0ef078"
+ ]
+ ]
+ },
+ {
+ "id": "b53db17c.0ef078",
+ "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": 1712,
+ "y": 296,
+ "z": "e87b72fe.07c73",
+ "wires": []
+ },
+ {
+ "id": "cd746090.90a5a",
+ "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": 815,
+ "y": 850,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "599b3e84.010d1",
+ "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\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597,
+ "y": 605.7776565551758,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ [
+ "d3f6644d.349f88",
+ "3ae81ceb.b03874"
+ ]
+ ]
+ },
+ {
+ "id": "d3f6644d.349f88",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1837,
+ "y": 568.7776565551758,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ [
+ "7b5e645e.7d6674"
+ ]
+ ]
+ },
+ {
+ "id": "3ae81ceb.b03874",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1844.25,
+ "y": 635.420539855957,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ [
+ "50b8cd7f.3d5c64"
+ ]
+ ]
+ },
+ {
+ "id": "50b8cd7f.3d5c64",
+ "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": 2025,
+ "y": 634.1706008911133,
+ "z": "e87b72fe.07c73",
+ "wires": []
+ },
+ {
+ "id": "7b5e645e.7d6674",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.token_id' />\n",
+ "comments": "",
+ "x": 2022,
+ "y": 565.7776565551758,
+ "z": "e87b72fe.07c73",
+ "wires": []
+ },
+ {
+ "id": "6ace128e.38bbf4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1794,
+ "y": 690.7776565551758,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e03ea1f6.8ae24",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1795.25,
+ "y": 754.4204788208008,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ [
+ "2b054857.56f558"
+ ]
+ ]
+ },
+ {
+ "id": "2b054857.56f558",
+ "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": 1961,
+ "y": 757.1706008911133,
+ "z": "e87b72fe.07c73",
+ "wires": []
+ },
+ {
+ "id": "46db16ed.796608",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1268,
+ "y": 616.7776565551758,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ [
+ "599b3e84.010d1",
+ "8892b470.2ab318"
+ ]
+ ]
+ },
+ {
+ "id": "e9b167f.6457618",
+ "type": "execute",
+ "name": "execute Properties",
+ "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' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 798,
+ "y": 564,
+ "z": "e87b72fe.07c73",
+ "wires": [
+ []
+ ]