Capabilities unavailable for yang models without revision 51/111351/4
authorYaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
Thu, 11 Apr 2024 06:18:10 +0000 (09:18 +0300)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Fri, 17 May 2024 10:17:12 +0000 (10:17 +0000)
commit970af94fde28f19f4c0154feec2a65e1adbc8035
tree7c36e20f5a38bf1b6caea8ca8d0c309fdab01217
parent9666d2f548bfd6a301bc23c0804144917c6995ca
Capabilities unavailable for yang models without revision

The updated logic now gracefully handles optional revisions
by defaulting to an empty string ("") when the revision is not present.
This change ensures that capabilities for Yang models without
a specified revision can be retrieved successfully, aligning
with modifications in the netconf module that now require an
empty string to represent models without a revision.

JIRA: NETCONF-1263
Change-Id: I65da21f877f572cc227ac5ec1ca8c76bf66a8b77
Signed-off-by: Yaroslav Lastivka <yaroslav.lastivka@pantheon.tech>
netconf/tools/netconf-testtool/src/main/java/org/opendaylight/netconf/test/tool/DummyMonitoringService.java