Reduce code duplication in the HTTP Controller 67/68067/1
authormark.j.leonard <mark.j.leonard@gmail.com>
Thu, 20 Sep 2018 11:11:31 +0000 (12:11 +0100)
committermark.j.leonard <mark.j.leonard@gmail.com>
Thu, 20 Sep 2018 11:11:31 +0000 (12:11 +0100)
commit65656b3d7d473d17cf8e31d35644f86f411e6f16
tree35695cb5f161d0cb8674015a1450d6a35867ad66
parentd5922af3f5edbb5ec083ca9b90c74c20a7a9328d
Reduce code duplication in the HTTP Controller

Refactor repeated code snippets into helper methods, in order to reduce
cognitive complexity.

Change-Id: Ic04ce219b67017075d2b0b7c6e6bc7250ccff926
Issue-ID: AAI-1650
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
src/main/java/org/onap/aai/sa/searchdbabstraction/elasticsearch/dao/ElasticSearchHttpController.java