[JAVA-27620] (#15396)

* [JAVA-27620]

* [JAVA-27620]

* [JAVA-27620] Comment spring-boot-3-2 module
This commit is contained in:
panos-kakos 2023-12-13 22:04:35 +02:00 committed by GitHub
parent 3e8f48d06e
commit cd85eb8b0b
10 changed files with 23 additions and 12 deletions

View File

@ -95,7 +95,7 @@
<module>spring-boot-3-observation</module>
<module>spring-boot-3-test-pitfalls</module>
<module>spring-boot-3-testcontainers</module>
<module>spring-boot-3-2</module>
<!-- <module>spring-boot-3-2</module>--> <!-- JAVA-28828 -->
<module>spring-boot-resilience4j</module>
<module>spring-boot-properties</module>
<module>spring-boot-properties-2</module>

View File

@ -1,3 +1,5 @@
## Relevant Articles
- [Spring Boot 3.1s ConnectionDetails Abstraction](https://www.baeldung.com/spring-boot-3-1-connectiondetails-abstraction)
- [@ConditionalOnThreading Annotation Spring](https://www.baeldung.com/spring-conditionalonthreading)
- [A Guide to RestClient in Spring Boot](https://www.baeldung.com/spring-boot-restclient)
- More articles: [[<-- prev]](/spring-boot-modules/spring-boot-3)

View File

@ -282,6 +282,7 @@
</build>
<properties>
<start-class>com.baeldung.restclient.RestClientApplication</start-class>
<mapstruct.version>1.6.0.Beta1</mapstruct.version>
<springdoc.version>2.0.0</springdoc.version>
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>

View File

@ -1,13 +1,20 @@
package com.baeldung.restclient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/articles")
public class ArticleController {

View File

@ -1,7 +1,10 @@
package com.baeldung.restclient;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import java.util.List;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@ -14,11 +17,8 @@ import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.client.RestClient;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class RestClientIntegrationTest {

View File

@ -8,4 +8,5 @@
- [HTTP Interface in Spring 6](https://www.baeldung.com/spring-6-http-interface)
- [Working with Virtual Threads in Spring 6](https://www.baeldung.com/spring-6-virtual-threads)
- [Docker Compose Support in Spring Boot 3](https://www.baeldung.com/ops/docker-compose-support-spring-boot)
- [A Guide to RestClient in Spring Boot](https://www.baeldung.com/spring-boot-restclient)
- More articles: [[next -->]](/spring-boot-modules/spring-boot-3-2)