Simplify JSON auth policy loading code 69/78769/2
authormark.j.leonard <mark.j.leonard@gmail.com>
Tue, 19 Feb 2019 17:09:50 +0000 (17:09 +0000)
committermark.j.leonard <mark.j.leonard@gmail.com>
Tue, 12 Mar 2019 12:20:57 +0000 (12:20 +0000)
commit6b74f2a06df4fd3bfb9f1b368f46db28f1e95ecb
tree010fa6e7fc90b69b879a65953c03f5b40642fcc4
parente6a097ef27b0a6438b51915a8821fc0da3787036
Simplify JSON auth policy loading code

If the JSON filename or path cannot be located then attempt to resolve
the file location relative to firstly CONFIG_HOME and then CONFIG_HOME/auth

Change-Id: Ic8d6c7d6e129b09ac7fa72d733768d941826185b
Issue-ID: AAI-2057
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java
src/test/java/org/onap/aai/validation/auth/MicroServiceAuthTest.java