-
Notifications
You must be signed in to change notification settings - Fork 3k
refactor(infra): Refactor ShenYu-Infra module #6082
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
Conversation
yuluo-yx
commented
Aug 3, 2025
- For [RoadMap] New Plannes for ShenYu 2.7.1 #5923 Refactor ShenYu-Infra module
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the ShenYu-Infra module to centralize infrastructure-related components, specifically targeting issue #5923. The refactoring aims to consolidate common infrastructure patterns like Redis, Nacos, and Etcd configurations into a unified structure.
- Introduces a new
shenyu-inframodule containing consolidated infrastructure components for Redis, Nacos, and Etcd - Migrates common configuration classes and client implementations from plugin-specific locations to shared infrastructure modules
- Updates dependency references across the codebase to use the new centralized infrastructure modules
Reviewed Changes
Copilot reviewed 82 out of 82 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| shenyu-infra/* | Creates new infrastructure modules for common components (Redis, Nacos, Etcd) with shared configuration and client classes |
| shenyu-plugin/* | Updates Redis-related plugins to use consolidated infrastructure dependencies instead of duplicated implementations |
| shenyu-sync-data-center/* | Migrates Nacos and Etcd sync configurations to use centralized infrastructure modules |
| shenyu-admin-listener/* | Updates admin listeners to reference consolidated infrastructure components |
| pom.xml files | Updates Maven dependencies to reference new infrastructure modules |
Comments suppressed due to low confidence (1)
...infra/shenyu-infra-nacos/src/main/java/org/apache/shenyu/infra/nacos/config/NacosConfig.java
Outdated
Show resolved
Hide resolved
...ra/shenyu-infra-nacos/src/main/java/org/apache/shenyu/infra/nacos/config/NacosACMConfig.java
Outdated
Show resolved
Hide resolved
...yu-infra/shenyu-infra-etcd/src/main/java/org/apache/shenyu/infra/etcd/config/EtcdConfig.java
Outdated
Show resolved
Hide resolved
...yu-infra/shenyu-infra-etcd/src/main/java/org/apache/shenyu/infra/etcd/client/EtcdClient.java
Show resolved
Hide resolved
...in/java/org/apache/shenyu/springboot/starter/sync/data/nacos/NacosSyncDataConfiguration.java
Show resolved
Hide resolved
Signed-off-by: shown.Ji <[email protected]>
Signed-off-by: shown.Ji <[email protected]>