Merge pull request #8254 from sjmillington/rest-move-3

Rest move 3
This commit is contained in:
Josh Cummings 2019-11-28 10:40:04 -07:00 committed by GitHub
commit 514d457ec6
46 changed files with 61 additions and 37 deletions

View File

@ -801,7 +801,7 @@
<module>spring-rest</module> <module>spring-rest</module>
<module>spring-rest-angular</module> <module>spring-rest-angular</module>
<module>spring-rest-compress</module> <module>spring-rest-compress</module>
<module>spring-rest-full</module> <module>spring-rest-testing</module>
<module>spring-rest-hal-browser</module> <module>spring-rest-hal-browser</module>
<module>spring-rest-query-language</module> <module>spring-rest-query-language</module>
<module>spring-rest-shell</module> <module>spring-rest-shell</module>
@ -1402,7 +1402,7 @@
<module>spring-rest</module> <module>spring-rest</module>
<module>spring-rest-angular</module> <module>spring-rest-angular</module>
<module>spring-rest-compress</module> <module>spring-rest-compress</module>
<module>spring-rest-full</module> <module>spring-rest-testing</module>
<module>spring-rest-hal-browser</module> <module>spring-rest-hal-browser</module>
<module>spring-rest-query-language</module> <module>spring-rest-query-language</module>
<module>spring-rest-shell</module> <module>spring-rest-shell</module>
@ -1602,4 +1602,3 @@
</properties> </properties>
</project> </project>

View File

@ -10,3 +10,8 @@ This module contains articles about REST APIs in Spring
- [Spring and Apache FileUpload](https://www.baeldung.com/spring-apache-file-upload) - [Spring and Apache FileUpload](https://www.baeldung.com/spring-apache-file-upload)
- [Test a REST API with curl](https://www.baeldung.com/curl-rest) - [Test a REST API with curl](https://www.baeldung.com/curl-rest)
- [Best Practices for REST API Error Handling](https://www.baeldung.com/rest-api-error-handling-best-practices) - [Best Practices for REST API Error Handling](https://www.baeldung.com/rest-api-error-handling-best-practices)
### NOTE:
This module is closed and should **not** be used to store the code
for any further articles.

View File

@ -1,6 +1,6 @@
## Spring REST Full ## Spring REST Testing
This module contains articles about REST APIs with Spring This module contains articles about testing REST APIs with Spring
### Courses ### Courses
@ -17,7 +17,6 @@ The "Learn Spring Security" Classes: http://github.learnspringsecurity.com
mvn clean install mvn clean install
``` ```
### Set up MySQL ### Set up MySQL
``` ```
mysql -u root -p mysql -u root -p

View File

@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>spring-rest-full</artifactId> <artifactId>spring-rest-testing</artifactId>
<version>0.1-SNAPSHOT</version> <version>0.1-SNAPSHOT</version>
<name>spring-rest-full</name> <name>spring-rest-testing</name>
<packaging>war</packaging> <packaging>war</packaging>
<parent> <parent>

View File

@ -0,0 +1,16 @@
package org.baeldung;
import org.baeldung.spring.Application;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class)
public class SpringContextIntegrationTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}

View File

@ -17,3 +17,8 @@ The "REST With Spring" Classes: http://bit.ly/restwithspring
- [Uploading MultipartFile with Spring RestTemplate](https://www.baeldung.com/spring-rest-template-multipart-upload) - [Uploading MultipartFile with Spring RestTemplate](https://www.baeldung.com/spring-rest-template-multipart-upload)
- [Get and Post Lists of Objects with RestTemplate](https://www.baeldung.com/spring-rest-template-list) - [Get and Post Lists of Objects with RestTemplate](https://www.baeldung.com/spring-rest-template-list)
- [Copy of RestTemplate Post Request with JSON](https://www.baeldung.com/spring-resttemplate-post-json-test) - [Copy of RestTemplate Post Request with JSON](https://www.baeldung.com/spring-resttemplate-post-json-test)
### NOTE:
This module is closed and should **not** be used to store the code
for any further articles.