Remove NetconfCallHomeTlsService.init() 05/105805/5
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 3 May 2023 03:01:36 +0000 (05:01 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 3 May 2023 11:30:39 +0000 (13:30 +0200)
commit038536ae58825d854f3c3bb8dfced8b9c9d63d41
treef0146ec336b0af46538118749511a4e8417e3472
parent2871b4f9505d325c5119b2f4eba9733aaea19834
Remove NetconfCallHomeTlsService.init()

Initialization is inherent to the constructor, really, as otherwise we
end up with a bunch of single-use private fields. This restructures the
invocation so that we do not need a separate init() method and ensures
there are no side-effects we need to worry about.

JIRA: NETCONF-949
Change-Id: I8899bc1aa5959072756404f3cf0d551ec1ea9a83
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
apps/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/tls/NetconfCallHomeTlsService.java
apps/callhome-provider/src/main/resources/OSGI-INF/blueprint/callhome-topology.xml