+ },
+ {
+ "id": "56419be7.895d24",
+ "type": "save",
+ "name": "save underlay configuration in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='configuration' \n key='configuration.configuration-id = $prop.l3vpn.network-id' >\n<parameter name='configuration-id' value='`$prop.l3vpn.network-id`' />\n<parameter name='configuration-type' value='underlay' />\n<parameter name='configuration-sub-type' value='l3vpn' />\n<parameter name='orchestration-status' value='Created' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$prop.l3vpn.network-id`' />\n<parameter name='configuration-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.l3vpn.network-id + '/network-data/'` \" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 808.03125,
+ "y": 1477,
+ "z": "e07ef8ab.015e18",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a13270b7.6c1f5",
+ "type": "save",
+ "name": "save service relationship in AAI",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"configuration\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/configurations/configuration/' + $prop.l3vpn.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"configuration.configuration-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.l3vpn.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"configuration.configuration-type\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value=\"underlay\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 800.03125,
+ "y": 1523,
+ "z": "e07ef8ab.015e18",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a0a289d3.8a3128",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1312.53125,
+ "y": 404.9999694824219,
+ "z": "e07ef8ab.015e18",
+ "wires": [
+ [
+ "8ed22fd9.4d3dc",
+ "efdd2674.739ce8",
+ "f576c53a.7be778",
+ "f5da2a66.76d6a8",
+ "9322169f.7e6468",
+ "41e22f2d.675b9",
+ "fc7aed60.65dde",
+ "3fbbe309.27a1fc",
+ "a2bdcc47.ae6fd",
+ "5ff7d202.bbe52c",
+ "70478129.46c8",
+ "5b2c84b5.c4133c",
+ "5f56629a.41d4bc",
+ "88ead0cd.822bb",
+ "166443d5.94dbbc",
+ "2e267b3e.323f94",
+ "291e6ccb.4ad7e4",
+ "c859e422.4eadc8",
+ "335bcb16.8452b4",
+ "b8ac331e.cf80f",
+ "eddb16e2.7d3ca8",
+ "445b45a7.1c9e2c",
+ "ff841f48.1f039",
+ "b523547.75bb8a8",
+ "3d30a696.2b7b1a"
+ ]
+ ]
+ },
+ {
+ "id": "be278e7d.aed",
+ "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": 1033.03125,
+ "y": 919.9999694824219,
+ "z": "e07ef8ab.015e18",
+ "wires": [
+ [
+ "33fe71db.48126e",
+ "3c08e3ae.fb245c"
+ ]
+ ]
+ },
+ {
+ "id": "33fe71db.48126e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1268.03125,
+ "y": 897.9999694824219,
+ "z": "e07ef8ab.015e18",
+ "wires": [
+ [
+ "b2de4cc8.de5ec"
+ ]
+ ]
+ },
+ {
+ "id": "3c08e3ae.fb245c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1260.28125,
+ "y": 951.6428527832031,
+ "z": "e07ef8ab.015e18",
+ "wires": [
+ [
+ "49c53683.778b88"
+ ]
+ ]
+ },
+ {
+ "id": "49c53683.778b88",
+ "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": 1413.03125,
+ "y": 951.3929138183594,
+ "z": "e07ef8ab.015e18",
+ "wires": []
+ },
+ {
+ "id": "b2de4cc8.de5ec",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.token_id' />\n",
+ "comments": "",
+ "x": 1422.03125,
+ "y": 898.9999694824219,
+ "z": "e07ef8ab.015e18",
+ "wires": []
+ },
+ {
+ "id": "52fc73ef.e7aa0c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1448.03125,
+ "y": 1070.9999694824219,
+ "z": "e07ef8ab.015e18",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b81affca.012b9",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1455.28125,
+ "y": 1165.6427917480469,
+ "z": "e07ef8ab.015e18",
+ "wires": [
+ [
+ "5c541133.bfa8d"
+ ]
+ ]
+ },
+ {
+ "id": "5c541133.bfa8d",
+ "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": 1427.03125,
+ "y": 1350.3929138183594,
+ "z": "e07ef8ab.015e18",
+ "wires": []
+ },
+ {
+ "id": "fb767200.4ff718",
+ "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": 757,
+ "y": 991,
+ "z": "e07ef8ab.015e18",
+ "wires": [
+ []
+ ]