spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

Rewrite request header gateway filter factory

Open aburmeis opened this issue 4 years ago • 1 comments

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

aburmeis avatar Oct 07 '21 10:10 aburmeis

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%) :arrow_up:
...ateway/filter/headers/XForwardedHeadersFilter.java 85.21% <100.00%> (+0.26%) :arrow_up:
...teway/route/InMemoryRouteDefinitionRepository.java 100.00% <100.00%> (+30.76%) :arrow_up:
...eway/filter/factory/RetryGatewayFilterFactory.java 78.36% <0.00%> (-0.59%) :arrow_down:
...ework/cloud/gateway/filter/NettyRoutingFilter.java 89.13% <0.00%> (+3.26%) :arrow_up:
...loud/gateway/filter/WeightCalculatorWebFilter.java 92.30% <0.00%> (+3.84%) :arrow_up:
...y/handler/predicate/PathRoutePredicateFactory.java 86.27% <0.00%> (+5.88%) :arrow_up:
... 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.

codecov[bot] avatar Oct 07 '21 10:10 codecov[bot]