diff options
Diffstat (limited to 'data-migrator/src/main/java')
-rw-r--r-- | data-migrator/src/main/java/org/onap/sdnc/oam/datamigrator/common/MigratorConfiguration.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data-migrator/src/main/java/org/onap/sdnc/oam/datamigrator/common/MigratorConfiguration.java b/data-migrator/src/main/java/org/onap/sdnc/oam/datamigrator/common/MigratorConfiguration.java index 40a1b920..9c3f7ac9 100644 --- a/data-migrator/src/main/java/org/onap/sdnc/oam/datamigrator/common/MigratorConfiguration.java +++ b/data-migrator/src/main/java/org/onap/sdnc/oam/datamigrator/common/MigratorConfiguration.java @@ -19,6 +19,7 @@ */ package org.onap.sdnc.oam.datamigrator.common; +import org.onap.ccsdk.sli.core.utils.common.EnvProperties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -73,7 +74,7 @@ public class MigratorConfiguration { + propFile); } - Properties props = new Properties(); + Properties props = new EnvProperties(); props.load(new FileInputStream(propFile)); this.sourceHost = props.getProperty("org.onap.sdnc.datamigrator.source.host"); this.sourceUser = props.getProperty("org.onap.sdnc.datamigrator.source.user"); |