Skip to content

Registry protocol listener#5581

Merged
qinliujie merged 15 commits intoapache:masterfrom
beiwei30:registry-protocol-listener
Feb 4, 2020
Merged

Registry protocol listener#5581
qinliujie merged 15 commits intoapache:masterfrom
beiwei30:registry-protocol-listener

Conversation

@beiwei30
Copy link
Copy Markdown
Member

@beiwei30 beiwei30 commented Jan 3, 2020

What is the purpose of the change

XXXXX

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 chickenlj January 3, 2020 09:18
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jan 9, 2020

Codecov Report

Merging #5581 into master will decrease coverage by 0.1%.
The diff coverage is 69.23%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #5581      +/-   ##
============================================
- Coverage     61.12%   61.01%   -0.11%     
- Complexity      420      424       +4     
============================================
  Files           923      924       +1     
  Lines         37614    37660      +46     
  Branches       5445     5451       +6     
============================================
- Hits          22990    22978      -12     
- Misses        12135    12178      +43     
- Partials       2489     2504      +15
Impacted Files Coverage Δ Complexity Δ
...ava/org/apache/dubbo/config/ConfigInitializer.java 0% <ø> (ø) 0 <0> (?)
...in/java/org/apache/dubbo/rpc/ListenableFilter.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...api/src/main/java/org/apache/dubbo/rpc/Filter.java 100% <ø> (ø) 0 <0> (ø) ⬇️
...a/org/apache/dubbo/common/BaseServiceMetadata.java 48.93% <ø> (ø) 0 <0> (ø) ⬇️
...in/java/org/apache/dubbo/config/ServiceConfig.java 62.26% <ø> (+0.35%) 0 <0> (ø) ⬇️
...n/serialize/kryo/optimized/KryoSerialization2.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...a/org/apache/dubbo/config/ConfigPostProcessor.java 0% <0%> (ø) 0 <0> (?)
...protobuf/support/GenericProtobufSerialization.java 60% <0%> (ø) 0 <0> (ø) ⬇️
...main/java/org/apache/dubbo/rpc/AsyncRpcResult.java 54.94% <0%> (-1.24%) 0 <0> (ø)
.../rpc/protocol/dubbo/LazyConnectExchangeClient.java 58.24% <100%> (ø) 0 <0> (ø) ⬇️
... and 39 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 8d29480...381d938. Read the comment docs.

return interfaceFromServiceKey(serviceKey) + ":" + versionFromServiceKey(serviceKey);
}

public void reRegisterProvider(String newServiceKey, String serviceKey) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if newServiceKey equals serviceKey,then ProviderModel would be remove

public void setRegisteredConsumerUrl(URL registeredConsumerUrl) {
this.registeredConsumerUrl = registeredConsumerUrl;
public void setRegisteredConsumerUrl(URL url) {
if (!shouldSimplified) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is it should be if (shouldSimplified)

@qinliujie qinliujie merged commit ce8b6e8 into apache:master Feb 4, 2020
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.

4 participants