UUID stabilization in TAPI Topology abstraction 45/90445/2
authorGilles Thouenon <gilles.thouenon@orange.com>
Sat, 13 Jun 2020 14:24:02 +0000 (16:24 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Mon, 15 Jun 2020 15:51:21 +0000 (17:51 +0200)
commit227a39b7f2adf915fc6b8dc5277c1e8fe0b2b4ed
tree583bf219a7a457dbfba3d89767dcd77678d1fc55
parente25624aca3a34b7a8e30cd8b8819eb6ca838932d
UUID stabilization in TAPI Topology abstraction

- make UUID generation deterministics instead of being randomly generated
- update existing JUnit tests taking into acount this evolution
- add new JUnit test to validate the TAPI abstraction for OTN topology

TRNSPRTPCE-186
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: Ia8541282799c10c5de0ad4bb263eb33ec6eb87a1
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/ConvertORTopoObjectToTapiTopoObject.java
tapi/src/main/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImpl.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/topology/TapiTopologyImplTest.java
tapi/src/test/java/org/opendaylight/transportpce/tapi/utils/TopologyDataUtils.java
tapi/src/test/resources/otn-topology.xml [new file with mode: 0644]