Class FlywayEndpoint

java.lang.Object
io.micronaut.flyway.endpoint.FlywayEndpoint

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

  • Constructor Details

    • FlywayEndpoint

      public FlywayEndpoint(io.micronaut.context.ApplicationContext applicationContext, Collection<FlywayConfigurationProperties> flywayConfigurationProperties)
      Parameters:
      applicationContext - The ApplicationContext
      flywayConfigurationProperties - Collection of Flyway Configurations
  • Method Details

    • flywayMigrations

      @Read public org.reactivestreams.Publisher<FlywayReport> flywayMigrations()
      Returns:
      A list of Flyway migrations per active configuration