+ "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' />",