Fix receiver structures 51/116451/9
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 5 May 2025 23:26:36 +0000 (01:26 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Wed, 7 May 2025 11:44:34 +0000 (11:44 +0000)
commit06f1f0ffdf451e44c27d2fe2a3535ed21bf55ff7
tree9e525ebe63536a88a7ba4778217856f6db2e9fd0
parenta6a47d7ff99e507ce71854bd91d8ac6d9f95f400
Fix receiver structures

We have a bug here, as we are passing Subscription.QNAME as identifier
of an individual receiver.

Fix that and use a simple YangInstanceIdentifier.of(), taking advantage
of the LeafNode.name()/path invariant.

JIRA: NETCONF-1449
Change-Id: I5364a9a7cf3bc103cd1bc717719076c52cf0f6b3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
plugins/restconf-server-mdsal/src/main/java/org/opendaylight/restconf/server/mdsal/MdsalRestconfStreamRegistry.java