Joël Marty
fdc7bc2fb8
Add async behavior to OkHttpClient ( #1629 )
...
* Add AsyncOkHttpClient implementation
* Make OkHttpClient implement both Client and AsyncClient
Removes the need to share code in an abstract class.
* Update mindmap
* Update CHANGELOG.md
* Remove jetbrains specific annotations
2 years ago
mroccyen
d27d385e1a
fix:issue 1420 ( #1620 )
3 years ago
Snyk bot
75721d10b6
fix: upgrade io.projectreactor:reactor-core from 3.4.16 to 3.4.17 ( #1615 )
...
Snyk has created this PR to upgrade io.projectreactor:reactor-core from 3.4.16 to 3.4.17.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.projectreactor/reactor-core/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/4431a6a8-1e77-4c40-95be-04fdef0e4526?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Marvin Froeder
6bb5b1b8f2
fix: benchmark/pom.xml to reduce vulnerabilities ( #1618 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-2812456
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
3 years ago
Kevin Davis
8f27e58b0d
fix: upgrade io.netty:netty-handler from 4.1.75.Final to 4.1.76.Final ( #1616 )
...
Snyk has created this PR to upgrade io.netty:netty-handler from 4.1.75.Final to 4.1.76.Final.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.netty/netty-handler/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
3 years ago
Snyk bot
57ce7b8429
fix: upgrade io.netty:netty-handler from 4.1.74.Final to 4.1.75.Final ( #1604 )
...
Snyk has created this PR to upgrade io.netty:netty-handler from 4.1.74.Final to 4.1.75.Final.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.netty/netty-handler/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
3 years ago
Snyk bot
344c682bc6
fix: upgrade io.projectreactor:reactor-core from 3.4.15 to 3.4.16 ( #1605 )
...
Snyk has created this PR to upgrade io.projectreactor:reactor-core from 3.4.15 to 3.4.16.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.projectreactor/reactor-core/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/4431a6a8-1e77-4c40-95be-04fdef0e4526?utm_source=github&utm_medium=referral&page=upgrade-pr
3 years ago
Marvin Froeder
9772519085
fix: upgrade org.openjdk.jmh:jmh-generator-annprocess from 1.34 to 1.35 ( #1607 )
...
Snyk has created this PR to upgrade org.openjdk.jmh:jmh-generator-annprocess from 1.34 to 1.35.
See this package in Maven Repository:
https://mvnrepository.com/artifact/org.openjdk.jmh/jmh-generator-annprocess/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
3 years ago
mroccyen
7230f7c6ee
Stream decoder optimize ( #1590 )
...
* Optimize StreamDecoder
* Optimize StreamDecoder
* add license header
* add license header
* Optimize StreamDecoder
* Optimize StreamDecoder
* Optimize StreamDecoder
* Optimize StreamDecoder
* add license header
* add license header
* Optimize StreamDecoder
* Optimize StreamDecoder
* Optimize StreamDecoder
* Optimize StreamDecoder
* Optimize StreamDecoder
* add license header
* add license header
* Optimize StreamDecoder
* Optimize StreamDecoder
* Optimize StreamDecoder
* Optimize StreamDecoder
* add license header
* Optimize StreamDecoder
* Optimize StreamDecoder
* Optimize StreamDecoder
* add some example
* Optimize StreamDecoder
* add a section of README for stream decoder
* Update StreamDecoder.java
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Kevin Davis
e1a70289cd
[GH-1319] Add Support for Path Style Parameter Expansion ( #1537 )
...
* [GH-1319] Add Support for Path Style Parameter Expansion
Fixes #1319
This change adds limited Path Style support to Feign URI template-style
templates. Variable expressions that start with a semi-colon `;`
are now expanded in accordance to [RFC 6570 Section 3.2.7](https://datatracker.ietf.org/doc/html/rfc6570#section-3.2.7 )
with the following modifications:
* Maps and Lists are expanded by default.
* Only Single variable templates are supported.
Examples:
```
{;who} ;who=fred
{;half} ;half=50%25
{;empty} ;empty
{;list} ;list=red;list=green;list=blue
{;keys} ;semi=%3B;dot=.;comma=%2C
```
* Export Path Style Expression as an Expander for use with custom contracts
* Added example to ReadMe
* Additional Test Cases.
3 years ago
Witalij Berdinskich
55b35f711d
Deprecate QueryMap.encode, remove processing of the "encode" parameter ( #1551 )
...
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Witalij Berdinskich
04a85e6961
All decoders follow rule: if a status is 404 it returns empty or null value ( #1597 )
...
* All decoders follow rule: if status 404 it returns empty or null value
* Replace decode404 with dismiss404
3 years ago
Snyk bot
c4686e0e0e
fix: upgrade io.projectreactor:reactor-core from 3.4.14 to 3.4.15 ( #1596 )
...
Snyk has created this PR to upgrade io.projectreactor:reactor-core from 3.4.14 to 3.4.15.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.projectreactor/reactor-core/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/4431a6a8-1e77-4c40-95be-04fdef0e4526?utm_source=github&utm_medium=referral&page=upgrade-pr
3 years ago
mroccyen
a6fc182d45
fix: Undefined value in @QueryMap params works not as described ( #1585 )
...
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
selectee
7146e358e5
Add ability use case insensitive headers for default Client ( #1586 )
...
* Add ability use case insensitive headers for default Client
* Add ability use case insensitive headers for default Client
Co-authored-by: Alexander Zadvinskiy <azadvinskiy@it-one.ru>
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Snyk bot
d27fef7ccb
fix: upgrade io.reactivex.rxjava2:rxjava from 2.2.14 to 2.2.21 ( #1588 )
...
Snyk has created this PR to upgrade io.reactivex.rxjava2:rxjava from 2.2.14 to 2.2.21.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.reactivex.rxjava2/rxjava/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/4431a6a8-1e77-4c40-95be-04fdef0e4526?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Snyk bot
173dbb4028
[Snyk] Upgrade io.projectreactor:reactor-core from 3.3.0.RELEASE to 3.4.14 ( #1587 )
...
* fix: upgrade io.projectreactor:reactor-core from 3.3.0.RELEASE to 3.4.14
Snyk has created this PR to upgrade io.projectreactor:reactor-core from 3.3.0.RELEASE to 3.4.14.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.projectreactor/reactor-core/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/4431a6a8-1e77-4c40-95be-04fdef0e4526?utm_source=github&utm_medium=referral&page=upgrade-pr
* Update license header
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
Co-authored-by: Marvin Froeder <velo.br@gmail.com>
3 years ago
Snyk bot
93d5ba1659
fix: upgrade com.google.code.gson:gson from 2.8.9 to 2.9.0 ( #1589 )
...
Snyk has created this PR to upgrade com.google.code.gson:gson from 2.8.9 to 2.9.0.
See this package in Maven Repository:
https://mvnrepository.com/artifact/com.google.code.gson/gson/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/449cbbe1-85f2-4403-9361-132b4666fee7?utm_source=github&utm_medium=referral&page=upgrade-pr
3 years ago
Snyk bot
16e3301b3e
fix: upgrade io.netty:netty-codec-http from 4.1.73.Final to 4.1.74.Final ( #1584 )
...
Snyk has created this PR to upgrade io.netty:netty-codec-http from 4.1.73.Final to 4.1.74.Final.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.netty/netty-codec-http/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
mroccyen
6dbc4428b9
SpringContract supports @RequestPart and @RequestHeader annotation parameters ( #1583 )
3 years ago
BestWishes
afba674800
Add support for the parameter type corresponding to headerMapIndex for user object ( #1581 )
...
* feat: add support for the parameter type corresponding to headerMapIndex for user object
* feat: add a resolution of the user pojo object
* feat: add a resolution of the user pojo object
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Snyk bot
8c4cfde652
fix: upgrade org.slf4j:slf4j-api from 1.7.35 to 1.7.36 ( #1582 )
...
Snyk has created this PR to upgrade org.slf4j:slf4j-api from 1.7.35 to 1.7.36.
See this package in Maven Repository:
https://mvnrepository.com/artifact/org.slf4j/slf4j-api/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/6309b111-62fe-4264-b0a2-59382bf8eea7?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Andreas Kuhtz
f9310ae8e6
Use charset of request to create the String content. ( #1571 )
...
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Snyk bot
00328998c1
fix: upgrade io.netty:netty-codec-http from 4.1.72.Final to 4.1.73.Final ( #1572 )
...
Snyk has created this PR to upgrade io.netty:netty-codec-http from 4.1.72.Final to 4.1.73.Final.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.netty/netty-codec-http/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Pavan Sharma
9f3f8eadc6
1497 : spring contract annotation alias handled ( #1579 )
...
* 1497 : spring contract annotation alias handled
3 years ago
jizhuozhi
8bbc2600dc
fix: field of enum must be final ( #1577 )
3 years ago
Snyk bot
dbd67c2d25
fix: upgrade org.slf4j:slf4j-nop from 1.7.33 to 1.7.35 ( #1574 )
...
Snyk has created this PR to upgrade org.slf4j:slf4j-nop from 1.7.33 to 1.7.35.
See this package in Maven Repository:
https://mvnrepository.com/artifact/org.slf4j/slf4j-nop/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
3 years ago
Snyk bot
c2690d6ce9
fix: upgrade org.slf4j:slf4j-api from 1.7.32 to 1.7.33 ( #1573 )
...
Snyk has created this PR to upgrade org.slf4j:slf4j-api from 1.7.32 to 1.7.33.
See this package in Maven Repository:
https://mvnrepository.com/artifact/org.slf4j/slf4j-api/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/6309b111-62fe-4264-b0a2-59382bf8eea7?utm_source=github&utm_medium=referral&page=upgrade-pr
3 years ago
myifeng
057caadf0d
Remove deprecated method. ( #1545 )
...
* Remove deprecated method.
Replace JUnit ExpectedException with assertThrows.
Replace JUnit Assert.assertThat with TestCase.assertEquals.
Fix assertEquals parameter position.
* Fix license
* format code
* Replace JUnit assertThat with Hamcrest.
* Replace TestCase.assertEquals with Assert.assertEquals
Co-authored-by: liqf7 <liqf7@lenovo.com>
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Hakan Altındağ
f71849d387
Fixed dangling javadoc comment warning by applying new mapping ( #1568 )
...
* Fixed dangling javadoc comment warning by applying new mapping
* Apply comment header formatter
Co-authored-by: Marvin Froeder <velo.br@gmail.com>
3 years ago
Snyk bot
1374d7ad46
[Snyk] Upgrade io.netty:netty-codec-http from 4.1.70.Final to 4.1.72.Final ( #1564 )
...
* fix: upgrade io.netty:netty-codec-http from 4.1.70.Final to 4.1.72.Final
Snyk has created this PR to upgrade io.netty:netty-codec-http from 4.1.70.Final to 4.1.72.Final.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.netty/netty-codec-http/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
* Add missing header
Co-authored-by: Marvin Froeder <velo.br@gmail.com>
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
3 years ago
Snyk bot
49c95dfa8f
[Snyk] Upgrade org.openjdk.jmh:jmh-core from 1.33 to 1.34 ( #1567 )
...
* fix: upgrade org.openjdk.jmh:jmh-core from 1.33 to 1.34
Snyk has created this PR to upgrade org.openjdk.jmh:jmh-core from 1.33 to 1.34.
See this package in Maven Repository:
https://mvnrepository.com/artifact/org.openjdk.jmh/jmh-core/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
* Add missing header
Co-authored-by: Marvin Froeder <velo.br@gmail.com>
3 years ago
Snyk bot
42e6505c2d
fix: pom.xml to reduce vulnerabilities ( #1558 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-2326698
3 years ago
Snyk bot
f685f76002
fix: upgrade org.bouncycastle:bcprov-jdk15on from 1.69 to 1.70 ( #1556 )
...
Snyk has created this PR to upgrade org.bouncycastle:bcprov-jdk15on from 1.69 to 1.70.
See this package in Maven Repository:
https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
3 years ago
Marvin Froeder
05bed38d38
[ci skip] updating versions to next development iteration 11.9-SNAPSHOT
3 years ago
Marvin Froeder
71fb2f57e9
prepare release 11.8
3 years ago
Witalij Berdinskich
a23bce0781
MeteredDecoder records timer once in happy path ( #1554 )
3 years ago
Witalij Berdinskich
1f7ca4c74c
Reason is optional in HTTP2 ( #1550 )
3 years ago
Witalij Berdinskich
24635e6e85
The counter indicator increases by 2 each time (on happy path) ( #1548 )
...
* The counter indicator increases by 2 each time (on happy path).
* Add test coverage
* Make test beaty again
* Fix license header
* Move new tests to the common abstract class
3 years ago
Snyk bot
afc1d676c2
fix: upgrade io.netty:netty-handler from 4.1.69.Final to 4.1.70.Final ( #1549 )
...
Snyk has created this PR to upgrade io.netty:netty-handler from 4.1.69.Final to 4.1.70.Final.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.netty/netty-handler/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
3 years ago
Witalij Berdinskich
470631be50
HTTP protocol version on the logging ( #1543 )
...
* [HTTP version] Add HTTP version to Response, the default client; Update SLF4J unit-test
* [HTTP version] Mock client
* [HTTP version] Apache HTTP Client
* [HTTP version] protocol -> protocolVersion; Replace protocol number with full name
* [HTTP version] Code style, rollback to old one
* [HTTP version] Google HTTP Client
* [HTTP version] HTTP_PROTOCOL -> HTTP_PROTOCOL_VERSION
* [HTTP version] HC5
* [HTTP version] Java11 Client
* [HTTP version] OkHttpClient
* [HTTP version] Code style, rollback to old one
* [HTTP version] Make some required changes: restore log messages for back compatibility, replace string protocol version with enum, replace fragile conversion of alien enums by string case-insensitive comparision
* [HTTP version] Code style, rollback to old one; Remove unused constants
* [HTTP version] Update imports
* [HTTP version] Test coverage
* [HTTP version] Fix license issue
* [HTTP version] Beatify and simplify the unit-test
3 years ago
Hyeonmin Park
79ba510199
docs: Change Java11 New HTTP/2 Client link to JEP 321 ( #1540 )
3 years ago
Witalij Berdinskich
cbda5e6958
Fixes #1536 : asyncBuilder can override default logger ( #1539 )
3 years ago
Augustine Cui
841f5ef029
Fixed flaky tests in `feign.json.JsonEncoderTest` ( #1538 )
...
fixed format
3 years ago
Snyk bot
f21d32a7d9
fix: pom.xml to reduce vulnerabilities ( #1535 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMGOOGLECODEGSON-1730327
3 years ago
Snyk bot
c025606d3d
fix: upgrade io.netty:netty-codec-http from 4.1.68.Final to 4.1.69.Final ( #1534 )
...
Snyk has created this PR to upgrade io.netty:netty-codec-http from 4.1.68.Final to 4.1.69.Final.
See this package in Maven Repository:
https://mvnrepository.com/artifact/io.netty/netty-codec-http/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/ad3a5c69-4375-4ea5-8b69-5cb3305f6581?utm_source=github&utm_medium=referral&page=upgrade-pr
3 years ago
Witalij Berdinskich
3a351fa071
[java11] Add default timeout value as Request.Options uses ( #1532 )
3 years ago
Witalij Berdinskich
e8fa87c789
Provide a way to exclude headers from logs ( #1530 )
...
* Provide a way to exclude headers from logs
* Make header filters optional (nullable), update README
* Mistyping: sing -> sign
* New implementation with overriding of filter methods
* Fix javadocs, update README
* Update README, fix removed newline
3 years ago
Marvin Froeder
3491dcb3bd
[ci skip] updating versions to next development iteration 11.8-SNAPSHOT
3 years ago
Marvin Froeder
1d9533af86
prepare release 11.7
3 years ago