Olga Maciaszek-Sharma
aba2abba8a
Merge branch '2.1.x'
...
# Conflicts:
# pom.xml
# spring-cloud-openfeign-dependencies/pom.xml
2019-04-02 18:00:43 +02:00
Olga Maciaszek-Sharma
35ec2913d9
Fix handling adding multiple parametrs for key. Fixes gh-171. ( #172 )
2019-04-02 17:55:20 +02:00
Ryan Baxter
4092cb10cc
Fixing tests
2019-03-28 16:14:38 -04:00
Ryan Baxter
0169a3c3f3
Merge branch 'polish-urls-remaining-master' of https://github.com/spring-operator/spring-cloud-openfeign into spring-operator-polish-urls-remaining-master
2019-03-28 16:08:17 -04:00
Ryan Baxter
05893e57e7
Fixing test failures
2019-03-28 15:57:28 -04:00
Spring Operator
1347724cdf
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://foo.com:8000/ (ConnectTimeoutException) with 2 occurrences migrated to:
https://foo.com:8000/ ([https](https://foo.com:8000/ ) result ConnectTimeoutException).
* [ ] http://foo.com:8000/abc/bcd.json (ConnectTimeoutException) with 1 occurrences migrated to:
https://foo.com:8000/abc/bcd.json ([https](https://foo.com:8000/abc/bcd.json ) result ConnectTimeoutException).
* [ ] http://compose.docker.io/ (UnknownHostException) with 1 occurrences migrated to:
https://compose.docker.io/ ([https](https://compose.docker.io/ ) result UnknownHostException).
* [ ] http://tp/abc/bcd.json (UnknownHostException) with 1 occurrences migrated to:
https://tp/abc/bcd.json ([https](https://tp/abc/bcd.json ) result UnknownHostException).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://EditorConfig.org with 1 occurrences migrated to:
https://EditorConfig.org ([https](https://EditorConfig.org ) result 200).
* [ ] http://asciidoctor.org with 1 occurrences migrated to:
https://asciidoctor.org ([https](https://asciidoctor.org ) result 200).
* [ ] http://example.com with 2 occurrences migrated to:
https://example.com ([https](https://example.com ) result 200).
* [ ] http://github.com/ with 1 occurrences migrated to:
https://github.com/ ([https](https://github.com/ ) result 200).
* [ ] http://projects.spring.io/spring-cloud/ with 1 occurrences migrated to:
https://projects.spring.io/spring-cloud/ ([https](https://projects.spring.io/spring-cloud/ ) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 2 occurrences migrated to:
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ) result 200).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 2 occurrences migrated to:
https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546 ) result 301).
* [ ] http://raw.github.com/ with 1 occurrences migrated to:
https://raw.github.com/ ([https](https://raw.github.com/ ) result 301).
* [ ] http://service.com with 1 occurrences migrated to:
https://service.com ([https](https://service.com ) result 301).
* [ ] http://eclipse.org with 1 occurrences migrated to:
https://eclipse.org ([https](https://eclipse.org ) result 302).
* [ ] http://eclipse.org/m2e/ with 2 occurrences migrated to:
https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/ ) result 302).
* [ ] http://www.springsource.com/developer/sts with 1 occurrences migrated to:
https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://PROD-SVC with 2 occurrences
* http://Url/ with 1 occurrences
* http://bad_hostname with 1 occurrences
* http://bar with 1 occurrences
* http://bar/ with 1 occurrences
* http://foo with 19 occurrences
* http://foo/ with 4 occurrences
* http://foo/?name=%7bcookie with 1 occurrences
* http://foo:7777/ with 1 occurrences
* http://good-name with 2 occurrences
* http://listener with 6 occurrences
* http://localhost with 11 occurrences
* http://localhost:8080/ with 1 occurrences
* http://localhost:8081/ with 1 occurrences
2019-03-26 03:45:19 -05:00
Ryan Baxter
fff4975c1e
Fixing test
2019-03-25 20:09:14 -04:00
Spring Operator
5a54a612cf
URL Cleanup ( #158 )
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 114 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-25 09:32:27 -04:00
Spring Operator
75faca6c17
URL Cleanup ( #157 )
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 114 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-21 16:35:12 -04:00
Spring Operator
a81c53a55c
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://foo.com:8000/ (ConnectTimeoutException) with 2 occurrences migrated to:
https://foo.com:8000/ ([https](https://foo.com:8000/ ) result ConnectTimeoutException).
* [ ] http://foo.com:8000/abc/bcd.json (ConnectTimeoutException) with 1 occurrences migrated to:
https://foo.com:8000/abc/bcd.json ([https](https://foo.com:8000/abc/bcd.json ) result ConnectTimeoutException).
* [ ] http://PROD-SVC (UnknownHostException) with 2 occurrences migrated to:
https://PROD-SVC ([https](https://PROD-SVC ) result UnknownHostException).
* [ ] http://Url/ (UnknownHostException) with 1 occurrences migrated to:
https://Url/ ([https](https://Url/ ) result UnknownHostException).
* [ ] http://bad_hostname (UnknownHostException) with 1 occurrences migrated to:
https://bad_hostname ([https](https://bad_hostname ) result UnknownHostException).
* [ ] http://bar (UnknownHostException) with 1 occurrences migrated to:
https://bar ([https](https://bar ) result UnknownHostException).
* [ ] http://bar/ (UnknownHostException) with 1 occurrences migrated to:
https://bar/ ([https](https://bar/ ) result UnknownHostException).
* [ ] http://compose.docker.io/ (UnknownHostException) with 1 occurrences migrated to:
https://compose.docker.io/ ([https](https://compose.docker.io/ ) result UnknownHostException).
* [ ] http://foo (UnknownHostException) with 19 occurrences migrated to:
https://foo ([https](https://foo ) result UnknownHostException).
* [ ] http://foo/ (UnknownHostException) with 4 occurrences migrated to:
https://foo/ ([https](https://foo/ ) result UnknownHostException).
* [ ] http://foo/?name=%7bcookie (UnknownHostException) with 1 occurrences migrated to:
https://foo/?name=%7bcookie ([https](https://foo/?name=%7bcookie ) result UnknownHostException).
* [ ] http://foo:7777/ (UnknownHostException) with 1 occurrences migrated to:
https://foo:7777/ ([https](https://foo:7777/ ) result UnknownHostException).
* [ ] http://good-name (UnknownHostException) with 2 occurrences migrated to:
https://good-name ([https](https://good-name ) result UnknownHostException).
* [ ] http://listener (UnknownHostException) with 6 occurrences migrated to:
https://listener ([https](https://listener ) result UnknownHostException).
* [ ] http://tp/abc/bcd.json (UnknownHostException) with 1 occurrences migrated to:
https://tp/abc/bcd.json ([https](https://tp/abc/bcd.json ) result UnknownHostException).
* [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ) result 404).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://EditorConfig.org with 1 occurrences migrated to:
https://EditorConfig.org ([https](https://EditorConfig.org ) result 200).
* [ ] http://asciidoctor.org with 1 occurrences migrated to:
https://asciidoctor.org ([https](https://asciidoctor.org ) result 200).
* [ ] http://example.com with 2 occurrences migrated to:
https://example.com ([https](https://example.com ) result 200).
* [ ] http://github.com/ with 1 occurrences migrated to:
https://github.com/ ([https](https://github.com/ ) result 200).
* [ ] http://projects.spring.io/spring-cloud/ with 1 occurrences migrated to:
https://projects.spring.io/spring-cloud/ ([https](https://projects.spring.io/spring-cloud/ ) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 2 occurrences migrated to:
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ) result 200).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 2 occurrences migrated to:
https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546 ) result 301).
* [ ] http://raw.github.com/ with 1 occurrences migrated to:
https://raw.github.com/ ([https](https://raw.github.com/ ) result 301).
* [ ] http://service.com with 1 occurrences migrated to:
https://service.com ([https](https://service.com ) result 301).
* [ ] http://eclipse.org with 1 occurrences migrated to:
https://eclipse.org ([https](https://eclipse.org ) result 302).
* [ ] http://eclipse.org/m2e/ with 2 occurrences migrated to:
https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/ ) result 302).
* [ ] http://www.springsource.com/developer/sts with 1 occurrences migrated to:
https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://localhost with 11 occurrences
* http://localhost:8080/ with 1 occurrences
* http://localhost:8081/ with 1 occurrences
2019-03-20 15:47:23 -05:00
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
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
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
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
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
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
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
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