Class LiquibaseDataSourceRuntimeConfig

java.lang.Object
io.quarkus.liquibase.runtime.LiquibaseDataSourceRuntimeConfig

public final class LiquibaseDataSourceRuntimeConfig extends Object
The liquibase data source runtime time configuration
  • Field Details

    • DEFAULT_LOCK_TABLE

      static final String DEFAULT_LOCK_TABLE
      The default liquibase lock table
      See Also:
    • DEFAULT_LOG_TABLE

      static final String DEFAULT_LOG_TABLE
      The default liquibase log table
      See Also:
    • migrateAtStart

      @ConfigItem public boolean migrateAtStart
      true to execute Liquibase automatically when the application starts, false otherwise.
    • validateOnMigrate

      @ConfigItem(defaultValue="true") public boolean validateOnMigrate
      true to validate the applied changes against the available ones, false otherwise. It is only used if migration-at-start is true
    • cleanAtStart

      @ConfigItem public boolean cleanAtStart
      true to execute Liquibase clean command automatically when the application starts, false otherwise.
    • contexts

      @ConfigItem public Optional<List<String>> contexts
      Comma-separated case-sensitive list of ChangeSet contexts to execute for liquibase.
    • labels

      @ConfigItem public Optional<List<String>> labels
      Comma-separated case-sensitive list of expressions defining labeled ChangeSet to execute for liquibase.
    • changeLogParameters

      @ConfigItem @ConfigDocMapKey("parameter-name") public Map<String,String> changeLogParameters
      Map of parameters that can be used inside Liquibase changeLog files.
    • databaseChangeLogLockTableName

      @ConfigItem(defaultValue="DATABASECHANGELOGLOCK") public Optional<String> databaseChangeLogLockTableName
      The liquibase change log lock table name. Name of table to use for tracking concurrent Liquibase usage.
    • databaseChangeLogTableName

      @ConfigItem(defaultValue="DATABASECHANGELOG") public Optional<String> databaseChangeLogTableName
      The liquibase change log table name. Name of table to use for tracking change history.
    • defaultCatalogName

      @ConfigItem public Optional<String> defaultCatalogName
      The name of Liquibase's default catalog.
    • defaultSchemaName

      @ConfigItem public Optional<String> defaultSchemaName
      The name of Liquibase's default schema. Overwrites the default schema name (returned by the RDBMS) with a different database schema.
    • username

      @ConfigItem public Optional<String> username
      The username that Liquibase uses to connect to the database. If no specific username is configured, falls back to the datasource username and password.
    • password

      @ConfigItem public Optional<String> password
      The password that Liquibase uses to connect to the database. If no specific password is configured, falls back to the datasource username and password.
    • liquibaseCatalogName

      @ConfigItem public Optional<String> liquibaseCatalogName
      The name of the catalog with the liquibase tables.
    • liquibaseSchemaName

      @ConfigItem public Optional<String> liquibaseSchemaName
      The name of the schema with the liquibase tables.
    • liquibaseTablespaceName

      @ConfigItem public Optional<String> liquibaseTablespaceName
      The name of the tablespace where the -LOG and -LOCK tables will be created (if they do not exist yet).
    • allowDuplicatedChangesetIdentifiers

      @ConfigItem public Optional<Boolean> allowDuplicatedChangesetIdentifiers
      Allows duplicated changeset identifiers without failing Liquibase execution.
  • Constructor Details

    • LiquibaseDataSourceRuntimeConfig

      public LiquibaseDataSourceRuntimeConfig()
  • Method Details