Fix root data node QName equality check 75/68375/2
authorIgor Foltin <igor.foltin@pantheon.tech>
Fri, 16 Feb 2018 16:43:24 +0000 (17:43 +0100)
committerIgor Foltin <igor.foltin@pantheon.tech>
Sat, 24 Feb 2018 16:20:11 +0000 (16:20 +0000)
commitc26b46042b457ad729b3b646f01679f1d26e3b55
treec4742efdbc6ffc59c5b32a2987b01e988a86df30
parentdd1fc555835922db27cfe76799437acf51952266
Fix root data node QName equality check

This fixes the http error status 500 when trying to read
the whole mounted datastore using the new restconf
implementation based on RFC8040.

When serializing a NormalizedNode that represents
the data root we need to serialize only its children.

Change-Id: Ibd7bd71fe6f36674f62b9d974c85045c359cc6b1
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/jersey/providers/ParameterAwareNormalizedNodeWriter.java