Convert TlsAllowedDevicesMonitorImpl to OSGi DS 76/104276/4
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 6 Feb 2023 15:51:30 +0000 (16:51 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 7 Feb 2023 09:44:27 +0000 (10:44 +0100)
commit202f4eef4741a230897f029698863cb52b93d3f8
treeb927b86cf9e3ba3beeca1b992bf0e5df9ab6bd63
parent71da91a5249786c41378a105d6845dfd87ea36dc
Convert TlsAllowedDevicesMonitorImpl to OSGi DS

This is a simple component, only depending on DataBroker. Use
declarative services to manage its lifecycle. Also eliminate close()
from the public contract of TlsAllowedDevicesMonitor to ensure it is
properly isolated.

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