From 240073b8341f4141ee7bd01e4f0fd691a932579f Mon Sep 17 00:00:00 2001 From: highstreetherbert Date: Thu, 16 Jul 2020 16:50:21 +0200 Subject: SDN-R Sodium compliant netconfnode-state-service and devicemanager Adapted tests Issue-ID: CCSDK-2570 Signed-off-by: highstreetherbert Change-Id: I38e6f987f022a530e9e2851dd09eed32e7273fef Signed-off-by: highstreetherbert --- .../impl/MountpointNodeStateListenerImpl.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sdnr/wt/mountpoint-state-provider') diff --git a/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java b/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java index b7d76f38d..36ec16298 100644 --- a/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java +++ b/sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java @@ -21,14 +21,12 @@ package org.onap.ccsdk.features.sdnr.wt.mountpointstateprovider.impl; import org.json.JSONObject; import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfNodeStateListener; import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode; -import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNodeConnectionStatus.ConnectionStatus; import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId; - import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class MountpointNodeStateListenerImpl implements NetconfNodeStateListener { +public class MountpointNodeStateListenerImpl implements NetconfNodeStateListener, AutoCloseable { private static final Logger LOG = LoggerFactory.getLogger(MountpointNodeStateListenerImpl.class); @Override @@ -69,4 +67,8 @@ public class MountpointNodeStateListenerImpl implements NetconfNodeStateListener MountpointStatePublisher.stateObjects.add(obj); } + @Override + public void close() throws Exception { + } + } -- cgit 1.2.3-korg