Add generic json String converter 12/95312/2
authormanuedelf <emmanuelle.delfour@orange.com>
Thu, 4 Feb 2021 09:47:08 +0000 (10:47 +0100)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 23 Feb 2021 13:42:33 +0000 (13:42 +0000)
commitd282862778c51ca1e1ca602731d38d9636b8bfab
treec1001685b0a855dcc75ddd15b764c5b11792cc4f
parentcc2d9a48e1a7084f27dd9807612480c5ddb299df
Add generic json String converter

In order to replace DataStoreServiceOperations in PCE, create a generic
json string converter in common module.
This converter will be used for serialization in nbi notifications
module.

Signed-off-by: manuedelf <emmanuelle.delfour@orange.com>
Change-Id: I8df37176a349668d5c9191481b9896c95013925a
common/src/main/java/org/opendaylight/transportpce/common/converter/JsonStringConverter.java [new file with mode: 0644]
common/src/test/java/org/opendaylight/transportpce/common/converter/JsonStringConverterTest.java [new file with mode: 0644]
common/src/test/resources/expected_string.json [new file with mode: 0644]
common/src/test/resources/gnpy_request.json [new file with mode: 0644]