Move data processing to update thread 86/110086/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 29 Jan 2024 23:15:42 +0000 (00:15 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 30 Jan 2024 00:15:48 +0000 (01:15 +0100)
commitabdc43539a3756f71e687f061d571cf965e58f0d
treeed415b474cab500656d4d6a944e1be2ad13ddac8
parentd4e45728129a83c1fca12184e53c9834c70660e1
Move data processing to update thread

We are interpreting datastore data and applying to Java native
constructs. Rather than doing that each time we are asked for a
SslHandler, move the processing to when the data changes.

This also makes things a tad more defensive, so that we do not propagate
invalid configuration (but issue stern warnings).

JIRA: NETCONF-1237
Change-Id: Ib76c7ff6e3203e26c035e4ca475072a9d3964f77
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
keystore/keystore-legacy/src/main/java/org/opendaylight/netconf/keystore/legacy/AbstractNetconfKeystore.java
keystore/keystore-legacy/src/main/java/org/opendaylight/netconf/keystore/legacy/SecurityHelper.java
plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/impl/DefaultSslHandlerFactoryProvider.java