Clean up A1 controller code
[nonrtric.git] / sdnc-a1-controller / oam / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json
diff --git a/sdnc-a1-controller/oam/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json b/sdnc-a1-controller/oam/platform-logic/generic-resource-api/src/main/json/sdwan/GENERIC-RESOURCE-API_sdwan-vf-operation-vpn-activate.json
deleted file mode 100644 (file)
index c1209fc..0000000
+++ /dev/null
@@ -1,547 +0,0 @@
-[\r
-    {\r
-        "id": "21e79fdd.0452",\r
-        "type": "dgstart",\r
-        "name": "DGSTART",\r
-        "outputs": 1,\r
-        "x": 172,\r
-        "y": 78,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "a56bff31.7def2"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a56bff31.7def2",\r
-        "type": "service-logic",\r
-        "name": "GENERIC-RESOURCE-API ${project.version}",\r
-        "module": "GENERIC-RESOURCE-API",\r
-        "version": "${project.version}",\r
-        "comments": "",\r
-        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
-        "outputs": 1,\r
-        "x": 251.28570556640625,\r
-        "y": 140.23810958862305,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "debd8cb4.849ed"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "debd8cb4.849ed",\r
-        "type": "method",\r
-        "name": "method sdwan-vf-operation-vpn-activate",\r
-        "xml": "<method rpc='sdwan-vf-operation-vpn-activate' mode='sync'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 263,\r
-        "y": 234.58634185791016,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "7513aa1e.16b4d4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7513aa1e.16b4d4",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 249.6666717529297,\r
-        "y": 419.6667137145996,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "f032d4b7.491cc8",\r
-                "67bb10ae.0e353",\r
-                "c1332488.62fde8",\r
-                "e39bef36.4698d",\r
-                "774b89d9.c41338",\r
-                "73b6f7ab.0d36d8",\r
-                "5ccac719.bf4388",\r
-                "ab39c2ec.e041d",\r
-                "83763572.db11e8",\r
-                "5e0a24cd.c963fc",\r
-                "5dbdc6ec.868d28",\r
-                "5048db5.9599324",\r
-                "a8022531.9687b8",\r
-                "6aeee675.ba6f48",\r
-                "139e4c0f.50ddb4",\r
-                "64534896.fa8bc8",\r
-                "8cf38aaa.8f6988"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "f032d4b7.491cc8",\r
-        "type": "call",\r
-        "name": "call GENERIC-RESOURCE-API:validate-sdwan-vf-vpn-input-parameters",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-sdwan-vf-vpn-input-parameters' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 789.6667633056641,\r
-        "y": 257.000159740448,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "c1332488.62fde8",\r
-        "type": "execute",\r
-        "name": "execute Properties",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 621.0312652587891,\r
-        "y": 345.03125,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "67bb10ae.0e353",\r
-        "type": "record",\r
-        "name": "record",\r
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"sdwan-network-topology-operation-activate\"/>\n<parameter name=\"field3\" value=\"SDWAN-Activate\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 585.7291412353516,\r
-        "y": 301.0312223434448,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "57e47be3.8054b4",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 908.454833984375,\r
-        "y": 395.0104079246521,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "d56b85ca.9481e8",\r
-                "d0693d28.80f9b"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d56b85ca.9481e8",\r
-        "type": "switchNode",\r
-        "name": "switch name",\r
-        "xml": "<switch test=\"`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'name'`\">\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1092.4549407958984,\r
-        "y": 357.0104351043701,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "2748734c.684fac"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2748734c.684fac",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1266.4550666809082,\r
-        "y": 357.0104389190674,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "6309dd22.f19b94"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6309dd22.f19b94",\r
-        "type": "set",\r
-        "name": "set name",\r
-        "xml": "<set>\n<parameter name='prop.name' value='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",\r
-        "comments": "",\r
-        "x": 1429.4549522399902,\r
-        "y": 356.6104335784912,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d0693d28.80f9b",\r
-        "type": "switchNode",\r
-        "name": "switch topology",\r
-        "xml": "<switch test=\"`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].name == 'topology'`\">\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1102.8714408874512,\r
-        "y": 404.67706394195557,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "8fb95e7a.24168"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8fb95e7a.24168",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1276.871566772461,\r
-        "y": 404.67706775665283,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "f7379751.d87ff8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "f7379751.d87ff8",\r
-        "type": "set",\r
-        "name": "set topology",\r
-        "xml": "<set>\n<parameter name='prop.topology' value='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$idx].value`' />\n",\r
-        "comments": "",\r
-        "x": 1439.871452331543,\r
-        "y": 404.27706241607666,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e39bef36.4698d",\r
-        "type": "for",\r
-        "name": "for each network-input-parameters",\r
-        "xml": "<for index='idx' start='0' end='`$ctx.vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 656.6214027404785,\r
-        "y": 404.6770553588867,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "57e47be3.8054b4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "139e4c0f.50ddb4",\r
-        "type": "get-resource",\r
-        "name": "get-resource esr-thirdparty-sdnc",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = 'SDWANController' AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 653.4549522399902,\r
-        "y": 531.0104274749756,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "3689f3fd.7221cc",\r
-                "d64da76b.209af8",\r
-                "17a9c1ef.c4208e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3689f3fd.7221cc",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 915.454833984375,\r
-        "y": 484.0104077756405,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "33d44e4e.88ac52"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d64da76b.209af8",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 918.94580078125,\r
-        "y": 531.5844434201717,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "210fb3c2.b65bac"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "17a9c1ef.c4208e",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 914.27880859375,\r
-        "y": 572.917756408453,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "7173d290.3a041c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "210fb3c2.b65bac",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "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",\r
-        "comments": "",\r
-        "x": 1095.5172119140625,\r
-        "y": 519.8701795041561,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7173d290.3a041c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "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",\r
-        "comments": "",\r
-        "x": 1102.0513648986816,\r
-        "y": 568.3569491803646,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "6aeee675.ba6f48",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode Get token",\r
-        "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.onap.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\"/>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 673.4548721313477,\r
-        "y": 650.0104312896729,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "4fc3faa9.6dc304",\r
-                "f1aacba9.1de118"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4fc3faa9.6dc304",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 917.454906463623,\r
-        "y": 627.0104379653931,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "16433351.3e777d"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "f1aacba9.1de118",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 909.704906463623,\r
-        "y": 680.6533212661743,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            [\r
-                "34937ca.3e30484"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "16433351.3e777d",\r
-        "type": "set",\r
-        "name": "set token-id",\r
-        "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
-        "comments": "",\r
-        "x": 1067.454833984375,\r
-        "y": 628.0104064941406,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "34937ca.3e30484",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "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",\r
-        "comments": "",\r
-        "x": 1062.454906463623,\r
-        "y": 680.4033823013306,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "33d44e4e.88ac52",\r
-        "type": "set",\r
-        "name": "set controller data",\r
-        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",\r
-        "comments": "",\r
-        "x": 1112.9548950195312,\r
-        "y": 472.0104077756405,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a8022531.9687b8",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode Create vpn",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-create.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/vpn'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 679.1942138671875,\r
-        "y": 763.6907243728638,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "774b89d9.c41338",\r
-        "type": "set",\r
-        "name": "set prop.vpn-id and prop.vpn1Id",\r
-        "xml": "<set>\n<parameter name='prop.vpn-id' value='`$vpn-result.success[0].id`' />\n<parameter name='prop.vpn1Id' value='`$vpn-result.success[0].id`' />\n",\r
-        "comments": "",\r
-        "x": 664.1944122314453,\r
-        "y": 817.6908464431763,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5048db5.9599324",\r
-        "type": "execute",\r
-        "name": "execute RestApiCallNode Create vpn topology",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sdwan-vpn-topology-create.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/campus/v1/sdwan/overlay-network/' + $prop.vpn-id + '/topology'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 706.6942138671875,\r
-        "y": 865.6906909942627,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "73b6f7ab.0d36d8",\r
-        "type": "set",\r
-        "name": "set  vpn-id to service-data",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].name' value='vpn-id' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length].value' value='`$prop.vpn-id`' />\n",\r
-        "comments": "",\r
-        "x": 639.9442138671875,\r
-        "y": 927.1906471252441,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5ccac719.bf4388",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "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",\r
-        "comments": "",\r
-        "x": 604.004020690918,\r
-        "y": 1257.504249572754,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "64534896.fa8bc8",\r
-        "type": "update",\r
-        "name": "update SDWAN VPN status to AAI",\r
-        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='sdwan-vpn' \n      key='sdwan-vpn.sdwan-vpn-id = $vf-module-topology-operation-input.vf-module-information.vf-module-id' >\n<parameter name='sdwan-vpn-id' value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n<parameter name='operational-status' value='Active' />\n<parameter name='tenanat-id' value='`$prop.tenant-id`' />\n<parameter name='vpn-id' value='`$prop.vpn-id`' />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 666.3337326049805,\r
-        "y": 1181.8739857673645,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "5e0a24cd.c963fc",\r
-        "type": "set",\r
-        "name": "set vf-module-level-oper-status",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.order-status'  value='Active' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-rpc-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-level-oper-status.last-action'  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />",\r
-        "comments": "",\r
-        "x": 662.96875,\r
-        "y": 1124.9688164917752,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "83763572.db11e8",\r
-        "type": "set",\r
-        "name": "set vf-module-id and vf-module-object-path",\r
-        "xml": "<set>\n<parameter name='vf-module-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vf-modules/vf-module/'\n + $vf-module-topology-operation-input.vf-module-information.vf-module-id\n + '/vf-module-data/vf-module-topology/'`\"/>\n<parameter name='vnf-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/vnfs/vnf/'\n + $service-data.vnfs.vnf[$vnf-index].vnf-id\n + '/vnf-data/vnf-topology/'`\"/>\n<parameter name='service-object-path'\n value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $vf-module-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n",\r
-        "comments": "",\r
-        "x": 696.96875,\r
-        "y": 1076.468815538101,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ab39c2ec.e041d",\r
-        "type": "set",\r
-        "name": "copy input data in service-data",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.sdnc-request-header.' value='`$vf-module-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.request-information.' value='`$vf-module-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.service-information.' value='`$vf-module-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-information.' value='`$vf-module-topology-operation-input.vf-module-information.`' />\n",\r
-        "comments": "",\r
-        "x": 660.9687042236328,\r
-        "y": 1028.7187700271606,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5dbdc6ec.868d28",\r
-        "type": "set",\r
-        "name": "set  param-length + 1",\r
-        "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$tmp.vidx].vf-module-data.vf-module-request-input.vf-module-input-parameters.param_length + 1`' />",\r
-        "comments": "",\r
-        "x": 635.9687824249268,\r
-        "y": 976.9688520431519,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8cf38aaa.8f6988",\r
-        "type": "call",\r
-        "name": "call sdwan-get-tenant-auth",\r
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-tenant-auth' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 655.00390625,\r
-        "y": 707.00390625,\r
-        "z": "1c1dd38f.89b8bc",\r
-        "wires": [\r
-            []\r
-        ]\r
-    }\r
-]
\ No newline at end of file