From 7c70d5c135ad193dfdec3c08e1db1627912d77a5 Mon Sep 17 00:00:00 2001 From: Phillip Date: Tue, 20 Aug 2024 15:47:02 +0200 Subject: [PATCH] update dependencies (#2) --- pom.xml | 15 ++++++++------- src/main/resources/application.properties | 3 ++- src/test/java/de/svs/NamespaceControllerTest.java | 4 ++-- src/test/java/de/svs/NamespaceTest.java | 4 ++-- .../java/de/svs/QuarkusMongoDbTestResource.java | 4 ++-- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index 9c6be4b..fd48e3a 100644 --- a/pom.xml +++ b/pom.xml @@ -6,15 +6,16 @@ devcluster-namespace-activator 2.1 - 3.11.0 + 3.13.0 21 UTF-8 UTF-8 quarkus-bom io.quarkus.platform - 3.7.2 + 3.13.2 true - 3.1.2 + 3.4.0 + 1.20.1 @@ -31,7 +32,7 @@ org.projectlombok lombok - 1.18.30 + 1.18.34 provided @@ -50,19 +51,19 @@ org.assertj assertj-core - 3.25.3 + 3.26.3 test org.testcontainers testcontainers - 1.19.5 + ${testcontainers.version} test org.testcontainers mongodb - 1.19.3 + ${testcontainers.version} test diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 64bf612..982c262 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,3 +1,4 @@ quarkus.mongodb.connection-string=mongodb://localhost:27017/keda baseDomain=.brb.dbildungscloud.dev -quarkus.mongodb.database=keda \ No newline at end of file +quarkus.mongodb.database=keda +giphyapikey=kICM0DRhpfvIcGLhtmCjqEigApnPMLXf \ No newline at end of file diff --git a/src/test/java/de/svs/NamespaceControllerTest.java b/src/test/java/de/svs/NamespaceControllerTest.java index 340efc5..ba28d4e 100644 --- a/src/test/java/de/svs/NamespaceControllerTest.java +++ b/src/test/java/de/svs/NamespaceControllerTest.java @@ -1,6 +1,6 @@ package de.svs; -import io.quarkus.test.common.QuarkusTestResource; +import io.quarkus.test.common.WithTestResource; import io.quarkus.test.junit.QuarkusMock; import io.quarkus.test.junit.QuarkusTest; import io.smallrye.mutiny.Multi; @@ -24,7 +24,7 @@ import static org.mockito.Mockito.when; @QuarkusTest -@QuarkusTestResource(QuarkusMongoDbTestResource.ContainerResource.class) +@WithTestResource(QuarkusMongoDbTestResource.ContainerResource.class) class NamespaceControllerTest { @Inject diff --git a/src/test/java/de/svs/NamespaceTest.java b/src/test/java/de/svs/NamespaceTest.java index 6ddee57..72dd38e 100644 --- a/src/test/java/de/svs/NamespaceTest.java +++ b/src/test/java/de/svs/NamespaceTest.java @@ -1,13 +1,13 @@ package de.svs; -import io.quarkus.test.common.QuarkusTestResource; +import io.quarkus.test.common.WithTestResource; import io.quarkus.test.junit.QuarkusTest; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; @QuarkusTest -@QuarkusTestResource(QuarkusMongoDbTestResource.ContainerResource.class) +@WithTestResource(QuarkusMongoDbTestResource.ContainerResource.class) class NamespaceTest { @Test diff --git a/src/test/java/de/svs/QuarkusMongoDbTestResource.java b/src/test/java/de/svs/QuarkusMongoDbTestResource.java index 3ffb5e4..494a4dd 100644 --- a/src/test/java/de/svs/QuarkusMongoDbTestResource.java +++ b/src/test/java/de/svs/QuarkusMongoDbTestResource.java @@ -1,13 +1,13 @@ package de.svs; -import io.quarkus.test.common.QuarkusTestResource; import io.quarkus.test.common.QuarkusTestResourceLifecycleManager; +import io.quarkus.test.common.WithTestResource; import org.testcontainers.containers.MongoDBContainer; import java.util.Collections; import java.util.Map; -@QuarkusTestResource(QuarkusMongoDbTestResource.ContainerResource.class) +@WithTestResource(QuarkusMongoDbTestResource.ContainerResource.class) public class QuarkusMongoDbTestResource { public static class ContainerResource implements QuarkusTestResourceLifecycleManager { private MongoDBContainer mongoContainer;