Do not consider query depth in initial namespace 77/87377/7
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:10 +0000 (04:35 +0000)
commit5543de268f65c5ce2dcd6e85c100cac16aceb921
tree6ba31d9aca72691d3660b488054e7f818e4b9066
parent11332bde30aa50646d9919b8091dd8bcc1b48f07
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