diff options
author | Steven Blimkie <Steven.Blimkie@amdocs.com> | 2018-04-03 19:02:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-03 19:02:48 +0000 |
commit | 38b21b628e78fe8956e5dfa97ed77c27326988db (patch) | |
tree | 750938f1d054677ce13042dbe225f112a7a06e27 | |
parent | 5cff9dc18b6db6b47f0a137f7f83a3e1817413fa (diff) | |
parent | c2fdf5bce70ea6128d46f3a05bbd725361f1291b (diff) |
Merge "Fixing reading key store pwd from env"
-rw-r--r-- | src/main/java/org/onap/aai/datarouter/Application.java | 2 |
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"); } |