From 1ad4e7fe4db585c9fb2c943d6d94d6f883d9db34 Mon Sep 17 00:00:00 2001 From: "marcin.mielnicki" Date: Wed, 17 Jan 2024 13:23:19 +0100 Subject: [PATCH] Upgrade Spring Boot to 3.2.1 --- commons-db/build.gradle | 2 +- commons-rest/build.gradle | 2 +- part1.1-shared-state/build.gradle | 2 +- part1.2-from-sequential-to-parallel/build.gradle | 2 +- part2.1-database/build.gradle | 2 +- part2.2-rest/build.gradle | 4 ++-- .../email/rest/EmailsByRestResourceTest.groovy | 2 +- part2.3-message-broker/build.gradle | 6 +++--- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/commons-db/build.gradle b/commons-db/build.gradle index f98995a..9230eee 100644 --- a/commons-db/build.gradle +++ b/commons-db/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java-library' id 'groovy' - id 'org.springframework.boot' version '3.1.5' + id 'org.springframework.boot' version '3.2.1' id 'io.spring.dependency-management' version '1.1.4' } diff --git a/commons-rest/build.gradle b/commons-rest/build.gradle index f2b48ad..4495ccf 100644 --- a/commons-rest/build.gradle +++ b/commons-rest/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java-library' id 'groovy' - id 'org.springframework.boot' version '3.1.5' + id 'org.springframework.boot' version '3.2.1' id 'io.spring.dependency-management' version '1.1.4' } diff --git a/part1.1-shared-state/build.gradle b/part1.1-shared-state/build.gradle index 49e0e28..a50b7b5 100644 --- a/part1.1-shared-state/build.gradle +++ b/part1.1-shared-state/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' id 'groovy' - id 'org.springframework.boot' version '3.1.5' + id 'org.springframework.boot' version '3.2.1' id 'io.spring.dependency-management' version '1.1.4' id 'io.github.platan.tests-execution-chart' } diff --git a/part1.2-from-sequential-to-parallel/build.gradle b/part1.2-from-sequential-to-parallel/build.gradle index 74cbd2d..f792b2c 100644 --- a/part1.2-from-sequential-to-parallel/build.gradle +++ b/part1.2-from-sequential-to-parallel/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' id 'groovy' - id 'org.springframework.boot' version '3.1.5' + id 'org.springframework.boot' version '3.2.1' id 'io.spring.dependency-management' version '1.1.4' id 'io.github.platan.tests-execution-chart' } diff --git a/part2.1-database/build.gradle b/part2.1-database/build.gradle index a4b0cce..85a5881 100644 --- a/part2.1-database/build.gradle +++ b/part2.1-database/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' id 'groovy' - id 'org.springframework.boot' version '3.1.5' + id 'org.springframework.boot' version '3.2.1' id 'io.spring.dependency-management' version '1.1.4' id 'io.github.platan.tests-execution-chart' } diff --git a/part2.2-rest/build.gradle b/part2.2-rest/build.gradle index eb9c5d4..1e3415c 100644 --- a/part2.2-rest/build.gradle +++ b/part2.2-rest/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' id 'groovy' - id 'org.springframework.boot' version '3.1.5' + id 'org.springframework.boot' version '3.2.1' id 'io.spring.dependency-management' version '1.1.4' id 'io.github.platan.tests-execution-chart' } @@ -25,7 +25,7 @@ dependencies { testImplementation project(':commons') testImplementation project(':commons-rest') testImplementation 'org.spockframework:spock-spring:2.4-M1-groovy-4.0' - testImplementation 'org.wiremock:wiremock:3.3.1' + testImplementation 'org.wiremock:wiremock-standalone:3.3.1' } test { diff --git a/part2.2-rest/src/test/groovy/pl/allegro/tech/workshops/testsparallelexecution/email/rest/EmailsByRestResourceTest.groovy b/part2.2-rest/src/test/groovy/pl/allegro/tech/workshops/testsparallelexecution/email/rest/EmailsByRestResourceTest.groovy index 5b96bf4..68af7f2 100644 --- a/part2.2-rest/src/test/groovy/pl/allegro/tech/workshops/testsparallelexecution/email/rest/EmailsByRestResourceTest.groovy +++ b/part2.2-rest/src/test/groovy/pl/allegro/tech/workshops/testsparallelexecution/email/rest/EmailsByRestResourceTest.groovy @@ -122,7 +122,7 @@ class EmailsByRestResourceTest extends BaseTestWithRest { errorResponse || expectedDetail aResponse().withStatus(400) || "400 Bad Request" aResponse().withStatus(500) || "500 Server Error" - aResponse().withFault(EMPTY_RESPONSE) || "failed to respond" + aResponse().withFault(EMPTY_RESPONSE) || "Unexpected end of file from server" aResponse().withFault(CONNECTION_RESET_BY_PEER) || "Connection reset" aResponse().withFixedDelay(1000) .withHeader(CONTENT_TYPE, APPLICATION_JSON_VALUE) diff --git a/part2.3-message-broker/build.gradle b/part2.3-message-broker/build.gradle index a818fa4..1d777dc 100644 --- a/part2.3-message-broker/build.gradle +++ b/part2.3-message-broker/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' id 'groovy' - id 'org.springframework.boot' version '3.1.5' + id 'org.springframework.boot' version '3.2.1' id 'io.spring.dependency-management' version '1.1.4' id 'io.github.platan.tests-execution-chart' } @@ -19,14 +19,14 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework:spring-webflux' implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0' - implementation 'pl.allegro.tech.hermes:hermes-client:2.5.4' + implementation 'pl.allegro.tech.hermes:hermes-client:2.5.5' implementation 'org.eclipse.jetty:jetty-reactive-httpclient:4.0.2' implementation 'io.projectreactor.netty:reactor-netty:1.1.15' testRuntimeOnly("org.junit.platform:junit-platform-launcher") testImplementation project(':commons') testImplementation project(':commons-rest') - testImplementation 'pl.allegro.tech.hermes:hermes-mock:2.5.4' + testImplementation 'pl.allegro.tech.hermes:hermes-mock:2.5.5' testImplementation 'org.spockframework:spock-spring:2.4-M1-groovy-4.0' }