Can liquibase runners reference properties from deploy IT dictionaries?

323 Views Asked by At

I have created a new liquibase.Runner and filled in the db credentials properties using placeholder which should be filled from a DeployIt dictionary. But those properties values are not being resolved, like url, username, etc?.

Please suggest does liquibase.Runner supports dictionary placeholder replacement or not?

1

There are 1 best solutions below

6
On

As liquibase.Runner is a Container in XL Deploy, it does not support placeholder replacement. Placeholder replacement is only supported on the conversion from Deployable to Deployed. If you want to externalize the settings, please put them in a liquibase.properties, and point the liquibase.Runner.liquibaseConfigurationPath to the properties file.

See the documentation here.