Package io.micronaut.flyway.endpoint
Class FlywayEndpoint
java.lang.Object
io.micronaut.flyway.endpoint.FlywayEndpoint
Provides a flyway endpoint to get all the migrations applied.
- Since:
- 1.0.0
- Author:
- Iván López
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFlywayEndpoint
(io.micronaut.context.ApplicationContext applicationContext, Collection<FlywayConfigurationProperties> flywayConfigurationProperties) -
Method Summary
-
Field Details
-
NAME
Endpoint name.- See Also:
-
-
Constructor Details
-
FlywayEndpoint
public FlywayEndpoint(io.micronaut.context.ApplicationContext applicationContext, Collection<FlywayConfigurationProperties> flywayConfigurationProperties) - Parameters:
applicationContext
- TheApplicationContext
flywayConfigurationProperties
- Collection of Flyway Configurations
-
-
Method Details
-
flywayMigrations
- Returns:
- A list of Flyway migrations per active configuration
-