Closed 0x1306e6d closed 2 years ago
Merging #155 (58bfd54) into master (be0bc3f) will increase coverage by
1.30%
. The diff coverage is95.12%
.
@@ Coverage Diff @@
## master #155 +/- ##
============================================
+ Coverage 76.82% 78.12% +1.30%
- Complexity 146 153 +7
============================================
Files 27 28 +1
Lines 535 576 +41
Branches 30 32 +2
============================================
+ Hits 411 450 +39
Misses 101 101
- Partials 23 25 +2
Impacted Files | Coverage Δ | |
---|---|---|
.../autoconfigure/GatewayServerConfigurationUtil.java | 100.00% <ø> (ø) |
|
...t/autoconfigure/GatewayRouteConfigurationUtil.java | 83.33% <83.33%> (ø) |
|
.../boot/autoconfigure/TollgateAutoConfiguration.java | 100.00% <100.00%> (ø) |
|
...amework/boot/autoconfigure/TollgateProperties.java | 95.65% <100.00%> (+6.76%) |
: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 be0bc3f...58bfd54. Read the comment docs.
Add mandatory properties (
path
, upstream information such asuri
orscheme
andendpoints
) for configuring routing on the Spring Boot integration.It would be useful since users don't have to create
GatewayConfigurator
beans. TheTollgateAutoConfiguration
will configure aGateway
to send clients' requests to an upstream according to the Spring Boot's properties. This is an example for settings:The
Gateway
will send requests for/
tohttps://example.com
.This commit changes the properties path for the gateway server from
tollgate.server
totollgate.gateway.server
.