Change Log Parameters from Environment Variable
Description
Environment
Windows & Linux
Activity
Show:
Sean Dukehart March 22, 2019 at 4:22 PM
Thanks so much!!
Nathan Voxland March 22, 2019 at 3:49 PM
Merged pull request https://github.com/liquibase/liquibase/pull/758
Sean Dukehart March 11, 2019 at 11:50 AM
Please ohhhh please merge this pull request....
Sean Dukehart September 13, 2018 at 8:31 PM
Does anyone see these comments?
Sean Dukehart July 25, 2018 at 7:56 PMEdited
Any sort of timeline for merging this in or reviewing it?
Thanks!
As per - http://www.liquibase.org/documentation/changelog_parameters.html - it appears that the currently supported resolutions for change log parameters include:
Passed as a parameter to your Liquibase runner (see Ant, command_line, etc. documentation for how to pass them)
As a JVM system property
In the parameters block (<property> Tag) of the DatabaseChangeLog file itself.
It'd be great to see change log parameters be resolveable from environment variables as well. i.e. look for environment variables with a given key for
${keyName}
. This is similar to how https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config deals with these different configuration sources hierarchically.