Implement client authentication to ElasticSearch 93/69093/1
authormark.j.leonard <mark.j.leonard@gmail.com>
Wed, 26 Sep 2018 10:58:30 +0000 (11:58 +0100)
committermark.j.leonard <mark.j.leonard@gmail.com>
Wed, 26 Sep 2018 11:02:22 +0000 (12:02 +0100)
commit392d41cdfc989d08cf5b79ea9a20e1f82665b447
tree146df533a232f12705ef0c59ab1bd10cabdb7b9d
parentecd35f117eb0118f9cbd96fe132a1c359214bfc7
Implement client authentication to ElasticSearch

Add configuration to the existing Elastic Search properties to allow
Basic Authentication and/or TLS (SSL) connectivity using HTTPS.

The new configuration is optional and this commit is intended to be
backwards compatible with existing deployments.

Change-Id: I19ec3da9ff810c3f6eabd6f5faf71adde182c861
Issue-ID: AAI-1650
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
README.md
src/main/java/org/onap/aai/sa/searchdbabstraction/elasticsearch/config/ElasticSearchConfig.java
src/main/java/org/onap/aai/sa/searchdbabstraction/elasticsearch/dao/ElasticSearchHttpController.java
src/main/java/org/onap/aai/sa/searchdbabstraction/elasticsearch/dao/ElasticSearchHttpsController.java [new file with mode: 0644]
src/test/java/org/onap/aai/sa/searchdbabstraction/elasticsearch/dao/ElasticSearchHttpControllerTest.java