Split out keystore-legacy 85/110085/5
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 29 Jan 2024 19:30:25 +0000 (20:30 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 30 Jan 2024 00:15:48 +0000 (01:15 +0100)
commitd4e45728129a83c1fca12184e53c9834c70660e1
tree4ba20fdc1c072a5f4938a635ba86ff5a78132338
parent696add362c617cb96750e6d12e64dfa3b96b4fbc
Split out keystore-legacy

Tracking down the lifecycle of SslContexts brings us to our handling of
key material.

This is currently tangled netconf-client-mdsal using our home-grown (and
problematic) model.

Split out netconf-keystore.yang and the baseline implementation into
keystore-legacy. Now that it sits side-by-side with keystore-api, we can
compare the two.

Since this change requires us to intercept a hidden object, rework the
test in terms of JUnit5.

JIRA: NETCONF-1237
Change-Id: Id9d410e88ec588e148c5f1dff3aad574b3cc8328
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
artifacts/pom.xml
keystore/keystore-legacy/pom.xml [new file with mode: 0644]
keystore/keystore-legacy/src/main/java/org/opendaylight/netconf/keystore/legacy/AbstractNetconfKeystore.java [new file with mode: 0644]
keystore/keystore-legacy/src/main/java/org/opendaylight/netconf/keystore/legacy/ConfigListener.java [new file with mode: 0644]
keystore/keystore-legacy/src/main/java/org/opendaylight/netconf/keystore/legacy/SecurityHelper.java [new file with mode: 0644]
keystore/keystore-legacy/src/main/yang/netconf-keystore.yang [moved from plugins/netconf-client-mdsal/src/main/yang/netconf-keystore.yang with 100% similarity]
keystore/pom.xml
plugins/netconf-client-mdsal/pom.xml
plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/impl/DefaultSslHandlerFactoryProvider.java
plugins/netconf-client-mdsal/src/test/java/org/opendaylight/netconf/client/mdsal/impl/DefaultSslHandlerFactoryProviderTest.java