[\r
{\r
- "id": "865891e7.3a6c6",\r
+ "id": "41629315.bd4abc",\r
"type": "other",\r
"name": "update",\r
"xml": "<outcome value='Update'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 673.4443511962891,\r
- "y": 212.66669368743896,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 724.9999961853027,\r
+ "y": 349.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "3eefa587.6bd50a"\r
+ "9970355a.979a58"\r
]\r
]\r
},\r
{\r
- "id": "4e8bb18c.6ca95",\r
+ "id": "bb11b779.ca75f8",\r
"type": "other",\r
"name": "delete",\r
"xml": "<outcome value='delete'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 701.6665267944336,\r
- "y": 484.33349609375,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 724.9999961853027,\r
+ "y": 429.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "523ab02e.031c1"\r
+ "7e0497f8.ddad68"\r
]\r
]\r
},\r
{\r
- "id": "523ab02e.031c1",\r
+ "id": "7e0497f8.ddad68",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 857.1112060546875,\r
- "y": 484.33351707458496,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 866.4999961853027,\r
+ "y": 429.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "977d339.f9669d",\r
+ "id": "c60c87fa.e5d1a8",\r
"type": "comment",\r
"name": "TODO: Delete topology from AAI",\r
"info": "",\r
"comments": "",\r
- "x": 781.7777862548828,\r
- "y": 447.0001811981201,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 799.3335151672363,\r
+ "y": 397.96898913383484,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": []\r
},\r
{\r
- "id": "9b67a1c0.1e23e",\r
+ "id": "cb414b17.62b928",\r
"type": "switchNode",\r
"name": "switch aai-event-trigger",\r
"xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 457.9999771118164,\r
- "y": 351.2222261428833,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 555.4999961853027,\r
+ "y": 389.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "865891e7.3a6c6",\r
- "4e8bb18c.6ca95"\r
+ "41629315.bd4abc",\r
+ "bb11b779.ca75f8"\r
]\r
]\r
},\r
{\r
- "id": "3eefa587.6bd50a",\r
+ "id": "5f482ccf.0ae764",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"outputs": 1,\r
- "x": 841.7781524658203,\r
- "y": 211.11124515533447,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 1252.4999961853027,\r
+ "y": 260.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "8498ca44.850928",\r
- "31425256.e48c3e",\r
- "fd4c6f6.9751e9"\r
+ "d220c063.b8e9a",\r
+ "9a482a6d.6b7268",\r
+ "97f2ea03.107968",\r
+ "f06d5e7a.dcdff",\r
+ "1b8d7ae8.41c4c5"\r
]\r
]\r
},\r
{\r
- "id": "8498ca44.850928",\r
+ "id": "9a482a6d.6b7268",\r
"type": "execute",\r
"name": "execute RestApiCallNode Get token",\r
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-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\"/>",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1119.4376068115234,\r
- "y": 167.03049993515015,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 1525.5001945495605,\r
+ "y": 182.00000381469727,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "c3c1ad15.85994",\r
- "cd6736f3.94ff18"\r
+ "6b4e87a7.382818",\r
+ "8968e872.1395d8"\r
]\r
]\r
},\r
{\r
- "id": "c3c1ad15.85994",\r
+ "id": "6b4e87a7.382818",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1354.4376068115234,\r
- "y": 145.03049993515015,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 1815.0002403259277,\r
+ "y": 173.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "e15c61b4.92509"\r
+ "abb4b716.9e6c48"\r
]\r
]\r
},\r
{\r
- "id": "cd6736f3.94ff18",\r
+ "id": "8968e872.1395d8",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1346.6876068115234,\r
- "y": 198.6733832359314,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 1811.0002403259277,\r
+ "y": 213.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "40518e2c.2c734"\r
+ "570488eb.f03fc8"\r
]\r
]\r
},\r
{\r
- "id": "e15c61b4.92509",\r
+ "id": "abb4b716.9e6c48",\r
"type": "set",\r
"name": "set token-id",\r
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
"comments": "",\r
- "x": 1508.4376068115234,\r
- "y": 146.03049993515015,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 1965.5002403259277,\r
+ "y": 173.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": []\r
},\r
{\r
- "id": "31425256.e48c3e",\r
+ "id": "157313d5.db8b4c",\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.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
+ "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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1122.7710418701172,\r
- "y": 260.73423767089844,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 2032.5002403259277,\r
+ "y": 293.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "ac09d1db.665eb",\r
- "4c50157f.5bc03c"\r
+ "33873b8b.c155b4",\r
+ "ce710140.b905e"\r
]\r
]\r
},\r
{\r
- "id": "ac09d1db.665eb",\r
+ "id": "33873b8b.c155b4",\r
"type": "success",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1381.3263664245605,\r
- "y": 238.73421955108643,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 2275.0002403259277,\r
+ "y": 313.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "7a8d5805.fa1088"\r
+ "e5513b6e.ef8ac8"\r
]\r
]\r
},\r
{\r
- "id": "7a8d5805.fa1088",\r
+ "id": "e5513b6e.ef8ac8",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">",\r
"atomic": "true",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1556.8818969726562,\r
- "y": 236.40094184875488,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 2432.5002403259277,\r
+ "y": 313.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
- []\r
+ [\r
+ "5d082e27.1f397"\r
+ ]\r
]\r
},\r
{\r
- "id": "7717d78.ee45028",\r
+ "id": "528cf13c.0c237",\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
+ "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=\"Error executing Create vpn rest api\" />\n",\r
"comments": "",\r
- "x": 1565.1041717529297,\r
- "y": 310.62305545806885,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 2409.0002403259277,\r
+ "y": 213.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": []\r
},\r
{\r
- "id": "4c50157f.5bc03c",\r
+ "id": "ce710140.b905e",\r
"type": "failure",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1386.770851135254,\r
- "y": 309.84528493881226,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 2271.0002403259277,\r
+ "y": 213.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "7717d78.ee45028"\r
+ "528cf13c.0c237"\r
]\r
]\r
},\r
{\r
- "id": "fe88648c.ffce68",\r
+ "id": "e8420532.df1058",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 78.4443130493164,\r
- "y": 91,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 124.99999618530273,\r
+ "y": 124.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "7387008c.4a9fe"\r
+ "8ccfff99.445d6"\r
]\r
]\r
},\r
{\r
- "id": "7387008c.4a9fe",\r
+ "id": "8ccfff99.445d6",\r
"type": "service-logic",\r
"name": "DataChange ${project.version}",\r
"module": "DataChange",\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='DataChange' version='${project.version}'>",\r
"outputs": 1,\r
- "x": 236.55543899536133,\r
- "y": 132.4444613456726,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 190.99999618530273,\r
+ "y": 184.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "f56e7701.2fd2c8"\r
+ "9ae5c632.b6f538"\r
]\r
]\r
},\r
{\r
- "id": "f56e7701.2fd2c8",\r
+ "id": "9ae5c632.b6f538",\r
"type": "method",\r
"name": "method esr-thirdparty-sdnc-discovery",\r
"xml": "<method rpc='esr-thirdparty-sdnc-discovery' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 333,\r
- "y": 243.22224235534668,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 210.99999618530273,\r
+ "y": 264.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "4c6047b0.71e118"\r
+ "12028600.fb215a"\r
]\r
]\r
},\r
{\r
- "id": "4c6047b0.71e118",\r
+ "id": "12028600.fb215a",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 241.22222900390625,\r
- "y": 352.11122035980225,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 458.49999618530273,\r
+ "y": 264.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "9b67a1c0.1e23e"\r
+ "807f3d.fff210c"\r
]\r
]\r
},\r
{\r
- "id": "fd4c6f6.9751e9",\r
+ "id": "5d082e27.1f397",\r
"type": "for",\r
"name": "for each Network",\r
"xml": "<for index='nidx' start='0' end='`$topology.networks.network_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1054.9258041381836,\r
- "y": 388.22217655181885,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 1858.5002555847168,\r
+ "y": 413.00000953674316,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "22efb538.f3605a"\r
+ "e62b44ce.a0e368"\r
]\r
]\r
},\r
{\r
- "id": "22efb538.f3605a",\r
+ "id": "e62b44ce.a0e368",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1244.925765991211,\r
- "y": 395.9999694824219,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 2007.0002555847168,\r
+ "y": 413.00000953674316,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[\r
- "995bcad0.798cf8",\r
- "31478e5.e5c4072"\r
+ "69d3f3bb.60d83c",\r
+ "4e20c7e0.4989a8"\r
]\r
]\r
},\r
{\r
- "id": "995bcad0.798cf8",\r
+ "id": "69d3f3bb.60d83c",\r
"type": "call",\r
"name": "call update-network-to-aai",\r
"xml": "<call module='DataChange' rpc='update-network-to-aai' mode='sync' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1498.2591876983643,\r
- "y": 459.3333396911621,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 2186.000255584717,\r
+ "y": 433.00000953674316,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "31478e5.e5c4072",\r
+ "id": "4e20c7e0.4989a8",\r
"type": "set",\r
"name": "set network",\r
"xml": "<set>\n<parameter name='network.' value='`$topology.networks.network[$nidx].`' />\n",\r
"comments": "",\r
- "x": 1450.4813079833984,\r
- "y": 377.111083984375,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 2141.000255584717,\r
+ "y": 393.00000953674316,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": []\r
},\r
{\r
- "id": "40518e2c.2c734",\r
+ "id": "570488eb.f03fc8",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1508.2590026855469,\r
- "y": 193.7777624130249,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 1931.0002403259277,\r
+ "y": 213.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "793cc07c.4e65e",\r
+ "id": "8485b334.0774f",\r
"type": "comment",\r
"name": "Do Nothing",\r
"info": "",\r
"comments": "",\r
- "x": 1643.814576466878,\r
- "y": 192.666638162401,\r
- "z": "fce0b4d3.a9be08",\r
+ "x": 2101.0002403259277,\r
+ "y": 253.9999942779541,\r
+ "z": "43e1d1ad.d6a8e",\r
"wires": []\r
+ },\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
}\r
]
\ No newline at end of file