aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/mountpoint-state-provider/provider
diff options
context:
space:
mode:
authorhighstreetherbert <herbert.eiselt@highstreet-technologies.com>2020-07-16 16:50:21 +0200
committerhighstreetherbert <herbert.eiselt@highstreet-technologies.com>2020-07-17 08:22:52 +0200
commit240073b8341f4141ee7bd01e4f0fd691a932579f (patch)
tree602abb1904a343429e7cff5348e689730c20aeed /sdnr/wt/mountpoint-state-provider/provider
parent96aeff5a753e008add7a879198ba3229f4b6016b (diff)
SDN-R Sodium compliant netconfnode-state-service and devicemanager
Adapted tests Issue-ID: CCSDK-2570 Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com> Change-Id: I38e6f987f022a530e9e2851dd09eed32e7273fef Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/mountpoint-state-provider/provider')
-rw-r--r--sdnr/wt/mountpoint-state-provider/provider/src/main/java/org/onap/ccsdk/features/sdnr/wt/mountpointstateprovider/impl/MountpointNodeStateListenerImpl.java8
1 files changed, 5 insertions, 3 deletions
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 {
+ }
+
}