dubbo-go
dubbo-go copied to clipboard
tls support: dubbo/dubbo3/grpc protocol
What this PR does:
dubbo-go tls support:
- [x] dubbo protocol support (getty server&client)
- [ ] dubbo3 protocol support (triple server&client) ,need to modify triple
- [x] grpc protocol support (grpc server&client)
test samples for above:
- [x] dubbo protocol
- [ ] dubbo3 protocol
- [x] grpc protocol
- [ ] using xds creds
next:
- [ ] mTLS support
Which issue(s) this PR fixes: Fixes #2054
You should pay attention to items below to ensure your pr passes our ci test We do not merge pr with ci tests failed
- [ ] All ut passed (run 'go test ./...' in project root)
- [ ] After go-fmt ed , run 'go fmt project' using goland.
- [ ] Golangci-lint passed, run 'sudo golangci-lint run' in project root.
- [ ] Your new-created file needs to have apache license at the top, like other existed file does.
- [ ] All integration test passed. You can run integration test locally (with docker env). Clone our dubbo-go-samples project and replace the go.mod to your dubbo-go, and run 'sudo sh start_integration_test.sh' at root of samples project root. (M1 Slice is not Support)
Codecov Report
Merging #2073 (43fbccf) into 3.0 (19668c0) will decrease coverage by
0.23%
. The diff coverage is8.86%
.
@@ Coverage Diff @@
## 3.0 #2073 +/- ##
==========================================
- Coverage 44.68% 44.45% -0.24%
==========================================
Files 281 282 +1
Lines 16836 16913 +77
==========================================
- Hits 7524 7518 -6
- Misses 8522 8606 +84
+ Partials 790 789 -1
Impacted Files | Coverage Δ | |
---|---|---|
config/protocol_config.go | 50.00% <ø> (ø) |
|
config/reference_config.go | 31.03% <0.00%> (-0.95%) |
:arrow_down: |
config/service_config.go | 52.09% <0.00%> (-0.96%) |
:arrow_down: |
config/tls_config.go | 0.00% <0.00%> (ø) |
|
protocol/grpc/client.go | 63.38% <16.66%> (-9.96%) |
:arrow_down: |
protocol/grpc/server.go | 68.23% <31.25%> (-8.91%) |
:arrow_down: |
metadata/report/delegate/delegate_report.go | 26.49% <0.00%> (-8.61%) |
:arrow_down: |
cluster/loadbalance/ringhash/ring.go | 87.32% <0.00%> (+2.81%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more