Skip to content

Rewrite request header gateway filter factory #2391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

aburmeis
Copy link

@aburmeis aburmeis commented Oct 7, 2021

Add a new filter factory to rewrite request headers fixing #2353

@codecov
Copy link

codecov bot commented Oct 7, 2021

Codecov Report

Merging #2391 (456f51e) into main (8d95340) will increase coverage by 1.05%.
The diff coverage is 93.93%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #2391      +/-   ##
============================================
+ Coverage     78.63%   79.68%   +1.05%     
- Complexity     1347     1371      +24     
============================================
  Files           172      173       +1     
  Lines          5101     5129      +28     
  Branches        434      436       +2     
============================================
+ Hits           4011     4087      +76     
+ Misses          866      830      -36     
+ Partials        224      212      -12     
Impacted Files Coverage Δ
...tory/RewriteRequestHeaderGatewayFilterFactory.java 91.66% <91.66%> (ø)
...ringframework/cloud/gateway/mvc/ProxyExchange.java 66.27% <100.00%> (ø)
...cloud/gateway/sample/GatewaySampleApplication.java 87.35% <100.00%> (ø)
...cloud/gateway/config/GatewayAutoConfiguration.java 83.42% <100.00%> (+0.09%) ⬆️
...ateway/filter/headers/XForwardedHeadersFilter.java 85.21% <100.00%> (+0.26%) ⬆️
...teway/route/InMemoryRouteDefinitionRepository.java 100.00% <100.00%> (+30.76%) ⬆️
...eway/filter/factory/RetryGatewayFilterFactory.java 78.36% <0.00%> (-0.59%) ⬇️
...ework/cloud/gateway/filter/NettyRoutingFilter.java 89.13% <0.00%> (+3.26%) ⬆️
...loud/gateway/filter/WeightCalculatorWebFilter.java 92.30% <0.00%> (+3.84%) ⬆️
...y/handler/predicate/PathRoutePredicateFactory.java 86.27% <0.00%> (+5.88%) ⬆️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2673993...456f51e. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants