JAVA-11765: Dissolve spring-boot-rest-2 and distribute its articles (#12195)

* JAVA-11765: Dissolve spring-boot-rest-2 and distribute its articles
spring-boot-modules

* JAVA-11765: removed module from main pom
This commit is contained in:
freelansam 2022-05-13 16:14:49 +05:30 committed by GitHub
parent 232d5776cf
commit 557dba376b
20 changed files with 7 additions and 68 deletions

View File

@ -620,7 +620,6 @@
<module>spring-bom</module> <module>spring-bom</module>
<module>spring-boot-modules</module> <module>spring-boot-modules</module>
<module>spring-boot-rest</module> <module>spring-boot-rest</module>
<module>spring-boot-rest-2</module>
<module>spring-caching</module> <module>spring-caching</module>
<module>spring-caching-2</module> <module>spring-caching-2</module>
@ -1085,7 +1084,6 @@
<module>spring-bom</module> <module>spring-bom</module>
<module>spring-boot-modules</module> <module>spring-boot-modules</module>
<module>spring-boot-rest</module> <module>spring-boot-rest</module>
<module>spring-boot-rest-2</module>
<module>spring-caching</module> <module>spring-caching</module>
<module>spring-caching-2</module> <module>spring-caching-2</module>

View File

@ -1,5 +0,0 @@
### Relevant Article:
- [Get All Endpoints in Spring Boot](https://www.baeldung.com/spring-boot-get-all-endpoints)
- [HTTP PUT vs. POST in REST API](https://www.baeldung.com/rest-http-put-vs-post)
- [415 Unsupported MediaType in Spring Application](https://www.baeldung.com/spring-415-unsupported-mediatype)

View File

@ -1,57 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung.web</groupId>
<artifactId>spring-boot-rest-2</artifactId>
<name>spring-boot-rest-2</name>
<packaging>war</packaging>
<description>Spring Boot Rest Module</description>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../parent-boot-2</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>${springfox.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<properties>
<springfox.version>3.0.0</springfox.version>
</properties>
</project>

View File

@ -1,2 +0,0 @@
management.endpoints.web.exposure.include=mappings

View File

@ -11,4 +11,7 @@ The "REST With Spring 2" Classes: http://bit.ly/restwithspring
- [Setting a Request Timeout for a Spring REST API](https://www.baeldung.com/spring-rest-timeout) - [Setting a Request Timeout for a Spring REST API](https://www.baeldung.com/spring-rest-timeout)
- [Long Polling in Spring MVC](https://www.baeldung.com/spring-mvc-long-polling) - [Long Polling in Spring MVC](https://www.baeldung.com/spring-mvc-long-polling)
- [Guide to UriComponentsBuilder in Spring](https://www.baeldung.com/spring-uricomponentsbuilder) - [Guide to UriComponentsBuilder in Spring](https://www.baeldung.com/spring-uricomponentsbuilder)
- [Get All Endpoints in Spring Boot](https://www.baeldung.com/spring-boot-get-all-endpoints)
- [HTTP PUT vs. POST in REST API](https://www.baeldung.com/rest-http-put-vs-post)
- [415 Unsupported MediaType in Spring Application](https://www.baeldung.com/spring-415-unsupported-mediatype)
- More articles: [[<-- prev]](../spring-rest-http) - More articles: [[<-- prev]](../spring-rest-http)

View File

@ -1 +1,2 @@
spring.mvc.async.request-timeout=750 spring.mvc.async.request-timeout=750
management.endpoints.web.exposure.include=mappings

View File

@ -1 +1,2 @@
spring.mvc.async.request-timeout=750 spring.mvc.async.request-timeout=750
spring.main.allow-bean-definition-overriding=true