From e2eee4e4e58eefe83e8ff4e27cbc1e724802c7a6 Mon Sep 17 00:00:00 2001 From: Peter Micuch Date: Thu, 14 May 2020 11:44:46 +0200 Subject: [PATCH] Adding environment variables to override hapi properties file settings --- src/main/java/ca/uhn/fhir/jpa/starter/HapiProperties.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/HapiProperties.java b/src/main/java/ca/uhn/fhir/jpa/starter/HapiProperties.java index 5be55f4..4446d30 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/HapiProperties.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/HapiProperties.java @@ -138,6 +138,7 @@ public class HapiProperties { if (overrideProps != null) { properties.putAll(overrideProps); } + properties.putAll(System.getenv()); return properties; }