+ "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`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 746,
+ "y": 1530.0000305175781,
+ "z": "d1c71750.37b338",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3d6530.ff1843",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1258.5,
+ "y": 412,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "79980939.27992",
+ "6566447b.cd16fc",
+ "db1ad825.26052",
+ "612a1bef.8a1a9c",
+ "32815667.56769a",
+ "d99350c4.40314",
+ "e54a4b77.575f08",
+ "a16ad1af.30669",
+ "a9d432.f245a3d",
+ "89f7d244.7bed58",
+ "9e107c02.44f758",
+ "37c58153.b2998e",
+ "9ab7bd24.8d06c8",
+ "c98044e2.7a0fd",
+ "9c377089.4d9f3",
+ "6227130a.b283dc",
+ "87656c47.a73838",
+ "9d6a7f28.4304b",
+ "b0373753.70f0a",
+ "a53453dd.69ab28",
+ "9abdda02.3e776",
+ "e12d824c.4650c8",
+ "46a813fb.9bd0f4",
+ "f615e32b.689a18",
+ "5e4ee4bb.9cbae4"
+ ]
+ ]
+ },
+ {
+ "id": "e652cb3f.9ae0d",
+ "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": 979,
+ "y": 927,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "5108fa21.828c5c",
+ "4ae0e1c.42791a"
+ ]
+ ]
+ },
+ {
+ "id": "5108fa21.828c5c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1214,
+ "y": 905,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "8a3a1639.1431d"
+ ]
+ ]
+ },
+ {
+ "id": "4ae0e1c.42791a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1206.25,
+ "y": 958.6428833007812,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "a0998cd9.40253"
+ ]
+ ]
+ },
+ {
+ "id": "a0998cd9.40253",
+ "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": 1359,
+ "y": 958.3929443359375,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "8a3a1639.1431d",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='$token-result.token_id' />\n",
+ "comments": "",
+ "x": 1368,
+ "y": 906,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "d40cc8a7.624908",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1394,
+ "y": 1078,
+ "z": "d1c71750.37b338",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "550c17e5.cfd818",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1401.25,
+ "y": 1172.642822265625,
+ "z": "d1c71750.37b338",
+ "wires": [
+ [
+ "d57e2b04.e0fea"
+ ]
+ ]
+ },
+ {
+ "id": "d57e2b04.e0fea",
+ "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": 1373,
+ "y": 1357.3929443359375,
+ "z": "d1c71750.37b338",
+ "wires": []
+ },
+ {
+ "id": "725ceec3.c5b2",
+ "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",