Skip to content

Commit

Permalink
Upgrade to Spring Boot 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson committed Dec 13, 2023
1 parent 7cb8853 commit 9b23486
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
3 changes: 1 addition & 2 deletions src/cart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.5</version>
<version>3.2.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
<snakeyaml.version>1.32</snakeyaml.version>
</properties>

<dependencies>
Expand Down
3 changes: 1 addition & 2 deletions src/orders/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.5</version>
<version>3.2.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.amazon.sample</groupId>
Expand All @@ -17,7 +17,6 @@
<properties>
<java.version>17</java.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
<snakeyaml.version>1.32</snakeyaml.version>
</properties>

<dependencies>
Expand Down
8 changes: 1 addition & 7 deletions src/ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.5</version>
<version>3.2.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.amazon.sample</groupId>
Expand All @@ -19,7 +19,6 @@
<spring-cloud>2021.0.3</spring-cloud>
<spring-cloud-aws.version>2.4.2</spring-cloud-aws.version>
<org.mapstruct.version>1.5.5.Final</org.mapstruct.version>
<snakeyaml.version>1.32</snakeyaml.version>
</properties>

<dependencies>
Expand All @@ -38,11 +37,6 @@
<artifactId>spring-boot-properties-migrator</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private static ExchangeFilterFunction logRequest() {

private static ExchangeFilterFunction logResponse() {
return ExchangeFilterFunction.ofResponseProcessor(clientResponse -> {
log.info("Response: {} {}", clientResponse.rawStatusCode(), clientResponse.bodyToMono(String.class));
log.info("Response: {} {}", clientResponse.statusCode().value(), clientResponse.bodyToMono(String.class));
return Mono.just(clientResponse);
});
}
Expand Down

0 comments on commit 9b23486

Please sign in to comment.