[NETCONF-286] Implement Query parameters - depth Created: 07/Oct/16  Updated: 15/Mar/19  Resolved: 08/Nov/16

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Ivan Hrasko Assignee: Ivan Hrasko
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks NETCONF-304 Milestone: Query parameters Resolved
External issue ID: 6895

 Description   

Implement the "depth" query parameter in new Restconf based on version 17 of Restconf draft.



 Comments   
Comment by Ivan Hrasko [ 07/Oct/16 ]

Gerrit patch:
https://git.opendaylight.org/gerrit/#/c/46601/

Comment by Ivan Hrasko [ 28/Oct/16 ]

map nodes should not write any children when map node is target and depth is 1:
fixed in https://git.opendaylight.org/gerrit/#/c/46669/32

Comment by Ivan Hrasko [ 02/Nov/16 ]

Map nodes depth is fixed in this way (no map entry children are written):

"my-list1": [
{}
]

but according to https://tools.ietf.org/html/draft-ietf-netconf-restconf-18#appendix-D.3

it should be:

"my-list1": {}

but i have not find any way to do it with NormalizedNodeStreamWriter.

Comment by Ivan Hrasko [ 08/Nov/16 ]

Merged to master

Generated at Wed Feb 07 20:14:38 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.