GNPy stub for PCE 11/90011/7
authormanuedelf <emmanuelle.delfour@gmail.com>
Wed, 27 May 2020 18:48:12 +0000 (20:48 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Thu, 4 Jun 2020 10:25:38 +0000 (10:25 +0000)
commit882df7f693f64e3c7cbc4e12dab1629a2bb0c8be
treed2ce5d256ee62b4c99f4b93b315f614df76c610b
parent77fcc6a019ffb351ee6b5d13757cefecdd837a30
GNPy stub for PCE

Add GNPy stub to simulate GNPy API
Add class util to deserialize file content to GNPy Yang object
Add example how to use GNPy stub
Add JSON files for openroadm-network
Add JSON file for opendroadm-topology
Add JSON file for GNPy result
Add JSON file for GNPY request
Add simplelogger.properties file for unit tests log

JIRA: TRNSPRTPCE-209
Change-Id: Id2ea6ba918636a35b99cad2acc6176115d3dbe2b
14 files changed:
pce/pom.xml
pce/src/test/java/org/opendaylight/transportpce/pce/PceSendingPceRPCsTest.java
pce/src/test/java/org/opendaylight/transportpce/pce/gnpy/ConnectToGnpyServerTest.java [new file with mode: 0644]
pce/src/test/java/org/opendaylight/transportpce/pce/gnpy/GnpyStub.java [new file with mode: 0644]
pce/src/test/java/org/opendaylight/transportpce/pce/gnpy/GnpyUtilitiesImplTest.java
pce/src/test/java/org/opendaylight/transportpce/pce/gnpy/JerseyServer.java [new file with mode: 0644]
pce/src/test/java/org/opendaylight/transportpce/pce/utils/JsonUtil.java [new file with mode: 0644]
pce/src/test/java/org/opendaylight/transportpce/pce/utils/PceTestData.java
pce/src/test/resources/gnpy/gnpy_network.json [new file with mode: 0644]
pce/src/test/resources/gnpy/gnpy_request.json [new file with mode: 0644]
pce/src/test/resources/gnpy/gnpy_result_no_path.json [new file with mode: 0644]
pce/src/test/resources/gnpy/gnpy_result_with_path.json [new file with mode: 0644]
pce/src/test/resources/gnpy/gnpy_topology.json [new file with mode: 0644]
pce/src/test/resources/simplelogger.properties [new file with mode: 0644]