Class FlowableLiquibaseEnvironmentPostProcessor

  • All Implemented Interfaces:
    org.springframework.boot.env.EnvironmentPostProcessor

    @Order(100)
    public class FlowableLiquibaseEnvironmentPostProcessor
    extends Object
    implements org.springframework.boot.env.EnvironmentPostProcessor
    When one of the engines that uses liquibase is pulled in with Spring Boot, it pulls the liquibase dependency and that activates LiquibaseAutoConfiguration. However, this leads to issues, when the user doesn't actually use it. Therefore, we must disable it per default. In order to activate it, users need to set liquibase.enabled=true explicitly.
    Author:
    Filip Hrisafov
    • Constructor Detail

      • FlowableLiquibaseEnvironmentPostProcessor

        public FlowableLiquibaseEnvironmentPostProcessor()
    • Method Detail

      • postProcessEnvironment

        public void postProcessEnvironment​(org.springframework.core.env.ConfigurableEnvironment environment,
                                           org.springframework.boot.SpringApplication application)
        Specified by:
        postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessor
      • getLiquibaseProperty

        protected String getLiquibaseProperty()