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 --- .../ccsdk/features/sdnr/wt/netconfnodestateservice/Capabilities.java | 2 +- .../sdnr/wt/netconfnodestateservice/NetconfNodeStateListener.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sdnr/wt/netconfnode-state-service/model/src/main') diff --git a/sdnr/wt/netconfnode-state-service/model/src/main/java/org/onap/ccsdk/features/sdnr/wt/netconfnodestateservice/Capabilities.java b/sdnr/wt/netconfnode-state-service/model/src/main/java/org/onap/ccsdk/features/sdnr/wt/netconfnodestateservice/Capabilities.java index 50176f4cf..6b790afc8 100644 --- a/sdnr/wt/netconfnode-state-service/model/src/main/java/org/onap/ccsdk/features/sdnr/wt/netconfnodestateservice/Capabilities.java +++ b/sdnr/wt/netconfnode-state-service/model/src/main/java/org/onap/ccsdk/features/sdnr/wt/netconfnodestateservice/Capabilities.java @@ -73,7 +73,7 @@ public class Capabilities { @SuppressWarnings("null") public static Capabilities getUnavailableCapabilities(NetconfNode nnode) { - LOG.info("GetAvailableCapabilities for node"); + LOG.info("GetUnavailableCapabilities for node"); Capabilities capabilities = new Capabilities(); if (nnode != null) { UnavailableCapabilities availableCapabilites = nnode.getUnavailableCapabilities(); diff --git a/sdnr/wt/netconfnode-state-service/model/src/main/java/org/onap/ccsdk/features/sdnr/wt/netconfnodestateservice/NetconfNodeStateListener.java b/sdnr/wt/netconfnode-state-service/model/src/main/java/org/onap/ccsdk/features/sdnr/wt/netconfnodestateservice/NetconfNodeStateListener.java index fdbcf9595..ac611fc50 100644 --- a/sdnr/wt/netconfnode-state-service/model/src/main/java/org/onap/ccsdk/features/sdnr/wt/netconfnodestateservice/NetconfNodeStateListener.java +++ b/sdnr/wt/netconfnode-state-service/model/src/main/java/org/onap/ccsdk/features/sdnr/wt/netconfnodestateservice/NetconfNodeStateListener.java @@ -26,7 +26,7 @@ import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology. /** * Indicate all state changes of NetconfNode (Mountpoint). Cleans up and summarizes the */ -public interface NetconfNodeStateListener extends EventListener { +public interface NetconfNodeStateListener extends EventListener, AutoCloseable { /** * New NetconfNode has been created -- cgit 1.2.3-korg