aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
diff options
context:
space:
mode:
authorBansal, Nitin (nb121v) <nitin.bansal@amdocs.com>2018-04-03 14:56:52 -0400
committerBansal, Nitin (nb121v) <nitin.bansal@amdocs.com>2018-04-03 14:57:34 -0400
commitc2fdf5bce70ea6128d46f3a05bbd725361f1291b (patch)
tree1401f1e27949afbaaa4b129f07c687948ca0762e /src/main/java/org/onap
parent2857310c33726032ce77449d91e87864e6bf4108 (diff)
Fixing reading key store pwd from env
Change-Id: Ic9c5c9bfab26e021d68f85f093110beec6d98302 Issue-ID: AAI-802 Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
Diffstat (limited to 'src/main/java/org/onap')
-rw-r--r--src/main/java/org/onap/aai/datarouter/Application.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/aai/datarouter/Application.java b/src/main/java/org/onap/aai/datarouter/Application.java
index 3ea6ab8..1d4bdc3 100644
--- a/src/main/java/org/onap/aai/datarouter/Application.java
+++ b/src/main/java/org/onap/aai/datarouter/Application.java
@@ -32,7 +32,7 @@ import org.springframework.boot.web.support.SpringBootServletInitializer;
public class Application extends SpringBootServletInitializer{
public static void main(String[] args) {
- String keyStorePassword = System.getProperty("KEY_STORE_PASSWORD");
+ String keyStorePassword = System.getenv("KEY_STORE_PASSWORD");
if(keyStorePassword==null || keyStorePassword.isEmpty()){
throw new RuntimeException("Env property KEY_STORE_PASSWORD not set");
}