From 1b4700191e39fcd7b40e8bd20270451d39d0c225 Mon Sep 17 00:00:00 2001 From: Franklin Dsilva Date: Thu, 20 Feb 2020 05:14:28 +0000 Subject: Topology Discovery and optical-service DGs to support MDONS usecase Change-Id: I1c28e799cc83325e8913d17ee8b718b0a4160cb2 Issue-ID: SDNC-928 Signed-off-by: Franklin Dsilva Former-commit-id: 6a42d5eee5d71870527c8a302308f3e49829a496 --- .../DataChange_esr-thirdparty-sdnc-discovery.json | 709 +++++++++++----- .../json/DataChange_msa-update-network-to-aai.json | 904 +++++++++++++++++++++ .../datachange/src/main/resources/graph.versions | 1 + .../DataChange_esr-thirdparty-sdnc-discovery.xml | 356 ++++---- .../xml/DataChange_msa-update-network-to-aai.xml | 229 ++++++ 5 files changed, 1845 insertions(+), 354 deletions(-) create mode 100644 platform-logic/datachange/src/main/json/DataChange_msa-update-network-to-aai.json create mode 100644 platform-logic/datachange/src/main/xml/DataChange_msa-update-network-to-aai.xml (limited to 'platform-logic/datachange/src/main') diff --git a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json index 7c2cc108..9b95dc5a 100644 --- a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json +++ b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery.json @@ -1,251 +1,251 @@ [ { - "id": "41629315.bd4abc", + "id": "36e96ed4.41d832", "type": "other", "name": "update", "xml": "\n", "comments": "", "outputs": 1, - "x": 724.9999961853027, - "y": 349.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 665.5, + "y": 329, + "z": "35b097d7.5fa018", "wires": [ [ - "9970355a.979a58" + "8acc6f21.be6fc8" ] ] }, { - "id": "bb11b779.ca75f8", + "id": "6f06aa61.f248ec", "type": "other", "name": "delete", "xml": "\n", "comments": "", "outputs": 1, - "x": 724.9999961853027, - "y": 429.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 665.5, + "y": 409, + "z": "35b097d7.5fa018", "wires": [ [ - "7e0497f8.ddad68" + "a603632c.68bff" ] ] }, { - "id": "7e0497f8.ddad68", + "id": "a603632c.68bff", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 866.4999961853027, - "y": 429.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 807, + "y": 409, + "z": "35b097d7.5fa018", "wires": [ [] ] }, { - "id": "c60c87fa.e5d1a8", + "id": "68bed413.930adc", "type": "comment", "name": "TODO: Delete topology from AAI", "info": "", "comments": "", - "x": 799.3335151672363, - "y": 397.96898913383484, - "z": "43e1d1ad.d6a8e", + "x": 739.8335189819336, + "y": 376.96899485588074, + "z": "35b097d7.5fa018", "wires": [] }, { - "id": "cb414b17.62b928", + "id": "50de7689.c1ed4", "type": "switchNode", "name": "switch aai-event-trigger", "xml": "\n", "comments": "", "outputs": 1, - "x": 555.4999961853027, - "y": 389.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 496, + "y": 369, + "z": "35b097d7.5fa018", "wires": [ [ - "41629315.bd4abc", - "bb11b779.ca75f8" + "36e96ed4.41d832", + "6f06aa61.f248ec" ] ] }, { - "id": "5f482ccf.0ae764", + "id": "e12b7948.8a8be", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, - "x": 1252.4999961853027, - "y": 260.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1193, + "y": 240, + "z": "35b097d7.5fa018", "wires": [ [ - "d220c063.b8e9a", - "9a482a6d.6b7268", - "97f2ea03.107968", - "f06d5e7a.dcdff", - "1b8d7ae8.41c4c5" + "484845a5.2238e4", + "4e058d3f.ebbc8c", + "19259d76.96fc3b", + "ac66ccfd.381a88", + "da47859b.4ec77" ] ] }, { - "id": "9a482a6d.6b7268", + "id": "4e058d3f.ebbc8c", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1525.5001945495605, - "y": 182.00000381469727, - "z": "43e1d1ad.d6a8e", + "x": 1466.0001983642578, + "y": 161.00000953674316, + "z": "35b097d7.5fa018", "wires": [ [ - "6b4e87a7.382818", - "8968e872.1395d8" + "916502a3.877388", + "e44e3e68.a49fd8" ] ] }, { - "id": "6b4e87a7.382818", + "id": "916502a3.877388", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 1815.0002403259277, - "y": 173.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1755.500244140625, + "y": 153, + "z": "35b097d7.5fa018", "wires": [ [ - "abb4b716.9e6c48" + "a8c3cc1.f5d4bb" ] ] }, { - "id": "8968e872.1395d8", + "id": "e44e3e68.a49fd8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 1811.0002403259277, - "y": 213.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1751.500244140625, + "y": 193, + "z": "35b097d7.5fa018", "wires": [ [ - "570488eb.f03fc8" + "e40e8527.2ee67" ] ] }, { - "id": "abb4b716.9e6c48", + "id": "a8c3cc1.f5d4bb", "type": "set", "name": "set token-id", "xml": "\n\n", "comments": "", - "x": 1965.5002403259277, - "y": 173.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1906.000244140625, + "y": 153, + "z": "35b097d7.5fa018", "wires": [] }, { - "id": "157313d5.db8b4c", + "id": "f1eb21a4.8d1378", "type": "execute", "name": "execute RestApiCallNode Get Topology", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 2032.5002403259277, - "y": 293.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1973.000244140625, + "y": 273, + "z": "35b097d7.5fa018", "wires": [ [ - "33873b8b.c155b4", - "ce710140.b905e" + "8660dd2a.bc5478", + "f7ff1324.a58c28" ] ] }, { - "id": "33873b8b.c155b4", + "id": "8660dd2a.bc5478", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, - "x": 2275.0002403259277, - "y": 313.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 2215.500244140625, + "y": 293, + "z": "35b097d7.5fa018", "wires": [ [ - "e5513b6e.ef8ac8" + "73cb768c.3647e" ] ] }, { - "id": "e5513b6e.ef8ac8", + "id": "73cb768c.3647e", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, - "x": 2432.5002403259277, - "y": 313.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 2373.000244140625, + "y": 293, + "z": "35b097d7.5fa018", "wires": [ [ - "5d082e27.1f397" + "92b164bb.975a38" ] ] }, { - "id": "528cf13c.0c237", + "id": "33371bb9.421c84", "type": "returnFailure", "name": "return failure", "xml": "\n \n\t\n \n", "comments": "", - "x": 2409.0002403259277, - "y": 213.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 2349.500244140625, + "y": 193, + "z": "35b097d7.5fa018", "wires": [] }, { - "id": "ce710140.b905e", + "id": "f7ff1324.a58c28", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, - "x": 2271.0002403259277, - "y": 213.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 2211.500244140625, + "y": 193, + "z": "35b097d7.5fa018", "wires": [ [ - "528cf13c.0c237" + "33371bb9.421c84" ] ] }, { - "id": "e8420532.df1058", + "id": "ea734627.c2c7d8", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 124.99999618530273, - "y": 124.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 118.5, + "y": 104, + "z": "35b097d7.5fa018", "wires": [ [ - "8ccfff99.445d6" + "89ca9d8b.bbc328" ] ] }, { - "id": "8ccfff99.445d6", + "id": "89ca9d8b.bbc328", "type": "service-logic", "name": "DataChange ${project.version}", "module": "DataChange", @@ -253,385 +253,676 @@ "comments": "", "xml": "", "outputs": 1, - "x": 190.99999618530273, - "y": 184.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 131.5, + "y": 164, + "z": "35b097d7.5fa018", "wires": [ [ - "9ae5c632.b6f538" + "789b0d9d.02f75c" ] ] }, { - "id": "9ae5c632.b6f538", + "id": "789b0d9d.02f75c", "type": "method", "name": "method esr-thirdparty-sdnc-discovery", "xml": "\n", "comments": "", "outputs": 1, - "x": 210.99999618530273, - "y": 264.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 151.5, + "y": 244, + "z": "35b097d7.5fa018", "wires": [ [ - "12028600.fb215a" + "19dd5973.ca5fbf" ] ] }, { - "id": "12028600.fb215a", + "id": "19dd5973.ca5fbf", "type": "block", "name": "block : atomic", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 458.49999618530273, - "y": 264.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 399, + "y": 244, + "z": "35b097d7.5fa018", "wires": [ [ - "807f3d.fff210c" + "72476c1.b3cb514" ] ] }, { - "id": "5d082e27.1f397", + "id": "92b164bb.975a38", "type": "for", "name": "for each Network", "xml": "\n", "comments": "", "outputs": 1, - "x": 1858.5002555847168, - "y": 413.00000953674316, - "z": "43e1d1ad.d6a8e", + "x": 1799.000259399414, + "y": 392.00001525878906, + "z": "35b097d7.5fa018", "wires": [ [ - "e62b44ce.a0e368" + "a33c6916.e2063" ] ] }, { - "id": "e62b44ce.a0e368", + "id": "a33c6916.e2063", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2007.0002555847168, - "y": 413.00000953674316, - "z": "43e1d1ad.d6a8e", + "x": 1947.500259399414, + "y": 392.00001525878906, + "z": "35b097d7.5fa018", "wires": [ [ - "69d3f3bb.60d83c", - "4e20c7e0.4989a8" + "70a92c18.3741ec", + "6196a44a.543cec" ] ] }, { - "id": "69d3f3bb.60d83c", + "id": "70a92c18.3741ec", "type": "call", "name": "call update-network-to-aai", "xml": "\n", "comments": "", "outputs": 1, - "x": 2186.000255584717, - "y": 433.00000953674316, - "z": "43e1d1ad.d6a8e", + "x": 2126.500259399414, + "y": 412.00001525878906, + "z": "35b097d7.5fa018", "wires": [ [] ] }, { - "id": "4e20c7e0.4989a8", + "id": "6196a44a.543cec", "type": "set", "name": "set network", "xml": "\n\n", "comments": "", - "x": 2141.000255584717, - "y": 393.00000953674316, - "z": "43e1d1ad.d6a8e", + "x": 2081.500259399414, + "y": 372.00001525878906, + "z": "35b097d7.5fa018", "wires": [] }, { - "id": "570488eb.f03fc8", + "id": "e40e8527.2ee67", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1931.0002403259277, - "y": 213.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1871.500244140625, + "y": 193, + "z": "35b097d7.5fa018", "wires": [ [] ] }, { - "id": "8485b334.0774f", + "id": "984ef742.f7de98", "type": "comment", "name": "Do Nothing", "info": "", "comments": "", - "x": 2101.0002403259277, - "y": 253.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 2041.500244140625, + "y": 233, + "z": "35b097d7.5fa018", "wires": [] }, { - "id": "4662cdd1.b4f8a4", + "id": "4308651d.5eb474", "type": "switchNode", "name": "switch type", "xml": "\n", "comments": "", "outputs": 1, - "x": 977.9999961853027, - "y": 349.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 918.5, + "y": 329, + "z": "35b097d7.5fa018", "wires": [ [ - "c4659524.ddaee8", - "b8841114.e40fb" + "98c19260.813238", + "3ccd2719.ec5e88", + "c0dd9c59.c4eff8", + "4451a4e9.723244" ] ] }, { - "id": "9970355a.979a58", + "id": "8acc6f21.be6fc8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 844.9999961853027, - "y": 349.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 785.5, + "y": 329, + "z": "35b097d7.5fa018", "wires": [ [ - "4662cdd1.b4f8a4" + "4308651d.5eb474" ] ] }, { - "id": "c4659524.ddaee8", + "id": "98c19260.813238", "type": "other", "name": "SOTN", "xml": "\n", "comments": "", "outputs": 1, - "x": 1090.9999961853027, - "y": 260.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1031.5, + "y": 240, + "z": "35b097d7.5fa018", "wires": [ [ - "5f482ccf.0ae764" + "e12b7948.8a8be" ] ] }, { - "id": "b8841114.e40fb", + "id": "3ccd2719.ec5e88", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, - "x": 1106.0000038146973, - "y": 500.00002670288086, - "z": "43e1d1ad.d6a8e", + "x": 1033.500087738037, + "y": 789.0001106262207, + "z": "35b097d7.5fa018", "wires": [ [ - "3b070a5d.7f8e96" + "f4c76776.724b28" ] ] }, { - "id": "3b070a5d.7f8e96", + "id": "f4c76776.724b28", "type": "returnFailure", "name": "return failure", "xml": "\n\n\t\n \n \n \n", "comments": "", "outputs": 1, - "x": 1472.0001945495605, - "y": 142.00000381469727, - "z": "43e1d1ad.d6a8e", + "x": 1412.5001983642578, + "y": 121.00000953674316, + "z": "35b097d7.5fa018", "wires": [ [] ] }, { - "id": "97f2ea03.107968", + "id": "19259d76.96fc3b", "type": "switchNode", "name": "switch prop.sdncRestApi.token_id", "xml": "\n", "comments": "", "outputs": 1, - "x": 1518.5001945495605, - "y": 262.00000381469727, - "z": "43e1d1ad.d6a8e", + "x": 1459.0001983642578, + "y": 241.00000953674316, + "z": "35b097d7.5fa018", "wires": [ [ - "a5358ccb.9e8dd", - "7f5cb122.be2df" + "2313a899.da913", + "531d5829.4a09a8" ] ] }, { - "id": "a5358ccb.9e8dd", + "id": "2313a899.da913", "type": "other", "name": "Null", "xml": "\n", "comments": "", "outputs": 1, - "x": 1811.0002403259277, - "y": 253.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1751.500244140625, + "y": 233, + "z": "35b097d7.5fa018", "wires": [ [ - "ef0365d3.97ff38" + "c60b8cf4.53a21" ] ] }, { - "id": "7f5cb122.be2df", + "id": "531d5829.4a09a8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, - "x": 1811.0002403259277, - "y": 293.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1751.500244140625, + "y": 273, + "z": "35b097d7.5fa018", "wires": [ [ - "157313d5.db8b4c" + "f1eb21a4.8d1378" ] ] }, { - "id": "ef0365d3.97ff38", + "id": "c60b8cf4.53a21", "type": "execute", "name": "execute RestApiCallNode Get Topology", "xml": "\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 2032.5002403259277, - "y": 253.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 1973.000244140625, + "y": 233, + "z": "35b097d7.5fa018", "wires": [ [ - "ce710140.b905e", - "33873b8b.c155b4" + "f7ff1324.a58c28", + "8660dd2a.bc5478" ] ] }, { - "id": "1b8d7ae8.41c4c5", + "id": "da47859b.4ec77", "type": "execute", "name": "execute RestconfDiscoveryNode", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, - "x": 1517.0001525878906, - "y": 400.9999828338623, - "z": "43e1d1ad.d6a8e", + "x": 1455.5001983642578, + "y": 381.00000953674316, + "z": "35b097d7.5fa018", "wires": [ [] ] }, { - "id": "f06d5e7a.dcdff", + "id": "ac66ccfd.381a88", "type": "set", "name": "set encoding-format", - "xml": "\n", + "xml": "\n\n", "comments": "", - "x": 1475.0001945495605, - "y": 362.00000381469727, - "z": "43e1d1ad.d6a8e", + "x": 1415.5001983642578, + "y": 341.00000953674316, + "z": "35b097d7.5fa018", "wires": [] }, { - "id": "971a117b.a06b9", + "id": "fa1a511.33260b", "type": "comment", "name": "Notification subscription", "info": "", "comments": "", - "x": 1480.0003395080566, - "y": 319.00000286102295, - "z": "43e1d1ad.d6a8e", + "x": 1420.500343322754, + "y": 298.00000858306885, + "z": "35b097d7.5fa018", "wires": [] }, { - "id": "807f3d.fff210c", + "id": "72476c1.b3cb514", "type": "switchNode", "name": "switch", "xml": "\n", "comments": "", "outputs": 1, - "x": 164.99999618530273, - "y": 389.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 105.5, + "y": 369, + "z": "35b097d7.5fa018", "wires": [ [ - "1b70ca9c.7c9985", - "c9877e2e.2d6a5" + "7ff38366.3f2f34", + "18555fe6.542308" ] ] }, { - "id": "1b70ca9c.7c9985", + "id": "7ff38366.3f2f34", "type": "outcomeFalse", "name": "false", "xml": "\n", "comments": "", "outputs": 1, - "x": 351.99999618530273, - "y": 389.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 292.5, + "y": 369, + "z": "35b097d7.5fa018", "wires": [ [ - "cb414b17.62b928" + "50de7689.c1ed4" ] ] }, { - "id": "c9877e2e.2d6a5", + "id": "18555fe6.542308", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, - "x": 352.99999618530273, - "y": 514.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 293.5, + "y": 494, + "z": "35b097d7.5fa018", "wires": [ [ - "66b25f6e.ea9c2" + "46364a8c.43d47c" ] ] }, { - "id": "66b25f6e.ea9c2", + "id": "46364a8c.43d47c", "type": "call", "name": "call esr-thirdparty-sdnc-of-zte", "xml": "\n", "comments": "", "outputs": 1, - "x": 575.9999961853027, - "y": 514.9999942779541, - "z": "43e1d1ad.d6a8e", + "x": 516.5, + "y": 494, + "z": "35b097d7.5fa018", + "wires": [ + [] + ] + }, + { + "id": "c0dd9c59.c4eff8", + "type": "other", + "name": "TAPI", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1109.5, + "y": 474, + "z": "35b097d7.5fa018", + "wires": [ + [ + "b4761a0a.e9187" + ] + ] + }, + { + "id": "b4761a0a.e9187", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1272.5, + "y": 473, + "z": "35b097d7.5fa018", + "wires": [ + [ + "5f4972dc.a8c76c" + ] + ] + }, + { + "id": "5f4972dc.a8c76c", + "type": "execute", + "name": "execute", + "xml": "\n \n \n \n \n \n \n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 1433.5, + "y": 472, + "z": "35b097d7.5fa018", + "wires": [ + [ + "cef3a525.157f48", + "aa2154d5.57633" + ] + ] + }, + { + "id": "aa2154d5.57633", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1575.5, + "y": 548, + "z": "35b097d7.5fa018", + "wires": [ + [ + "80d535c0.0a3eb" + ] + ] + }, + { + "id": "cef3a525.157f48", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1609.5, + "y": 469, + "z": "35b097d7.5fa018", + "wires": [ + [ + "9d726edf.4a00d" + ] + ] + }, + { + "id": "9d726edf.4a00d", + "type": "returnFailure", + "name": "return failure", + "xml": "\n \n \n \n\n", + "comments": "", + "x": 1779.5, + "y": 468, + "z": "35b097d7.5fa018", + "wires": [] + }, + { + "id": "80d535c0.0a3eb", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1736.5, + "y": 547, + "z": "35b097d7.5fa018", + "wires": [ + [ + "73db98e4.daca9" + ] + ] + }, + { + "id": "73db98e4.daca9", + "type": "for", + "name": "for each topology", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1915.5, + "y": 547, + "z": "35b097d7.5fa018", + "wires": [ + [ + "d273e3f9.ce07" + ] + ] + }, + { + "id": "d273e3f9.ce07", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2082.5, + "y": 548, + "z": "35b097d7.5fa018", + "wires": [ + [ + "e1c04d4.8fe4cb", + "3d2b44f0.5e96ec" + ] + ] + }, + { + "id": "e1c04d4.8fe4cb", + "type": "set", + "name": "set topology", + "xml": "\n\n", + "comments": "", + "x": 2241.5, + "y": 549, + "z": "35b097d7.5fa018", + "wires": [] + }, + { + "id": "3d2b44f0.5e96ec", + "type": "call", + "name": "call tapi-update-network-to-aai", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2232.5, + "y": 615, + "z": "35b097d7.5fa018", + "wires": [ + [] + ] + }, + { + "id": "4451a4e9.723244", + "type": "outcome", + "name": "MSA", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1080.177324295044, + "y": 630.8993349075317, + "z": "35b097d7.5fa018", + "wires": [ + [ + "fe364eaa.3f7b08" + ] + ] + }, + { + "id": "fe364eaa.3f7b08", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1242.1773872375488, + "y": 628.899335861206, + "z": "35b097d7.5fa018", + "wires": [ + [ + "3e697d7a.72d032" + ] + ] + }, + { + "id": "3e697d7a.72d032", + "type": "execute", + "name": "execute", + "xml": "\n \n \n \n \n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1419.1771354675293, + "y": 620.8992919921875, + "z": "35b097d7.5fa018", + "wires": [ + [ + "65bb501c.2cef98", + "d2559ee1.0d8548" + ] + ] + }, + { + "id": "65bb501c.2cef98", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1572.1771354675293, + "y": 617.8992919921875, + "z": "35b097d7.5fa018", + "wires": [ + [ + "6d2f6447.367f94" + ] + ] + }, + { + "id": "6d2f6447.367f94", + "type": "returnFailure", + "name": "return failure", + "xml": "\n \n \n \n\n", + "comments": "", + "x": 1747.1771354675293, + "y": 616.8992919921875, + "z": "35b097d7.5fa018", + "wires": [] + }, + { + "id": "d2559ee1.0d8548", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1578.1771354675293, + "y": 690.8992919921875, + "z": "35b097d7.5fa018", + "wires": [ + [ + "81b6558e.8743c" + ] + ] + }, + { + "id": "81b6558e.8743c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 1762.1771354675293, + "y": 692.8992919921875, + "z": "35b097d7.5fa018", + "wires": [ + [ + "4139e8ab.39b6d8" + ] + ] + }, + { + "id": "4139e8ab.39b6d8", + "type": "call", + "name": "call msa-update-network-to-aai", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 2041.177001953125, + "y": 690.8992919921875, + "z": "35b097d7.5fa018", "wires": [ [] ] diff --git a/platform-logic/datachange/src/main/json/DataChange_msa-update-network-to-aai.json b/platform-logic/datachange/src/main/json/DataChange_msa-update-network-to-aai.json new file mode 100644 index 00000000..1dd336e8 --- /dev/null +++ b/platform-logic/datachange/src/main/json/DataChange_msa-update-network-to-aai.json @@ -0,0 +1,904 @@ +[ + { + "id": "8b4dcfe.e866f3", + "type": "service-logic", + "name": "DataChange ${project.version}", + "module": "DataChange", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 401, + "y": 62, + "z": "d8656b08.07aab8", + "wires": [ + [ + "adc1d56c.b72ff" + ] + ] + }, + { + "id": "adc1d56c.b72ff", + "type": "method", + "name": "method msa-update-network-to-aai", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 144, + "y": 136, + "z": "d8656b08.07aab8", + "wires": [ + [ + "106658a8.d884c7" + ] + ] + }, + { + "id": "106658a8.d884c7", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 382.00003814697266, + "y": 136.00001335144043, + "z": "d8656b08.07aab8", + "wires": [ + [ + "4b7c5962.7cf4f8" + ] + ] + }, + { + "id": "8e1c9818.33b57", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 123, + "y": 64, + "z": "d8656b08.07aab8", + "wires": [ + [ + "8b4dcfe.e866f3" + ] + ] + }, + { + "id": "4b7c5962.7cf4f8", + "type": "switchNode", + "name": "switch network-id", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 178.5104522705078, + "y": 247.0000114440918, + "z": "d8656b08.07aab8", + "wires": [ + [ + "b84da364.adfac", + "3a113c69.68266c" + ] + ] + }, + { + "id": "b84da364.adfac", + "type": "other", + "name": "other: Do Nothing", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 443.5104064941406, + "y": 469.99993896484375, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "3a113c69.68266c", + "type": "outcome", + "name": "otn-topology", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 410, + "y": 247, + "z": "d8656b08.07aab8", + "wires": [ + [ + "5112d334.33a61c" + ] + ] + }, + { + "id": "5112d334.33a61c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 605, + "y": 247, + "z": "d8656b08.07aab8", + "wires": [ + [ + "4a7e5696.0715b", + "d2e8624a.31b89", + "22d90846.8bc5b8", + "6c4d9e05.4fa72", + "1587342a.1379dc" + ] + ] + }, + { + "id": "4a7e5696.0715b", + "type": "save", + "name": "save network-resource", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 897, + "y": 100, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "d2e8624a.31b89", + "type": "save", + "name": "save network-resource relation with esr-thirdparty-sdnc", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 987, + "y": 159, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "22d90846.8bc5b8", + "type": "for", + "name": "for each node", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 831, + "y": 301, + "z": "d8656b08.07aab8", + "wires": [ + [ + "f56585e4.72bcc", + "b3dc81c8.6f70f8" + ] + ] + }, + { + "id": "f56585e4.72bcc", + "type": "set", + "name": "set node", + "xml": "\n\n", + "comments": "", + "x": 1013, + "y": 300, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "b3dc81c8.6f70f8", + "type": "switchNode", + "name": "switch node-type", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1034, + "y": 400, + "z": "d8656b08.07aab8", + "wires": [ + [ + "ac532b61.57fca8", + "a021c2b4.589bc" + ] + ] + }, + { + "id": "ac532b61.57fca8", + "type": "outcome", + "name": "SWITCH", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1219, + "y": 401, + "z": "d8656b08.07aab8", + "wires": [ + [ + "8591e2ec.94b2d8" + ] + ] + }, + { + "id": "a021c2b4.589bc", + "type": "other", + "name": "other : Do Nothing", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1262, + "y": 524, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "8591e2ec.94b2d8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1390, + "y": 402, + "z": "d8656b08.07aab8", + "wires": [ + [ + "8d6438ce.9a465", + "7c327396.cf8004", + "92a0366b.9648d8", + "506cbe9f.0da148", + "9a96883c.2c0c6", + "76be62e9.bf594c" + ] + ] + }, + { + "id": "8d6438ce.9a465", + "type": "execute", + "name": "execute", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1569, + "y": 194, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "7c327396.cf8004", + "type": "save", + "name": "save pnf details to AAI", + "xml": "\n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1624, + "y": 250, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "92a0366b.9648d8", + "type": "save", + "name": "save pnf relationship to network-resource in AAI", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1727, + "y": 314, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "506cbe9f.0da148", + "type": "for", + "name": "for each termination point", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1595, + "y": 575, + "z": "d8656b08.07aab8", + "wires": [ + [ + "a9a91cea.c7d998", + "3e218bee.5222ec", + "763d8580.7328c4", + "a8ff331a.025d", + "8e2b2ac1.d11b2", + "6bb4981.68f2ee8", + "9bf5664b.07737" + ] + ] + }, + { + "id": "a9a91cea.c7d998", + "type": "set", + "name": "set termination point", + "xml": "\n\n", + "comments": "", + "x": 1865, + "y": 606, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "a8ff331a.025d", + "type": "save", + "name": "save p-interface to AAI", + "xml": " \n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1862, + "y": 814, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "763d8580.7328c4", + "type": "execute", + "name": "execute", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1839, + "y": 752, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "3e218bee.5222ec", + "type": "switchNode", + "name": "switch tp-type", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1852, + "y": 674, + "z": "d8656b08.07aab8", + "wires": [ + [ + "88cb4971.2e8588", + "43b07fb6.69d3f", + "818ba69d.e74cf8" + ] + ] + }, + { + "id": "88cb4971.2e8588", + "type": "outcome", + "name": "XPONDER-NETWORK", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2090, + "y": 630, + "z": "d8656b08.07aab8", + "wires": [ + [ + "4bf140e7.df7828" + ] + ] + }, + { + "id": "43b07fb6.69d3f", + "type": "outcome", + "name": "XPONDER-CLIENT", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2080, + "y": 707, + "z": "d8656b08.07aab8", + "wires": [ + [ + "d2a50717.2a1d9" + ] + ] + }, + { + "id": "818ba69d.e74cf8", + "type": "other", + "name": "other : Do Nothing", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2090, + "y": 780, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "6c4d9e05.4fa72", + "type": "for", + "name": "for each link", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 792, + "y": 575, + "z": "d8656b08.07aab8", + "wires": [ + [ + "575b0050.f3102", + "f4b57e4d.f91c18" + ] + ] + }, + { + "id": "575b0050.f3102", + "type": "set", + "name": "set link", + "xml": "\n\n", + "comments": "", + "x": 987, + "y": 521, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "f4b57e4d.f91c18", + "type": "switchNode", + "name": "switch link-type", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 954, + "y": 661, + "z": "d8656b08.07aab8", + "wires": [ + [ + "c7be7986.f3d7", + "b81cc555.59f47" + ] + ] + }, + { + "id": "c7be7986.f3d7", + "type": "outcome", + "name": "OTN-LINK", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1167, + "y": 657, + "z": "d8656b08.07aab8", + "wires": [ + [ + "b99bdbf4.fe7ab8" + ] + ] + }, + { + "id": "b81cc555.59f47", + "type": "other", + "name": "other : Do Nothing", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1119, + "y": 761, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "b99bdbf4.fe7ab8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1168, + "y": 1158, + "z": "d8656b08.07aab8", + "wires": [ + [ + "eb78e1a4.f6c888", + "9c6cd27.ce7a0b", + "8d15fb9d.87f2c8", + "df343460.1e46a", + "d885100b.8f343", + "3c142cb3.61690c", + "14cce7fe.30486", + "4284a26f.1ce334" + ] + ] + }, + { + "id": "eb78e1a4.f6c888", + "type": "execute", + "name": "execute", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1428, + "y": 1017, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "9c6cd27.ce7a0b", + "type": "save", + "name": "save logical-link details to AAI", + "xml": "\n \n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 1517, + "y": 1157, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "4bf140e7.df7828", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2304, + "y": 631, + "z": "d8656b08.07aab8", + "wires": [ + [ + "dd7793ee.4f994" + ] + ] + }, + { + "id": "d2a50717.2a1d9", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2291, + "y": 710, + "z": "d8656b08.07aab8", + "wires": [ + [ + "765312cb.e91374" + ] + ] + }, + { + "id": "dd7793ee.4f994", + "type": "set", + "name": "set network-interface-type as NNI", + "xml": "\n\n", + "comments": "", + "x": 2545, + "y": 630, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "765312cb.e91374", + "type": "set", + "name": "set network-interface-type as UNI", + "xml": "\n\n", + "comments": "", + "x": 2548, + "y": 708, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "8e2b2ac1.d11b2", + "type": "set", + "name": "set speed-value as null", + "xml": "\n\n\n\n", + "comments": "", + "x": 1874, + "y": 523, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "8d15fb9d.87f2c8", + "type": "set", + "name": "set link-parameters", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 1489, + "y": 1066, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "df343460.1e46a", + "type": "save", + "name": "save logical-link relationship to p-interface", + "xml": "\n\n\n\n \n\n\n\n ", + "comments": "", + "outputs": 1, + "x": 1500, + "y": 1528, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "6bb4981.68f2ee8", + "type": "save", + "name": "save pnf & p-interface in DB", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1788, + "y": 998, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "d885100b.8f343", + "type": "get-resource", + "name": "get source pnf-name and interface-name UUID from DB", + "xml": "\n \n \n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1613, + "y": 1308, + "z": "d8656b08.07aab8", + "wires": [ + [ + "4c55d475.77aecc" + ] + ] + }, + { + "id": "3c142cb3.61690c", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1468, + "y": 1366, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "4c55d475.77aecc", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1931, + "y": 1312, + "z": "d8656b08.07aab8", + "wires": [ + [ + "2acd3a80.9f5afe" + ] + ] + }, + { + "id": "2acd3a80.9f5afe", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "x": 2085, + "y": 1304, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "14cce7fe.30486", + "type": "get-resource", + "name": "get destination pnf-name and interface-name UUID from DB", + "xml": "\n \n \n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1584, + "y": 1443, + "z": "d8656b08.07aab8", + "wires": [ + [ + "2b2056ba.68c06a" + ] + ] + }, + { + "id": "2b2056ba.68c06a", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1917, + "y": 1436, + "z": "d8656b08.07aab8", + "wires": [ + [ + "190b0926.27e49f" + ] + ] + }, + { + "id": "190b0926.27e49f", + "type": "set", + "name": "set", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "x": 2077, + "y": 1438, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "4284a26f.1ce334", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1459, + "y": 1109, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "9a96883c.2c0c6", + "type": "execute", + "name": "split node-id", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1627, + "y": 370, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "76be62e9.bf594c", + "type": "execute", + "name": "execute", + "xml": "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1626, + "y": 429, + "z": "d8656b08.07aab8", + "wires": [ + [ + "c6fee13e.a22228", + "4241c0e7.e68e5" + ] + ] + }, + { + "id": "b707b093.cd8c68", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1941, + "y": 444, + "z": "d8656b08.07aab8", + "wires": [ + [ + "bfdcc473.e8754" + ] + ] + }, + { + "id": "bfdcc473.e8754", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 2123, + "y": 439, + "z": "d8656b08.07aab8", + "wires": [] + }, + { + "id": "4241c0e7.e68e5", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1804, + "y": 376, + "z": "d8656b08.07aab8", + "wires": [ + [ + "8f6ab8.a5f3cd48" + ] + ] + }, + { + "id": "c6fee13e.a22228", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1770, + "y": 445, + "z": "d8656b08.07aab8", + "wires": [ + [ + "b707b093.cd8c68" + ] + ] + }, + { + "id": "8f6ab8.a5f3cd48", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1945, + "y": 370, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "9bf5664b.07737", + "type": "save", + "name": "save", + "xml": " \n\n", + "comments": "", + "outputs": 1, + "x": 1803.5, + "y": 886, + "z": "d8656b08.07aab8", + "wires": [ + [] + ] + }, + { + "id": "1587342a.1379dc", + "type": "set", + "name": "set controller_id", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 860, + "y": 218, + "z": "d8656b08.07aab8", + "wires": [] + } +] \ No newline at end of file diff --git a/platform-logic/datachange/src/main/resources/graph.versions b/platform-logic/datachange/src/main/resources/graph.versions index 1901fd05..53a1d02a 100644 --- a/platform-logic/datachange/src/main/resources/graph.versions +++ b/platform-logic/datachange/src/main/resources/graph.versions @@ -5,3 +5,4 @@ DataChange validate-esr-thirdparty-sdnc-input ${project.version} sync DataChange esr-thirdparty-sdnc-discovery ${project.version} sync DataChange esr-thirdparty-sdnc-discovery-of-zte ${project.version} sync DataChange update-network-to-aai ${project.version} sync +DataChange msa-update-network-to-aai ${project.version} sync diff --git a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml index f6cd4d19..c90a5cb2 100644 --- a/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml +++ b/platform-logic/datachange/src/main/xml/DataChange_esr-thirdparty-sdnc-discovery.xml @@ -1,148 +1,214 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/platform-logic/datachange/src/main/xml/DataChange_msa-update-network-to-aai.xml b/platform-logic/datachange/src/main/xml/DataChange_msa-update-network-to-aai.xml new file mode 100644 index 00000000..a370575d --- /dev/null +++ b/platform-logic/datachange/src/main/xml/DataChange_msa-update-network-to-aai.xml @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit 1.2.3-korg