aboutsummaryrefslogtreecommitdiffstats
path: root/generic-resource-api/provider/src/test
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-10-13 12:07:01 -0400
committerDan Timoney <dtimoney@att.com>2017-10-13 12:07:01 -0400
commit03575373024593fd1cac6812f0992152edde4d37 (patch)
tree689a8dadbfa42740e2b160d7584df423705ced9b /generic-resource-api/provider/src/test
parentdd3f74074787dfd14e8aec0b48883b780dd8ccba (diff)
Fix installation issues with generic-resource-api
Updated generic-resource-api to use Aries blueprint to install and resolved issues preventing it from installing properly in karaf. Change-Id: Iaef8bdb7a9e6aaf149a8e8a0d847197cf3f704a9 Issue-ID: SDNC-109 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'generic-resource-api/provider/src/test')
-rw-r--r--generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java
index dd1523d0..939ada80 100644
--- a/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java
+++ b/generic-resource-api/provider/src/test/java/org/onap/sdnc/northbound/TestGenericResourceApi.java
@@ -57,9 +57,9 @@ public class TestGenericResourceApi extends AbstractConcurrentDataBrokerTest {
DataBroker dataBroker = getDataBroker();
NotificationPublishService mockNotification = mock(NotificationPublishService.class);
RpcProviderRegistry mockRpcRegistry = mock(RpcProviderRegistry.class);
-
+ GenericResourceApiSvcLogicServiceClient client = mock(GenericResourceApiSvcLogicServiceClient.class);
try {
- genericResourceApiProvider = new GenericResourceApiProvider(dataBroker, mockNotification, mockRpcRegistry);
+ genericResourceApiProvider = new GenericResourceApiProvider(dataBroker, mockNotification, mockRpcRegistry, client);
} catch (Exception e) {
LOG.error("Caught exception on setUp", e);
throw e;
@@ -67,7 +67,7 @@ public class TestGenericResourceApi extends AbstractConcurrentDataBrokerTest {
}
}
- @Test(expected = NullPointerException.class)
+ @Test
public void testServiceTopologyOperation() {
ServiceTopologyOperationInputBuilder inputBuilder = new ServiceTopologyOperationInputBuilder();