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 <marcus.williams@intel.com>
File file = new File("/opt/app/bvc/properties/dblib.properties");
URL propURL = file.toURI().toURL();
props.load(propURL.openStream());
- jdbcDataSource = DBResourceManager.create(props);
+ jdbcDataSource = new DBResourceManager(props);
return jdbcDataSource;
}
File file = new File("/opt/app/bvc/properties/dblib.properties");
URL propURL = file.toURI().toURL();
props.load(propURL.openStream());
- jdbcDataSource = DBResourceManager.create(props);
+ jdbcDataSource = new DBResourceManager(props);
return jdbcDataSource;
}
}
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);
}