+ },\r
+ {\r
+ "id": "4662cdd1.b4f8a4",\r
+ "type": "switchNode",\r
+ "name": "switch type",\r
+ "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 977.9999961853027,\r
+ "y": 349.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "c4659524.ddaee8",\r
+ "b8841114.e40fb"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9970355a.979a58",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 844.9999961853027,\r
+ "y": 349.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "4662cdd1.b4f8a4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c4659524.ddaee8",\r
+ "type": "other",\r
+ "name": "SOTN",\r
+ "xml": "<outcome value='SOTN'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1090.9999961853027,\r
+ "y": 260.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "5f482ccf.0ae764"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b8841114.e40fb",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1106.0000038146973,\r
+ "y": 500.00002670288086,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "3b070a5d.7f8e96"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3b070a5d.7f8e96",\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": 1284.0000038146973,\r
+ "y": 500.00002670288086,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d220c063.b8e9a",\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": 1472.0001945495605,\r
+ "y": 142.00000381469727,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "97f2ea03.107968",\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": 1518.5001945495605,\r
+ "y": 262.00000381469727,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "a5358ccb.9e8dd",\r
+ "7f5cb122.be2df"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "a5358ccb.9e8dd",\r
+ "type": "other",\r
+ "name": "Null",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1811.0002403259277,\r
+ "y": 253.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "ef0365d3.97ff38"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7f5cb122.be2df",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1811.0002403259277,\r
+ "y": 293.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "157313d5.db8b4c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ef0365d3.97ff38",\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": 2032.5002403259277,\r
+ "y": 253.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "ce710140.b905e",\r
+ "33873b8b.c155b4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1b8d7ae8.41c4c5",\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": 1517.0001525878906,\r
+ "y": 400.9999828338623,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f06d5e7a.dcdff",\r
+ "type": "set",\r
+ "name": "set encoding-format",\r
+ "xml": "<set>\n<parameter name='ietf-subscribed-notifications_establish-subscription.input.encoding' value=\"encode-json\" />",\r
+ "comments": "",\r
+ "x": 1475.0001945495605,\r
+ "y": 362.00000381469727,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "971a117b.a06b9",\r
+ "type": "comment",\r
+ "name": "Notification subscription",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1480.0003395080566,\r
+ "y": 319.00000286102295,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "807f3d.fff210c",\r
+ "type": "switchNode",\r
+ "name": "switch",\r
+ "xml": "<switch test=\"`$prop.sdncRestApi.vendor == 'ZTE'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 164.99999618530273,\r
+ "y": 389.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "1b70ca9c.7c9985",\r
+ "c9877e2e.2d6a5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1b70ca9c.7c9985",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 351.99999618530273,\r
+ "y": 389.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "cb414b17.62b928"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "c9877e2e.2d6a5",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 352.99999618530273,\r
+ "y": 514.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ [\r
+ "66b25f6e.ea9c2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "66b25f6e.ea9c2",\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": 575.9999961853027,\r
+ "y": 514.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
+ "wires": [\r
+ []\r
+ ]\r