Skip to content

Conversation

@mercyblitz
Copy link
Contributor

This pull request introduces a new microsphere-spring-cloud-gateway-commons module and refactors the project structure and documentation to support this addition. It also updates dependency management and configuration handling for the gateway modules.

Project structure and module changes:

  • Added the new microsphere-spring-cloud-gateway-commons module, including its own pom.xml and several utility, annotation, and configuration classes to support shared gateway logic. [1] [2] [3] [4] [5] [6]
  • Refactored the documentation and dependency management to split the previous microsphere-spring-cloud-gateway module into microsphere-spring-cloud-gateway-commons and microsphere-spring-cloud-gateway-server-webflux. [1] [2] [3] [4]

Dependency and documentation updates:

  • Updated microsphere-gateway-dependencies/pom.xml to reference the new modules and ensure correct dependency versions are used throughout the project.
  • Updated the README to reflect the new module structure, artifact IDs, and latest versions, and to provide correct JavaDoc links for the refactored modules. [1] [2] [3]

New shared gateway commons functionality:

  • Introduced annotation utilities (ConditionalOnMicrosphereGatewayEnabled, ConditionalOnMicrosphereWebEndpointMappingEnabled) for conditional bean registration based on gateway properties. [1] [2]
  • Added configuration utilities (ConfigUtils, WebEndpointConfig, WebEndpointConfigurationPropertiesBindHandlerAdvisor) to centralize and validate web endpoint exclusion and mapping configuration for gateway modules. [1] [2] [3]

Bumped the displayed latest versions for branches 0.2.x and 0.1.x in the README to 0.2.1 and 0.1.1, respectively.
@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

❌ Patch coverage is 99.25094% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...webflux/filter/WebEndpointMappingGlobalFilter.java 99.04% 1 Missing and 1 partial ⚠️
Files with missing lines Coverage Δ Complexity Δ
...ring/cloud/gateway/commons/config/ConfigUtils.java 100.00% <100.00%> (ø) 4.00 <4.00> (?)
...loud/gateway/commons/config/WebEndpointConfig.java 100.00% <100.00%> (ø) 3.00 <3.00> (?)
...ointConfigurationPropertiesBindHandlerAdvisor.java 100.00% <100.00%> (ø) 3.00 <3.00> (?)
...ebflux/autoconfigure/GatewayAutoConfiguration.java 100.00% <ø> (ø) 1.00 <0.00> (?)
...re/WebEndpointMappingGatewayAutoConfiguration.java 100.00% <100.00%> (ø) 2.00 <1.00> (?)
...text/WebEndpointApplicationContextInitializer.java 100.00% <100.00%> (ø) 2.00 <2.00> (?)
...HeartbeatEventRouteRefreshListenerInterceptor.java 100.00% <ø> (ø) 8.00 <0.00> (?)
...pagatingRefreshRoutesEventApplicationListener.java 100.00% <ø> (ø) 7.00 <0.00> (?)
...rver/webflux/filter/DefaultGatewayFilterChain.java 100.00% <ø> (ø) 4.00 <0.00> (?)
...er/webflux/handler/CachingFilteringWebHandler.java 100.00% <ø> (ø) 14.00 <0.00> (?)
... and 3 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mercyblitz mercyblitz merged commit 9a988f9 into microsphere-projects:dev-1.x Nov 12, 2025
57 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant