From 3fc4478b8bfe3307b5fe0f3594779630790574f1 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Tue, 3 Dec 2024 14:56:23 +0000 Subject: [PATCH] feat : upgrade all to latest version --- r2dbc/boot-r2dbc-reactive-cache/compose.yaml | 4 ++-- r2dbc/boot-r2dbc-reactive-cache/pom.xml | 2 +- .../example/cache/TestR2dbcCacheApplication.java | 13 +++++++++++++ .../com/example/cache/common/ContainersConfig.java | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 r2dbc/boot-r2dbc-reactive-cache/src/test/java/com/example/cache/TestR2dbcCacheApplication.java diff --git a/r2dbc/boot-r2dbc-reactive-cache/compose.yaml b/r2dbc/boot-r2dbc-reactive-cache/compose.yaml index 1dc675767..6def19ae1 100644 --- a/r2dbc/boot-r2dbc-reactive-cache/compose.yaml +++ b/r2dbc/boot-r2dbc-reactive-cache/compose.yaml @@ -1,7 +1,7 @@ services: postgres: container_name: postgres_movie_db - image: postgres:16.6-alpine + image: postgres:17.2-alpine environment: POSTGRES_USER: appuser POSTGRES_PASSWORD: secret @@ -12,7 +12,7 @@ services: - local_dev:/var/lib/postgresql/data redis: container_name: redis_movie_db - image: redis/redis-stack:latest + image: redis/redis-stack:7.4.0-v1 ports: - "6379:6379" - "8001:8001" diff --git a/r2dbc/boot-r2dbc-reactive-cache/pom.xml b/r2dbc/boot-r2dbc-reactive-cache/pom.xml index 9909a6931..d2509b6a3 100644 --- a/r2dbc/boot-r2dbc-reactive-cache/pom.xml +++ b/r2dbc/boot-r2dbc-reactive-cache/pom.xml @@ -21,7 +21,7 @@ UTF-8 21 - 2.6.0 + 2.7.0 2.18.0 ${project.build.directory}/test-results diff --git a/r2dbc/boot-r2dbc-reactive-cache/src/test/java/com/example/cache/TestR2dbcCacheApplication.java b/r2dbc/boot-r2dbc-reactive-cache/src/test/java/com/example/cache/TestR2dbcCacheApplication.java new file mode 100644 index 000000000..308ff9cbf --- /dev/null +++ b/r2dbc/boot-r2dbc-reactive-cache/src/test/java/com/example/cache/TestR2dbcCacheApplication.java @@ -0,0 +1,13 @@ +package com.example.cache; + +import com.example.cache.common.ContainersConfig; +import org.springframework.boot.SpringApplication; + +public class TestR2dbcCacheApplication { + + public static void main(String[] args) { + SpringApplication.from(R2dbcCacheApplication::main) + .with(ContainersConfig.class) + .run(args); + } +} diff --git a/r2dbc/boot-r2dbc-reactive-cache/src/test/java/com/example/cache/common/ContainersConfig.java b/r2dbc/boot-r2dbc-reactive-cache/src/test/java/com/example/cache/common/ContainersConfig.java index b41d11f9c..c4aad899d 100644 --- a/r2dbc/boot-r2dbc-reactive-cache/src/test/java/com/example/cache/common/ContainersConfig.java +++ b/r2dbc/boot-r2dbc-reactive-cache/src/test/java/com/example/cache/common/ContainersConfig.java @@ -13,7 +13,7 @@ public class ContainersConfig { @Bean @ServiceConnection PostgreSQLContainer postgreSQLContainer() { - return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16.4-alpine")); + return new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("17.2-alpine")); } @Bean