Reducate IetfZeroTouchCallHomeServerProvider ceremony 06/105806/7
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 3 May 2023 03:16:24 +0000 (05:16 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 3 May 2023 11:30:42 +0000 (13:30 +0200)
commitba75ee006628d32a159ab4068ae6069f865229ca
treed846b9e61bbe3f4f25897a0f08f6b8ea4ac7bb3b
parent038536ae58825d854f3c3bb8dfced8b9c9d63d41
Reducate IetfZeroTouchCallHomeServerProvider ceremony

Use Uint16 to reduce the dance around mount.Configuration, as we simply
cannot hit IllegalValueException.

While we are at it, remove init() and initialize within the constructor,
makes things consistent w.r.t. AutoCloseable contract.

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