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

Feat: Pixiu connect with SpringCloud Server by nacos #255

Merged
merged 68 commits into from
Oct 2, 2021

Conversation

PhilYue
Copy link
Member

@PhilYue PhilYue commented Sep 24, 2021

What this PR does:

Pixiu connect with SpringCloud Server

Which issue(s) this PR fixes:

Fixes #
nope

Special notes for your reviewer:
nope

Does this PR introduce a user-facing change?:
nope


@codecov-commenter
Copy link

codecov-commenter commented Sep 30, 2021

Codecov Report

Merging #255 (27f2a7f) into develop (7e8add1) will decrease coverage by 0.19%.
The diff coverage is 47.61%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #255      +/-   ##
===========================================
- Coverage    39.75%   39.56%   -0.20%     
===========================================
  Files           50       50              
  Lines         2568     2626      +58     
===========================================
+ Hits          1021     1039      +18     
- Misses        1436     1475      +39     
- Partials       111      112       +1     
Impacted Files Coverage Δ
pkg/common/extension/adapter/adapter.go 58.33% <ø> (ø)
pkg/common/yaml/yaml.go 54.16% <0.00%> (-2.36%) ⬇️
pkg/context/http/context.go 6.18% <0.00%> (-0.14%) ⬇️
pkg/registry/zookeeper.go 60.00% <0.00%> (-3.64%) ⬇️
pkg/server/pixiu_start.go 0.00% <ø> (ø)
pkg/server/cluster_manager.go 45.45% <41.79%> (-22.84%) ⬇️
pkg/common/router/router.go 88.00% <100.00%> (-2.00%) ⬇️
pkg/server/adapter_manager.go 72.41% <100.00%> (+4.55%) ⬆️

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 7e8add1...27f2a7f. Read the comment docs.

@PhilYue PhilYue marked this pull request as ready for review September 30, 2021 15:40
@@ -18,6 +18,7 @@
package registry

import (
"github.com/apache/dubbo-go-pixiu/pkg/model"
Copy link
Contributor

Choose a reason for hiding this comment

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

move it to the 3rd import block.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

}

ServiceDiscovery interface {
// 直接向远程注册中心查询所有服务实例
Copy link
Contributor

Choose a reason for hiding this comment

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

translate it into english

Copy link
Member Author

Choose a reason for hiding this comment

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

done

a.mutex.Lock()
defer a.mutex.Unlock()

var res []string
Copy link
Contributor

Choose a reason for hiding this comment

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

res := make([]string, 0, len(a.currentService))

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@AlexStocks AlexStocks merged commit 32a7ddf into apache:develop Oct 2, 2021
@ztelur ztelur added this to the v0.4.0 milestone Oct 20, 2021
mark4z pushed a commit that referenced this pull request Nov 7, 2021
Feat: Pixiu connect with SpringCloud Server by nacos 
Former-commit-id: 32a7ddf
tydhot pushed a commit to tydhot/dubbo-go-pixiu that referenced this pull request Nov 10, 2021
Feat: Pixiu connect with SpringCloud Server by nacos 
Former-commit-id: 004a09c [formerly 32a7ddf]
Former-commit-id: 8888f6d
bobtthp pushed a commit to bobtthp/dubbo-go-pixiu that referenced this pull request Dec 12, 2022
Feat: Pixiu connect with SpringCloud Server by nacos
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

6 participants