Marvin Froeder
78d7e845a9
[ci skip] updating versions to next development iteration 12.0-SNAPSHOT
2 years ago
Marvin Froeder
0cbd577237
prepare release 11.9
2 years ago
Marvin Froeder
a259a729a8
Alternative ResponseInterceptor attempt ( #1634 )
...
* add ResponseInterceptor support #1126
* Add the license header.
Add the license header.
Co-authored-by: Dewald de Jager <DewaldDeJager@users.noreply.github.com>
* small fix for license header
* fix format issue
* combine before and after method to one aroundDecode method
* Change ResponseInterceptor to use InvocationContext
Co-authored-by: Fei,Yanke <yanke.fei@mosi-tech.com>
Co-authored-by: feiyanke <feiyanke@126.com>
Co-authored-by: Dewald de Jager <DewaldDeJager@users.noreply.github.com>
2 years ago
Eduard Dudar
75a3c1cf6f
Support of capabilities for AsyncFeign ( #1626 )
...
* Support of capabilities for AsyncFeign
* Removed SyncBased interface, added todo for stageExecution, and adopted micrometer client to be async as well.
* Added internal builder flag similar to 'forceDecoding' but for client enrichment
* Added async client enrichment to Dropwizard5 capability
* Added async client enrichment to Dropwizard5 capability + code formatting
* Progress with tests; added decoder condition similar to the client one
* Fixed javadoc
* A different take on skipping enrichment and delagation
* Switcharoo
* Relaxed casting requirements and check it during execution phase
* Create class to hold common Builder fields
* Make sure capabilities are applied to all relevant fields
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
Co-authored-by: Marvin Froeder <velo.br@gmail.com>
2 years ago
Snyk bot
daed53a2d8
[Snyk] Upgrade com.fasterxml.jackson.core:jackson-databind from 2.13.2 to 2.13.3 ( #1633 )
...
* fix: upgrade com.fasterxml.jackson.core:jackson-databind from 2.13.2 to 2.13.3
Snyk has created this PR to upgrade com.fasterxml.jackson.core:jackson-databind from 2.13.2 to 2.13.3.
See this package in Maven Repository:
https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind/
See this project in Snyk:
https://app.snyk.io/org/openfeign/project/74e472e8-deed-488f-8272-94aad8d50e39?utm_source=github&utm_medium=referral&page=upgrade-pr
* Update pom.xml
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
2 years ago
dependabot[bot]
6aeb2ef340
build(deps-dev): bump jackson-databind from 2.13.1 to 2.13.2.1 ( #1614 )
...
* build(deps-dev): bump jackson-databind from 2.13.1 to 2.13.2.1
Bumps [jackson-databind](https://github.com/FasterXML/jackson ) from 2.13.1 to 2.13.2.1.
- [Release notes](https://github.com/FasterXML/jackson/releases )
- [Commits](https://github.com/FasterXML/jackson/commits )
---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
* Isolate databind versioning
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
Co-authored-by: Marvin Froeder <velo.br@gmail.com>
2 years ago
Kevin Davis
016ba47009
fix: upgrade org.reactivestreams:reactive-streams from 1.0.3 to 1.0.4 ( #1632 )
...
Snyk has created this PR to upgrade org.reactivestreams:reactive-streams from 1.0.3 to 1.0.4.
See this package in Maven Repository:
https://mvnrepository.com/artifact/org.reactivestreams/reactive-streams/
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: snyk-bot <snyk-bot@snyk.io>
2 years ago
Snyk bot
9777b333a5
fix: upgrade io.projectreactor:reactor-core from 3.4.17 to 3.4.18 ( #1625 )
...
Snyk has created this PR to upgrade io.projectreactor:reactor-core from 3.4.17 to 3.4.18.
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>
2 years ago
Marvin Froeder
1abcc42a9a
Fix for #1286 ( #1287 )
...
* Fix for #1286
When feign is done with the response, also invoke close on http response (if closeable)
* Update httpclient/src/main/java/feign/httpclient/ApacheHttpClient.java
Co-authored-by: Austin Pio <austinpioj@gmail.com>
* Update ApacheHttpClient.java
* Use finally block to close http5 client
* Use finally block to close http5 client
Co-authored-by: Kevin Davis <kdavisk6@gmail.com>
Co-authored-by: Austin Pio <austinpioj@gmail.com>
2 years ago
Eduard Dudar
3042e521b9
Advanced parametrized type resolution for AsyncFeign ( #1623 )
...
* Advanced parametrized type resolution for AsyncFeign
* Formatting fix
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
2 years ago
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