Merge "Fixing reading key store pwd from env"
authorSteven Blimkie <Steven.Blimkie@amdocs.com>
Tue, 3 Apr 2018 19:02:48 +0000 (19:02 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 3 Apr 2018 19:02:48 +0000 (19:02 +0000)
src/main/java/org/onap/aai/datarouter/Application.java

index 3ea6ab8..1d4bdc3 100644 (file)
@@ -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");
       }