-
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 spring cloud config #1656
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1656 +/- ##
=============================================
+ Coverage 48.18% 48.21% +0.03%
Complexity 1841 1841
=============================================
Files 365 365
Lines 13279 13279
Branches 1639 1639
=============================================
+ Hits 6398 6402 +4
+ Misses 6220 6218 -2
+ Partials 661 659 -2
Continue to review full report at Codecov.
|
...-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfiguration.java
Outdated
Show resolved
Hide resolved
...-config-spring-cloud/src/main/java/io/seata/config/springcloud/SpringCloudConfiguration.java
Show resolved
Hide resolved
...a-config-spring-cloud/src/main/java/io/seata/config/springcloud/EnableSeataSpringConfig.java
Outdated
Show resolved
Hide resolved
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.
Add this module to seata-all.
add private constructor of SpringCloudConfiguration
fixed |
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.
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
support spring cloud config #1078
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
set config type with value SpringCloudConfig in registry.conf then add mvn dependency seata-config-spring-cloud and add @EnableSeataSpringConfig
Ⅴ. Special notes for reviews