From 082f306bcb026bf49b1067f55d59522c01e991cd Mon Sep 17 00:00:00 2001 From: Marcus G K Williams Date: Thu, 7 Sep 2017 13:26:31 -0700 Subject: Fix dblib DBResourceManager instantiation Fix APPC Build, failing upstream and locally due to change in CCSDK that changes dblib to use service injection via Aries Blueprint. The change causing this in CCSDK is https://gerrit.onap.org/r/#/c/7931/ Issue-Id: APPC-196 Change-Id: I9bcfb6d87b7527fd07cb76a242b272a5bc0ad07c Signed-off-by: Marcus G K Williams --- .../src/main/java/org/openecomp/appc/design/dbervices/DbService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appc-inbound/appc-design-services/provider/src/main/java/org') diff --git a/appc-inbound/appc-design-services/provider/src/main/java/org/openecomp/appc/design/dbervices/DbService.java b/appc-inbound/appc-design-services/provider/src/main/java/org/openecomp/appc/design/dbervices/DbService.java index 46bb240f5..02207709d 100644 --- a/appc-inbound/appc-design-services/provider/src/main/java/org/openecomp/appc/design/dbervices/DbService.java +++ b/appc-inbound/appc-design-services/provider/src/main/java/org/openecomp/appc/design/dbervices/DbService.java @@ -93,7 +93,7 @@ public class DbService { } if (dblibSvc == null) { try { - dblibSvc = DBResourceManager.create(System.getProperties()); + dblibSvc = new DBResourceManager(System.getProperties()); } catch (Exception e) { Log.error("Caught exception trying to create db service", e); } -- cgit 1.2.3-korg