diff options
Diffstat (limited to 'adaptors')
3 files changed, 25 insertions, 1 deletions
diff --git a/adaptors/artifacts/pom.xml b/adaptors/artifacts/pom.xml index 62473b5c8..80b9b971b 100755 --- a/adaptors/artifacts/pom.xml +++ b/adaptors/artifacts/pom.xml @@ -81,6 +81,13 @@ </dependency> <dependency> <groupId>org.onap.ccsdk.sli.adaptors</groupId> + <artifactId>ccsdk-base-http</artifactId> + <version>${project.version}</version> + <type>xml</type> + <classifier>feature</classifier> + </dependency> + <dependency> + <groupId>org.onap.ccsdk.sli.adaptors</groupId> <artifactId>aai-service-provider</artifactId> <version>${project.version}</version> </dependency> @@ -149,6 +156,16 @@ <artifactId>sql-resource-installer</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.onap.ccsdk.sli.adaptors</groupId> + <artifactId>base-http-provider</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.onap.ccsdk.sli.adaptors</groupId> + <artifactId>base-http-installer</artifactId> + <version>${project.version}</version> + </dependency> </dependencies> </dependencyManagement> </project> 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; |