align router code with 1.2.1 version of rest client
Change-Id: Id5ad1f925aa9b12b960b5186d724cfa1413161d4
Issue-ID: AAI-2120
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
<dependency>
<groupId>org.onap.aai</groupId>
<artifactId>rest-client</artifactId>
- <version>1.1.0</version>
+ <version>1.2.1</version>
</dependency>
<dependency>
searchClient = new RestClient()\r
.authenticationMode(RestAuthenticationMode.SSL_CERT)\r
.validateServerHostname(false)\r
- .validateServerCertChain(true)\r
+ .validateServerCertChain(false)\r
.clientCertFile(DataRouterConstants.DR_HOME_AUTH + certName)\r
- .clientCertPassword(deobfuscatedCertPassword)\r
- .trustStore(DataRouterConstants.DR_HOME_AUTH + keystore);\r
+ .clientCertPassword(deobfuscatedCertPassword); \r
\r
this.searchUrl = searchUrl;\r
this.documentEndpoint = documentEndpoint;\r