Do not consider query depth in initial namespace 36/88936/3
authorwsx25289 <10200860@zte.com.cn>
Mon, 3 Feb 2020 10:57:49 +0000 (05:57 -0500)
committerRobert Varga <nite@hq.sk>
Tue, 7 Apr 2020 04:35:20 +0000 (04:35 +0000)
commit4359af0c9eb2e5a1dc38301dd7b034b68090daf2
tree3b7404409b793538309296dc6e6d43162999ae96
parentd0278f68e42875d06e79bc312a06abb53e6f0527
Do not consider query depth in initial namespace

Initial namespace is independent of the maximum depth requested
by the user. This is a mixup with path depth introduced in the
previous fix for NETCONF-497.

Change-Id: I90fdcc60b2be0891082333490d77d681ecc4fc4a
Signed-off-by: Wsx25289 <10200860@zte.com.cn>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/NormalizedNodeJsonBodyWriter.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/JSONRestconfServiceRfc8040ImplTest.java