aboutsummaryrefslogtreecommitdiffstats
path: root/a1-adapter/a1-adapter-api/provider/src/test
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-02-04 16:36:06 -0500
committerDan Timoney <dtimoney@att.com>2021-02-05 12:05:21 -0500
commit02013b33111f0b51d07c80c89f4d5d08b60b2099 (patch)
tree641f4e528f9c5d078b5a9013466158a4fa94f40c /a1-adapter/a1-adapter-api/provider/src/test
parentfee9955e585a00155b93f6de279a36217a8857bd (diff)
Update for ODL Aluminum
Update A1 adapter to conform to OpenDaylight Aluminum. Issue-ID: CCSDK-3138 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I1dbda465c93ca8d4da532764b36c9ffb41fc7a9a
Diffstat (limited to 'a1-adapter/a1-adapter-api/provider/src/test')
-rw-r--r--a1-adapter/a1-adapter-api/provider/src/test/java/org/onap/ccsdk/features/a1/adapter/A1AdapterProviderTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/a1-adapter/a1-adapter-api/provider/src/test/java/org/onap/ccsdk/features/a1/adapter/A1AdapterProviderTest.java b/a1-adapter/a1-adapter-api/provider/src/test/java/org/onap/ccsdk/features/a1/adapter/A1AdapterProviderTest.java
index 96bad81b..890ff72c 100644
--- a/a1-adapter/a1-adapter-api/provider/src/test/java/org/onap/ccsdk/features/a1/adapter/A1AdapterProviderTest.java
+++ b/a1-adapter/a1-adapter-api/provider/src/test/java/org/onap/ccsdk/features/a1/adapter/A1AdapterProviderTest.java
@@ -33,8 +33,8 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.jupiter.MockitoExtension;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
+import org.opendaylight.mdsal.binding.api.NotificationPublishService;
+import org.opendaylight.mdsal.binding.api.RpcProviderService;
import org.opendaylight.yang.gen.v1.org.onap.a1.adapter.rev200122.DeleteA1PolicyInputBuilder;
import org.opendaylight.yang.gen.v1.org.onap.a1.adapter.rev200122.DeleteA1PolicyOutput;
import org.opendaylight.yang.gen.v1.org.onap.a1.adapter.rev200122.GetA1PolicyInputBuilder;
@@ -62,7 +62,7 @@ class A1AdapterProviderTest {
@Mock
private NotificationPublishService mockNotificationPublishService;
@Mock
- private RpcProviderRegistry mockRpcProviderRegistry;
+ private RpcProviderService mockRpcService;
@Mock
private A1AdapterClient a1AdapterClient;
private static String module = "A1-ADAPTER-API";
@@ -71,7 +71,7 @@ class A1AdapterProviderTest {
@BeforeEach
void setUp() {
a1AdapterProviderMock = Mockito.spy(new A1AdapterProvider(mockNotificationPublishService,
- mockRpcProviderRegistry, a1AdapterClient));
+ mockRpcService, a1AdapterClient));
}
@Test