Added full YIID to ietf-restconf-monitoring DS 84/83284/23
authorJaroslav Tóth <jtoth@frinx.io>
Tue, 16 Jul 2019 11:14:31 +0000 (13:14 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 12 May 2021 22:39:46 +0000 (22:39 +0000)
commit5e5b43df99680cb11a838b3d899616a0e7b08720
tree40f987df00225071fecb3d7caaf9356113af2abb
parentc36a873a080a0754acf8ddda09b7532976968f86
Added full YIID to ietf-restconf-monitoring DS

- Currently local-name of the QName is used as key to the list
  of created streams - that is a bug because local-name doesn't
  have to be unique in scope of one module or whole schema context.
- This fix puts the whole serialized YIID to DS as stream name.

JIRA: NETCONF-726
Change-Id: I28012a478b958b933af993c2ede5f91c2eb8e211
Signed-off-by: Jaroslav Tóth <jtoth@frinx.io>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/SubscribeToStreamUtil.java
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/utils/mapping/RestconfMappingNodeUtil.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfStreamsSubscriptionServiceImplTest.java
restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/mapping/RestconfMappingNodeUtilTest.java