Network model add enable wavelength unit test 38/94238/8
authormanuedelf <emmanuelle.delfour@orange.com>
Fri, 11 Dec 2020 15:21:45 +0000 (16:21 +0100)
committermanuedelf <emmanuelle.delfour@orange.com>
Fri, 18 Dec 2020 17:59:32 +0000 (18:59 +0100)
commit4d58697ad884d9a7cedcd38c2a983e8d33c7e411
tree688b85282c1e32ae44c6c06587043238e2558e5c
parentd0599fd6fd3b1fe65e606e14e4d763ef86f68ee5
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]