summaryrefslogtreecommitdiffstats
path: root/adaptors/base
diff options
context:
space:
mode:
Diffstat (limited to 'adaptors/base')
-rw-r--r--adaptors/base/http/provider/pom.xml5
-rw-r--r--adaptors/base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java4
2 files changed, 8 insertions, 1 deletions
diff --git a/adaptors/base/http/provider/pom.xml b/adaptors/base/http/provider/pom.xml
index a401559d2..3ea7e8181 100644
--- a/adaptors/base/http/provider/pom.xml
+++ b/adaptors/base/http/provider/pom.xml
@@ -37,5 +37,10 @@
<artifactId>logging-filter-base</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.onap.ccsdk.sli.core</groupId>
+ <artifactId>utils-provider</artifactId>
+ <version>${project.version}</version>
+ </dependency>
</dependencies>
</project>
diff --git a/adaptors/base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java b/adaptors/base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java
index cc6f06a4d..65cbdd764 100644
--- a/adaptors/base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java
+++ b/adaptors/base/http/provider/src/main/java/org/onap/ccsdk/sli/adaptors/base/http/AbstractHttpAdapter.java
@@ -9,6 +9,8 @@ import java.util.Properties;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;
import javax.ws.rs.client.ClientBuilder;
+
+import org.onap.ccsdk.sli.core.utils.common.EnvProperties;
import org.onap.logging.filter.base.MetricLogClientFilter;
import org.onap.logging.filter.base.PayloadLoggingClientFilter;
import org.slf4j.Logger;
@@ -69,7 +71,7 @@ public abstract class AbstractHttpAdapter {
if (propDir == null || propDir.length() < 1) {
propDir = SDNC_CONFIG_DIR_DEFAULT;
}
- Properties properties = new Properties();
+ Properties properties = new EnvProperties();
// forward slash is checked to support path src/test/resources on windows machine
if (!propDir.endsWith(File.separator) && !propDir.endsWith("/")) {
propDir = propDir + File.separator;