summaryrefslogtreecommitdiffstats
path: root/appc-config
diff options
context:
space:
mode:
Diffstat (limited to 'appc-config')
-rw-r--r--appc-config/appc-config-generator/provider/src/main/java/org/openecomp/sdnc/config/generator/tool/DbServiceUtil.java2
-rw-r--r--appc-config/appc-encryption-tool/provider/src/main/java/org/openecomp/appc/encryptiontool/wrapper/DbServiceUtil.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/appc-config/appc-config-generator/provider/src/main/java/org/openecomp/sdnc/config/generator/tool/DbServiceUtil.java b/appc-config/appc-config-generator/provider/src/main/java/org/openecomp/sdnc/config/generator/tool/DbServiceUtil.java
index 5881e7f0b..c8340816e 100644
--- a/appc-config/appc-config-generator/provider/src/main/java/org/openecomp/sdnc/config/generator/tool/DbServiceUtil.java
+++ b/appc-config/appc-config-generator/provider/src/main/java/org/openecomp/sdnc/config/generator/tool/DbServiceUtil.java
@@ -65,7 +65,7 @@ public class DbServiceUtil
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;
}
diff --git a/appc-config/appc-encryption-tool/provider/src/main/java/org/openecomp/appc/encryptiontool/wrapper/DbServiceUtil.java b/appc-config/appc-encryption-tool/provider/src/main/java/org/openecomp/appc/encryptiontool/wrapper/DbServiceUtil.java
index 0174d477a..1999793ee 100644
--- a/appc-config/appc-encryption-tool/provider/src/main/java/org/openecomp/appc/encryptiontool/wrapper/DbServiceUtil.java
+++ b/appc-config/appc-encryption-tool/provider/src/main/java/org/openecomp/appc/encryptiontool/wrapper/DbServiceUtil.java
@@ -65,7 +65,7 @@ public class DbServiceUtil
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;
}