Fix notification namespace reference 49/105849/4
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 5 May 2023 23:04:19 +0000 (01:04 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 6 May 2023 09:37:29 +0000 (11:37 +0200)
commit7c10f9323ef1e097632c2a624a8dfc211782a0cc
treec5ab8d3ec3ae26af60d7a905bee47564af0e4a7a
parentef29993ae06248e3875f0f9cd06e23e02658720a
Fix notification namespace reference

The code is getting confused here -- it is using the capability URN
instead of namespace URN. Introduce constant to fix that up.

This also fixes the obviously wrong test cases introduced as part of
Ieae248057d890071c6ac5b05b22f1a05a0a98b0c.

JIRA: NETCONF-1018
Change-Id: I4976c24c2e16f11823a64a0ca152ca144d3557a0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
plugins/netconf-server-mdsal/src/test/java/org/opendaylight/netconf/server/mdsal/notifications/NotificationsTransformUtilTest.java
protocol/netconf-api/src/main/java/org/opendaylight/netconf/api/messages/NotificationMessage.java
protocol/netconf-api/src/main/java/org/opendaylight/netconf/api/xml/XmlNetconfConstants.java
protocol/netconf-api/src/test/java/org/opendaylight/netconf/api/messages/NotificationMessageTest.java
protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/spi/SubtreeFilter.java
protocol/netconf-test-util/src/main/resources/subtree/notification/0/post-filter.xml
protocol/netconf-test-util/src/main/resources/subtree/notification/0/pre-filter.xml
protocol/netconf-test-util/src/main/resources/subtree/notification/1/pre-filter.xml
protocol/netconf-test-util/src/main/resources/subtree/notification/2/pre-filter.xml
protocol/netconf-test-util/src/main/resources/subtree/notification/3/pre-filter.xml
protocol/netconf-test-util/src/main/resources/subtree/notification/4/pre-filter.xml