Class LiquibaseEndpoint

java.lang.Object
io.micronaut.liquibase.endpoint.LiquibaseEndpoint

@Endpoint(id="liquibase") public class LiquibaseEndpoint extends Object
Provides a liquibase endpoint to get all the migrations applied.
Since:
1.0.0
Author:
Iván López
  • Field Details

  • Constructor Details

    • LiquibaseEndpoint

      public LiquibaseEndpoint(Collection<LiquibaseConfigurationProperties> liquibaseConfigurationProperties, io.micronaut.context.ApplicationContext applicationContext, @Nullable @Nullable io.micronaut.jdbc.DataSourceResolver dataSourceResolver)
      Parameters:
      liquibaseConfigurationProperties - Collection of Liquibase Configurations
      applicationContext - The application context
      dataSourceResolver - The data source resolver
  • Method Details

    • liquibaseMigrations

      @Read public org.reactivestreams.Publisher<LiquibaseReport> liquibaseMigrations()
      Returns:
      A publisher with liquibase changes per active configuration