From a6d7da26837191e9504144c5e9ca91271616c88f Mon Sep 17 00:00:00 2001 From: hegeaal Date: Wed, 13 Mar 2024 14:46:23 +0100 Subject: [PATCH] chore: bump deps --- pom.xml | 20 ++++++++++++------- src/main/resources/application.yml | 2 +- .../no/fdk/endpoints/utils/ApiTestContext.kt | 2 +- .../kotlin/no/fdk/endpoints/utils/TestData.kt | 2 +- 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index 8e4b026..39f6b34 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ org.springframework.boot spring-boot-starter-parent - 3.1.4 + 3.2.3 @@ -29,7 +29,7 @@ false - 1.9.10 + 1.9.20 4.9.0 @@ -86,8 +86,14 @@ org.wiremock - wiremock - 3.2.0 + wiremock-standalone + 3.4.2 + test + + + org.apache.httpcomponents.client5 + httpclient5 + 5.3.1 test @@ -170,7 +176,7 @@ org.jacoco jacoco-maven-plugin - 0.8.10 + 0.8.11 before-unit-test-execution @@ -228,7 +234,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.2 + 3.2.5 false ${surefire.jacoco.args} @@ -242,7 +248,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.1.2 + 3.2.5 ${failsafe.jacoco.args} contract diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 5ff3869..96c0983 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -16,4 +16,4 @@ server.port: 8080 spring: config.activate.on-profile: contract-test application: - dataServiceCatalogsUri: http://localhost:5000/catalogs + dataServiceCatalogsUri: http://localhost:5050/catalogs diff --git a/src/test/kotlin/no/fdk/endpoints/utils/ApiTestContext.kt b/src/test/kotlin/no/fdk/endpoints/utils/ApiTestContext.kt index 53448b3..02c532e 100644 --- a/src/test/kotlin/no/fdk/endpoints/utils/ApiTestContext.kt +++ b/src/test/kotlin/no/fdk/endpoints/utils/ApiTestContext.kt @@ -16,7 +16,7 @@ abstract class ApiTestContext { startMockServer() try { - val con = URL("http://localhost:5000/ping").openConnection() as HttpURLConnection + val con = URL("http://localhost:5050/ping").openConnection() as HttpURLConnection con.connect() if (con.responseCode != 200) { logger.debug("Ping to mock server failed") diff --git a/src/test/kotlin/no/fdk/endpoints/utils/TestData.kt b/src/test/kotlin/no/fdk/endpoints/utils/TestData.kt index ea9f63f..60e9228 100644 --- a/src/test/kotlin/no/fdk/endpoints/utils/TestData.kt +++ b/src/test/kotlin/no/fdk/endpoints/utils/TestData.kt @@ -3,7 +3,7 @@ package no.fdk.endpoints.utils import no.fdk.endpoints.model.Endpoint import no.fdk.endpoints.model.Environment -const val LOCAL_SERVER_PORT = 5000 +const val LOCAL_SERVER_PORT = 5050 val PROD_0 = Endpoint( apiRef = "https://staging.fellesdatakatalog.digdir.no/dataservices/db38e789-51cc-3ff4-b55a-6ec94f6f711d",