+ },
+ {
+ "id": "fdabde17.5c847",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1248.5,
+ "y": 405.9999694824219,
+ "z": "b1905c0.2226628",
+ "wires": [
+ [
+ "a016ef4c.00b8d8",
+ "42d21e94.8794d",
+ "141c3d3d.ab7053",
+ "4ee7a07.d59c26",
+ "5c63bd35.850224",
+ "58f3e289.2a7e64",
+ "95375fe3.44bc28",
+ "fe0b88f6.f80e9",
+ "7a18b8ce.d5dc",
+ "13b6f73a.13b789",
+ "fd7f4144.b3829",
+ "45ea1a7b.99de84",
+ "2d742a69.fb645e",
+ "a750a836.67c46",
+ "32c3f1e3.30689e",
+ "e951ad31.5ca928",
+ "e3393629.af0d3",
+ "62f6947f.61850c",
+ "746e4da0.8ed054",
+ "ce1e821a.8edd98",
+ "ac3cc96e.e8c948",
+ "baf40051.ee5bc",
+ "c4c0db18.879888",
+ "e8fa40d3.8412",
+ "3fb5f0ac.682b3"
+ ]
+ ]
+ },
+ {
+ "id": "873707de.4b4938",
+ "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": 969,
+ "y": 920.9999694824219,
+ "z": "b1905c0.2226628",
+ "wires": [
+ [
+ "7ec3a0d9.74ab38",
+ "d68f58c.e668e28"
+ ]
+ ]
+ },
+ {
+ "id": "7ec3a0d9.74ab38",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1204,
+ "y": 898.9999694824219,
+ "z": "b1905c0.2226628",
+ "wires": [
+ [
+ "1169f76b.30c241"
+ ]
+ ]
+ },
+ {
+ "id": "d68f58c.e668e28",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1196.25,
+ "y": 952.6428527832031,
+ "z": "b1905c0.2226628",
+ "wires": [
+ [
+ "f88bda1b.6ed7c8"
+ ]
+ ]
+ },
+ {
+ "id": "f88bda1b.6ed7c8",
+ "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": 1349,
+ "y": 952.3929138183594,
+ "z": "b1905c0.2226628",
+ "wires": []
+ },
+ {
+ "id": "1169f76b.30c241",
+ "type": "set",
+ "name": "set token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",
+ "comments": "",
+ "x": 1358,
+ "y": 899.9999694824219,
+ "z": "b1905c0.2226628",
+ "wires": []
+ },
+ {
+ "id": "a7b0af3.7ac715",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1384,
+ "y": 1071.9999694824219,
+ "z": "b1905c0.2226628",
+ "wires": [
+ [
+ "18af9724.8ec0e1"
+ ]
+ ]
+ },
+ {
+ "id": "a1139f25.6746c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.25,
+ "y": 1166.6427917480469,
+ "z": "b1905c0.2226628",
+ "wires": [
+ [
+ "d91cb09e.e11ad8"
+ ]
+ ]
+ },
+ {
+ "id": "d91cb09e.e11ad8",
+ "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 Create vrf rest api\" />\n",
+ "comments": "",
+ "x": 1363,
+ "y": 1351.3929138183594,
+ "z": "b1905c0.2226628",
+ "wires": []
+ },
+ {
+ "id": "a2104e27.ed674",
+ "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": 692.96875,
+ "y": 992,
+ "z": "b1905c0.2226628",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18af9724.8ec0e1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1224,
+ "y": 1402.9999694824219,
+ "z": "b1905c0.2226628",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b1c0e49.45a8a8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1314,
+ "y": 1466.9999694824219,
+ "z": "b1905c0.2226628",
+ "wires": [
+ [
+ "b1419921.c878d"
+ ]
+ ]
+ },
+ {
+ "id": "b1419921.c878d",
+ "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 Create site rest api\" />\n",
+ "comments": "",
+ "x": 1343.75,
+ "y": 1524.7500915527344,
+ "z": "b1905c0.2226628",
+ "wires": []
+ },
+ {
+ "id": "b1d48b0e.d19db",
+ "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 Create vpn rest api\" />\n",
+ "comments": "",
+ "x": 1200,
+ "y": 1054.9999694824219,
+ "z": "b1905c0.2226628",
+ "wires": []
+ },
+ {
+ "id": "ced00609.d81b48",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1055,
+ "y": 1051.9999694824219,
+ "z": "b1905c0.2226628",
+ "wires": [
+ [
+ "b1d48b0e.d19db"
+ ]
+ ]
+ },
+ {
+ "id": "b676786f.1bea58",
+ "type": "set",
+ "name": "set vrf in network-data",
+ "xml": "<set>\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.network-input-parameters.param[$pidx].name' value='vrf1_id' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.network-input-parameters.param[$pidx].value' value='`$prop.l3vpn.vrf1-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.network-input-parameters.param[$pidx+1].name' value='vrf2_id' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.network-input-parameters.param[$pidx+1].value' value='`$prop.l3vpn.vrf2-id`d' />\n<parameter name='service-data.networks.network[$nidx].network_data.network-request-input.network-input-parameters.param_length' value='`$pidx+2`' />",
+ "comments": "",
+ "x": 705,
+ "y": 1420,
+ "z": "b1905c0.2226628",
+ "wires": []
+ },
+ {
+ "id": "c690b1cd.2300e8",
+ "type": "set",
+ "name": "set pidx",
+ "xml": "<set>\n<parameter name='pidx' value='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' />",
+ "comments": "",
+ "x": 704,
+ "y": 1377,
+ "z": "b1905c0.2226628",
+ "wires": []