-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
feature: support custom config and registry type #1625
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1625 +/- ##
=============================================
+ Coverage 46.98% 47.15% +0.16%
- Complexity 1778 1784 +6
=============================================
Files 362 364 +2
Lines 13211 13259 +48
Branches 1603 1644 +41
=============================================
+ Hits 6207 6252 +45
- Misses 6314 6325 +11
+ Partials 690 682 -8
Continue to review full report at Codecov.
|
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.
I left some comments.
...ig/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java
Outdated
Show resolved
Hide resolved
...ig/seata-config-custom/src/main/java/io/seata/config/custom/CustomConfigurationProvider.java
Outdated
Show resolved
Hide resolved
...iscovery-custom/src/main/java/io/seata/discovery/registry/custom/CustomRegistryProvider.java
Outdated
Show resolved
Hide resolved
f92ad44
to
3c4e551
Compare
discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java
Show resolved
Hide resolved
6e0a57d
to
66263be
Compare
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.
LGTM
config/seata-config-custom/src/test/java/io/seata/config/CustomConfigurationForTest.java
Outdated
Show resolved
Hide resolved
d6737ca
to
87b43dc
Compare
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.
LGTM.
Ⅰ. Describe what this PR did
Add custom config and registry type, which can be used to help users create their own configuration loading mechanism. Mainly used in client side.
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews