Throw correct exception when keypair is not found 86/110486/4
authorSamuel Schneider <samuel.schneider@pantheon.tech>
Wed, 6 Mar 2024 08:28:22 +0000 (09:28 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 6 Mar 2024 16:36:55 +0000 (16:36 +0000)
commitcef327127612e6f622137c3dc5bc196f08d23763
tree3c661949a5a04564b8c96cc818e179bc57b90ace
parent4239229fd929e44b08c05bdd93d636db5943b6bc
Throw correct exception when keypair is not found

Throw UnsupportedConfigurationException when no keypair found
with given keyId. So the failure is handled properly.

JIRA: NETCONF-1250
Change-Id: I63b1f73b4c2bc13daf09507ace852ec49f9176c2
Signed-off-by: Samuel Schneider <samuel.schneider@pantheon.tech>
apps/netconf-topology/src/main/java/org/opendaylight/netconf/topology/spi/NetconfClientConfigurationBuilderFactoryImpl.java
apps/netconf-topology/src/test/java/org/opendaylight/netconf/topology/spi/NetconfNodeHandlerTest.java