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

[DUBBO-3137]: move constants from RegistryConstants back to dubbo-registry-api #4101

Merged
merged 2 commits into from
May 21, 2019
Merged

Conversation

beiwei30
Copy link
Member

What is the purpose of the change

issue #3137: move constants from RegistryConstants back to dubbo-registry-api

Brief changelog

XXXXX

Verifying this change

XXXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

  • 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.
  • Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. 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.
  • 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.
  • Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
  • If this contribution is large, please follow the Software Donation Guide.

@beiwei30 beiwei30 requested a review from CrazyHZM May 20, 2019 08:52
@codecov-io
Copy link

codecov-io commented May 20, 2019

Codecov Report

Merging #4101 into master will decrease coverage by 0.05%.
The diff coverage is 80%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #4101      +/-   ##
============================================
- Coverage     62.72%   62.66%   -0.06%     
+ Complexity      545      544       -1     
============================================
  Files           762      762              
  Lines         32752    32752              
  Branches       5162     5162              
============================================
- Hits          20544    20525      -19     
- Misses         9855     9869      +14     
- Partials       2353     2358       +5
Impacted Files Coverage Δ Complexity Δ
...pache/dubbo/registry/support/FailbackRegistry.java 74.28% <ø> (ø) 0 <0> (ø) ⬇️
...dubbo/rpc/cluster/directory/AbstractDirectory.java 96.96% <ø> (ø) 0 <0> (ø) ⬇️
...g/apache/dubbo/registry/consul/ConsulRegistry.java 59.6% <ø> (ø) 27 <0> (ø) ⬇️
...e/dubbo/registry/integration/RegistryProtocol.java 82.69% <ø> (ø) 0 <0> (ø) ⬇️
.../dubbo/registry/integration/RegistryDirectory.java 80.3% <ø> (ø) 0 <0> (ø) ⬇️
...org/apache/dubbo/registry/dubbo/DubboRegistry.java 68.62% <ø> (ø) 11 <0> (ø) ⬇️
...che/dubbo/registry/dubbo/DubboRegistryFactory.java 89.74% <ø> (ø) 6 <0> (ø) ⬇️
...apache/dubbo/registry/retry/AbstractRetryTask.java 63.88% <ø> (ø) 0 <0> (ø) ⬇️
...org/apache/dubbo/registry/redis/RedisRegistry.java 38.81% <ø> (ø) 23 <0> (ø) ⬇️
...in/java/org/apache/dubbo/config/ServiceConfig.java 58.2% <ø> (ø) 0 <0> (ø) ⬇️
... and 25 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 fcef1a1...eb36261. Read the comment docs.

Copy link
Member

@CrazyHZM CrazyHZM left a comment

Choose a reason for hiding this comment

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

Please take a look at my comment.

Copy link
Member

@CrazyHZM CrazyHZM left a comment

Choose a reason for hiding this comment

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

LGTM

@CrazyHZM CrazyHZM merged commit 956d28b into apache:master May 21, 2019
@beiwei30 beiwei30 deleted the issue3137 branch May 22, 2019 06:45
leonliao added a commit to leonliao/incubator-dubbo that referenced this pull request May 24, 2019
leonliao added a commit to leonliao/incubator-dubbo that referenced this pull request May 24, 2019
leonliao added a commit to leonliao/incubator-dubbo that referenced this pull request May 24, 2019
leonliao added a commit to leonliao/incubator-dubbo that referenced this pull request May 24, 2019
AlbumenJ pushed a commit that referenced this pull request Apr 11, 2021
…t pass (#4141)

* [Dubbo-4140] Fix the StatItem.isAllowable() always lets 1 more request pass for a period

* [Dubbo-4140] Fix the related test case for fixing (#4101).

Co-authored-by: Xin Wang <xin.victorwang@gmail.com>
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