aboutsummaryrefslogtreecommitdiffstats
path: root/appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/LoadFromDB.java
diff options
context:
space:
mode:
Diffstat (limited to 'appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/LoadFromDB.java')
-rw-r--r--appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/LoadFromDB.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/LoadFromDB.java b/appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/LoadFromDB.java
index b1a074720..9a9d49582 100644
--- a/appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/LoadFromDB.java
+++ b/appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/LoadFromDB.java
@@ -62,9 +62,9 @@ public class LoadFromDB {
log.info("Size of Map data:"+mp.size());
- File file = new File(System.getenv("APPC_CONFIG_DIR"));
+ File file = new File(Constants.APPC_CONFIG_DIR );
file.mkdir();
- file = new File(System.getenv("APPC_CONFIG_DIR")+"/appc_southbound.properties");
+ file = new File(Constants.APPC_CONFIG_DIR + "/appc_southbound.properties");
if(file.exists())
{
log.info("APPC-MESSAGE:" + " File already Exists");
@@ -81,7 +81,7 @@ public class LoadFromDB {
log.info("Size of Map file:"+mp.size());
PropertiesConfiguration conf = new PropertiesConfiguration(
- System.getenv("APPC_CONFIG_DIR")+"/appc_southbound.properties");
+ Constants.APPC_CONFIG_DIR + "/appc_southbound.properties");
for (Map.Entry<String, String> key : mp.entrySet()) {