feat: support polaris config center#91
Open
fuyuwei01 wants to merge 6 commits intopolarismesh:dubbo-2.7.xfrom
Open
feat: support polaris config center#91fuyuwei01 wants to merge 6 commits intopolarismesh:dubbo-2.7.xfrom
fuyuwei01 wants to merge 6 commits intopolarismesh:dubbo-2.7.xfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dubbo-2.7.x #91 +/- ##
==================================================
+ Coverage 3.89% 16.01% +12.12%
- Complexity 5 24 +19
==================================================
Files 13 15 +2
Lines 488 668 +180
Branches 78 89 +11
==================================================
+ Hits 19 107 +88
- Misses 464 556 +92
Partials 5 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
SkyeBeFreeman
requested changes
Feb 11, 2026
polaris-adapter-dubbo/src/main/java/com/tencent/polaris/common/registry/PolarisOperator.java
Outdated
Show resolved
Hide resolved
|
|
||
| private PolarisOperators() { | ||
| polarisOperatorMap = new ConcurrentHashMap<>(); | ||
| polarisOperatorMap.put(OperatorType.GOVERNANCE, new ConcurrentHashMap<>()); |
...rc/main/java/com/tencent/polaris/dubbo/configuration/PolarisDynamicConfigurationFactory.java
Outdated
Show resolved
Hide resolved
| @Override | ||
| public boolean publishConfig(String key, String group, String content) throws UnsupportedOperationException { | ||
| try { | ||
| ConfigPublishRequest request = new ConfigPublishRequest(); |
Member
Author
There was a problem hiding this comment.
仅dubbo2.7在使用应用级服务发现时会用到,但是当前我们不支持应用级服务发现,官方文档中也不建议用户在dubbo2.7中使用应用级服务发现
fuyuwei01
commented
Feb 25, 2026
| } | ||
|
|
||
| @Override | ||
| public Object getInternalProperty(String key) { |
Member
Author
There was a problem hiding this comment.
dubbo2.7中只有几个属性支持在外部配置中单独存放,其他大部分的常用配置项在外部配置中心只能从dubbo.properties中读取。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.