74 Commits

Author SHA1 Message Date
rozagerardo
3786d4e1b1 * Added code for BAEL-1972 (#4632) 2018-07-08 10:40:02 +02:00
Loredana Crusoveanu
14bdd8e7d7
Merge pull request #4258 from dhruba619/master
BAEL-1627 Moved the code to new module spring-boot-mvc
2018-06-24 10:41:40 +03:00
Michael Pratt
efa7186530 BAEL-1763: Get and post lists with RestTemplate (#4438)
* Code showing how to use Lists with RestTemplate

* Update URLs to work inside spring-rest project

* Refactor Employee xtor; rename EmployeeListDTO
2018-06-15 23:54:22 +02:00
Tino Mulanchira Thomas
0f15f15bf3 BAEL-1756 (#4349) 2018-05-28 00:48:42 +02:00
Adrian Precub
b6b060d0f5 BAEL-1766: Configure a RestTemplate with RestTemplateBuilder (#4319) 2018-05-26 11:08:31 -05:00
Tino Mulanchira Thomas
488b449253 BAEL 1756 (#4263) - Review comments incorporated 2018-05-18 09:34:22 +02:00
Dhrubajyoti Bhattacharjee
6d1049ac2c BAEL-1627 Moved the code to new module spring-boot-mvc 2018-05-16 09:07:43 +05:30
Dhrubajyoti Bhattacharjee
8be0f4e1af BAEL-1627 Define a favicon in spring boot (#3957)
* BAEL-1627 Define a favicon in spring boot

* Restrict favicon requests to GET only

* Update FaviconConfiguration.java
2018-05-13 19:49:47 +02:00
Tino Mulanchira Thomas
3c28681b6d BAEL-1756 (#4230)
* code samples for spring data key value
BAEL-1467

* changes to add spring-data-keyvalue to parent pom.

* Update README.md

* Update README.md

* Update README.md

* How to Use Spring RestTemplate Interceptor

* Spring annotations article (#4232)

* Spring annotations

* commented VehicleFactoryApplication to fix CI build

* BAEL-1756 Test typo fixed
2018-05-13 10:31:30 +02:00
Loredana Crusoveanu
d948ae0a7e
Merge pull request #4168 from gunayus/master
Sample codes for BAEL-1746
2018-05-12 00:45:41 +03:00
Loredana Crusoveanu
e78a49216d
Merge pull request #4204 from khatwaniNikhil/BAEL-1657
Bael 1657
2018-05-12 00:21:50 +03:00
Loredana Crusoveanu
4a08fd1352 update, move deferredresult controller (#4164) 2018-05-11 09:07:57 +02:00
Nikhil Khatwani
bf04c6bd27 Merge remote-tracking branch 'upstream/master' into BAEL-1657 2018-05-09 18:04:30 +05:30
Nikhil Khatwani
8d05a42c30 Changes for BAEL-1657 2018-05-09 18:03:35 +05:30
Loredana Crusoveanu
c0131fdd8a upgrade spring-rest module 2018-05-06 19:00:41 +03:00
Erdem Günay
980f7460d3
Merge branch 'master' into master 2018-05-04 00:55:25 +03:00
Erdem
1fe62a811c BAEL-1746 added custom property editor implementation 2018-05-04 00:26:37 +03:00
Erdem
043f6bade7 BAEL-1746 added custom property editor implementation 2018-05-03 23:27:12 +03:00
Erdem
ef481d19ee BAEL-1746 added property editor implementation 2018-05-03 22:02:16 +03:00
Loredana Crusoveanu
b5dde9b233 move custom port code, upgrade to boot 2 (#4126) 2018-04-30 14:42:25 +02:00
Shreyash
e87a37911f BAEL-1226 Checkstyle introduction. (#3736)
* BAEL-1226:- Changes for checkstyle

* BAEL-1226: Changes for checkstyle

* Changes for BAEL-1226:- Chnaged the file to match in article.

* Formatting chnages.

* BAEL-1226: Change for the pom
2018-03-20 16:40:03 +01:00
Loredana Crusoveanu
692f12636f add pact provider test (#3475) 2018-01-22 17:46:11 +01:00
Adam InTae Gerard
3e192a0707 BAEL-1085: @RequestBody and @ResponseBody Annotation (#2583)
* Simple Boot REST application and example

* BAEL-509 - Removed extra duplicate ant matcher

* Example and Unit Tests

* documentation

* BAEL-1085 - changes per PR code review and document review - altered integration to unit test - all's good

* BAEL-1085 - Renamed unit tests and added both to pom.xml

* IntelliJ formatter

* REVERT - Had removed a duplicate ant matcher from BAEL-509 - this was the incorrect process - reverting now, article has been corrected, but will issue a seperate PR for this

* BAEL-509: Removed duplicate ant matcher - does not impact code at runtime

* BAEL-1085: Per editor's request, removed Angular client - using CURL POST commands now in article - as such moved the code into a more appropriate module: spring-rest
2017-09-11 08:22:22 +02:00
Nikhil Khatwani
ca70e9f9fb Changes for BAEL-332 (#2396) 2017-08-09 23:19:03 +02:00
Grzegorz Piwowarek
e8df7f8116 Taxi fare refactor (#2328) 2017-07-29 10:06:27 +02:00
slavisa-baeldung
17d7f8fe59 Merge pull request #2317 from half-wit4u/master
@GetMapping and @PostMapping instead of @RequestMappings change
2017-07-28 12:56:01 +02:00
mokhan
a3c47eca35 @GetMapping and @PostMapping instead of @RequestMappings change 2017-07-26 21:01:36 +05:30
slavisa-baeldung
34dc48c2e5 Merge branch 'master' of https://github.com/half-wit4u/tutorials into half-wit4u-master 2017-07-25 15:35:56 +01:00
mokhan
29b0da9960 Web Logging code included in exisitng module namely "spring-rest" 2017-07-24 23:03:24 +05:30
Doha2012
50054a218b fix configuration (#2225)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso

* spring boot bootstrap

* add logic

* cleanup

* add simple controller

* add thymeleaf and security

* minor fix

* minor fix

* add more boot properties

* fix live test

* fix live test

* minor fix

* semaphores

* fix configuration
2017-07-07 21:08:04 -04:00
Doha2012
ee2ed99ad9 fix live test (#2143)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso

* spring boot bootstrap

* add logic

* cleanup

* add simple controller

* add thymeleaf and security

* minor fix

* minor fix

* add more boot properties

* fix live test
2017-06-24 12:38:17 -05:00
eugenp
5a5f3fa459 changing controller mapping 2017-06-17 14:04:38 +03:00
Grzegorz Piwowarek
29e3437545 Nbosecker merge (#1989)
* Solr w Apache SolrJ

* Solr w Apache SolrJ

* updated test names and moved add to @before method

* create apache-solrj module, moved code from spring-data-solr

* More examples for indexing,delete,and query for solrj

* More examples for indexing,delete,and query for solrj

* Jackson Map Serialize/Deserialize

* Jackson Map Serialize/Deserialize

* Jackson version update

* keydeserializer code added

* keydeserializer code added

* remove explicit types from map instantion

* one objectmapper per class

* refactor to spring-rest-simple module

* Fix spring-rest-simple
2017-06-04 10:07:05 +02:00
mariiakulik
a5f4ae927d Readme files update (#1680)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.MD

* Update README

* Rename README to README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-04-18 22:20:20 +02:00
Mohamed Sanaulla
7d6bf29092 sample code for update to BAEL-743 (#1669) 2017-04-18 09:10:39 +02:00
Tomasz Lelek
52eb7c2bc4 Bael 738 (#1504)
* BAEL-724 code for put/patch article

* BAEL-724 fix typo

* BAEL-728 more generic patch approach

* BAEL-738 change url of PUT method

* fix route confict
2017-03-26 15:56:20 +02:00
Tomasz Lelek
2d556cd763 Bael 738 (#1478)
* BAEL-724 code for put/patch article

* BAEL-724 fix typo

* BAEL-728 more generic patch approach
2017-03-24 15:29:14 +01:00
Alexandre Lombard
bd237b2115 master (#1455)
* Example code to return image with @ResponseBody

* Example code showing how to return images using @ResponseBody

* Example code showing how to return images using @ResponseBody
2017-03-21 17:33:31 +01:00
Tomasz Lelek
b95a014c8a BAEL-738 (#1456) PUT and PATCH
* BAEL-724 code for put/patch article

* BAEL-724 fix typo
2017-03-20 17:54:02 +01:00
Tomasz Lelek
4d8949f659 Custom media types rest (#946)
* Custom Media Types for REST

* add test, add DTO, remove example of API versioning to make example simpler

* client accept only that custom-media type

* remove not needed new_line

* leave custom media type on class level

* do not need content type header

* GET do not need content-Type

* add liveTest for custom Content type

* Merge branch 'master' of https://github.com/eugenp/tutorials into Custom_media_types_rest

# Conflicts:
#	spring-rest/src/main/java/org/baeldung/web/controller/mediatypes/CustomMediaTypeController.java
#	spring-rest/src/main/java/org/baeldung/web/dto/BaeldungItem.java
#	spring-rest/src/test/java/org/baeldung/web/controller/mediatypes/CustomMediaTypeControllerTest.java

* test name proper given_when_then pattern

* add custom content-type 'application/json-p'

* import proper class

* proper test name

* proper API migraton test, SecondBaeldungItem breaks backward compatibility

* add proper endpoint
2016-12-30 15:15:55 -06:00
Tomasz Lelek
4305025d42 Custom media types rest (#944)
* Custom Media Types for REST

* add test, add DTO, remove example of API versioning to make example simpler

* client accept only that custom-media type

* remove not needed new_line

* leave custom media type on class level

* do not need content type header

* GET do not need content-Type

* add liveTest for custom Content type

* Merge branch 'master' of https://github.com/eugenp/tutorials into Custom_media_types_rest

# Conflicts:
#	spring-rest/src/main/java/org/baeldung/web/controller/mediatypes/CustomMediaTypeController.java
#	spring-rest/src/main/java/org/baeldung/web/dto/BaeldungItem.java
#	spring-rest/src/test/java/org/baeldung/web/controller/mediatypes/CustomMediaTypeControllerTest.java

* test name proper given_when_then pattern

* add custom content-type 'application/json-p'

* import proper class

* proper test name

* proper API migraton test, SecondBaeldungItem breaks backward compatibility
2016-12-30 13:14:25 -06:00
Tomasz Lelek
0e163811ac Custom media types rest (#939)
* Custom Media Types for REST

* add test, add DTO, remove example of API versioning to make example simpler

* client accept only that custom-media type

* remove not needed new_line

* leave custom media type on class level

* do not need content type header

* GET do not need content-Type

* add liveTest for custom Content type

* Merge branch 'master' of https://github.com/eugenp/tutorials into Custom_media_types_rest

# Conflicts:
#	spring-rest/src/main/java/org/baeldung/web/controller/mediatypes/CustomMediaTypeController.java
#	spring-rest/src/main/java/org/baeldung/web/dto/BaeldungItem.java
#	spring-rest/src/test/java/org/baeldung/web/controller/mediatypes/CustomMediaTypeControllerTest.java
2016-12-29 16:44:21 -06:00
eugenp
76485ab399 formatting work 2016-12-28 16:35:14 +02:00
Tomasz Lelek
cbf878ba34 Custom Media Types for REST (#918)
* Custom Media Types for REST

* add test, add DTO, remove example of API versioning to make example simpler

* client accept only that custom-media type

* remove not needed new_line

* leave custom media type on class level
2016-12-28 08:33:04 -06:00
DOHA
6e6c3e6e80 move rest template test 2016-11-28 23:36:16 +02:00
eugenp
12de46529d cleanup work 2016-11-18 14:10:21 +02:00
eugenp
30171ef89b upgrades 2016-11-18 14:01:31 +02:00
eugenp
856be0a08a formatting work 2016-10-12 08:02:05 +03:00
Jim Kerak
3dae7f5352 Merge pull request #721 from ivanp81/master
BAEL-342: OKHttp Example
2016-10-04 12:53:06 -04:00
Ivan Paolillo
7546794253 Add endpoint for testing 2016-09-21 16:52:26 +02:00