+ "x": 2041.500244140625,\r
+ "y": 233,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4308651d.5eb474",\r
+ "type": "switchNode",\r
+ "name": "switch type",\r
+ "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 918.5,\r
+ "y": 329,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "98c19260.813238",\r
+ "3ccd2719.ec5e88",\r
+ "c0dd9c59.c4eff8",\r
+ "4451a4e9.723244"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8acc6f21.be6fc8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 785.5,\r
+ "y": 329,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "4308651d.5eb474"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "98c19260.813238",\r
+ "type": "other",\r
+ "name": "SOTN",\r
+ "xml": "<outcome value='SOTN'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1031.5,\r
+ "y": 240,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "e12b7948.8a8be"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3ccd2719.ec5e88",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1033.500087738037,\r
+ "y": 789.0001106262207,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "f4c76776.724b28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4c76776.724b28",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n\n",\r
+ "comments": "",\r
+ "x": 1183.5000610351562,\r
+ "y": 785.0000972747803,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "484845a5.2238e4",\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": 1412.5001983642578,\r
+ "y": 121.00000953674316,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "19259d76.96fc3b",\r
+ "type": "switchNode",\r
+ "name": "switch prop.sdncRestApi.token_id",\r
+ "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1459.0001983642578,\r
+ "y": 241.00000953674316,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "2313a899.da913",\r
+ "531d5829.4a09a8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2313a899.da913",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1751.500244140625,\r
+ "y": 233,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "c60b8cf4.53a21"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "531d5829.4a09a8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1751.500244140625,\r
+ "y": 273,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "f1eb21a4.8d1378"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c60b8cf4.53a21",\r
+ "type": "execute",\r
+ "name": "execute RestApiCallNode Get Topology",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />\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=\"get\"/>\n<parameter name=\"responsePrefix\" value=\"topology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1973.000244140625,\r
+ "y": 233,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "f7ff1324.a58c28",\r
+ "8660dd2a.bc5478"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "da47859b.4ec77",\r
+ "type": "execute",\r
+ "name": "execute RestconfDiscoveryNode",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='establishSubscription' >\n<parameter name=\"subscriberId\" value=\"sotn-controller\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ietf-subscribed-notifications:establish-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"sseConnectURL\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/streams/yang-push-json'`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n<parameter name=\"module\" value=\"DataChange\" />\n<parameter name=\"rpc\" value=\"sotn-notification-handler\" />\n<parameter name=\"mode\" value=\"sync\" />",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1455.5001983642578,\r
+ "y": 381.00000953674316,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ac66ccfd.381a88",\r
+ "type": "set",\r
+ "name": "set encoding-format",\r
+ "xml": "<set>\n<parameter name='input' value='ietf-subscribed-notifications:establish-subscription.input.' />\n<parameter name=\"`$input + 'encoding'`\" value=\"encode-json\" />",\r
+ "comments": "",\r
+ "x": 1415.5001983642578,\r
+ "y": 341.00000953674316,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fa1a511.33260b",\r
+ "type": "comment",\r
+ "name": "Notification subscription",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1420.500343322754,\r
+ "y": 298.00000858306885,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "72476c1.b3cb514",\r
+ "type": "switchNode",\r
+ "name": "switch",\r
+ "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 105.5,\r
+ "y": 369,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "7ff38366.3f2f34",\r
+ "18555fe6.542308"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7ff38366.3f2f34",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 292.5,\r
+ "y": 369,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "50de7689.c1ed4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "18555fe6.542308",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 293.5,\r
+ "y": 494,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "46364a8c.43d47c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "46364a8c.43d47c",\r
+ "type": "call",\r
+ "name": "call esr-thirdparty-sdnc-of-zte",\r
+ "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-of-zte' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 516.5,\r
+ "y": 494,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "c0dd9c59.c4eff8",\r
+ "type": "other",\r
+ "name": "TAPI",\r
+ "xml": "<outcome value='TAPI'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1109.5,\r
+ "y": 474,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "b4761a0a.e9187"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b4761a0a.e9187",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 1272.5,\r
+ "y": 473,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "5f4972dc.a8c76c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5f4972dc.a8c76c",\r
+ "type": "execute",\r
+ "name": "execute",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/cxf/tapi/v2/topologies?topology-id-or-name=otn'`\"/> \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=\"get\"/> \n <parameter name=\"responsePrefix\" value=\"topologies\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.tapi.jks\"/> \n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/> \n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/> \n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1433.5,\r
+ "y": 472,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "cef3a525.157f48",\r
+ "aa2154d5.57633"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "aa2154d5.57633",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1575.5,\r
+ "y": 548,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "80d535c0.0a3eb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cef3a525.157f48",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1609.5,\r
+ "y": 469,\r
+ "z": "35b097d7.5fa018",\r
+ "wires": [\r
+ [\r
+ "9d726edf.4a00d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9d726edf.4a00d",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n <parameter name='ack-final' value='Y'/>\n <parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error executing get topology TAPI rest api\" />\n\n",\r
+ "comments": "",\r
+ "x": 1779.5,\r
+ "y": 468,\r
+ "z": "35b097d7.5fa018",\r