-[{
- "id": "dbc4ca7a.fecf48",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 134.03125,
- "y": 92.03125,
- "z": "926fea0b.1d3458",
- "wires": [
- ["72a66a2c.06a7e4"]
- ]
-}, {
- "id": "72a66a2c.06a7e4",
- "type": "service-logic",
- "name": "GENERIC-RESOURCE-API ${project.version}",
- "module": "GENERIC-RESOURCE-API",
- "version": "${project.version}",
- "comments": "",
- "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}'>",
- "outputs": 1,
- "x": 346.03125381469727,
- "y": 164.0312671661377,
- "z": "926fea0b.1d3458",
- "wires": [
- ["95bab60a.026fe8"]
- ]
-}, {
- "id": "95bab60a.026fe8",
- "type": "method",
- "name": "wan-connection-topology-operation-activate",
- "xml": "<method rpc='wan-connection-topology-operation-activate' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 334.0313720703125,
- "y": 252.03125,
- "z": "926fea0b.1d3458",
- "wires": [
- ["a72b1cb5.05f3c"]
- ]
-}, {
- "id": "4e7970ad.4b5bd",
- "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": 1104.031894683838,
- "y": 341.0314643383026,
- "z": "926fea0b.1d3458",
- "wires": [
- []
- ]
-}, {
- "id": "bb98003a.a46ad",
- "type": "returnSuccess",
- "name": "return success",
- "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",
- "comments": "",
- "x": 944.0314121246338,
- "y": 2076.0316499471664,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "11b701bb.2b820e",
- "type": "block",
- "name": "general-activate-block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 728.5315265655518,
- "y": 1887.0314840078354,
- "z": "926fea0b.1d3458",
- "wires": [
- ["1aae4fc1.2393a", "bb98003a.a46ad"]
- ]
-}, {
- "id": "c812a520.767f78",
- "type": "for",
- "name": "for pidx..service-data.networks.network[]",
- "xml": "<for index='pidx' start='0' end='`$service-data.networks.network_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1210.5319442749023,
- "y": 508.0316289663315,
- "z": "926fea0b.1d3458",
- "wires": [
- ["3dac3b05.9ea764"]
- ]
-}, {
- "id": "3dac3b05.9ea764",
- "type": "switchNode",
- "name": "switch model-name",
- "xml": "<switch test=\"`$service-data.networks.network[$pidx].network-data.network-information.onap-model-information.model-name == $network-topology-operation-input.network-information.onap-model-information.model-name`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1563.5321006774902,
- "y": 289.0316313505173,
- "z": "926fea0b.1d3458",
- "wires": [
- ["bd71b64a.dfd5f8"]
- ]
-}, {
- "id": "bd71b64a.dfd5f8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1541.7822265625,
- "y": 340.0317043066025,
- "z": "926fea0b.1d3458",
- "wires": [
- ["5d88b06.fe5a35"]
- ]
-}, {
- "id": "5d88b06.fe5a35",
- "type": "set",
- "name": "set tmp.pidx and tmp.network-input-parameters",
- "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.network.' value='`$service-data.networks.network[$pidx].`' />\n<parameter name='tmp.network-input-parameters' value='`$service-data.networks.network[$pidx].network-data.network-request-input.network-input-parameters`' />\n<parameter name='tmp.found-network-input' value='true' />",
- "comments": "",
- "x": 1697.4006385803223,
- "y": 399.46041905879974,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "3bfb1023.2b523",
- "type": "set",
- "name": "set tmp.found-network-input",
- "xml": "<set>\n<parameter name='tmp.found-network-input' value='false' />",
- "comments": "",
- "x": 1135.5318870544434,
- "y": 425.03159844875336,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "1aae4fc1.2393a",
- "type": "switchNode",
- "name": "switch found-network-input",
- "xml": "<switch test=\"`$found-network-input`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1123.5316104888916,
- "y": 1762.0316737890244,
- "z": "926fea0b.1d3458",
- "wires": [
- ["6ed44d2a.fb0594", "18c7f98e.b212a6"]
- ]
-}, {
- "id": "6ed44d2a.fb0594",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1355.531702041626,
- "y": 1806.0318721532822,
- "z": "926fea0b.1d3458",
- "wires": [
- ["84ec40e9.c2c32"]
- ]
-}, {
- "id": "18c7f98e.b212a6",
- "type": "outcomeTrue",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1356.2816410064697,
- "y": 1764.03176343441,
- "z": "926fea0b.1d3458",
- "wires": [
- ["2811d502.22a33a"]
- ]
-}, {
- "id": "2811d502.22a33a",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Network input parameters not found\" />\n \n",
- "comments": "",
- "x": 1527.2816410064697,
- "y": 1772.031732916832,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "84ec40e9.c2c32",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 1093.031488418579,
- "y": 1918.0316585302353,
- "z": "926fea0b.1d3458",
- "wires": [
- ["61139e06.7aa2e", "8e8c51f4.d057d", "833ed1f4.d259"]
- ]
-}, {
- "id": "61139e06.7aa2e",
- "type": "for",
- "name": "for cidx..tmp.network.network-data.network-topology.network-parameters.network-parameter[]",
- "xml": "<for index='cidx' start='0' end='`$tmp.network.network-data.network-topology.network-parameters.network-parameter_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1542.031328201294,
- "y": 2004.0315145254135,
- "z": "926fea0b.1d3458",
- "wires": [
- ["d5a8b428.3ffe58"]
- ]
-}, {
- "id": "bb8655c6.320038",
- "type": "execute",
- "name": "execute RestApiCallNode Create wan-connection",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$tmp.templateFileName`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + $tmp.restapiUrl`\" />\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=\"restApi-result\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1568.2813835144043,
- "y": 2558.0317014455795,
- "z": "926fea0b.1d3458",
- "wires": [
- ["c0b7550d.f30fe8", "e19ff0cc.bd882", "9d57cbcd.803d08"]
- ]
-}, {
- "id": "4089b1d1.8eda5",
- "type": "switchNode",
- "name": "switch network-parameter-name == 'templateFileName'",
- "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'templateFileName'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1670.2815914154053,
- "y": 2109.031648993492,
- "z": "926fea0b.1d3458",
- "wires": [
- ["80cfb20d.84134"]
- ]
-}, {
- "id": "80cfb20d.84134",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2023.2817306518555,
- "y": 2113.0317224264145,
- "z": "926fea0b.1d3458",
- "wires": [
- ["17b7664a.d3b9ca"]
- ]
-}, {
- "id": "17b7664a.d3b9ca",
- "type": "set",
- "name": "set tmp.templateFileName",
- "xml": "<set>\n<parameter name='tmp.templateFileName' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.templateFileName-found' value='true' />",
- "comments": "",
- "x": 2224.2817611694336,
- "y": 2111.031723380089,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "8e8c51f4.d057d",
- "type": "set",
- "name": "set paras flags",
- "xml": "<set>\n<parameter name='tmp.restapiUrl-found' value='false' />\n<parameter name='tmp.restapiUser-found' value='false' />\n<parameter name='tmp.restapiPassword-found' value='false' />\n<parameter name='tmp.templateFileName-found' value='false' />\n<parameter name='tmp.thirdPartyAdaptorRpc-found' value='false' />",
- "comments": "",
- "x": 1329.0314960479736,
- "y": 1919.0315116643906,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "833ed1f4.d259",
- "type": "switchNode",
- "name": "switch thirdPartyAdaptorRpc-found == 'true'",
- "xml": "<switch test=\"`$tmp.thirdPartyAdaptorRpc-found == 'true'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1321.0312728881836,
- "y": 2365.031446814537,
- "z": "926fea0b.1d3458",
- "wires": [
- ["575d5dfb.34fe94", "2377fd44.1eedc2"]
- ]
-}, {
- "id": "d5a8b428.3ffe58",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1307.031436920166,
- "y": 2111.0313848257065,
- "z": "926fea0b.1d3458",
- "wires": [
- ["4089b1d1.8eda5", "e7566aa5.849bc8", "e1dac9e1.6143b8", "43cfa6be.6eb688"]
- ]
-}, {
- "id": "575d5dfb.34fe94",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1583.03129196167,
- "y": 2327.031383872032,
- "z": "926fea0b.1d3458",
- "wires": [
- ["4cc416ef.c63548"]
- ]
-}, {
- "id": "2377fd44.1eedc2",
- "type": "outcomeTrue",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1584.0312423706055,
- "y": 2393.0313485860825,
- "z": "926fea0b.1d3458",
- "wires": [
- ["9704be28.3f558"]
- ]
-}, {
- "id": "4cc416ef.c63548",
- "type": "call",
- "name": "call thirdPartyAdaptorRpc",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$tmp.thirdPartyAdaptorRpc`' mode='sync' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1803.0313339233398,
- "y": 2328.03144299984,
- "z": "926fea0b.1d3458",
- "wires": [
- ["f46c32a6.383aa", "14327ee.aa1c281", "bbf59025.2f53"]
- ]
-}, {
- "id": "9704be28.3f558",
- "type": "switchNode",
- "name": "switch all-found == 'true'",
- "xml": "<switch test=\"`$tmp.prop.thirdpartySdnc-found == 'true' and $tmp.templateFileName-found == 'true' and `$tmp.prop.restapiUrl-found == 'true'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1460.4821796417236,
- "y": 2483.0379165410995,
- "z": "926fea0b.1d3458",
- "wires": [
- ["b0b06b48.a5b488", "aeb8dbbb.1a88b8"]
- ]
-}, {
- "id": "b0b06b48.a5b488",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1711.4821643829346,
- "y": 2481.037712454796,
- "z": "926fea0b.1d3458",
- "wires": [
- ["bb8655c6.320038"]
- ]
-}, {
- "id": "e7566aa5.849bc8",
- "type": "switchNode",
- "name": "switch network-parameter-name == 'thirdPartyAdaptorRpc'",
- "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'thirdPartyAdaptorRpc'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1663.0378608703613,
- "y": 2199.038031935692,
- "z": "926fea0b.1d3458",
- "wires": [
- ["6b611a9.1a25de4"]
- ]
-}, {
- "id": "6b611a9.1a25de4",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1996.03812789917,
- "y": 2202.0380758047104,
- "z": "926fea0b.1d3458",
- "wires": [
- ["af5f0328.41cb9"]
- ]
-}, {
- "id": "af5f0328.41cb9",
- "type": "set",
- "name": "set tmp.thirdPartyAdaptorRpc",
- "xml": "<set>\n<parameter name='tmp.thirdPartyAdaptorRpc' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.thirdPartyAdaptorRpc-found' value='true' />",
- "comments": "",
- "x": 2217.0380306243896,
- "y": 2201.0381063222885,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "bbf59025.2f53",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2134.037733078003,
- "y": 2368.3710893392563,
- "z": "926fea0b.1d3458",
- "wires": [
- ["5e9bef51.b04f9"]
- ]
-}, {
- "id": "14327ee.aa1c281",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2125.0377826690674,
- "y": 2336.871115088463,
- "z": "926fea0b.1d3458",
- "wires": [
- ["5e9bef51.b04f9"]
- ]
-}, {
- "id": "f46c32a6.383aa",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2128.78782081604,
- "y": 2307.22821996361,
- "z": "926fea0b.1d3458",
- "wires": [
- ["2554668a.ceb99a"]
- ]
-}, {
- "id": "5e9bef51.b04f9",
- "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 calling ' + $tmp.thirdPartyAdaptorRpc`\" />\n",
- "comments": "",
- "x": 2303.7878017425537,
- "y": 2359.621233344078,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "2554668a.ceb99a",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2270.4437885284424,
- "y": 2303.4203891530633,
- "z": "926fea0b.1d3458",
- "wires": [
- []
- ]
-}, {
- "id": "9d57cbcd.803d08",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1898.0378074645996,
- "y": 2593.370793700218,
- "z": "926fea0b.1d3458",
- "wires": [
- ["a1110583.4c1b78"]
- ]
-}, {
- "id": "e19ff0cc.bd882",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1889.037857055664,
- "y": 2561.8708194494247,
- "z": "926fea0b.1d3458",
- "wires": [
- ["a1110583.4c1b78"]
- ]
-}, {
- "id": "c0b7550d.f30fe8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1892.7878952026367,
- "y": 2532.227924324572,
- "z": "926fea0b.1d3458",
- "wires": [
- ["723c84de.ada1cc"]
- ]
-}, {
- "id": "a1110583.4c1b78",
- "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 calling ' + $tmp.restapiUrl`\" />\n",
- "comments": "",
- "x": 2055.7879219055176,
- "y": 2578.620891928673,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "723c84de.ada1cc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2034.443862915039,
- "y": 2528.420093514025,
- "z": "926fea0b.1d3458",
- "wires": [
- []
- ]
-}, {
- "id": "aeb8dbbb.1a88b8",
- "type": "outcomeTrue",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1862.7043704986572,
- "y": 2448.482018828392,
- "z": "926fea0b.1d3458",
- "wires": [
- ["f8bc7d52.d6dd5"]
- ]
-}, {
- "id": "f8bc7d52.d6dd5",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: 3rd party controller restapiUrl not found\" />\n \n",
- "comments": "",
- "x": 2033.7043704986572,
- "y": 2456.481988310814,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "a72b1cb5.05f3c",
- "type": "execute",
- "name": "contains specification",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"specification\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 231.03120040893555,
- "y": 374.03507936000824,
- "z": "926fea0b.1d3458",
- "wires": [
- ["889cb67a.4a45c8", "2194eb01.d99b44"]
- ]
-}, {
- "id": "889cb67a.4a45c8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 467.03123474121094,
- "y": 372.03507125377655,
- "z": "926fea0b.1d3458",
- "wires": [
- ["ce0b82c8.e7218"]
- ]
-}, {
- "id": "2194eb01.d99b44",
- "type": "outcomeTrue",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 170.03128814697266,
- "y": 597.035244345665,
- "z": "926fea0b.1d3458",
- "wires": [
- ["f8dcacdf.a6eb7"]
- ]
-}, {
- "id": "e74616dd.2ed7f8",
- "type": "execute",
- "name": "contains FC",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FC\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 501.03129959106445,
- "y": 681.0351728200912,
- "z": "926fea0b.1d3458",
- "wires": [
- ["c1e8fe64.ca4a9", "c4d599f8.5e9608"]
- ]
-}, {
- "id": "c4d599f8.5e9608",
- "type": "outcomeTrue",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 146.03127670288086,
- "y": 1029.0352452993393,
- "z": "926fea0b.1d3458",
- "wires": [
- ["321c63b.c8d039c"]
- ]
-}, {
- "id": "321c63b.c8d039c",
- "type": "execute",
- "name": "contains FD",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FD\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 355.03126525878906,
- "y": 1025.0352238416672,
- "z": "926fea0b.1d3458",
- "wires": [
- ["84b52686.b454a8", "95140b58.666a48"]
- ]
-}, {
- "id": "95140b58.666a48",
- "type": "outcomeTrue",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 137.99998092651367,
- "y": 1101.0038818120956,
- "z": "926fea0b.1d3458",
- "wires": [
- ["816059eb.09e168"]
- ]
-}, {
- "id": "816059eb.09e168",
- "type": "execute",
- "name": "contains FcPort",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FcPort\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 346.99997329711914,
- "y": 1098.0039104223251,
- "z": "926fea0b.1d3458",
- "wires": [
- ["4edca0e1.34768", "2171b9cc.48bf96"]
- ]
-}, {
- "id": "c1e8fe64.ca4a9",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 683.0313034057617,
- "y": 682.0351561307907,
- "z": "926fea0b.1d3458",
- "wires": [
- ["6e6cf945.de71a8"]
- ]
-}, {
- "id": "84b52686.b454a8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 927.0314331054688,
- "y": 1027.035410284996,
- "z": "926fea0b.1d3458",
- "wires": [
- ["11b701bb.2b820e"]
- ]
-}, {
- "id": "4edca0e1.34768",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 542.000057220459,
- "y": 1100.003942847252,
- "z": "926fea0b.1d3458",
- "wires": [
- ["1b21b11e.20ccaf"]
- ]
-}, {
- "id": "2171b9cc.48bf96",
- "type": "outcomeTrue",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 99.03140258789062,
- "y": 1342.0355266332626,
- "z": "926fea0b.1d3458",
- "wires": [
- ["9a67ff91.b1e45"]
- ]
-}, {
- "id": "9a67ff91.b1e45",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 387.0001029968262,
- "y": 1341.0042842626572,
- "z": "926fea0b.1d3458",
- "wires": [
- ["7b057224.2aa75c"]
- ]
-}, {
- "id": "ce0b82c8.e7218",
- "type": "returnSuccess",
- "name": "return success",
- "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",
- "comments": "",
- "x": 731.0585975646973,
- "y": 368.06244599819183,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "7b057224.2aa75c",
- "type": "returnSuccess",
- "name": "return success",
- "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",
- "comments": "",
- "x": 594.0587425231934,
- "y": 1338.0627368688583,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "1b21b11e.20ccaf",
- "type": "execute",
- "name": "contains sitewan",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"sitewan\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 735.0275611877441,
- "y": 1101.031530737877,
- "z": "926fea0b.1d3458",
- "wires": [
- ["52df494.201adb8", "dbee71dc.d74f"]
- ]
-}, {
- "id": "52df494.201adb8",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 930.027645111084,
- "y": 1103.0315631628036,
- "z": "926fea0b.1d3458",
- "wires": [
- ["11b701bb.2b820e"]
- ]
-}, {
- "id": "dbee71dc.d74f",
- "type": "outcomeTrue",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 483.02745056152344,
- "y": 1255.0313781499863,
- "z": "926fea0b.1d3458",
- "wires": [
- ["9a67ff91.b1e45"]
- ]
-}, {
- "id": "6e6cf945.de71a8",
- "type": "execute",
- "name": "contains sotn",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"sotn\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 851.0312881469727,
- "y": 682.035093665123,
- "z": "926fea0b.1d3458",
- "wires": [
- ["b8e3e9e8.4dd418", "371abc25.a00424"]
- ]
-}, {
- "id": "b8e3e9e8.4dd418",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1056.781349182129,
- "y": 681.035072684288,
- "z": "926fea0b.1d3458",
- "wires": [
- ["61103774.7c2958"]
- ]
-}, {
- "id": "371abc25.a00424",
- "type": "outcomeTrue",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 922.7814674377441,
- "y": 970.0351947546005,
- "z": "926fea0b.1d3458",
- "wires": [
- ["11b701bb.2b820e"]
- ]
-}, {
- "id": "d0dc2867.7aac48",
- "type": "for",
- "name": "for sIdx..service-data.networks.network[]",
- "xml": "<for index='sIdx' start='0' end='`$service-data.networks.network_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1968.059326171875,
- "y": 729.0627163648605,
- "z": "926fea0b.1d3458",
- "wires": [
- ["10a3d4d5.ede31b"]
- ]
-}, {
- "id": "8aee33e1.e59d9",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2503.0594062805176,
- "y": 669.0628918409348,
- "z": "926fea0b.1d3458",
- "wires": [
- ["9a9356f4.363c08"]
- ]
-}, {
- "id": "fe450b4f.38cbb8",
- "type": "set",
- "name": "set tmp.pidx and tmp.network-input-parameters",
- "xml": "<set>\n<parameter name='tmp.sotnFcPortList[`$sotnFcPortListLength`]' value='`$sIdx`' />",
- "comments": "",
- "x": 2593.6787147521973,
- "y": 838.4922603368759,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "10a3d4d5.ede31b",
- "type": "execute",
- "name": "contains sotn",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$service-data.networks.network[$sIdx].network-data.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"sotn\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2340.0593223571777,
- "y": 670.0627735853195,
- "z": "926fea0b.1d3458",
- "wires": [
- ["8aee33e1.e59d9"]
- ]
-}, {
- "id": "9a9356f4.363c08",
- "type": "execute",
- "name": "contains FcPort",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$service-data.networks.network[$sIdx].network-data.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FcPort\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2344.059284210205,
- "y": 724.0629585981369,
- "z": "926fea0b.1d3458",
- "wires": [
- ["2c54cd4f.4c8bf2"]
- ]
-}, {
- "id": "f8dcacdf.a6eb7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 333.0586624145508,
- "y": 599.0624669790268,
- "z": "926fea0b.1d3458",
- "wires": [
- ["e74616dd.2ed7f8", "3a764e2f.ce3ce2"]
- ]
-}, {
- "id": "3a764e2f.ce3ce2",
- "type": "block",
- "name": "find-network-data-block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 609.027530670166,
- "y": 510.6980298757553,
- "z": "926fea0b.1d3458",
- "wires": [
- ["4e7970ad.4b5bd", "3bfb1023.2b523", "c812a520.767f78"]
- ]
-}, {
- "id": "2c54cd4f.4c8bf2",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2512.0592079162598,
- "y": 721.0627983808517,
- "z": "926fea0b.1d3458",
- "wires": [
- ["c9838804.3271d8"]
- ]
-}, {
- "id": "f025ca00.b1be48",
- "type": "block",
- "name": "find-sotn-fc-port-block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1540.0592346191406,
- "y": 680.0626581907272,
- "z": "926fea0b.1d3458",
- "wires": [
- ["d0dc2867.7aac48", "3f4a3ecb.0378b2"]
- ]
-}, {
- "id": "3f4a3ecb.0378b2",
- "type": "set",
- "name": "set sotnFcPortListLength",
- "xml": "<set>\n<parameter name='sotnFcPortListLength' value='0' />",
- "comments": "",
- "x": 1909.0587921142578,
- "y": 621.0627483129501,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "c9838804.3271d8",
- "type": "block",
- "name": "find-OOF-input-block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2390.5591468811035,
- "y": 775.0626882314682,
- "z": "926fea0b.1d3458",
- "wires": [
- ["fe450b4f.38cbb8", "d2affa42.51fb78"]
- ]
-}, {
- "id": "d2affa42.51fb78",
- "type": "for",
- "name": "for sIdx..network-input-parameters[]",
- "xml": "<for index='paramIdx' start='0' end='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2569.0589027404785,
- "y": 890.0628179311752,
- "z": "926fea0b.1d3458",
- "wires": [
- ["eb3ac434.e3fe48"]
- ]
-}, {
- "id": "eb3ac434.e3fe48",
- "type": "execute",
- "name": "contains address",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param[$paramIdx].name`\"/>\n <parameter name=\"target\" value=\"address\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2537.558811187744,
- "y": 943.0626500844955,
- "z": "926fea0b.1d3458",
- "wires": [
- ["7ce26fd1.8df38"]
- ]
-}, {
- "id": "7ce26fd1.8df38",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2719.5589332580566,
- "y": 943.0626500844955,
- "z": "926fea0b.1d3458",
- "wires": [
- ["c085ea30.cd5968"]
- ]
-}, {
- "id": "a47015e8.cb0ee8",
- "type": "set",
- "name": "set sotnFcPortAddress",
- "xml": "<set>\n<parameter name='sotnFcPortAddress' value='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param[$paramIdx].value`' />",
- "comments": "",
- "x": 2777.5603942871094,
- "y": 1056.0630768537521,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "c085ea30.cd5968",
- "type": "block",
- "name": "get-OOF-input-block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2586.5589637756348,
- "y": 1001.0628217458725,
- "z": "926fea0b.1d3458",
- "wires": [
- ["a47015e8.cb0ee8", "1e310231.0de11e"]
- ]
-}, {
- "id": "c68e0fa0.942c8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2802.0600090026855,
- "y": 1178.0625947713852,
- "z": "926fea0b.1d3458",
- "wires": [
- ["87931697.ce9668"]
- ]
-}, {
- "id": "1e310231.0de11e",
- "type": "execute",
- "name": "execute RestApiCallNode - get access Tp from OSS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value=\"`$prop.oss.url + '/oss/inventory?location=' + $sotnFcPortAddress`\"/>\n <parameter name='format' value='json' />\n <parameter name='customHttpHeaders' value=\"X-FromAppId=MSO\" />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"temp.oss.accessTPs\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2899.0589332580566,
- "y": 1115.062528014183,
- "z": "926fea0b.1d3458",
- "wires": [
- ["c68e0fa0.942c8"]
- ]
-}, {
- "id": "87931697.ce9668",
- "type": "switchNode",
- "name": "switch temp.oss.accessTPs_length",
- "xml": "<switch test=\"`$temp.oss.accessTPs_length`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 3098.0591163635254,
- "y": 1177.0625051259995,
- "z": "926fea0b.1d3458",
- "wires": [
- ["7d124bb0.ba2c74"]
- ]
-}, {
- "id": "7d124bb0.ba2c74",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3362.560386657715,
- "y": 1176.0627821683884,
- "z": "926fea0b.1d3458",
- "wires": [
- ["50e1d009.293c"]
- ]
-}, {
- "id": "c6383260.ec986",
- "type": "set",
- "name": "set temp.accessTPs_length",
- "xml": "<set>\n<parameter name='temp.accessTPs_length' value='`$temp.accessTPs_length + $temp.oss.accessTPs_length`' />\n\n",
- "comments": "",
- "x": 3308.060012817383,
- "y": 1442.0589436292648,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "50e1d009.293c",
- "type": "block",
- "name": "copy-accessTPs-block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2962.808380126953,
- "y": 1265.058205485344,
- "z": "926fea0b.1d3458",
- "wires": [
- ["c6383260.ec986", "9cdee8cd.2dbad8", "d76eb76d.375dc8"]
- ]
-}, {
- "id": "9cdee8cd.2dbad8",
- "type": "switchNode",
- "name": "switch temp.accessTPs_length",
- "xml": "<switch test='`$temp.accessTPs_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3346.558334350586,
- "y": 1267.0580424070358,
- "z": "926fea0b.1d3458",
- "wires": [
- ["ddd28ed8.0b65e", "1b7da2eb.0351cd"]
- ]
-}, {
- "id": "ddd28ed8.0b65e",
- "type": "other",
- "name": "Null",
- "xml": "<outcome value=''>\n",
- "comments": "",
- "outputs": 1,
- "x": 3572.5581855773926,
- "y": 1242.0579699277878,
- "z": "926fea0b.1d3458",
- "wires": [
- ["884aab61.79c368"]
- ]
-}, {
- "id": "884aab61.79c368",
- "type": "set",
- "name": "set tp_length",
- "xml": "<set>\n<parameter name='tp_length' value='0' />",
- "comments": "",
- "x": 3759.05802154541,
- "y": 1240.0579756791703,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "1b7da2eb.0351cd",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3568.558151245117,
- "y": 1297.058015704155,
- "z": "926fea0b.1d3458",
- "wires": [
- ["aab633d0.c1e13"]
- ]
-}, {
- "id": "aab633d0.c1e13",
- "type": "set",
- "name": "set tp_length",
- "xml": "<set>\n<parameter name='tp_length' value='`$temp.accessTPs_length`' />",
- "comments": "",
- "x": 3757.308090209961,
- "y": 1297.058000445366,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "d76eb76d.375dc8",
- "type": "for",
- "name": "for each existing temp.oss.accessTPs",
- "xml": "<for index='idx' start='0' end='`$temp.oss.accessTPs_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 3348.3087768554688,
- "y": 1365.0581473112106,
- "z": "926fea0b.1d3458",
- "wires": [
- ["ee87558c.d153c8"]
- ]
-}, {
- "id": "ee87558c.d153c8",
- "type": "set",
- "name": "set temp.accessTPs",
- "xml": "<set>\n<parameter name='`temp.accessTPs[$idx + $tp_length].`' value='`$temp.oss.accessTPs[$idx].`' />",
- "comments": "",
- "x": 3716.3086700439453,
- "y": 1366.0582951307297,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "61103774.7c2958",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1226.0586776733398,
- "y": 679.0624278783798,
- "z": "926fea0b.1d3458",
- "wires": [
- ["f025ca00.b1be48", "45d2bc6f.d74144"]
- ]
-}, {
- "id": "3397eec.96a2812",
- "type": "execute",
- "name": "execute RestApiCallNode getPath from OOF",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1952.5589714050293,
- "y": 1317.0627564191818,
- "z": "926fea0b.1d3458",
- "wires": [
- ["44889bda.c6f5b4", "b5ee75d7.fdc598"]
- ]
-}, {
- "id": "b5ee75d7.fdc598",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2281.558624267578,
- "y": 1297.0628241300583,
- "z": "926fea0b.1d3458",
- "wires": [
- []
- ]
-}, {
- "id": "44889bda.c6f5b4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2282.558837890625,
- "y": 1348.0627335309982,
- "z": "926fea0b.1d3458",
- "wires": [
- ["a7b63c93.b232"]
- ]
-}, {
- "id": "45d2bc6f.d74144",
- "type": "switchNode",
- "name": "switch temp.accessTPs_length",
- "xml": "<switch test=\"`$temp.accessTPs_length >= 2`\">\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1607.558650970459,
- "y": 1072.0625962018967,
- "z": "926fea0b.1d3458",
- "wires": [
- ["1fe1fd41.188173"]
- ]
-}, {
- "id": "1fe1fd41.188173",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1839.0589485168457,
- "y": 1071.0624426603317,
- "z": "926fea0b.1d3458",
- "wires": [
- ["6afbb95f.22fc18"]
- ]
-}, {
- "id": "6afbb95f.22fc18",
- "type": "block",
- "name": "call-oof-block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1583.0585975646973,
- "y": 1208.0625027418137,
- "z": "926fea0b.1d3458",
- "wires": [
- ["3397eec.96a2812", "3bd5ae29.6c4052"]
- ]
-}, {
- "id": "3bd5ae29.6c4052",
- "type": "set",
- "name": "set oof input",
- "xml": "<set>\n<parameter name='prop.connection-attachment.access-topology-id' value='`$temp.accessTPs[0].access-topology-id`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$temp.accessTPs[0].access-client-id`' />\n<parameter name='prop.connection-attachment.access-provider-id' value='`$temp.accessTPs[0].access-provider-id`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$temp.accessTPs[0].access-node-id`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$temp.accessTPs[0].access-ltp-id`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$temp.accessTPs[1].access-topology-id`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$temp.accessTPs[1].access-client-id`' />\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$temp.accessTPs[1].access-provider-id`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$temp.accessTPs[1].access-node-id`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$temp.accessTPs[1].access-ltp-id`' />",
- "comments": "",
- "x": 1839.5586738586426,
- "y": 1212.0624779462814,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "e5744234.46142",
- "type": "execute",
- "name": "execute RestApiCallNode Create Sotn connectivity Service",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-api-ConnectivityService.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-ConnectivityService:create-connectivity-service'`\" />\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=\"responsePrefix\" value=\"vpn-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2808.694080352783,
- "y": 1838.0313729047775,
- "z": "926fea0b.1d3458",
- "wires": [
- ["535d5b4b.9b7f24", "2e0febd4.c0f1c4"]
- ]
-}, {
- "id": "535d5b4b.9b7f24",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3146.6938972473145,
- "y": 1868.0314563512802,
- "z": "926fea0b.1d3458",
- "wires": [
- ["dd3310d7.09a74"]
- ]
-}, {
- "id": "dd3310d7.09a74",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3294.6938972473145,
- "y": 1866.0313342809677,
- "z": "926fea0b.1d3458",
- "wires": [
- []
- ]
-}, {
- "id": "f9b75d98.9e7f2",
- "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": 3276.6939277648926,
- "y": 1813.0313943624496,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "2e0febd4.c0f1c4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3137.693836212158,
- "y": 1813.0313943624496,
- "z": "926fea0b.1d3458",
- "wires": [
- ["f9b75d98.9e7f2"]
- ]
-}, {
- "id": "a7b63c93.b232",
- "type": "for",
- "name": "for vidx..oof.vpns_length[]",
- "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",
- "comments": "",
- "outputs": 1,
- "x": 2386.697696685791,
- "y": 1526.5348581075668,
- "z": "926fea0b.1d3458",
- "wires": [
- ["eeab1f45.5ad4e"]
- ]
-}, {
- "id": "eeab1f45.5ad4e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 2499.8150596618652,
- "y": 1626.3748730421066,
- "z": "926fea0b.1d3458",
- "wires": [
- ["6c8bea50.c3a084", "c15d913b.304b6", "e5744234.46142", "410e9e0d.02dd6"]
- ]
-}, {
- "id": "cfda9d38.b58d3",
- "type": "set",
- "name": "set controller data",
- "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",
- "comments": "",
- "x": 3141.25972366333,
- "y": 1690.7080653905869,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "c15d913b.304b6",
- "type": "get-resource",
- "name": "get-resource esr-thirdparty-sdnc",
- "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 = $tmp.thirdparty-sdnc-id AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2757.7596321105957,
- "y": 1727.7080048322678,
- "z": "926fea0b.1d3458",
- "wires": [
- ["13cbf9b9.b81a66", "bc1574ec.7fa5e8", "ad0c242.b566ad8"]
- ]
-}, {
- "id": "13cbf9b9.b81a66",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2977.759567260742,
- "y": 1691.7079738378525,
- "z": "926fea0b.1d3458",
- "wires": [
- ["cfda9d38.b58d3"]
- ]
-}, {
- "id": "bc1574ec.7fa5e8",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2987.2505073547363,
- "y": 1732.28197991848,
- "z": "926fea0b.1d3458",
- "wires": [
- ["6527879e.b615e8"]
- ]
-}, {
- "id": "ad0c242.b566ad8",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2982.583484649658,
- "y": 1768.6152929067612,
- "z": "926fea0b.1d3458",
- "wires": [
- ["85d611b.775aaf"]
- ]
-}, {
- "id": "6527879e.b615e8",
- "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=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
- "comments": "",
- "x": 3133.8218574523926,
- "y": 1728.5678066015244,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "85d611b.775aaf",
- "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=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",
- "comments": "",
- "x": 3137.356128692627,
- "y": 1770.05444085598,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "6c8bea50.c3a084",
- "type": "get-resource",
- "name": "get-resource pnf",
- "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2703.2595252990723,
- "y": 1636.7076486349106,
- "z": "926fea0b.1d3458",
- "wires": [
- ["361f5e9d.140af2", "4cf0f707.e6c778", "6db6cec3.b72d2"]
- ]
-}, {
- "id": "361f5e9d.140af2",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2885.2595710754395,
- "y": 1581.7077587842941,
- "z": "926fea0b.1d3458",
- "wires": [
- ["71ac1295.fb6b8c"]
- ]
-}, {
- "id": "4cf0f707.e6c778",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2885.750473022461,
- "y": 1619.2818554639816,
- "z": "926fea0b.1d3458",
- "wires": [
- ["c8a04464.0d92e8"]
- ]
-}, {
- "id": "6db6cec3.b72d2",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2877.083484649658,
- "y": 1652.6152304410934,
- "z": "926fea0b.1d3458",
- "wires": [
- ["2ba90495.cc80ec"]
- ]
-}, {
- "id": "c8a04464.0d92e8",
- "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=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
- "comments": "",
- "x": 3033.3220977783203,
- "y": 1618.5677441358566,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "2ba90495.cc80ec",
- "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=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",
- "comments": "",
- "x": 3030.856128692627,
- "y": 1652.0543783903122,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "71ac1295.fb6b8c",
- "type": "set",
- "name": "set tmp.thirdparty-sdnc-id",
- "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",
- "comments": "",
- "x": 3070.2595710754395,
- "y": 1580.7078808546066,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "410e9e0d.02dd6",
- "type": "set",
- "name": "set oof.vpn",
- "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",
- "comments": "",
- "x": 2695.2595176696777,
- "y": 1525.8187206983566,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "e1dac9e1.6143b8",
- "type": "switchNode",
- "name": "switch network-parameter-name == 'thirdPartySdncId'",
- "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'thirdPartySdncId'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1656.3606433868408,
- "y": 2064.0312827825546,
- "z": "926fea0b.1d3458",
- "wires": [
- ["97e55015.0cef1"]
- ]
-}, {
- "id": "97e55015.0cef1",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1987.5585746765137,
- "y": 2065.0622037649155,
- "z": "926fea0b.1d3458",
- "wires": [
- ["4f5ce339.2f4b7c"]
- ]
-}, {
- "id": "4f5ce339.2f4b7c",
- "type": "get-resource",
- "name": "get-resource esr-thirdparty-sdnc",
- "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 = `$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value` AND \n\t\t depth = '1'\"\n pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2252.559513092041,
- "y": 2063.0622037649155,
- "z": "926fea0b.1d3458",
- "wires": [
- ["2b9c64e4.ee151c", "847e4996.04f018", "b0a7e0c2.d0f99"]
- ]
-}, {
- "id": "2b9c64e4.ee151c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2514.5593185424805,
- "y": 2007.0620158910751,
- "z": "926fea0b.1d3458",
- "wires": [
- ["760fc6b6.ea2d48"]
- ]
-}, {
- "id": "760fc6b6.ea2d48",
- "type": "set",
- "name": "set controller data",
- "xml": "<set>\n<parameter name='prop.thirdpartySdnc-found' value='true' />\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",
- "comments": "",
- "x": 2712.0593795776367,
- "y": 1995.0620158910751,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "847e4996.04f018",
- "type": "not-found",
- "name": "not-found",
- "xml": "<outcome value='not-found'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2546.0501823425293,
- "y": 2055.636119246483,
- "z": "926fea0b.1d3458",
- "wires": [
- ["d47f6331.80419"]
- ]
-}, {
- "id": "b0a7e0c2.d0f99",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2541.3831901550293,
- "y": 2096.969432234764,
- "z": "926fea0b.1d3458",
- "wires": [
- ["d47f6331.80419"]
- ]
-}, {
- "id": "d47f6331.80419",
- "type": "set",
- "name": "set controller data",
- "xml": "<set>\n<parameter name='prop.thirdpartySdnc-found' value='false' />\n",
- "comments": "",
- "x": 2753.0585975646973,
- "y": 2074.062201857567,
- "z": "926fea0b.1d3458",
- "wires": []
-}, {
- "id": "43cfa6be.6eb688",
- "type": "switchNode",
- "name": "switch network-parameter-name == 'restapiUrl'",
- "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'restapiUrl'`\">\n",
- "comments": "",
- "outputs": 1,
- "x": 1629.5584564208984,
- "y": 2156.0620836019516,
- "z": "926fea0b.1d3458",
- "wires": [
- ["24fb19a9.1d22f6"]
- ]
-}, {
- "id": "24fb19a9.1d22f6",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1971.5585670471191,
- "y": 2154.0622066259384,
- "z": "926fea0b.1d3458",
- "wires": [
- ["cdaeb398.e7393"]
- ]
-}, {
- "id": "cdaeb398.e7393",
- "type": "set",
- "name": "set tmp.templateFileName",
- "xml": "<set>\n<parameter name='tmp.restapiUrl' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.restapiUrl-found' value='true' />",
- "comments": "",
- "x": 2215.558645248413,
- "y": 2158.0622762441635,
- "z": "926fea0b.1d3458",
- "wires": []
-}]
\ No newline at end of file
+[\r
+ {\r
+ "id": "8767ab0f.543578",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 148,\r
+ "y": 87,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "698e742e.c0c12c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "698e742e.c0c12c",\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": 360.00000381469727,\r
+ "y": 159.0000171661377,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "67da1893.8beb7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "67da1893.8beb7",\r
+ "type": "method",\r
+ "name": "wan-connection-topology-operation-activate",\r
+ "xml": "<method rpc='wan-connection-topology-operation-activate' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 348.0001220703125,\r
+ "y": 247,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "df36daae.e4fbe8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "36c8a58a.9d63e2",\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": 1118.000644683838,\r
+ "y": 336.0002143383026,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a2144cbb.d1313",\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": 958.0001621246338,\r
+ "y": 2071.0003999471664,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e2c40f6d.1a829",\r
+ "type": "block",\r
+ "name": "general-activate-block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 742.5002765655518,\r
+ "y": 1882.0002340078354,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d1306558.ef415",\r
+ "a2144cbb.d1313"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a0b2af34.11b31",\r
+ "type": "for",\r
+ "name": "for pidx..service-data.networks.network[]",\r
+ "xml": "<for index='pidx' start='0' end='`$service-data.networks.network_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1224.5006942749023,\r
+ "y": 503.0003789663315,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "4231a565.2f5124"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4231a565.2f5124",\r
+ "type": "switchNode",\r
+ "name": "switch model-name",\r
+ "xml": "<switch test=\"`$service-data.networks.network[$pidx].network-data.network-information.onap-model-information.model-name == $network-topology-operation-input.network-information.onap-model-information.model-name`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1577.5008506774902,\r
+ "y": 284.0003813505173,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "3c413386.28d8ac"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3c413386.28d8ac",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1555.7509765625,\r
+ "y": 335.0004543066025,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "c61a0c62.aaf1d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c61a0c62.aaf1d8",\r
+ "type": "set",\r
+ "name": "set tmp.pidx and tmp.network-input-parameters",\r
+ "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.network.' value='`$service-data.networks.network[$pidx].`' />\n<parameter name='tmp.network-input-parameters' value='`$service-data.networks.network[$pidx].network-data.network-request-input.network-input-parameters`' />\n<parameter name='tmp.found-network-input' value='true' />",\r
+ "comments": "",\r
+ "x": 1711.3693885803223,\r
+ "y": 394.42916905879974,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "45b82fb8.a0b748",\r
+ "type": "set",\r
+ "name": "set tmp.found-network-input",\r
+ "xml": "<set>\n<parameter name='tmp.found-network-input' value='false' />",\r
+ "comments": "",\r
+ "x": 1149.5006370544434,\r
+ "y": 420.00034844875336,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d1306558.ef415",\r
+ "type": "switchNode",\r
+ "name": "switch found-network-input",\r
+ "xml": "<switch test=\"`$found-network-input`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1137.5003604888916,\r
+ "y": 1757.0004237890244,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "aea06bfb.02fe2",\r
+ "14decfdb.09186"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "aea06bfb.02fe2",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1369.500452041626,\r
+ "y": 1801.0006221532822,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "6000d5ff.efcc7c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "14decfdb.09186",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1370.2503910064697,\r
+ "y": 1759.00051343441,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "66490963.82794"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "66490963.82794",\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=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Network input parameters not found\" />\n \n",\r
+ "comments": "",\r
+ "x": 1541.2503910064697,\r
+ "y": 1767.000482916832,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6000d5ff.efcc7c",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1107.000238418579,\r
+ "y": 1913.0004085302353,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "482f2760.69b3a8",\r
+ "e91944ae.f456e",\r
+ "93347fe2.4e2608"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "482f2760.69b3a8",\r
+ "type": "for",\r
+ "name": "for cidx..tmp.network.network-data.network-topology.network-parameters.network-parameter[]",\r
+ "xml": "<for index='cidx' start='0' end='`$tmp.network.network-data.network-topology.network-parameters.network-parameter_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1556.000078201294,\r
+ "y": 1999.0002645254135,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "11b70ca4.6adfe3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ea4f8e56.27d62",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Create wan-connection",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$tmp.templateFileName`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + $tmp.restapiUrl`\" />\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=\"restApi-result\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1582.2501335144043,\r
+ "y": 2553.0004514455795,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "4596594a.90b2b",\r
+ "727227.40bacdd8",\r
+ "8a370a63.56e1b8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5167d0e7.7f35a8",\r
+ "type": "switchNode",\r
+ "name": "switch network-parameter-name == 'templateFileName'",\r
+ "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'templateFileName'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1684.2503414154053,\r
+ "y": 2104.000398993492,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "bb0f0ab0.a78f6"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bb0f0ab0.a78f6",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2037.2504806518555,\r
+ "y": 2108.0004724264145,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "fe4e3c94.10e1f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fe4e3c94.10e1f8",\r
+ "type": "set",\r
+ "name": "set tmp.templateFileName",\r
+ "xml": "<set>\n<parameter name='tmp.templateFileName' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.templateFileName-found' value='true' />",\r
+ "comments": "",\r
+ "x": 2238.2505111694336,\r
+ "y": 2106.000473380089,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e91944ae.f456e",\r
+ "type": "set",\r
+ "name": "set paras flags",\r
+ "xml": "<set>\n<parameter name='tmp.restapiUrl-found' value='false' />\n<parameter name='tmp.restapiUser-found' value='false' />\n<parameter name='tmp.restapiPassword-found' value='false' />\n<parameter name='tmp.templateFileName-found' value='false' />\n<parameter name='tmp.thirdPartyAdaptorRpc-found' value='false' />",\r
+ "comments": "",\r
+ "x": 1343.0002460479736,\r
+ "y": 1914.0002616643906,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "93347fe2.4e2608",\r
+ "type": "switchNode",\r
+ "name": "switch thirdPartyAdaptorRpc-found == 'true'",\r
+ "xml": "<switch test=\"`$tmp.thirdPartyAdaptorRpc-found == 'true'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1335,\r
+ "y": 2360.000244140625,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "87ae7264.94f3e8",\r
+ "146f54eb.2464b3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "11b70ca4.6adfe3",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1321.000186920166,\r
+ "y": 2106.0001348257065,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "5167d0e7.7f35a8",\r
+ "15abca0a.6291b6",\r
+ "234cd490.11eb64",\r
+ "7ac90d0b.f17404"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "87ae7264.94f3e8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1597.00004196167,\r
+ "y": 2322.000133872032,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "509de9bd.0d8d98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "146f54eb.2464b3",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1597.9999923706055,\r
+ "y": 2388.0000985860825,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "c52ec588.ac1c9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "509de9bd.0d8d98",\r
+ "type": "call",\r
+ "name": "call thirdPartyAdaptorRpc",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$tmp.thirdPartyAdaptorRpc`' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1817.0000839233398,\r
+ "y": 2323.00019299984,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "9f65b88a.3ed9e8",\r
+ "8956a6de.e47fd",\r
+ "6c2574d8.edb49c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c52ec588.ac1c9",\r
+ "type": "switchNode",\r
+ "name": "switch all-found == 'true'",\r
+ "xml": "<switch test=\"`$tmp.prop.thirdpartySdnc-found == 'true' and $tmp.templateFileName-found == 'true' and $tmp.prop.restapiUrl-found == 'true'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1474.450927734375,\r
+ "y": 2478.006591796875,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "15b05df2.a1932a",\r
+ "1dc61afb.b6932d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "15b05df2.a1932a",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1725.4509143829346,\r
+ "y": 2476.006462454796,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "ea4f8e56.27d62"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "15abca0a.6291b6",\r
+ "type": "switchNode",\r
+ "name": "switch network-parameter-name == 'thirdPartyAdaptorRpc'",\r
+ "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'thirdPartyAdaptorRpc'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1677.0066108703613,\r
+ "y": 2194.006781935692,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "f9c894f6.b1f97"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f9c894f6.b1f97",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2010.00687789917,\r
+ "y": 2197.0068258047104,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "de4cb5d7.6c333"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "de4cb5d7.6c333",\r
+ "type": "set",\r
+ "name": "set tmp.thirdPartyAdaptorRpc",\r
+ "xml": "<set>\n<parameter name='tmp.thirdPartyAdaptorRpc' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.thirdPartyAdaptorRpc-found' value='true' />",\r
+ "comments": "",\r
+ "x": 2231.0067806243896,\r
+ "y": 2196.0068563222885,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6c2574d8.edb49c",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2148.006483078003,\r
+ "y": 2363.3398393392563,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "a8411440.e18478"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8956a6de.e47fd",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2139.0065326690674,\r
+ "y": 2331.839865088463,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "a8411440.e18478"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9f65b88a.3ed9e8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2142.75657081604,\r
+ "y": 2302.19696996361,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "52ae5250.995d4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a8411440.e18478",\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 calling ' + $tmp.thirdPartyAdaptorRpc`\" />\n",\r
+ "comments": "",\r
+ "x": 2317.7565517425537,\r
+ "y": 2354.589983344078,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "52ae5250.995d4c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2284.4125385284424,\r
+ "y": 2298.3891391530633,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8a370a63.56e1b8",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1912.0065574645996,\r
+ "y": 2588.339543700218,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "1a796ab9.915f5d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "727227.40bacdd8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1903.006607055664,\r
+ "y": 2556.8395694494247,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "1a796ab9.915f5d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4596594a.90b2b",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1906.7566452026367,\r
+ "y": 2527.196674324572,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "71ea65d4.5c278c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1a796ab9.915f5d",\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 calling ' + $tmp.restapiUrl`\" />\n",\r
+ "comments": "",\r
+ "x": 2069.7566719055176,\r
+ "y": 2573.589641928673,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "71ea65d4.5c278c",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2048.412612915039,\r
+ "y": 2523.388843514025,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "1dc61afb.b6932d",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1876.6731204986572,\r
+ "y": 2443.450768828392,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "8a3cb5df.472da"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8a3cb5df.472da",\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=\"404\" />\n <parameter name=\"error-message\" value=\"Error: 3rd party controller restapiUrl not found\" />\n \n",\r
+ "comments": "",\r
+ "x": 2047.6731204986572,\r
+ "y": 2451.450738310814,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df36daae.e4fbe8",\r
+ "type": "execute",\r
+ "name": "contains specification",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"specification\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 244.99995040893555,\r
+ "y": 369.00382936000824,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "a968319f.637958",\r
+ "1ed4a912.2eade7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a968319f.637958",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 480.99998474121094,\r
+ "y": 367.00382125377655,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "730f5e18.ec9e7"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1ed4a912.2eade7",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 184.00003814697266,\r
+ "y": 592.003994345665,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "e277af39.ad00d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a797f17a.1a6cf8",\r
+ "type": "execute",\r
+ "name": "contains FC",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FC\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 515.0000495910645,\r
+ "y": 676.0039228200912,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "55818158.fdb03",\r
+ "f11f6f4e.966c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f11f6f4e.966c",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 160.00002670288086,\r
+ "y": 1024.0039952993393,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "8cadaf01.e98688"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8cadaf01.e98688",\r
+ "type": "execute",\r
+ "name": "contains FD",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FD\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 369.00001525878906,\r
+ "y": 1020.0039738416672,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "b129f200.805c2",\r
+ "3f5118c0.114b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3f5118c0.114b4",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 151.96873092651367,\r
+ "y": 1095.9726318120956,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "349d6b1f.c87d0c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "349d6b1f.c87d0c",\r
+ "type": "execute",\r
+ "name": "contains FcPort",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FcPort\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 360.96872329711914,\r
+ "y": 1092.9726604223251,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "f20f2fb.35f1b5",\r
+ "5ee3a405.b1576c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "55818158.fdb03",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 697.0000534057617,\r
+ "y": 677.0039061307907,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "312fea8e.6f2506"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b129f200.805c2",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 941.0001831054688,\r
+ "y": 1022.004160284996,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "e2c40f6d.1a829"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f20f2fb.35f1b5",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 555.968807220459,\r
+ "y": 1094.972692847252,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "2a73832e.68ebd4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5ee3a405.b1576c",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 113.00015258789062,\r
+ "y": 1337.0042766332626,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d24c29f2.71bb08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d24c29f2.71bb08",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 400.9688529968262,\r
+ "y": 1335.9730342626572,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "8a942c3c.81e6e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "730f5e18.ec9e7",\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": 745.0273475646973,\r
+ "y": 363.03119599819183,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8a942c3c.81e6e8",\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": 608.0274925231934,\r
+ "y": 1333.0314868688583,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2a73832e.68ebd4",\r
+ "type": "execute",\r
+ "name": "contains sitewan",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"sitewan\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 748.9963111877441,\r
+ "y": 1096.000280737877,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "7edb9c22.a45014",\r
+ "bf69b41c.6b8b98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7edb9c22.a45014",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 943.996395111084,\r
+ "y": 1098.0003131628036,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "e2c40f6d.1a829"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bf69b41c.6b8b98",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 496.99620056152344,\r
+ "y": 1250.0001281499863,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d24c29f2.71bb08"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "312fea8e.6f2506",\r
+ "type": "execute",\r
+ "name": "contains sotn",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"sotn\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 865.0000381469727,\r
+ "y": 677.003843665123,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "82320107.76a148",\r
+ "1504c60b.991152"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "82320107.76a148",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1070.750099182129,\r
+ "y": 676.003822684288,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "5e5036a9.c02908"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1504c60b.991152",\r
+ "type": "outcomeTrue",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 936.7502174377441,\r
+ "y": 965.0039447546005,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "e2c40f6d.1a829"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cfc853c.5ec6b3",\r
+ "type": "for",\r
+ "name": "for sIdx..service-data.networks.network[]",\r
+ "xml": "<for index='sIdx' start='0' end='`$service-data.networks.network_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1982.028076171875,\r
+ "y": 724.0314663648605,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "1eeb4eba.8d39e9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fd17a66.4a1a1d8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2517.0281562805176,\r
+ "y": 664.0316418409348,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "ab4570ab.fbb6c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "629d8bba.b77a8c",\r
+ "type": "set",\r
+ "name": "set tmp.pidx and tmp.network-input-parameters",\r
+ "xml": "<set>\n<parameter name='tmp.sotnFcPortList[`$sotnFcPortListLength`]' value='`$sIdx`' />",\r
+ "comments": "",\r
+ "x": 2966.6474952697754,\r
+ "y": 463.46101903915405,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1eeb4eba.8d39e9",\r
+ "type": "execute",\r
+ "name": "contains sotn",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$service-data.networks.network[$sIdx].network-data.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"sotn\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2354.0280723571777,\r
+ "y": 665.0315235853195,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "fd17a66.4a1a1d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab4570ab.fbb6c8",\r
+ "type": "execute",\r
+ "name": "contains FcPort",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$service-data.networks.network[$sIdx].network-data.network-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"FcPort\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2358.028034210205,\r
+ "y": 719.0317085981369,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "6091c8bc.b0d4a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e277af39.ad00d8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 347.0274124145508,\r
+ "y": 594.0312169790268,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "a797f17a.1a6cf8",\r
+ "a5cffcf2.ba1518"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a5cffcf2.ba1518",\r
+ "type": "block",\r
+ "name": "find-network-data-block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 622.996280670166,\r
+ "y": 505.6667798757553,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "36c8a58a.9d63e2",\r
+ "45b82fb8.a0b748",\r
+ "a0b2af34.11b31"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6091c8bc.b0d4a8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2526.0279579162598,\r
+ "y": 716.0315483808517,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "5c37befb.1d984"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3f48f0c6.c4ffd8",\r
+ "type": "block",\r
+ "name": "find-sotn-fc-port-block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1554.0279846191406,\r
+ "y": 675.0314081907272,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "cfc853c.5ec6b3",\r
+ "ffcb4737.02127"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ffcb4737.02127",\r
+ "type": "set",\r
+ "name": "set sotnFcPortListLength",\r
+ "xml": "<set>\n<parameter name='sotnFcPortListLength' value='0' />",\r
+ "comments": "",\r
+ "x": 1923.0275421142578,\r
+ "y": 616.0314983129501,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5c37befb.1d984",\r
+ "type": "block",\r
+ "name": "find-OOF-input-block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2404.5278968811035,\r
+ "y": 770.0314382314682,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "629d8bba.b77a8c",\r
+ "f627fb28.1aabc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f627fb28.1aabc",\r
+ "type": "for",\r
+ "name": "for sIdx..network-input-parameters[]",\r
+ "xml": "<for index='paramIdx' start='0' end='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2942.0276832580566,\r
+ "y": 515.0315766334534,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "200da3cd.a16b84"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "200da3cd.a16b84",\r
+ "type": "execute",\r
+ "name": "contains address",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param[$paramIdx].name`\"/>\n <parameter name=\"target\" value=\"address\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2910.5275917053223,\r
+ "y": 568.0314087867737,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "563339f1.9c55f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "563339f1.9c55f8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3092.5277137756348,\r
+ "y": 568.0314087867737,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "cf098d02.dd1d88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2c28a84d.42d73",\r
+ "type": "set",\r
+ "name": "set sotnFcPortAddress",\r
+ "xml": "<set>\n<parameter name='sotnFcPortAddress' value='`$service-data.networks.network[$sIdx].network-data.network-request-input.network-input-parameters.param[$paramIdx].value`' />",\r
+ "comments": "",\r
+ "x": 3150.5291748046875,\r
+ "y": 681.0318355560303,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cf098d02.dd1d88",\r
+ "type": "block",\r
+ "name": "get-OOF-input-block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2959.527744293213,\r
+ "y": 626.0315804481506,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "2c28a84d.42d73",\r
+ "f33b8d8.66f097"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6000e8a7.0dc92",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3175.0287895202637,\r
+ "y": 803.0313534736633,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "39e7a3b4.84d0e4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f33b8d8.66f097",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode - get access Tp from OSS",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value=\"`$prop.oss.url + '/oss/inventory?location=' + $sotnFcPortAddress`\"/>\n <parameter name='format' value='json' />\n <parameter name='customHttpHeaders' value=\"X-FromAppId=MSO\" />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"temp.oss.accessTPs\" />\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3272.0277137756348,\r
+ "y": 740.0312867164612,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "6000e8a7.0dc92"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "39e7a3b4.84d0e4",\r
+ "type": "switchNode",\r
+ "name": "switch temp.oss.accessTPs_length",\r
+ "xml": "<switch test=\"`$temp.oss.accessTPs_length`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3471.0278968811035,\r
+ "y": 802.0312638282776,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "c982a7c5.788ab"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c982a7c5.788ab",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3735.529167175293,\r
+ "y": 801.0315408706665,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "bcd0f54c.438d98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a77f6c20.5aa72",\r
+ "type": "set",\r
+ "name": "set temp.accessTPs_length",\r
+ "xml": "<set>\n<parameter name='temp.accessTPs_length' value='`$temp.accessTPs_length + $temp.oss.accessTPs_length`' />\n\n",\r
+ "comments": "",\r
+ "x": 3681.028793334961,\r
+ "y": 1067.027702331543,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bcd0f54c.438d98",\r
+ "type": "block",\r
+ "name": "copy-accessTPs-block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3335.7771606445312,\r
+ "y": 890.0269641876221,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "a77f6c20.5aa72",\r
+ "8675e2ed.f2b0e8",\r
+ "1357c520.aec613"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8675e2ed.f2b0e8",\r
+ "type": "switchNode",\r
+ "name": "switch temp.accessTPs_length",\r
+ "xml": "<switch test='`$temp.accessTPs_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3719.527114868164,\r
+ "y": 892.026801109314,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "f49982d3.720b28",\r
+ "9d61ff33.d74408"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f49982d3.720b28",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3945.5269660949707,\r
+ "y": 867.0267286300659,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "e67e4b3d.61c4f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e67e4b3d.61c4f",\r
+ "type": "set",\r
+ "name": "set tp_length",\r
+ "xml": "<set>\n<parameter name='tp_length' value='0' />",\r
+ "comments": "",\r
+ "x": 4132.026802062988,\r
+ "y": 865.0267343814485,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9d61ff33.d74408",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3941.5269317626953,\r
+ "y": 922.0267744064331,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d9422c6b.dd9108"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d9422c6b.dd9108",\r
+ "type": "set",\r
+ "name": "set tp_length",\r
+ "xml": "<set>\n<parameter name='tp_length' value='`$temp.accessTPs_length`' />",\r
+ "comments": "",\r
+ "x": 4130.276870727539,\r
+ "y": 922.026759147644,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "1357c520.aec613",\r
+ "type": "for",\r
+ "name": "for each existing temp.oss.accessTPs",\r
+ "xml": "<for index='idx' start='0' end='`$temp.oss.accessTPs_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3721.277557373047,\r
+ "y": 990.0269060134888,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "fed1f534.276de8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fed1f534.276de8",\r
+ "type": "set",\r
+ "name": "set temp.accessTPs",\r
+ "xml": "<set>\n<parameter name='`temp.accessTPs[$idx + $tp_length].`' value='`$temp.oss.accessTPs[$idx].`' />",\r
+ "comments": "",\r
+ "x": 4089.2774505615234,\r
+ "y": 991.0270538330078,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5e5036a9.c02908",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1240.0274276733398,\r
+ "y": 674.0311778783798,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "3f48f0c6.c4ffd8",\r
+ "91d7e1a2.abed38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7fa94d7.fea7134",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode getPath from OOF",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"oof\"/>\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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1559.5279350280762,\r
+ "y": 1572.0315318107605,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "c6b43605.0b12d",\r
+ "4195f1e1.2385f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4195f1e1.2385f",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1888.527587890625,\r
+ "y": 1552.031599521637,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c6b43605.0b12d",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1889.5278015136719,\r
+ "y": 1603.031508922577,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "c7fdb644.42e558"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "91d7e1a2.abed38",\r
+ "type": "switchNode",\r
+ "name": "switch temp.accessTPs_length",\r
+ "xml": "<switch test=\"`$temp.accessTPs_length >= 2`\">\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1621.527400970459,\r
+ "y": 1067.0313462018967,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d06db3d6.a95ff"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d06db3d6.a95ff",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1853.0276985168457,\r
+ "y": 1066.0311926603317,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "fb8f18b.47e6f68"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fb8f18b.47e6f68",\r
+ "type": "block",\r
+ "name": "call-oof-block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1597.0273475646973,\r
+ "y": 1203.0312527418137,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "7fa94d7.fea7134",\r
+ "65b4c2f6.99e4bc",\r
+ "e55e7a19.0bc068"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "65b4c2f6.99e4bc",\r
+ "type": "set",\r
+ "name": "set oof input",\r
+ "xml": "<set>\n<parameter name='prop.connection-attachment.access-topology-id' value='`$temp.accessTPs[0].access-topology-id`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$temp.accessTPs[0].access-client-id`' />\n<parameter name='prop.connection-attachment.access-provider-id' value='`$temp.accessTPs[0].access-provider-id`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$temp.accessTPs[0].access-node-id`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$temp.accessTPs[0].access-ltp-id`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$temp.accessTPs[1].access-topology-id`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$temp.accessTPs[1].access-client-id`' />\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$temp.accessTPs[1].access-provider-id`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$temp.accessTPs[1].access-node-id`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$temp.accessTPs[1].access-ltp-id`' />",\r
+ "comments": "",\r
+ "x": 2113.5274658203125,\r
+ "y": 1073.03125,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9d7537c2.94a7e8",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Create Sotn connectivity Service",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-api-ConnectivityService.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-ConnectivityService:create-connectivity-service'`\" />\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=\"responsePrefix\" value=\"vpn-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\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2612.662841796875,\r
+ "y": 1929.0001220703125,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "b7acd790.1a5988",\r
+ "d9bbaee1.f31a58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b7acd790.1a5988",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2950.6626586914062,\r
+ "y": 1959.0002055168152,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "b9a4b130.5a7458"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b9a4b130.5a7458",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3098.6626586914062,\r
+ "y": 1957.0000834465027,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ca70c790.52349",\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 Create vpn rest api\" />\n",\r
+ "comments": "",\r
+ "x": 3080.6626892089844,\r
+ "y": 1904.0001435279846,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d9bbaee1.f31a58",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2941.66259765625,\r
+ "y": 1904.0001435279846,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "ca70c790.52349"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c7fdb644.42e558",\r
+ "type": "for",\r
+ "name": "for vidx..oof.vpns_length[]",\r
+ "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2190.666458129883,\r
+ "y": 1617.5036072731018,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "5803d1b8.1453f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5803d1b8.1453f8",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2303.783821105957,\r
+ "y": 1717.3436222076416,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "2b347167.79849e",\r
+ "9f36fb56.904a78",\r
+ "9d7537c2.94a7e8",\r
+ "ed029d4a.80e878"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a92849a1.2723e8",\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": 2945.228485107422,\r
+ "y": 1781.6768145561218,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9f36fb56.904a78",\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 = $tmp.thirdparty-sdnc-id 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": 2561.7283935546875,\r
+ "y": 1818.6767539978027,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "66b4e18e.6282b",\r
+ "90e943c2.38b738",\r
+ "635357b8.94c27"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "66b4e18e.6282b",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2781.728328704834,\r
+ "y": 1782.6767230033875,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "a92849a1.2723e8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "90e943c2.38b738",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2791.219268798828,\r
+ "y": 1823.250729084015,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "325de204.112cce"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "635357b8.94c27",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2786.55224609375,\r
+ "y": 1859.5840420722961,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "68fe9acc.516c64"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "325de204.112cce",\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": 2937.7906188964844,\r
+ "y": 1819.5365557670593,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "68fe9acc.516c64",\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": 2941.3248901367188,\r
+ "y": 1861.023190021515,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2b347167.79849e",\r
+ "type": "get-resource",\r
+ "name": "get-resource pnf",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n pfx='tmp.aai.pnf' local-only='false' >\n\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2507.228286743164,\r
+ "y": 1727.6763978004456,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "58549a7f.092c8c",\r
+ "b7099532.5dbd18",\r
+ "a10161d3.02a23"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "58549a7f.092c8c",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2689.2283325195312,\r
+ "y": 1672.676507949829,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "e17901d0.814ee8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b7099532.5dbd18",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2689.7192344665527,\r
+ "y": 1710.2506046295166,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "9162574e.c04dd"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a10161d3.02a23",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2681.05224609375,\r
+ "y": 1743.5839796066284,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "74a9857.e029bfc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9162574e.c04dd",\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": 2837.290859222412,\r
+ "y": 1709.5364933013916,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "74a9857.e029bfc",\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": 2834.8248901367188,\r
+ "y": 1743.0231275558472,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e17901d0.814ee8",\r
+ "type": "set",\r
+ "name": "set tmp.thirdparty-sdnc-id",\r
+ "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",\r
+ "comments": "",\r
+ "x": 2874.2283325195312,\r
+ "y": 1671.6766300201416,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ed029d4a.80e878",\r
+ "type": "set",\r
+ "name": "set oof.vpn",\r
+ "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",\r
+ "comments": "",\r
+ "x": 2499.2282791137695,\r
+ "y": 1616.7874698638916,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "234cd490.11eb64",\r
+ "type": "switchNode",\r
+ "name": "switch network-parameter-name == 'thirdPartySdncId'",\r
+ "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'thirdPartySdncId'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1670.3293933868408,\r
+ "y": 2059.0000327825546,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "9b0dfc0c.7b4bf8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9b0dfc0c.7b4bf8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2001.5273246765137,\r
+ "y": 2060.0309537649155,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "b0ddfc2d.33ec98"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b0ddfc2d.33ec98",\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 = `$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value` 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": 2266.528263092041,\r
+ "y": 2058.0309537649155,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d4b4317.0b1d8d",\r
+ "e6958e35.708158",\r
+ "ccce5782.d862a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d4b4317.0b1d8d",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2528.5280685424805,\r
+ "y": 2002.0307658910751,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "748df2d8.e12dd4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "748df2d8.e12dd4",\r
+ "type": "set",\r
+ "name": "set controller data",\r
+ "xml": "<set>\n<parameter name='prop.thirdpartySdnc-found' value='true' />\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": 2726.0281295776367,\r
+ "y": 1990.0307658910751,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e6958e35.708158",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2560.0189323425293,\r
+ "y": 2050.604869246483,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "210ca4a.6aaef5c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ccce5782.d862a",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2555.3519401550293,\r
+ "y": 2091.938182234764,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "210ca4a.6aaef5c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "210ca4a.6aaef5c",\r
+ "type": "set",\r
+ "name": "set controller data",\r
+ "xml": "<set>\n<parameter name='prop.thirdpartySdnc-found' value='false' />\n",\r
+ "comments": "",\r
+ "x": 2767.0273475646973,\r
+ "y": 2069.030951857567,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7ac90d0b.f17404",\r
+ "type": "switchNode",\r
+ "name": "switch network-parameter-name == 'restapiUrl'",\r
+ "xml": "<switch test=\"`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-name == 'restapiUrl'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1643.5272064208984,\r
+ "y": 2151.0308336019516,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "9cf37e6b.78f868"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9cf37e6b.78f868",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1985.5273170471191,\r
+ "y": 2149.0309566259384,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "a5b1ef47.38a0d8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a5b1ef47.38a0d8",\r
+ "type": "set",\r
+ "name": "set tmp.templateFileName",\r
+ "xml": "<set>\n<parameter name='tmp.restapiUrl' value='`$tmp.network.network-data.network-topology.network-parameters.network-parameter[$cxid].network-parameter-value`' />\n<parameter name='tmp.restapiUrl-found' value='true' />",\r
+ "comments": "",\r
+ "x": 2229.527395248413,\r
+ "y": 2153.0310262441635,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "dd742db6.c04bf",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2358,\r
+ "y": 1197,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d785d21b.56c958",\r
+ "369c8ad.4d8e476",\r
+ "2e7a6cf5.db0914",\r
+ "d35824af.d12d6",\r
+ "f83290fa.8f0b7",\r
+ "df8f05ca.7685b",\r
+ "29531372.bc7eec",\r
+ "345c252d.c85f4a",\r
+ "fbf7111d.33c908",\r
+ "3fbad9a8.8e843e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d785d21b.56c958",\r
+ "type": "switchNode",\r
+ "name": "switch name",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'name'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2579.9999465942383,\r
+ "y": 995.0000805854797,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d2651e5e.5584f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d2651e5e.5584f",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2766.9999465942383,\r
+ "y": 991.0000805854797,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "2862cfea.d39d78"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2862cfea.d39d78",\r
+ "type": "set",\r
+ "name": "set name",\r
+ "xml": "<set>\n<parameter name='template.name' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2934.9999465942383,\r
+ "y": 991.6000866889954,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "369c8ad.4d8e476",\r
+ "type": "switchNode",\r
+ "name": "switch service-type",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'service-type'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2597.510139465332,\r
+ "y": 1056.0000205039978,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "e4480a89.6e7bb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e4480a89.6e7bb",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2784.510139465332,\r
+ "y": 1052.0000205039978,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "ca09ca5c.4750c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ca09ca5c.4750c8",\r
+ "type": "set",\r
+ "name": "set service-type",\r
+ "xml": "<set>\n<parameter name='template.service-type' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2952.510139465332,\r
+ "y": 1052.6000266075134,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "2e7a6cf5.db0914",\r
+ "type": "switchNode",\r
+ "name": "switch total-size",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'total-size'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2590.9727172851562,\r
+ "y": 1112.472821712494,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "18999af7.347555"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "18999af7.347555",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2777.9727172851562,\r
+ "y": 1108.472821712494,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "60801b57.2b487c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "60801b57.2b487c",\r
+ "type": "set",\r
+ "name": "set total-size",\r
+ "xml": "<set>\n<parameter name='template.total-size' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2945.9727172851562,\r
+ "y": 1109.0728278160095,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d35824af.d12d6",\r
+ "type": "switchNode",\r
+ "name": "switch pir",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'pir'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2568.972816467285,\r
+ "y": 1161.4728608131409,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "af3620d3.77baa8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "af3620d3.77baa8",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2755.972816467285,\r
+ "y": 1157.4728608131409,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "31594835.d6e5d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "31594835.d6e5d",\r
+ "type": "set",\r
+ "name": "set pir",\r
+ "xml": "<set>\n<parameter name='template.pir' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2923.972816467285,\r
+ "y": 1158.0728669166565,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f83290fa.8f0b7",\r
+ "type": "switchNode",\r
+ "name": "switch cbs",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'cbs'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2569.9728507995605,\r
+ "y": 1212.4727854728699,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "ad371a56.71897"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ad371a56.71897",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2756.9728507995605,\r
+ "y": 1208.4727854728699,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "3221c6bd.a0ac02"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3221c6bd.a0ac02",\r
+ "type": "set",\r
+ "name": "set cbs",\r
+ "xml": "<set>\n<parameter name='template.cbs' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2924.9728507995605,\r
+ "y": 1209.0727915763855,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "df8f05ca.7685b",\r
+ "type": "switchNode",\r
+ "name": "switch pbs",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'pbs'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2565.9728507995605,\r
+ "y": 1267.4727854728699,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d9a6f80c.b00be"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d9a6f80c.b00be",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2752.9728507995605,\r
+ "y": 1263.4727854728699,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "d7a831b3.3129"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d7a831b3.3129",\r
+ "type": "set",\r
+ "name": "set pbs",\r
+ "xml": "<set>\n<parameter name='template.pbs' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2920.9728507995605,\r
+ "y": 1264.0727915763855,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "29531372.bc7eec",\r
+ "type": "switchNode",\r
+ "name": "switch couplingFlag",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'couplingFlag'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2595.972999572754,\r
+ "y": 1323.4727873802185,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "b413ed67.b7911"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b413ed67.b7911",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2782.972999572754,\r
+ "y": 1319.4727873802185,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "3392c451.400a44"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3392c451.400a44",\r
+ "type": "set",\r
+ "name": "set couplingFlag",\r
+ "xml": "<set>\n<parameter name='template.couplingFlag' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2950.972999572754,\r
+ "y": 1320.0727934837341,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "345c252d.c85f4a",\r
+ "type": "switchNode",\r
+ "name": "switch colorAware",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'colorAware'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2589.972999572754,\r
+ "y": 1369.4727873802185,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "39cbb246.35038e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "39cbb246.35038e",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2776.972999572754,\r
+ "y": 1365.4727873802185,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "9fc50f16.58bb88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9fc50f16.58bb88",\r
+ "type": "set",\r
+ "name": "set colorAware",\r
+ "xml": "<set>\n<parameter name='template.colorAware' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2944.972999572754,\r
+ "y": 1366.0727934837341,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3fbad9a8.8e843e",\r
+ "type": "switchNode",\r
+ "name": "switch diversity-policy",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'diversity-policy'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2597.9732398986816,\r
+ "y": 1460.472852230072,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "93fef22f.9b0968"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "93fef22f.9b0968",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2784.9732398986816,\r
+ "y": 1456.472852230072,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "58db5eeb.0276f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "58db5eeb.0276f",\r
+ "type": "set",\r
+ "name": "set diversity-policy",\r
+ "xml": "<set>\n<parameter name='template.diversity-policy' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2952.9732398986816,\r
+ "y": 1457.0728583335876,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fbf7111d.33c908",\r
+ "type": "switchNode",\r
+ "name": "switch route-objective-function",\r
+ "xml": "<switch test=\"`$tmp.network-input-parameters.param[$paidx].name == 'route-objective-function'`\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2626.9731483459473,\r
+ "y": 1409.472852230072,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "36ef3b4d.875ad4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "36ef3b4d.875ad4",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2813.9731483459473,\r
+ "y": 1405.472852230072,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "c017a9c6.229cb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c017a9c6.229cb8",\r
+ "type": "set",\r
+ "name": "set route-objective-function",\r
+ "xml": "<set>\n<parameter name='template.route-objective-function' value='`$tmp.network-input-parameters.param[$paidx].value`' />\n",\r
+ "comments": "",\r
+ "x": 2981.9731483459473,\r
+ "y": 1406.0728583335876,\r
+ "z": "21459008.9d4a3",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e55e7a19.0bc068",\r
+ "type": "for",\r
+ "name": "for paidx..tmp.network-input-parameters.param_length[]",\r
+ "xml": "<for index='paidx' start='0' end='`$tmp.network-input-parameters.param_length`' >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2078.1355361938477,\r
+ "y": 1327.468924999237,\r
+ "z": "21459008.9d4a3",\r
+ "wires": [\r
+ [\r
+ "dd742db6.c04bf"\r
+ ]\r
+ ]\r
+ }\r
+]
\ No newline at end of file