[JAVA-27620] (#15396)
* [JAVA-27620] * [JAVA-27620] * [JAVA-27620] Comment spring-boot-3-2 module
This commit is contained in:
parent
3e8f48d06e
commit
cd85eb8b0b
@ -95,7 +95,7 @@
|
|||||||
<module>spring-boot-3-observation</module>
|
<module>spring-boot-3-observation</module>
|
||||||
<module>spring-boot-3-test-pitfalls</module>
|
<module>spring-boot-3-test-pitfalls</module>
|
||||||
<module>spring-boot-3-testcontainers</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-resilience4j</module>
|
||||||
<module>spring-boot-properties</module>
|
<module>spring-boot-properties</module>
|
||||||
<module>spring-boot-properties-2</module>
|
<module>spring-boot-properties-2</module>
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
## Relevant Articles
|
## Relevant Articles
|
||||||
- [Spring Boot 3.1’s ConnectionDetails Abstraction](https://www.baeldung.com/spring-boot-3-1-connectiondetails-abstraction)
|
- [Spring Boot 3.1’s ConnectionDetails Abstraction](https://www.baeldung.com/spring-boot-3-1-connectiondetails-abstraction)
|
||||||
- [@ConditionalOnThreading Annotation Spring](https://www.baeldung.com/spring-conditionalonthreading)
|
- [@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)
|
@ -282,6 +282,7 @@
|
|||||||
</build>
|
</build>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<start-class>com.baeldung.restclient.RestClientApplication</start-class>
|
||||||
<mapstruct.version>1.6.0.Beta1</mapstruct.version>
|
<mapstruct.version>1.6.0.Beta1</mapstruct.version>
|
||||||
<springdoc.version>2.0.0</springdoc.version>
|
<springdoc.version>2.0.0</springdoc.version>
|
||||||
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
|
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
|
||||||
|
@ -1,13 +1,20 @@
|
|||||||
package com.baeldung.restclient;
|
package com.baeldung.restclient;
|
||||||
|
|
||||||
import org.springframework.http.ResponseEntity;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Objects;
|
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
|
@RestController
|
||||||
@RequestMapping("/articles")
|
@RequestMapping("/articles")
|
||||||
public class ArticleController {
|
public class ArticleController {
|
@ -1,7 +1,10 @@
|
|||||||
package com.baeldung.restclient;
|
package com.baeldung.restclient;
|
||||||
|
|
||||||
import com.fasterxml.jackson.core.type.TypeReference;
|
import static org.assertj.core.api.Assertions.assertThat;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import static org.assertj.core.api.Assertions.assertThatThrownBy;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
import org.junit.jupiter.api.AfterEach;
|
import org.junit.jupiter.api.AfterEach;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
@ -14,11 +17,8 @@ import org.springframework.http.MediaType;
|
|||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.web.client.RestClient;
|
import org.springframework.web.client.RestClient;
|
||||||
|
|
||||||
import java.util.List;
|
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;
|
|
||||||
|
|
||||||
|
|
||||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||||
public class RestClientIntegrationTest {
|
public class RestClientIntegrationTest {
|
@ -8,4 +8,5 @@
|
|||||||
- [HTTP Interface in Spring 6](https://www.baeldung.com/spring-6-http-interface)
|
- [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)
|
- [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)
|
- [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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user