[NETCONF-237] Fix bugs of new Restconf 11 implementation Created: 28/Jul/16  Updated: 15/Mar/19  Resolved: 05/Aug/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


External issue ID: 6291

 Description   

Problems
1. not possible to cal GET method because it asks for / at the beginning of identifier
2. NullPointerException when trying to receive data with GET operation and data does not exists in operational but exists in config (and vice versa)
3. when data does not exists in config nor in operational error 404 should be returned (not NullPointerException)



 Comments   
Comment by Ivan Hrasko [ 28/Jul/16 ]

Patch:
https://git.opendaylight.org/gerrit/#/c/42565

Comment by Ivan Hrasko [ 28/Jul/16 ]

4. When absolute path (127.0.0.1:8181/restconf/11/data) is used, NullPointerException is thrown but YangInstanceIdentifier.EMPTY should be returned.

Comment by Ivan Hrasko [ 05/Aug/16 ]

https://git.opendaylight.org/gerrit/#/c/42565 - has been merged

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