0x1306e6d / tollgate

An API gateway for your microservice.
MIT License
6 stars 1 forks source link

Take over remapping request path from `remapping` module to `Upstream` #141

Closed 0x1306e6d closed 3 years ago

0x1306e6d commented 3 years ago

Add path method to UpstreamBuilder which adds a function that remaps request path. The new remapping path function is taken over from remapping module and so deprecates the RemappingRequestPathStrategy.

codecov[bot] commented 3 years ago

Codecov Report

Merging #141 (35d5146) into master (bf9c8bb) will increase coverage by 1.90%. The diff coverage is 94.44%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #141      +/-   ##
============================================
+ Coverage     68.66%   70.57%   +1.90%     
- Complexity      137      152      +15     
============================================
  Files            27       28       +1     
  Lines           450      486      +36     
  Branches         23       28       +5     
============================================
+ Hits            309      343      +34     
  Misses          116      116              
- Partials         25       27       +2     
Impacted Files Coverage Δ
...wan/tollgate/remapping/RemappingClientBuilder.java 68.75% <ø> (ø)
...llgate/remapping/RemappingRequestPathStrategy.java 85.00% <ø> (ø)
...n/tollgate/remapping/RemappingRequestStrategy.java 100.00% <ø> (ø)
...gihwan/tollgate/gateway/RemappingPathFunction.java 93.75% <93.75%> (ø)
...a/dev/gihwan/tollgate/gateway/UpstreamBuilder.java 63.15% <100.00%> (+2.04%) :arrow_up:
...ollgate/hocon/DefaultHoconGatewayConfigurator.java 65.47% <100.00%> (+0.84%) :arrow_up:

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 bf9c8bb...35d5146. Read the comment docs.