diff --git a/nakadi-producer-spring-boot-starter/pom.xml b/nakadi-producer-spring-boot-starter/pom.xml index b325134..6464287 100644 --- a/nakadi-producer-spring-boot-starter/pom.xml +++ b/nakadi-producer-spring-boot-starter/pom.xml @@ -33,7 +33,6 @@ org.springframework spring-jdbc - ${spring.version} org.flywaydb @@ -73,16 +72,10 @@ test - com.opentable.components - otj-pg-embedded - 0.7.1 + io.zonky.test + embedded-postgres + 2.0.4 test - - - postgresql - postgresql - - commons-logging @@ -109,11 +102,6 @@ org.springframework.boot spring-boot-actuator-autoconfigure - - org.springframework - spring-jdbc - 5.3.12 - jakarta.annotation jakarta.annotation-api diff --git a/nakadi-producer-spring-boot-starter/src/test/java/org/zalando/nakadiproducer/FlywayDataSourceIT.java b/nakadi-producer-spring-boot-starter/src/test/java/org/zalando/nakadiproducer/FlywayDataSourceIT.java index cd9cd33..1c4a0fa 100644 --- a/nakadi-producer-spring-boot-starter/src/test/java/org/zalando/nakadiproducer/FlywayDataSourceIT.java +++ b/nakadi-producer-spring-boot-starter/src/test/java/org/zalando/nakadiproducer/FlywayDataSourceIT.java @@ -14,7 +14,7 @@ import org.springframework.context.annotation.Configuration; import org.springframework.test.context.ContextConfiguration; -import com.opentable.db.postgres.embedded.EmbeddedPostgres; +import io.zonky.test.db.postgres.embedded.EmbeddedPostgres; @ContextConfiguration(classes=FlywayDataSourceIT.Config.class) public class FlywayDataSourceIT extends BaseMockedExternalCommunicationIT { diff --git a/nakadi-producer-spring-boot-starter/src/test/java/org/zalando/nakadiproducer/config/EmbeddedDataSourceConfig.java b/nakadi-producer-spring-boot-starter/src/test/java/org/zalando/nakadiproducer/config/EmbeddedDataSourceConfig.java index 52bd12d..91697cd 100644 --- a/nakadi-producer-spring-boot-starter/src/test/java/org/zalando/nakadiproducer/config/EmbeddedDataSourceConfig.java +++ b/nakadi-producer-spring-boot-starter/src/test/java/org/zalando/nakadiproducer/config/EmbeddedDataSourceConfig.java @@ -1,7 +1,7 @@ package org.zalando.nakadiproducer.config; -import com.opentable.db.postgres.embedded.EmbeddedPostgres; +import io.zonky.test.db.postgres.embedded.EmbeddedPostgres; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Primary;