parent
6642bf7beb
commit
2e76cda4ba
|
@ -584,7 +584,7 @@ public final class FlywayAutoConfiguration {
|
|||
|
||||
Extension(FluentConfiguration configuration, Class<E> type, String name) {
|
||||
this.extension = SingletonSupplier.of(() -> {
|
||||
E extension = configuration.getPluginRegister().getPlugin(type);
|
||||
E extension = configuration.getPluginRegister().getExact(type);
|
||||
Assert.state(extension != null, () -> "Flyway %s extension missing".formatted(name));
|
||||
return extension;
|
||||
});
|
||||
|
|
|
@ -651,7 +651,7 @@ class FlywayAutoConfigurationTests {
|
|||
.run((context) -> assertThat(context.getBean(Flyway.class)
|
||||
.getConfiguration()
|
||||
.getPluginRegister()
|
||||
.getPlugin(OracleConfigurationExtension.class)
|
||||
.getExact(OracleConfigurationExtension.class)
|
||||
.getSqlplus()).isTrue());
|
||||
|
||||
}
|
||||
|
@ -663,7 +663,7 @@ class FlywayAutoConfigurationTests {
|
|||
.run((context) -> assertThat(context.getBean(Flyway.class)
|
||||
.getConfiguration()
|
||||
.getPluginRegister()
|
||||
.getPlugin(OracleConfigurationExtension.class)
|
||||
.getExact(OracleConfigurationExtension.class)
|
||||
.getSqlplusWarn()).isTrue());
|
||||
}
|
||||
|
||||
|
@ -674,7 +674,7 @@ class FlywayAutoConfigurationTests {
|
|||
.run((context) -> assertThat(context.getBean(Flyway.class)
|
||||
.getConfiguration()
|
||||
.getPluginRegister()
|
||||
.getPlugin(OracleConfigurationExtension.class)
|
||||
.getExact(OracleConfigurationExtension.class)
|
||||
.getWalletLocation()).isEqualTo("/tmp/my.wallet"));
|
||||
}
|
||||
|
||||
|
@ -685,7 +685,7 @@ class FlywayAutoConfigurationTests {
|
|||
.run((context) -> assertThat(context.getBean(Flyway.class)
|
||||
.getConfiguration()
|
||||
.getPluginRegister()
|
||||
.getPlugin(OracleConfigurationExtension.class)
|
||||
.getExact(OracleConfigurationExtension.class)
|
||||
.getKerberosCacheFile()).isEqualTo("/tmp/cache"));
|
||||
}
|
||||
|
||||
|
@ -783,7 +783,7 @@ class FlywayAutoConfigurationTests {
|
|||
.run((context) -> assertThat(context.getBean(Flyway.class)
|
||||
.getConfiguration()
|
||||
.getPluginRegister()
|
||||
.getPlugin(PostgreSQLConfigurationExtension.class)
|
||||
.getExact(PostgreSQLConfigurationExtension.class)
|
||||
.isTransactionalLock()).isFalse());
|
||||
}
|
||||
|
||||
|
@ -801,7 +801,7 @@ class FlywayAutoConfigurationTests {
|
|||
.run((context) -> assertThat(context.getBean(Flyway.class)
|
||||
.getConfiguration()
|
||||
.getPluginRegister()
|
||||
.getPlugin(SQLServerConfigurationExtension.class)
|
||||
.getExact(SQLServerConfigurationExtension.class)
|
||||
.getKerberos()
|
||||
.getLogin()
|
||||
.getFile()).isEqualTo("/tmp/config"));
|
||||
|
|
|
@ -375,7 +375,7 @@ bom {
|
|||
javadoc("elasticsearch-java", version -> "https://javadoc.io/doc/co.elastic.clients/elasticsearch-java/%s/index.html".formatted(version), "co.elastic.clients.elasticsearch", "co.elastic.clients.transport")
|
||||
}
|
||||
}
|
||||
library("Flyway", "11.13.0") {
|
||||
library("Flyway", "11.13.1") {
|
||||
group("org.flywaydb") {
|
||||
modules = [
|
||||
"flyway-commandline",
|
||||
|
|
Loading…
Reference in New Issue