Do not consider query depth in initial namespace 90/87390/4
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:30 +0000 (04:35 +0000)
commit50803c603027a36c8f2b7875fa07327cd4f114b1
treecfcdd36efb4b53f464a9b35888036e4b6bd0e505
parenta002f5a401b6528f77f3e67b759117e8fc33231b
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