Commit Graph

132 Commits

Author SHA1 Message Date
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
Doha2012 7525544e09 use standard logback.xml (#1666)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml
2017-04-17 18:41:23 +02:00
Tomasz Sobala 0975123b83 Exploring the Spring Boot TestRestTemplate (#1550)
* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

* Revert of evaluation task "XML-based configuration replaced with Java Config."

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

* [BAEL-431] fix to the tests in TestRestTemplateBasicLiveTest.

* [BAEL-431] added more meaningful user and password for auth.
2017-03-31 19:33:34 +02:00
Tomasz Sobala 6a0e142064 BAEL-431 Exploring the Spring Boot TestRestTemplate (#1444)
* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

* Revert of evaluation task "XML-based configuration replaced with Java Config."

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

* [BAEL-431] fix to the tests in TestRestTemplateBasicLiveTest.
2017-03-27 21:28:15 +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 21f9df6330 Bael 518 protobuffer (#1400)
* BEEL-518 code for protobuf article

* BEEL-518 add generated protobuf class

* BEEL-550 use newest version of protobuff

* BAEL-518 Small refactoring in protobuffer module

* BEEL-518 simpler protobuf example

* BEEL-518 proper package
2017-03-25 11:14:09 +01: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
eugenp 07cfaecbd9 minor cleanup 2016-12-30 00:46:38 +02: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 2dc0cf6c36 upgrade and cleanup 2016-12-11 15:35:52 +02:00
Zeger Hendrikse ee95f0cbde Removed redundant initialization of client 2016-12-05 23:40:39 +01:00
Zeger Hendrikse 3c050f7053 Resolving conflicts 2016-12-05 23:38:34 +01:00
DOHA 753c71a399 cleanup 2016-11-28 23:36:17 +02:00
DOHA 6e6c3e6e80 move rest template test 2016-11-28 23:36:16 +02:00
Grzegorz Piwowarek cbd22b9ce5 Merge pull request #855 from maibin/master
URIComponentsBuilder
2016-11-24 18:20:01 +01:00
eugenp 2edb881680 compilation fix 2016-11-23 16:39:52 +02:00
James Kerak c1f94aab92 fixing incorrect merge 2016-11-21 09:12:30 -05:00
James Kerak 7e5bea3330 resolving merge conflict 2016-11-21 08:10:29 -05:00
Ivan Paolillo 4d4afa6ca4 Code improvement 2016-11-21 13:53:37 +01:00
michal_aibin 652dcd2804 URIComponentsBuilder 2016-11-21 12:39:44 +01:00
Ivan Paolillo e66e9d445f Code improvement 2016-11-21 11:43:32 +01:00
Ivan Paolillo 540075ca39 Add method init for common logic 2016-11-21 11:42:13 +01:00
eugenp 12de46529d cleanup work 2016-11-18 14:10:21 +02:00
eugenp 30171ef89b upgrades 2016-11-18 14:01:31 +02:00
Grzegorz Piwowarek 3daf23ae22 Refactor OkHttp examples 2016-11-11 15:02:37 +01:00
James Kerak 997b3cabbe changing anonymous subclass to lambda 2016-11-10 09:02:46 -05:00
Grzegorz Piwowarek 48f5fdb8e9 Cleanup OkHttpGetLiveTest 2016-11-07 21:12:50 +01:00
Jim Kerak 4530246d17 Merge pull request #811 from ivanp81/master
A Guide to OkHttp
2016-11-07 14:49:13 -05:00
Ivan Paolillo 91faa251d5 Code improvement 2016-10-19 12:23:03 +02:00
Ivan Paolillo 35dbb1cfb0 Code improvement 2016-10-19 12:18:03 +02:00
Ivan Paolillo 2892e93476 Code improvement 2016-10-19 11:01:40 +02:00
Jim Kerak 67b3d62b91 Merge pull request #749 from ivanp81/master
Move OkHttp examples to spring-rest
2016-10-15 14:04:48 -04:00
Ivan Paolillo 5329c54f28 Code improvement 2016-10-13 10:20:18 +02:00
eugenp 856be0a08a formatting work 2016-10-12 08:02:05 +03:00
Ivan Paolillo 774b261050 Add OkHttp example 2016-10-11 10:44:47 +02:00
Ivan Paolillo ebc1c54bea Add OkHttp example 2016-10-11 10:42:45 +02:00
Ivan Paolillo 453b739f6c Add OkHttp example 2016-10-11 10:38:51 +02:00
Jim Kerak 3dae7f5352 Merge pull request #721 from ivanp81/master
BAEL-342: OKHttp Example
2016-10-04 12:53:06 -04:00
DOHA eaa04c6c7f add live profile 2016-09-23 12:26:48 +02:00
Ivan Paolillo 7546794253 Add endpoint for testing 2016-09-21 16:52:26 +02:00
gatmeister 443f43e488 added serialUID to fix warning 2016-09-16 00:02:45 +08:00
DOHA a2c86d0a8d add xml config 2016-09-13 12:08:58 +02:00
DOHA 0c12104b83 add live test 2016-09-12 14:28:53 +02:00
DOHA f2c52d6cfc fix spring-rest configuration 2016-09-12 12:55:54 +02:00
eugenp 2b7f03e881 adding back the missing code 2016-08-08 00:02:59 +03:00
Grzegorz Piwowarek c3766c0138 Remove eclipse-specific config 2016-08-02 00:15:36 +02:00
slavisa-baeldung a9b95d326b Merge branch 'master' into pr/462-jsonp 2016-07-31 23:37:36 +02:00
MafaldaLandeiro a384872870 Spring JSON-P with Jackson 2016-07-27 20:55:04 +01:00
MafaldaLandeiro 9b30521a3f Spring JSONP with Jackson 2016-06-26 00:16:13 +01:00
bdragan 57411aa1c2 Removed copy-pasted comments. 2016-06-19 23:43:13 +02:00
bdragan 27d58fc200 Code examples for the 'Binary Data Formats in a Spring REST API'
article.
2016-06-19 23:36:22 +02:00
amedviediev dfc96b2dd1 - Fixed tests 2016-02-02 20:15:51 +02:00
amedviediev de3b09bfd1 - Added test code for the article "Returning Custom Status Codes from Spring MVC Controllers" 2016-02-01 20:38:01 +02:00
amedviediev 453d995385 - Updated source code for the article "Returning Custom Status Codes from Spring MVC Controllers" to be included in the spring-rest project 2016-01-30 23:05:06 +02:00
eugenp 5dcca02c96 formatting work 2015-07-23 17:13:49 +03:00
eugenp 6c6cc61caf Merge branch 'master' of https://github.com/eugenp/tutorials
Conflicts:
	spring-rest/pom.xml
	spring-rest/src/main/webapp/WEB-INF/web.xml
2015-07-23 16:56:24 +03:00
eugenp a1e7be16b8 formatting cleanup 2015-07-23 16:54:23 +03:00
alex-semenyuk 23bf5a3042 Fix formatting files 2015-07-22 22:22:39 +02:00
alex-semenyuk 877b8d2987 Rename some urls. 2015-07-21 15:07:32 +02:00
alex-semenyuk c4bc953d1c Fix issues with tests. 2015-07-21 13:06:14 +02:00
alex-semenyuk 00dd88a0b8 Redirect in Spring 2015-07-20 13:05:25 +02:00
DOHA 713552cfce Add Jackson date test 2014-12-26 20:52:23 +02:00
DOHA 18c74487ec Add HttpClientPostingTest 2014-12-21 23:24:46 +02:00
DOHA 4a61383b0c Modify Json View 2014-12-13 18:32:44 +02:00
eugenp c1fed77c54 cleanup work 2014-06-17 22:33:08 +03:00
eugenp 99573ad02b marshalling work 2014-01-10 15:37:24 +02:00
eugenp 82fe27e433 initial testing work 2014-01-10 13:57:15 +02:00
eugenp 0f8409bf7d minor configuration work 2014-01-10 13:49:11 +02:00
eugenp 72edb72fd5 further marshalling work 2014-01-10 13:42:21 +02:00
eugenp 71c8dffe40 new foo controller - work in progress 2014-01-10 11:50:41 +02:00
eugenp f06b24bea2 updating mappings so that the project can be used for other purposes 2014-01-09 18:37:55 +02:00
eugenp 05cf9b7541 furthe example work 2014-01-09 18:11:32 +02:00
eugenp fcf3e693f5 upgrading all xsds to spring 4 2013-12-31 19:12:12 +02:00
eugenp 110cbb3c22 artifacts renamed according to the goal of the project 2013-07-26 12:14:08 +03:00
eugenp d6f20b1e7d project restructure for cleanup purposes 2013-07-26 12:08:21 +03:00