Throw exception when module cannot be found 07/108407/4
authorOleksandr Zharov <oleksandr.zharov@pantheon.tech>
Thu, 5 Oct 2023 09:01:49 +0000 (11:01 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Tue, 17 Oct 2023 09:03:10 +0000 (09:03 +0000)
commit7e96a9822cabf7ce13f21bc05df33c3497113b07
treed01a2853a833b13a68a5d71ce3562bd128db4c66
parentcf6c64095d0b68ece7949b119935d778c0981e20
Throw exception when module cannot be found

Added exception in case module not found in
ParserIdentifier#toSchemaExportContextFromIdentifier.

JIRA: NETCONF-1166
Change-Id: I9571496d789a1c499fd4871787e25e562bfec8ae
Signed-off-by: Oleksandr Zharov <oleksandr.zharov@pantheon.tech>
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
(cherry picked from commit 820f7aba74e9f71b46da6d69611ce120feb26148)
restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/ParserIdentifier.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfSchemaServiceTest.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/ParserIdentifierTest.java