Permalink
Browse files

Fixing ConfigLocator resolution of referenced properties

  • Loading branch information...
atooni committed Nov 20, 2018
1 parent ab7ff92 commit 3b493a7d2bf13bf34fd081850715ab95110a7bc8
Showing with 5 additions and 1 deletion.
  1. +5 −1 blended.domino/src/main/scala/blended/domino/ConfigLocator.scala
@@ -18,7 +18,11 @@ class ConfigLocator(ctContext: ContainerContext) {
log.debug(s"Retrieving config from [${file.getAbsolutePath()}]")
if (file.exists && file.isFile && file.canRead) {
ConfigFactory.parseFile(file).withFallback(sysProps).withFallback(envProps).resolve()
ConfigFactory.parseFile(file)
.withFallback(ctContext.getContainerConfig())
.withFallback(sysProps)
.withFallback(envProps)
.resolve()
} else {
ConfigFactory.empty()
}

0 comments on commit 3b493a7

Please sign in to comment.