[NETCONF-1151] Incorrect subscription request URL Created: 06/Sep/23  Updated: 08/Sep/23  Resolved: 08/Sep/23

Status: Resolved
Project: netconf
Component/s: restconf-nb
Affects Version/s: 6.0.1, 6.0.2
Fix Version/s: 7.0.0, 6.0.3

Type: Bug Priority: Medium
Reporter: Sangwook Ha Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Discovered in netconf-csit-1node-userfeatures-all-master #287.

Subscription request fails with the following error:

GET /rests/data/ietf-restconf-monitoring:restconf-state/streams/stream/data-change-event-subscription/network-topology:network-topology/datastore=CONFIGURATION/scope=BASE

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
    <error>
        <error-tag>data-missing</error-tag>
        <error-message>No listener found for stream stream/data-change-event-subscription/network-topology:network-topology/datastore=CONFIGURATION/scope=BASE</error-message>
        <error-type>application</error-type>
    </error>
</errors>

So the controller is taking the following as the stream name:

stream/data-change-event-subscription/network-topology:network-topology/datastore=CONFIGURATION/scope=BASE

instead of this:

data-change-event-subscription/network-topology:network-topology/datastore=CONFIGURATION/scope=BASE


 Comments   
Comment by Sangwook Ha [ 06/Sep/23 ]

Change introduced this issue: https://git.opendaylight.org/gerrit/c/netconf/+/107121

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