+ "name": "execute RestApiCallNode Create ethernet Service without token",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\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\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1670.52734375,\r
+ "y": 1548.040771484375,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "4ae2509c.7d19b8",\r
+ "72a042fd.6a9e5c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "28391a2c.3321fe",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 725,\r
+ "y": 663,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "6a811cc0.b174ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "51c3744a.753414",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2709,\r
+ "y": 860,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "796d1bdc.d65e9c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "672fc75a.1e91b",\r
+ "type": "set",\r
+ "name": "set tmp.unis.uni[].tpId",\r
+ "xml": "<set>\n<parameter name='tmp.unis.uni[0].id' value=\"`$vf-module-topology-operation-input.vf-module-information.vf-module-id`\" />\n<parameter name='tmp.unis.uni[0].tp-id' value=\"networkId-providerId-5555-clientId-6666-topologyId-11-nodeId-0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].access-provider-id' value=\"`$domain-A.provider-id`\" />\n<parameter name='tmp.unis.uni[0].access-client-id' value=\"`$domain-A.client-id`\" />\n<parameter name='tmp.unis.uni[0].access-topology-id' value=\"`$domain-A.topology-id`\" />\n<parameter name='tmp.unis.uni[0].access-node-id' value=\"0.190.0.1\" />\n<parameter name='tmp.unis.uni[0].src-access-ltp-id' value=\"1234\" />\n<parameter name='tmp.unis.uni[0].dst-access-ltp-id' value=\"5678\" />\n<parameter name='tmp.unis.uni[0].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni[1].id' value=\"5642e9dd-496c-4ef6-be97-5caf4e9beec9\" />\n<parameter name='tmp.unis.uni[1].tp-id' value=\"networkId-domain2-providerId-5555-clientId-6666-topologyId-11-nodeId-0.191.0.4\" />\n<parameter name='tmp.unis.uni[1].access-provider-id' value=\"`$domain-B.provider-id`\" />\n<parameter name='tmp.unis.uni[1].access-client-id' value=\"`$domain-B.client-id`\" />\n<parameter name='tmp.unis.uni[1].access-topology-id' value=\"`$domain-B.topology-id`\" />\n<parameter name='tmp.unis.uni[1].access-node-id' value=\"0.190.0.3\" />\n<parameter name='tmp.unis.uni[1].src-access-ltp-id' value=\"9123\" />\n<parameter name='tmp.unis.uni[1].dst-access-ltp-id' value=\"4567\" />\n<parameter name='tmp.unis.uni[1].network-id' value=\"domain2-providerId-5555-clientId-6666-topologyId-11\" />\n\n\n<parameter name='tmp.unis.uni_length' value=\"2\" />\n\n",\r
+ "comments": "",\r
+ "x": 655,\r
+ "y": 1015,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ae925256.a68df",\r
+ "type": "get-resource",\r
+ "name": "get network-resource",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"network-resource\" \n\t\tkey=\"network-resource.network-id = $oof.vpn.network-id\"\n pfx='tmp.aai.network-resource' local-only='false' >\n\n\n\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1128,\r
+ "y": 1024,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "23c084ce.22a7f4",\r
+ "d2d56dd3.d8df6",\r
+ "28e7be58.d60b6a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "23c084ce.22a7f4",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1323.5001220703125,\r
+ "y": 981,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "16ae77fe.3db2f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d2d56dd3.d8df6",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1315.5001220703125,\r
+ "y": 1036,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "8f6658aa.e556f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "28e7be58.d60b6a",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1320.5001220703125,\r
+ "y": 1093,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "5bc0d431.a1baf4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5bc0d431.a1baf4",\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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 1472.5001220703125,\r
+ "y": 1094,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8f6658aa.e556f8",\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 pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 1483.5001220703125,\r
+ "y": 1039,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "16ae77fe.3db2f",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1467.8824462890625,\r
+ "y": 978.6556701660156,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "1facb6e4.b004d9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1facb6e4.b004d9",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for index='ridx' start='0' end='`$tmp.aai.network-resource.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1682.8826904296875,\r
+ "y": 978.6597290039062,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "a5fdb89.17d6dc8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a5fdb89.17d6dc8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.network-resource.relationship-list.relationship[$ridx].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1908.8826904296875,\r
+ "y": 978.6597290039062,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "d4a46397.2bb99"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d4a46397.2bb99",\r
+ "type": "outcome",\r
+ "name": "esr-thirdparty-sdnc",\r
+ "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2115.0001220703125,\r
+ "y": 977,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "d4ec153c.0cdc78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d4ec153c.0cdc78",\r
+ "type": "set",\r
+ "name": "set prop.sdncRestApi.thirdpartySdnc.id",\r
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value=\"`$tmp.aai.network-resource.relationship-list.relationship[$ridx].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 2133,\r
+ "y": 1056,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8a87ece8.73f728",\r
+ "type": "get-resource",\r
+ "name": "get-resource uni",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"uni\" \n\t\tkey=\"uni.id = $tmp.aai.generic-vnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value\"\n pfx='tmp.aai.uni' local-only='false' >\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1802,\r
+ "y": 689,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "af655688.304b78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "af655688.304b78",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1974,\r
+ "y": 689,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": [\r
+ [\r
+ "91d7b892.85ea"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bc6860a4.74042",\r
+ "type": "set",\r
+ "name": "set tmp.unis.uni[]",\r
+ "xml": "<set>\n<!--<parameter name='`tmp.unis.uni[$vidx].tpId`' value=\"`$tmp.aai.src-pnf.relationship-list.relationship[$vidx].relationship-data[0].relationship-value`\" />-->\n\n<parameter name='`tmp.unis.uni[$vidx].`' value=\"`$tmp.aai.uni.`\" />\n",\r
+ "comments": "",\r
+ "x": 2299,\r
+ "y": 645,\r
+ "z": "9b26c8a0.a64c1",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "91d7b892.85ea",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>",\r
+ "atomic": "false",\r