From b11e3e89152e91491395fee094ccaca7396ab814 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Mon, 30 Sep 2024 10:38:34 +0530 Subject: [PATCH] Update to latest version --- .../example/catalogservice/TestCatalogServiceApplication.java | 2 +- inventory-service/pom.xml | 2 +- .../com/example/inventoryservice/common/ContainersConfig.java | 2 +- .../com/example/orderservice/common/PostGreSQLContainer.java | 2 +- payment-service/pom.xml | 2 +- .../java/com/example/paymentservice/TestPaymentApplication.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/catalog-service/src/test/java/com/example/catalogservice/TestCatalogServiceApplication.java b/catalog-service/src/test/java/com/example/catalogservice/TestCatalogServiceApplication.java index edd5477a..21186421 100644 --- a/catalog-service/src/test/java/com/example/catalogservice/TestCatalogServiceApplication.java +++ b/catalog-service/src/test/java/com/example/catalogservice/TestCatalogServiceApplication.java @@ -30,7 +30,7 @@ GenericContainer zipkinContainer() { @Bean @ServiceConnection PostgreSQLContainer postgreSqlContainer() { - return new PostgreSQLContainer<>("postgres:16-alpine").withReuse(true); + return new PostgreSQLContainer<>("postgres:17-alpine").withReuse(true); } @Bean diff --git a/inventory-service/pom.xml b/inventory-service/pom.xml index e97c1675..b7768711 100644 --- a/inventory-service/pom.xml +++ b/inventory-service/pom.xml @@ -271,7 +271,7 @@ POSTGRES - postgres:16-alpine + postgres:17-alpine test test test diff --git a/inventory-service/src/test/java/com/example/inventoryservice/common/ContainersConfig.java b/inventory-service/src/test/java/com/example/inventoryservice/common/ContainersConfig.java index 4b6f836c..82ba2a12 100644 --- a/inventory-service/src/test/java/com/example/inventoryservice/common/ContainersConfig.java +++ b/inventory-service/src/test/java/com/example/inventoryservice/common/ContainersConfig.java @@ -18,7 +18,7 @@ public class ContainersConfig { @Bean @ServiceConnection PostgreSQLContainer postgreSQLContainer() { - return new PostgreSQLContainer<>(DockerImageName.parse("postgres:16-alpine")) + return new PostgreSQLContainer<>(DockerImageName.parse("postgres:17-alpine")) .withReuse(true); } } diff --git a/order-service/src/test/java/com/example/orderservice/common/PostGreSQLContainer.java b/order-service/src/test/java/com/example/orderservice/common/PostGreSQLContainer.java index 7bdc17cf..3bf188e8 100644 --- a/order-service/src/test/java/com/example/orderservice/common/PostGreSQLContainer.java +++ b/order-service/src/test/java/com/example/orderservice/common/PostGreSQLContainer.java @@ -14,6 +14,6 @@ public interface PostGreSQLContainer { @ServiceConnection PostgreSQLContainer postgreSQLContainer = - new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16-alpine")) + new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17-alpine")) .withReuse(true); } diff --git a/payment-service/pom.xml b/payment-service/pom.xml index c7b0bfc7..9eaf05eb 100644 --- a/payment-service/pom.xml +++ b/payment-service/pom.xml @@ -257,7 +257,7 @@ POSTGRES - postgres:16-alpine + postgres:17-alpine test test test diff --git a/payment-service/src/test/java/com/example/paymentservice/TestPaymentApplication.java b/payment-service/src/test/java/com/example/paymentservice/TestPaymentApplication.java index 0b80fe03..0224159b 100644 --- a/payment-service/src/test/java/com/example/paymentservice/TestPaymentApplication.java +++ b/payment-service/src/test/java/com/example/paymentservice/TestPaymentApplication.java @@ -16,7 +16,7 @@ public class TestPaymentApplication { @Bean @ServiceConnection PostgreSQLContainer postgreSQLContainer() { - return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16-alpine")) + return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17-alpine")) .withReuse(true); }