Test-common module update 37/94237/8
authormanuedelf <emmanuelle.delfour@orange.com>
Fri, 11 Dec 2020 15:04:34 +0000 (16:04 +0100)
committermanuedelf <emmanuelle.delfour@orange.com>
Fri, 18 Dec 2020 17:59:32 +0000 (18:59 +0100)
commitd0599fd6fd3b1fe65e606e14e4d763ef86f68ee5
tree357885edeff870e4f373e56b2cd365736868cd15
parent7ca7cc666a4fc4af0a5b7252be8ca2f49073968a
Test-common module update

Update test-common module to be able to deserialize json for yang object
that are not data object (notification, rpcdata).
- change parent to mdsal bing parent to be able to generate classes from
yang files : today converter can only parse json for data object not
notification or rpcdata. A temporary workaroud is to add stub model yang
data object.
- replace getBindingToNormalizedNodeCodec by getBindingDOMCodecServices
to have all the methods of BindingDOMCodecServices.
TODO: clean converter to use methods from BindingDOMCodecServices
and focus converter on parsing/writing json or xml file for data
object, notification or rpcdata.

JIRA: TRNSPRTPCE-230
Signed-off-by: manuedelf <emmanuelle.delfour@orange.com>
Change-Id: I201060182ffe6434ffe837198d84e44c35d237c5
test-common/pom.xml
test-common/src/main/java/org/opendaylight/transportpce/test/DataStoreContext.java
test-common/src/main/java/org/opendaylight/transportpce/test/DataStoreContextImpl.java
test-common/src/main/java/org/opendaylight/transportpce/test/converter/JSONDataObjectConverter.java
test-common/src/main/java/org/opendaylight/transportpce/test/converter/XMLDataObjectConverter.java