This is an automated email from the ASF dual-hosted git repository.
wuxinfan pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
from a6338569 Fix golangci-lint (#813)
add 64916c23 fix: replace deprecated rand.Seed usage with local random
generator
add a56cc5fb fix fmt
add b284c288 mv dubbo-go triple internal into samples
add 14517efe add old triple sample
add 6046636f add instance test
add afb0bd5b add reflection tests
add 00497f92 add registry integrate test
add 2e458f50 update
add d43dd3b6 add test
add f268912b add stream integrate test
add 2f57551c import format
add 5b5b497f format
add b507ceb9 format
add 93e9db1e Merge branch 'main' into add-triple-samples
new 27a55e96 Merge pull request #809 from marsevilspirit/add-triple-samples
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../rpc/triple/pb/dubbogo-grpc/grpc-server/main.go | 2 +-
.../tests/integration/instanceprovider_test.go} | 13 +-
.../tests/integration/main_test.go | 5 +-
.../tests/integration/main_test.go | 4 +-
.../tests/integration/oldtripleprovider_test.go} | 13 +-
.../triple/pb-json/tests/integration/main_test.go | 11 +-
.../tests/integration/pb-jsonprovider_test.go | 5 +
.../rpc/triple/pb/tests/integration/main_test.go | 3 +
.../triple/pb/tests/integration/pbprovider_test.go | 5 +
.../rpc/triple/pb2/tests/integration/main_test.go | 3 +
.../pb2/tests/integration/pb2provider_test.go | 5 +
.../reflection}/tests/integration/main_test.go | 32 +--
.../tests/integration/reflectionprovider_test.go | 84 +++++++
.../tests/integration/main_test.go | 11 +-
.../tests/integration/registryprovider_test.go} | 13 +-
.../{pb2 => stream}/tests/integration/main_test.go | 5 +-
.../tests/integration/streamprovider_test.go | 95 ++++++++
metrics/go-server/cmd/main.go | 5 +-
.../triple/instance/go-client/cmd/main.go | 19 +-
.../triple/instance/go-server/cmd/main.go | 29 +--
.../triple/instance}/proto/greet.pb.go | 70 ++----
rpc/triple/{pb-json => instance}/proto/greet.proto | 6 +-
.../triple/instance}/proto/greet.triple.go | 4 +-
.../triple/old_triple}/go-client/cmd/main.go | 9 +-
.../triple/old_triple/go-server/cmd/main.go | 17 +-
rpc/triple/old_triple/go-server/conf/dubbogo.yml | 13 ++
rpc/triple/{pb => old_triple}/proto/greet.pb.go | 74 ++----
.../{pb-json => old_triple}/proto/greet.proto | 5 +-
.../triple/old_triple/proto/greet_triple.pb.go | 100 ++++-----
rpc/triple/pb-json/go-client/cmd/main.go | 5 +
rpc/triple/pb-json/go-server/cmd/main.go | 5 +
rpc/triple/pb/go-client/cmd/main.go | 4 +
rpc/triple/pb/go-server/cmd/main.go | 2 +
rpc/triple/pb2/go-client/cmd/main.go | 4 +
rpc/triple/pb2/go-server/cmd/main.go | 2 +
rpc/triple/reflection/go-client/cmd/main.go | 123 ++++++++++
.../{pb => reflection}/go-server/cmd/main.go | 11 +-
rpc/triple/{pb => reflection}/proto/greet.pb.go | 74 ++----
.../{pb-json => reflection}/proto/greet.proto | 5 +-
.../triple/reflection}/proto/greet.triple.go | 4 +-
.../triple/registry}/go-client/cmd/main.go | 22 +-
.../triple/registry}/go-server/cmd/main.go | 17 +-
.../triple/registry}/proto/greet.pb.go | 70 ++----
rpc/triple/{pb-json => registry}/proto/greet.proto | 5 +-
.../triple/registry}/proto/greet.triple.go | 4 +-
.../triple/stream/go-client/cmd/main.go | 32 +--
.../triple/stream/go-server/cmd/main.go | 114 +++++++---
{streaming => rpc/triple/stream}/proto/greet.pb.go | 248 ++++++---------------
{streaming => rpc/triple/stream}/proto/greet.proto | 4 +-
.../triple/stream}/proto/greet.triple.go | 4 +-
50 files changed, 833 insertions(+), 586 deletions(-)
copy
integrate_test/{java_interop/service_discovery/service/tests/integration/service_discovery_test.go
=> rpc/triple/instance/tests/integration/instanceprovider_test.go} (89%)
copy integrate_test/rpc/triple/{pb2 =>
instance}/tests/integration/main_test.go (93%)
copy integrate_test/rpc/triple/{pb =>
old_triple}/tests/integration/main_test.go (99%)
copy
integrate_test/{java_interop/service_discovery/service/tests/integration/service_discovery_test.go
=> rpc/triple/old_triple/tests/integration/oldtripleprovider_test.go} (89%)
copy integrate_test/{otel/tracing/stdout =>
rpc/triple/reflection}/tests/integration/main_test.go (74%)
create mode 100644
integrate_test/rpc/triple/reflection/tests/integration/reflectionprovider_test.go
copy integrate_test/rpc/triple/{pb2 =>
registry}/tests/integration/main_test.go (83%)
copy
integrate_test/{java_interop/service_discovery/service/tests/integration/service_discovery_test.go
=> rpc/triple/registry/tests/integration/registryprovider_test.go} (89%)
copy integrate_test/rpc/triple/{pb2 => stream}/tests/integration/main_test.go
(93%)
create mode 100644
integrate_test/rpc/triple/stream/tests/integration/streamprovider_test.go
copy registry/nacos/go-client/cmd/client.go =>
rpc/triple/instance/go-client/cmd/main.go (83%)
copy healthcheck/go-server/cmd/server.go =>
rpc/triple/instance/go-server/cmd/main.go (84%)
copy {otel/tracing/stdout => rpc/triple/instance}/proto/greet.pb.go (80%)
copy rpc/triple/{pb-json => instance}/proto/greet.proto (97%)
copy {filter => rpc/triple/instance}/proto/greet.triple.go (97%)
copy {helloworld => rpc/triple/old_triple}/go-client/cmd/main.go (91%)
copy compatibility/error/triple/pb/go-server/cmd/server.go =>
rpc/triple/old_triple/go-server/cmd/main.go (71%)
create mode 100644 rpc/triple/old_triple/go-server/conf/dubbogo.yml
copy rpc/triple/{pb => old_triple}/proto/greet.pb.go (80%)
copy rpc/triple/{pb-json => old_triple}/proto/greet.proto (97%)
copy compatibility/task/shop/comment/api/comment_api_triple.pb.go =>
rpc/triple/old_triple/proto/greet_triple.pb.go (52%)
create mode 100644 rpc/triple/reflection/go-client/cmd/main.go
copy rpc/triple/{pb => reflection}/go-server/cmd/main.go (86%)
copy rpc/triple/{pb => reflection}/proto/greet.pb.go (80%)
copy rpc/triple/{pb-json => reflection}/proto/greet.proto (97%)
copy {filter => rpc/triple/reflection}/proto/greet.triple.go (97%)
copy {helloworld => rpc/triple/registry}/go-client/cmd/main.go (75%)
copy {helloworld => rpc/triple/registry}/go-server/cmd/main.go (86%)
copy {otel/tracing/stdout => rpc/triple/registry}/proto/greet.pb.go (80%)
copy rpc/triple/{pb-json => registry}/proto/greet.proto (97%)
copy {filter => rpc/triple/registry}/proto/greet.triple.go (97%)
copy streaming/go-client/cmd/client.go =>
rpc/triple/stream/go-client/cmd/main.go (82%)
copy streaming/go-server/cmd/server.go =>
rpc/triple/stream/go-server/cmd/main.go (53%)
copy {streaming => rpc/triple/stream}/proto/greet.pb.go (75%)
copy {streaming => rpc/triple/stream}/proto/greet.proto (94%)
copy {streaming => rpc/triple/stream}/proto/greet.triple.go (99%)