diff options
author | Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> | 2021-02-03 15:16:43 +0100 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2021-02-05 22:57:19 +0000 |
commit | f2b7adc8df29246e154011293c7a4afdd242df60 (patch) | |
tree | 1ae3829f1b51c030f74c13619d62268b66948269 /sdnr/wt/devicemanager-adapter-manager/provider/src/test/java | |
parent | 95264d6d078e4d07e147369b007ae2c9791769c8 (diff) |
Migrate devicemanager-adapter-manager and devicemanager-onf
Migrate devicemanager-adapter-manager and devicemanager-onf to Aluminium
Issue-ID: CCSDK-3133
Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
Change-Id: I172bd97c0a79f0ee80bf27326dc39b38e306102a
Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/devicemanager-adapter-manager/provider/src/test/java')
-rw-r--r-- | sdnr/wt/devicemanager-adapter-manager/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/adaptermanager/test/mock/NetconfAccessorMock.java | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/sdnr/wt/devicemanager-adapter-manager/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/adaptermanager/test/mock/NetconfAccessorMock.java b/sdnr/wt/devicemanager-adapter-manager/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/adaptermanager/test/mock/NetconfAccessorMock.java index 91f5c431b..8a0694087 100644 --- a/sdnr/wt/devicemanager-adapter-manager/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/adaptermanager/test/mock/NetconfAccessorMock.java +++ b/sdnr/wt/devicemanager-adapter-manager/provider/src/test/java/org/onap/ccsdk/features/sdnr/wt/devicemanager/adaptermanager/test/mock/NetconfAccessorMock.java @@ -19,9 +19,14 @@ package org.onap.ccsdk.features.sdnr.wt.devicemanager.adaptermanager.test.mock; import com.google.common.util.concurrent.ListenableFuture; import java.util.List; +import java.util.Optional; + import org.eclipse.jdt.annotation.NonNull; import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities; import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor; +import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfBindingAccessor; +import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfDomAccessor; +import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfNotifications; import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.TransactionUtils; import org.opendaylight.mdsal.binding.api.DataBroker; import org.opendaylight.mdsal.binding.api.MountPoint; @@ -35,7 +40,7 @@ import org.opendaylight.yangtools.yang.common.RpcResult; /** */ -public class NetconfAccessorMock implements NetconfAccessor { +public class NetconfAccessorMock implements NetconfBindingAccessor, NetconfNotifications { private final NodeId nNodeId; private final NetconfNode netconfNode; @@ -109,4 +114,28 @@ public class NetconfAccessorMock implements NetconfAccessor { return null; } + @Override + public Optional<NetconfBindingAccessor> getNetconfBindingAccessor() { + // TODO Auto-generated method stub + return null; + } + + @Override + public Optional<NetconfDomAccessor> getNetconfDomAccessor() { + // TODO Auto-generated method stub + return null; + } + + @Override + public Optional<NetconfNotifications> getNotificationAccessor() { + // TODO Auto-generated method stub + return null; + } + + @Override + public boolean isNotificationsSupported() { + // TODO Auto-generated method stub + return false; + } + } |