Skip to content

[Dubbo-6226] fix nacos service name associated with group name#6227

Merged
mercyblitz merged 1 commit intoapache:masterfrom
AlbumenJ:nacos-fix
Jun 1, 2020
Merged

[Dubbo-6226] fix nacos service name associated with group name#6227
mercyblitz merged 1 commit intoapache:masterfrom
AlbumenJ:nacos-fix

Conversation

@AlbumenJ
Copy link
Copy Markdown
Member

What is the purpose of the change

Make Nacos protocol support service discovery
fix #6226

Brief changelog

Using NamingUtils to decode serviceName get from Nacos which is actually serviceNameWithGroup in Instance.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 26, 2020

Codecov Report

Merging #6227 into master will decrease coverage by 0.03%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #6227      +/-   ##
============================================
- Coverage     60.85%   60.81%   -0.04%     
+ Complexity      493      492       -1     
============================================
  Files           999      999              
  Lines         39909    39909              
  Branches       5747     5747              
============================================
- Hits          24287    24272      -15     
- Misses        12925    12938      +13     
- Partials       2697     2699       +2     
Impacted Files Coverage Δ Complexity Δ
...o/registry/nacos/util/NacosNamingServiceUtils.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...che/dubbo/remoting/transport/mina/MinaChannel.java 39.47% <0.00%> (-10.53%) 15.00% <0.00%> (-1.00%)
...rg/apache/dubbo/remoting/utils/PayloadDropper.java 38.46% <0.00%> (-7.70%) 0.00% <0.00%> (ø%)
...mmon/threadpool/support/AbortPolicyWithReport.java 85.00% <0.00%> (-5.00%) 0.00% <0.00%> (ø%)
...e/dubbo/remoting/transport/netty/NettyChannel.java 55.68% <0.00%> (-4.55%) 20.00% <0.00%> (-1.00%)
.../remoting/transport/netty4/NettyServerHandler.java 56.81% <0.00%> (-2.28%) 0.00% <0.00%> (ø%)
.../remoting/transport/netty4/NettyClientHandler.java 57.62% <0.00%> (-1.70%) 0.00% <0.00%> (ø%)
...etadata/report/support/AbstractMetadataReport.java 65.32% <0.00%> (-1.51%) 0.00% <0.00%> (ø%)
...rg/apache/dubbo/common/timer/HashedWheelTimer.java 63.10% <0.00%> (-0.35%) 0.00% <0.00%> (ø%)
...he/dubbo/remoting/transport/netty/NettyServer.java 73.68% <0.00%> (+3.50%) 9.00% <0.00%> (+1.00%)
... and 2 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 bd6b580...01a85ff. Read the comment docs.

@mercyblitz mercyblitz merged commit 6a45acb into apache:master Jun 1, 2020
@AlbumenJ AlbumenJ deleted the nacos-fix branch August 18, 2020 07:18
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.

Wrong serviceName with Nacos protocol

3 participants