From 10c04810902a100fbeba93dda5b13329ada39117 Mon Sep 17 00:00:00 2001 From: "Bansal, Nitin (nb121v)" Date: Fri, 25 Jan 2019 15:07:51 -0500 Subject: align router code with 1.2.1 version of rest align router code with 1.2.1 version of rest client Change-Id: Id5ad1f925aa9b12b960b5186d724cfa1413161d4 Issue-ID: AAI-2120 Signed-off-by: Bansal, Nitin (nb121v) --- pom.xml | 2 +- src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index bf4e813..b3280ba 100644 --- a/pom.xml +++ b/pom.xml @@ -225,7 +225,7 @@ limitations under the License. org.onap.aai rest-client - 1.1.0 + 1.2.1 diff --git a/src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java b/src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java index 612a40e..4baa81a 100644 --- a/src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java +++ b/src/main/java/org/onap/aai/datarouter/util/SearchServiceAgent.java @@ -101,10 +101,9 @@ public class SearchServiceAgent { searchClient = new RestClient() .authenticationMode(RestAuthenticationMode.SSL_CERT) .validateServerHostname(false) - .validateServerCertChain(true) + .validateServerCertChain(false) .clientCertFile(DataRouterConstants.DR_HOME_AUTH + certName) - .clientCertPassword(deobfuscatedCertPassword) - .trustStore(DataRouterConstants.DR_HOME_AUTH + keystore); + .clientCertPassword(deobfuscatedCertPassword); this.searchUrl = searchUrl; this.documentEndpoint = documentEndpoint; -- cgit 1.2.3-korg