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

[3.0] Check duplicated ReferenceConfig/ServiceConfig by unique service name #8198

Merged
merged 3 commits into from
Jul 2, 2021

Conversation

kylixs
Copy link
Member

@kylixs kylixs commented Jul 1, 2021

What is the purpose of the change

Check duplicated ReferenceConfig/ServiceConfig by unique service name, improve adding large numbers of references/services.

Brief changelog

Verifying this change

Checklist

  • Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • Add some description to dubbo-website project if you are requesting to add a feature.
  • GitHub Actions works fine on your own branch.
  • If this contribution is large, please follow the Software Donation Guide.

@codecov-commenter
Copy link

codecov-commenter commented Jul 1, 2021

Codecov Report

Merging #8198 (08e61b3) into 3.0 (99b42d9) will increase coverage by 0.30%.
The diff coverage is 62.22%.

Impacted file tree graph

@@             Coverage Diff              @@
##                3.0    #8198      +/-   ##
============================================
+ Coverage     63.22%   63.53%   +0.30%     
- Complexity      311      312       +1     
============================================
  Files          1074     1074              
  Lines         45169    45207      +38     
  Branches       6792     6806      +14     
============================================
+ Hits          28559    28722     +163     
+ Misses        13440    13292     -148     
- Partials       3170     3193      +23     
Impacted Files Coverage Δ
...ava/org/apache/dubbo/config/ApplicationConfig.java 80.64% <ø> (-2.59%) ⬇️
...ain/java/org/apache/dubbo/config/MethodConfig.java 87.96% <ø> (-0.76%) ⬇️
...n/java/org/apache/dubbo/config/ProtocolConfig.java 95.00% <ø> (ø)
...n/java/org/apache/dubbo/config/ProviderConfig.java 92.43% <ø> (-0.85%) ⬇️
...a/org/apache/dubbo/config/ReferenceConfigBase.java 69.49% <ø> (-0.85%) ⬇️
...n/java/org/apache/dubbo/config/RegistryConfig.java 91.12% <ø> (ø)
...ava/org/apache/dubbo/config/ServiceConfigBase.java 63.90% <ø> (-0.60%) ⬇️
.../config/spring/reference/ReferenceBeanManager.java 84.31% <ø> (ø)
...org/apache/dubbo/config/context/ConfigManager.java 77.19% <60.46%> (-3.76%) ⬇️
...n/java/org/apache/dubbo/config/AbstractConfig.java 79.94% <100.00%> (+3.48%) ⬆️
... and 27 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 99b42d9...08e61b3. Read the comment docs.

@AlbumenJ AlbumenJ merged commit 810c824 into apache:3.0 Jul 2, 2021
@kylixs kylixs deleted the 3.0-duplicated-config-checking-0630 branch October 23, 2021 04:47
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.

3 participants