This is an automated email from the ASF dual-hosted git repository. liujun pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
commit 8b2409d000ea5a766635c034eb334d021b6a948b Merge: a409d88e cde94953 Author: Ken Liu <[email protected]> AuthorDate: Fri Jan 19 16:54:53 2024 +0800 Merge pull request #676 from FinalT/feat-health feat:add healthcheck sample healthcheck/README.md | 80 +++++++ healthcheck/README_zn.md | 81 ++++++++ healthcheck/go-client/cmd/client.go | 54 +++++ healthcheck/go-server/cmd/server.go | 60 ++++++ healthcheck/proto/greet.pb.go | 230 +++++++++++++++++++++ healthcheck/proto/greet.proto | 34 +++ healthcheck/proto/greet.triple.go | 139 +++++++++++++ .../tests/integration/healthcheck_test.go | 41 ++++ .../healthcheck/tests/integration/main_test.go | 45 ++++ start_integrate_test.sh | 3 + 10 files changed, 767 insertions(+) diff --cc start_integrate_test.sh index cba3a098,b4b20fb6..227fd4c5 --- a/start_integrate_test.sh +++ b/start_integrate_test.sh @@@ -51,32 -51,32 +51,35 @@@ array+=("registry/zookeeper" array+=("registry/nacos") # generic -#array+=("generic/default") # illegal service type registered +#array+=("compatibility/generic/default") # illegal service type registered + +#timeout +array+=("timeout") + #healthcheck + array+=("healthcheck") + # rpc -array+=("rpc/dubbo") -#array+=("rpc/triple/codec-extension") -array+=("rpc/triple/hessian2") -array+=("rpc/triple/msgpack") -array+=("rpc/triple/pb/dubbogo-grpc") -#array+=("rpc/grpc") -array+=("rpc/jsonrpc") -array+=("rpc/triple/pb2") +array+=("compatibility/rpc/dubbo") +#array+=("compatibility/rpc/triple/codec-extension") +array+=("compatibility/rpc/triple/hessian2") +array+=("compatibility/rpc/triple/msgpack") +array+=("compatibility/rpc/triple/pb/dubbogo-grpc") +#array+=("compatibility/rpc/grpc") +array+=("compatibility/rpc/jsonrpc") +array+=("compatibility/rpc/triple/pb2") # tls -#array+=("tls/dubbo")# tls.LoadX509KeyPair(certs{../../../x509/server1_cert.pem}, privateKey{../../../x509/server1_key.pem}) = err:open ../../../x509/server1_cert.pem: no such file or directory -#array+=("tls/triple")# tls.LoadX509KeyPair(certs{../../../x509/server1_cert.pem}, privateKey{../../../x509/server1_key.pem}) = err:open ../../../x509/server1_cert.pem: no such file or directory -#array+=("tls/grpc")# tls.LoadX509KeyPair(certs{../../../x509/server1_cert.pem}, privateKey{../../../x509/server1_key.pem}) = err:open ../../../x509/server1_cert.pem: no such file or directory +#array+=("compatibility/tls/dubbo")# tls.LoadX509KeyPair(certs{../../../x509/server1_cert.pem}, privateKey{../../../x509/server1_key.pem}) = err:open ../../../x509/server1_cert.pem: no such file or directory +#array+=("compatibility/tls/triple")# tls.LoadX509KeyPair(certs{../../../x509/server1_cert.pem}, privateKey{../../../x509/server1_key.pem}) = err:open ../../../x509/server1_cert.pem: no such file or directory +#array+=("compatibility/tls/grpc")# tls.LoadX509KeyPair(certs{../../../x509/server1_cert.pem}, privateKey{../../../x509/server1_key.pem}) = err:open ../../../x509/server1_cert.pem: no such file or directory # async -array+=("async") +array+=("compatibility/async") # polaris -array+=("polaris/registry") -array+=("polaris/limit") +array+=("compatibility/polaris/registry") +array+=("compatibility/polaris/limit") # compatibility ## registry
