Olga Maciaszek-Sharma
c82b577d00
Upgrade feign to 10.7.4. ( #292 )
2020-02-05 14:37:35 +01:00
Aaron Whiteside
892e65e303
Fix GH-201: Multiple @RequestPart not Working ( #258 )
...
Summary of changes follows:
- Delegate ALL requestBody encoding where Content-Type is multipart/form-data to the SpringFormEncoder.
- Introduce RequestPartParameterProcessor to deal with @RequestPart annotations, adds parameters to MethodMetadata.formParams().
- Wrap HttpMessageConversionException in EncodeException.
- Add tests to verify expected behaviour.
However there still exists a gap in functionality where any user defined pojo will be serialized as a Map<String,String>, as there is currently no way for SpringFormEncoder to know about the Content-Type of the individual parts beyond MultipartFile, boxed primitive types (which are treated as text/plain) and other built-in types inherited from FormEncoder.
2020-01-23 15:02:21 +01:00
buildmaster
422dda0a75
Bumping versions
2020-01-21 14:06:45 +00:00
Olga Maciaszek-Sharma
3eabb0237e
Add comment.
2020-01-20 17:32:19 +01:00
Olga Maciaszek-Sharma
ada2cb7913
Revert "Add public delegate modifiers in order to avoid reflection in SC Sleuth."
...
This reverts commit 05b58e087e .
2020-01-20 17:31:13 +01:00
Olga Maciaszek-Sharma
05b58e087e
Add public delegate modifiers in order to avoid reflection in SC Sleuth.
2020-01-20 17:00:56 +01:00
Olga Maciaszek-Sharma
80ecc9ac09
Make constructor public. Required for SC Sleuth gh-1528.
2020-01-20 14:28:30 +01:00
buildmaster
bee97b8611
Bumping versions
2020-01-19 11:37:13 +00:00
matt62king
01d05227c8
Define custom AnnotatedParameterProcessors while keeping defaults, Fixes gh-111 ( #268 )
2020-01-13 21:32:17 -05:00
Aaron Whiteside
90400b9e43
Support for configuring the ExceptionPropagationPolicy ( #261 )
...
Can be configured via properties or as a `@Bean`.
Fixes GH-243
2020-01-13 20:02:40 -05:00
Michael Stummvoll
b1e38db1e2
Update Javadoc for FeignClient.configuration() ( #227 )
...
Referring to @Configuration is a bit confusing. The referred class does not need the annotation, and actually using it could cause issues due the class additionally getting picked up by the component scan.
2020-01-13 15:56:47 -05:00
Olga Maciaszek-Sharma
d77337bc79
Merge branch '2.1.x'
...
# Conflicts:
# docs/pom.xml
# pom.xml
# spring-cloud-openfeign-core/pom.xml
# spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/support/SpringEncoderTests.java
# spring-cloud-openfeign-dependencies/pom.xml
# spring-cloud-starter-openfeign/pom.xml
2020-01-09 18:04:04 +01:00
Olga Maciaszek-Sharma
80d2067134
Merge fix 255 to 21x ( #273 )
...
* Fix bug in SpringEncoder (#225 )
This commit fixes a bug in the SpringEncoder that causes the bodyType to
be ignored and not passed to generic message converters.
Fixes gh-225
* Fix after cherry-pick.
* Add Ahmad Mozafarnia to authors.
* Refactor tests.
Co-authored-by: Ahmad Mozafarnia <ahmad.mozafarnia@gmail.com >
2020-01-09 17:59:15 +01:00
Olga Maciaszek-Sharma
887ceefa60
Merge fix gh 225 ( #272 )
...
* Fix bug in SpringEncoder (#225 )
This commit fixes a bug in the SpringEncoder that causes the bodyType to
be ignored and not passed to generic message converters.
Fixes gh-225
* Refactor changes based on Olga Maciaszek's review
* Add Ahmad Mozafarnia to authors.
Co-authored-by: Ahmad Mozafarnia <ahmad.mozafarnia@gmail.com >
2020-01-09 15:16:51 +01:00
buildmaster
2b364367cb
Bumping versions
2020-01-08 11:37:49 +00:00
Olga Maciaszek-Sharma
8aa4729537
Upgrade to 10.7.0. ( #270 )
2020-01-07 16:12:14 +01:00
buildmaster
41e9b55869
Bumping versions
2020-01-02 11:38:31 +00:00
matt62king
8a25b8bd63
Support matrix variable ( #260 )
...
* support for matrix variable
* support for matrix variable Fixes gh-117
* unit tests for matrix variable
* Correct JavaDoc fixes gh-117
2020-01-01 19:54:55 +01:00
buildmaster
774017db85
Bumping versions
2019-12-21 11:38:25 +00:00
buildmaster
d1b50ec2ae
Bumping versions to 2.2.2.BUILD-SNAPSHOT after release
2019-12-20 12:51:11 +00:00
buildmaster
bde804c6a4
Going back to snapshots
2019-12-20 12:51:11 +00:00
buildmaster
0888d9ce8d
Update SNAPSHOT to 2.2.1.RELEASE
2019-12-20 12:50:14 +00:00
buildmaster
1bc7542dc5
Bumping versions
2019-12-19 11:37:41 +00:00
kingj
68689182be
Changing DefaultGzipDecoder's charset to UTF-8 ( #250 )
2019-12-16 10:29:21 -05:00
Olga Maciaszek-Sharma
d5c176c5f4
Use delegate if absolute url provided. ( #264 )
...
Fixes gh-259
Fixes gh-257
2019-12-16 16:02:00 +01:00
buildmaster
38733043ae
Bumping versions
2019-11-27 11:37:31 +00:00
buildmaster
1b21e3b639
Bumping versions
2019-11-26 11:37:19 +00:00
buildmaster
14e6806c1c
Bumping versions to 2.2.1.BUILD-SNAPSHOT after release
2019-11-26 10:14:04 +00:00
buildmaster
dd95dae352
Going back to snapshots
2019-11-26 10:14:04 +00:00
buildmaster
c1c211efdb
Update SNAPSHOT to 2.2.0.RELEASE
2019-11-26 10:13:18 +00:00
buildmaster
f97cbb9a73
Bumping versions to 2.1.5.BUILD-SNAPSHOT after release
2019-11-18 15:11:21 +00:00
buildmaster
de39e67e18
Going back to snapshots
2019-11-18 15:11:21 +00:00
buildmaster
78037a1161
Update SNAPSHOT to 2.1.4.RELEASE
2019-11-18 15:10:50 +00:00
Ryan Baxter
1ce5ca1ba8
Add proxyBeanMethods = false to configuration. Fixes #233
2019-11-14 12:42:43 -05:00
Ryan Baxter
59b34b23e9
Merge remote-tracking branch 'origin/2.1.x'
2019-11-13 10:42:48 -05:00
Ryan Baxter
f01c46ab2e
Use the context id if present in the HystrixTargeter ( #247 )
...
* Use the context id if present in the HystrixTargeter. Fixes #173
* Remove resource class from circleci
2019-11-13 10:41:57 -05:00
buildmaster
6dc78c99c2
Going back to snapshots
2019-11-08 21:54:34 +00:00
buildmaster
3046af2b42
Update SNAPSHOT to 2.2.0.RC2
2019-11-08 21:54:01 +00:00
buildmaster
8973f4286b
Bumping versions
2019-11-07 14:59:19 +00:00
Olga Maciaszek-Sharma
f661105e63
Fix gh 177 add sc loadbalancer support ( #239 )
...
* Add FeignBlockingLoadBalancerClient, configurations for default, apache
httpclient and okhttp setup. Add autoconfiguration. Init fix for gh-177.
* Fix SC loadbalancer dependencies.
* Fix generating Feign response when instance not found.
* Fix configuration.
* Add tests for FeignBlockingLoadBalancerClient and FeignLoadBalancerAutoConfiguration.
* Fix checkstyle and formatting.
* Refactor, add docs and javadocs.
* Fix author name.
* Fix docs after code review.
2019-11-06 19:06:39 +01:00
kingj
bc10583bf3
Adding gzip support for Spring Decoder ( #230 )
...
* Adding gzip support for Spring Decoder
* Restoring test config
* Switch to medium resource class in circleci. (#231 )
* Adding gzip support for Spring Decoder
* Restoring test config
* Creating extra property for Gzip Decoder
* Fixing requested changes and updating doc
* Missed one change request
* Removing some properties
2019-11-04 17:53:50 +01:00
buildmaster
cb1ea20f3f
Going back to snapshots
2019-10-24 20:48:10 +00:00
buildmaster
6bfc684967
Update SNAPSHOT to 2.2.0.RC1
2019-10-24 20:47:44 +00:00
buildmaster
64d63cbb39
Going back to snapshots
2019-10-03 19:31:32 +00:00
buildmaster
d963ebd0f0
Update SNAPSHOT to 2.2.0.M3
2019-10-03 19:31:06 +00:00
Robert Resch
1e1562b24a
FeignClientBuilder.Builder should always return the generic builder ( #215 )
...
* FeignClientBuilder should always return the generic builder
* Test also FeignClientBuilder.Builder ContextId
2019-09-26 17:00:54 +02:00
buildmaster
7eb7067752
Bumping versions
2019-09-26 11:37:31 +00:00
李家奉
bc4bfb5b7a
Fix FeignClientBuilder fallback ( #197 )
...
* fix FeignClientBuilder fallback
* Fix FeignClientBuilder fallback
* Fix FeignClientBuilder fallback
* Update FeignClientBuilderTests.java
* Update FeignClientBuilderTests.java
* Update FeignClientBuilderTests.java
2019-09-26 13:11:27 +02:00
Olga Maciaszek-Sharma
b2791605b7
Upgrade feign-core to 10.4.0. Fixes gh-220.
2019-09-18 14:01:34 +02:00
Ryan Baxter
eecc51e695
Upgrade to OpenFeign 10.4.0. Fixes #220
2019-09-17 17:18:05 -04:00