Package io.micronaut.liquibase.endpoint
Class LiquibaseEndpoint
java.lang.Object
io.micronaut.liquibase.endpoint.LiquibaseEndpoint
Provides a liquibase endpoint to get all the migrations applied.
- Since:
- 1.0.0
- Author:
- Iván López
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLiquibaseEndpoint
(Collection<LiquibaseConfigurationProperties> liquibaseConfigurationProperties, io.micronaut.context.ApplicationContext applicationContext, @Nullable io.micronaut.jdbc.DataSourceResolver dataSourceResolver) -
Method Summary
-
Field Details
-
NAME
Endpoint name.- See Also:
-
-
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 ConfigurationsapplicationContext
- The application contextdataSourceResolver
- The data source resolver
-
-
Method Details
-
liquibaseMigrations
- Returns:
- A publisher with liquibase changes per active configuration
-