Spencer Gibb
d01bcdf29c
Adds support for Iterable but not Collection parameters.
...
This was removed as part of #48 .
fixes gh-135
2019-03-04 17:48:23 -05:00
Marcin Grzejszczak
47f2850751
ConditionalOnClass on a method should not use a class
2019-02-27 14:48:33 +01:00
Ryan Baxter
4ac6429152
Polishing checkstyle
2019-02-26 20:24:00 -05:00
charliemordant
6e0e63644b
checkstyle rules applied to pageable support
2019-02-17 12:43:30 +01:00
charliemordant
f8352de786
merge conflicts
2019-02-10 18:16:29 +01:00
Marcin Grzejszczak
c8c7452848
Added checkstyle
2019-02-05 18:46:31 +01:00
Olga Maciaszek-Sharma
1f37891ffe
Fixes gh-107 ( #113 )
...
* Fixes gh-107
* Remove unnecessary assignment.
2019-01-29 20:15:32 +01:00
charliemordant
505a83e6a4
registers PageJacksonModule in FeignClientConfiguration
2019-01-28 13:05:26 +01:00
charliemordant
76dbc7d21f
Merge branch 'master' of github.com:spring-cloud/spring-cloud-openfeign into 1604
2019-01-28 09:29:26 +01:00
charliemordant
23ec2a1c43
License headers
2019-01-07 17:20:44 +01:00
Ryan Baxter
d148672e13
Merge remote-tracking branch 'origin/2.0.x'
2019-01-07 09:51:04 -05:00
Ryan Baxter
a693c30930
Add null check for retry policy. Fixes #101
2019-01-07 09:49:36 -05:00
Piotr Smolarski
e227808b9d
Support Multiple Clients Using The Same Service ( #90 )
...
* Use serviceId as url target if present.
Fixes gh-67
* Code review fixes and improvements
* Fix test
* Add contextId to override bean name of feign client and its configuration.
* Add documentation
* Add contextId example to documentation
2019-01-07 09:35:48 -05:00
charliemordant
642d3e6961
Spring data pageable support
2018-12-30 01:47:55 +01:00
Ryan Baxter
c1bbb9cbb3
Updating API usage for Boot 2.1.x.
2018-12-18 16:18:06 -05:00
Spencer Gibb
e65f78f06b
Merge branch '2.0.x'
2018-12-18 14:49:49 -05:00
Ryan Baxter
4e7e187323
Fix bug where host contains protocol characters ( #97 )
...
Fixes #94
2018-12-18 14:48:31 -05:00
Olga Maciaszek-Sharma
a1a45125ea
Upgrade openfeign to 10.1.0 ( #95 )
...
Upgrade to OpenFeign 10.1.0
2018-12-13 18:03:35 +01:00
Ryan Baxter
dd7b869a12
Uncommenting assert
2018-12-10 12:30:03 -05:00
Momo
d46fb3a92e
Add support for feign's QueryMap annotation for Object mapping ( #79 )
...
* Add QueryMapParameterProcessor
* Add license to QueryMapParameterProcessor
* Use SpringQueryMap instead of QueryMap. Add test.
* Add documentation and license to SpringQueryMap
* SpringQueryMap docs
* Fix typos
2018-12-06 21:26:36 +01:00
Ryan Baxter
e85e74e311
Merge remote-tracking branch 'origin/2.0.x'
2018-10-02 13:08:37 -04:00
Ryan Baxter
77cdd40f7d
Add missing properties to additional-spring-configuration-metadata. Fixes #61
2018-10-02 13:07:19 -04:00
sdoeringNew
750cb35e6a
Add builder for feign clients. ( #56 )
...
Utilizes the logic from the registrar and the factory bean. The changes to them have been made minimal invasive.
Fixes gh-42
2018-09-19 09:37:51 -04:00
Kerwin Bryant
b512c451fd
optimized automatic configuration ( #70 )
2018-09-19 09:35:01 -04:00
Kerwin Bryant
3e3e486648
Support to set loadBalancerKey ( #50 )
...
* Support to override CachingSpringLoadBalancerFactory to customize the FeignLoadBalancer instance.
2018-09-12 14:38:15 -04:00
Spencer Gibb
15bda96e91
Merge branch '2.0.x'
2018-09-05 16:09:38 -04:00
Eugene
e0bf63bed1
Added support for MultipartFile ( #66 )
...
Fixes gh-62
### Notes
The solution is based on
```
<dependency>
<groupId>io.github.openfeign.form</groupId>
<artifactId>feign-form-spring</artifactId>
<version>3.3.0</version>
</dependency>
```
Class `feign.form.spring.SpringFormEncoder` was added inside `org.springframework.cloud.openfeign.support.SpringEncoder` because it's doesn't has some checks:
1. Check of `bodyType` on null.
`org.springframework.cloud.openfeign.support.SpringEncoder#encode` don't handle situation when `bodyType` is null.
2. No check for content type `multipart/form-data` in header.
`feign.form.FormEncoder` requires `multipart/form-data` in header for proper processing.
All this checks added and tests are passed.
2018-09-05 16:07:56 -04:00
Ryan Baxter
06ccb9d1e5
Remove code which was calling FallbackFactory with RuntimeException. Fixes #41 ( #58 )
2018-08-17 10:23:37 -04:00
Halvdan Hoem Grelland
52bea35160
Support Spring formatting annotations for params ( #48 )
...
* Add factory for Param.Expander using ConversionService. Instances use ConversionService and passes annotations (through TypeDescriptor) - ConversionService can now pick up @DateTimeFormat and @NumberFormat and convert the params applying those.
2018-08-15 07:19:24 -04:00
Ryan Baxter
d57cea265e
Fix invalid URI error when Feign request URI does not end in /. See sc-netflix #3136
2018-08-13 14:26:24 -04:00
Spencer Gibb
88fae41f02
Updates to work with boot 2.1.0
2018-08-03 15:04:17 -04:00
Ryan Baxter
7dcb696ec4
Use OK Http client bean instead of instance variable. Fixes #46
2018-07-24 09:44:45 -04:00
Matt Benson
8364b16b8e
expose configuration metadata for property 'feign.hystrix.enabled' ( #40 )
2018-06-28 07:28:32 -04:00
Ian Hu
6d4686624e
Fix typo in comments ( #38 )
2018-06-26 07:10:51 -04:00
Fernando F D Bittencourt
a57c416d4a
Explaining the return in case of exception. ( #32 )
2018-06-01 16:44:09 -04:00
Karl Nicholas
ffd4290e06
Update package to correct package in two test files. ( #30 )
2018-05-31 15:58:09 -04:00
Ryan Baxter
e27d4d38e5
Fixing compatibility issues between netflix and openfeign as well as boot 1.5.x and 2.0.x
2018-05-18 14:17:09 -04:00
Ryan Baxter
01a2cda776
Remove misplaced StringEncoder setting when dealing with protobuf. Porting change from sc-netflix #2453
2018-05-18 13:53:58 -04:00
Ryan Baxter
9ac36c7f3f
Use type parameter instead of class. Fixes problem when OK HTTP is not on the classpath.
2018-05-02 15:52:36 -04:00
Ryan Baxter
042244428f
Fix NPE when body is empty. Fixes #12 .
2018-03-13 16:33:59 -04:00
Ryan Baxter
485583dad8
Refactor spring retry code ( #10 )
2018-03-12 22:16:44 -04:00
MCoulombe727
c45f1532da
Fix the race condition with the GC since the ConcurrentReferenceHashMap holds soft references to clients. ( #6 )
...
Fixes gh-5
2018-03-09 12:39:58 -05:00
Ryan Baxter
139cc9dab4
Changes and new tests from Netflix
2018-02-22 15:43:04 -05:00
Ryan Baxter
30d9245821
Updated from netflix
2018-02-20 15:34:38 -05:00
Ryan Baxter
26d8e6450b
Moving new code over from netflix
2018-02-20 14:27:38 -05:00
Ryan Baxter
217443048f
openfeign project
2018-02-05 20:25:44 -05:00