[NETCONF-1066] Notification stream query parameters are broken Created: 26/Jun/23  Updated: 13/Jul/23

Status: Open
Project: netconf
Component/s: restconf-nb
Affects Version/s: 2.0.14, 5.0.4
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Valentin Mayamsin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: pick-next, pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ODL Argon-SR1 and earlier



 Description   

opendaylight-user@root> feature:install odl-restconf-nb

$ curl -X GET  http://localhost:8181/rests/data/ietf-restconf-monitoring:restconf-state/streams

...

$ curl -X GET http://localhost:8181/rests/data/ietf-restconf-monitoring:restconf-state/streams/stream=data-changed-notification/access=JSON/location?start-time=202
3-06-23T18:20:18.00000Z

{
 "errors": {
   "error": [
     

{        "error-tag": "malformed-message",        "error-message": "Invalid parameter in read: start-time",        "error-type": "protocol"      }


   ]
 }
}



 Comments   
Comment by Valentin Mayamsin [ 13/Jul/23 ]

Workaround is to use the following URL to pass notification parameters:

http://localhost:8181/rests/data/ietf-restconf-monitoring:restconf-state/streams/stream/notification-stream/sal-remote:data-changed-notification/JSON?start-time=2023-07-13T22:40:18.00000Z

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