From c6dbedd5ca68f9d90171dbadda67eddc1ec20be5 Mon Sep 17 00:00:00 2001 From: Ranga Rao Karanam Date: Sat, 14 Jan 2017 19:23:22 +0530 Subject: [PATCH] Small Updates --- Step20.md | 7 ++++++- Step23.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Step20.md b/Step20.md index 63bb742..3301b44 100644 --- a/Step20.md +++ b/Step20.md @@ -1,6 +1,11 @@ ##What You Will Learn during this Step: - Introduction to Spring Data Rest - Hit http://localhost:8080/users in POSTMAN + - http://localhost:8080/users/1 + - http://localhost:8080/users/?size=4 + - http://localhost:8080/users/?sort=name,desc + - @Param("role") + - http://localhost:8080/users/search/findByRole?role=Admin - Good for quick prototype! Be cautious about using this in Big applications! ## Useful Snippets and References @@ -8,7 +13,7 @@ First Snippet ``` org.springframework.boot - spring-boot-starter-data-jpa + spring-boot-starter-data-rest ``` diff --git a/Step23.md b/Step23.md index bf8640f..876e530 100644 --- a/Step23.md +++ b/Step23.md @@ -1,6 +1,6 @@ ##What You Will Learn during this Step: - Lets do some cleanup - - Move SomeBean to a different class and call it WelcomeController + - Lets Refactor the SurveyControllerIT.java ## Exercises - Test and make sure everything is working fine