Network model add enable wavelength unit test 58/94558/7
authormanuedelf <emmanuelle.delfour@orange.com>
Fri, 11 Dec 2020 15:21:45 +0000 (16:21 +0100)
committermanuedelf <emmanuelle.delfour@orange.com>
Sat, 9 Jan 2021 14:41:35 +0000 (15:41 +0100)
commitfe91cf1009219e342adbe463e31346935ef4bb31
tree5d860813134be4144c24c676000ea695f8383932
parent6fede53990d78fad5c5a52d184245aa5db43fe5f
Network model add enable wavelength unit test

- Enable and fix NetworkModelWavelengthServiceTest.
- Remove no more used PathDescriptionUtils test class
- Add a stub yang model for path-description in test-common to define
path description as a container and use it to parse
path_description.json test file. Using a json file avoid to have big
test classes to instantiate yang object.

JIRA: TRNSPRTPCE-230
Signed-off-by: manuedelf <emmanuelle.delfour@orange.com>
Change-Id: If843edb8116cb7ac60cffa3cd25544e9a251c88a
networkmodel/src/test/java/org/opendaylight/transportpce/networkmodel/service/NetworkModelWavelengthServiceTest.java
networkmodel/src/test/java/org/opendaylight/transportpce/networkmodel/util/test/PathDescriptionUtils.java [deleted file]
networkmodel/src/test/resources/path_description.json
test-common/src/main/yang/path-description-stub@2020-12-11.yang [new file with mode: 0644]