GNPy stub for PCE 21/91121/1
authormanuedelf <emmanuelle.delfour@gmail.com>
Wed, 27 May 2020 18:48:12 +0000 (20:48 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Fri, 10 Jul 2020 12:59:34 +0000 (14:59 +0200)
commitc17d01c08205a48a585e2657c2cc86890a7f9d68
treed86b4a669ff258b70c7ca23600750650e09f191c
parentc4231ffe98487b6878118c8b21ba7f2ec58fc8a8
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]