Skip to content
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

Merged
merged 1 commit into from
Sep 19, 2019

Conversation

ggndnn
Copy link
Contributor

@ggndnn ggndnn commented Sep 9, 2019

Ⅰ. 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

@codecov-io
Copy link

codecov-io commented Sep 9, 2019

Codecov Report

Merging #1625 into develop will increase coverage by 0.16%.
The diff coverage is 50%.

Impacted file tree graph

@@              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
Impacted Files Coverage Δ Complexity Δ
...a/io/seata/discovery/registry/RegistryFactory.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...java/io/seata/discovery/registry/RegistryType.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...ata/config/custom/CustomConfigurationProvider.java 60% <60%> (ø) 3 <3> (?)
...covery/registry/custom/CustomRegistryProvider.java 60% <60%> (ø) 3 <3> (?)
...in/java/io/seata/server/session/GlobalSession.java 84.54% <0%> (-0.61%) 67% <0%> (ø)
...a/io/seata/core/rpc/netty/AbstractRpcRemoting.java 9.95% <0%> (-0.21%) 3% <0%> (ø)
...n/java/io/seata/rm/datasource/ConnectionProxy.java 22.88% <0%> (-0.2%) 10% <0%> (ø)
...tobuf/convertor/BranchCommitResponseConvertor.java 97.43% <0%> (+0.06%) 3% <0%> (ø) ⬇️
... and 21 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 532b434...d6737ca. Read the comment docs.

Copy link
Member

@xingfudeshi xingfudeshi left a 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.

@ggndnn ggndnn force-pushed the feature_custom_config_type branch 2 times, most recently from f92ad44 to 3c4e551 Compare September 11, 2019 03:10
Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@xingfudeshi xingfudeshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

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.

None yet

5 participants