Commit Graph

208 Commits

Author SHA1 Message Date
apolcyn 89f31959af
interop/client: simplify fallback test client and parameterize fallback deadline (#5248) 2022-03-21 13:41:02 -07:00
Easwar Swaminathan f95b001a48
xds: avoid log spam during server mode switches (better A36 compliance) (#5215) 2022-03-17 14:35:42 -07:00
赵延 c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
Mohan Li 2af7b5e6fa
xds/interop: update RPC timeout in blackhole after fallback case (#5174) 2022-02-03 10:01:53 -08:00
Menghan Li e2fc510d57
internal/proto: update generated code (#5172) 2022-01-27 10:41:28 -08:00
Mohan Li eb6ff1ae43
xds: update RPC timeout in blackhole case (#5126) 2022-01-19 10:31:42 -08:00
Doug Fawley c285fc70e0
cmd/protoc-gen-go-grpc: update version for release (#5070) 2021-12-20 15:40:38 -08:00
Mohan Li 51835dc091
xds: Remove WithBlock option from the fallback test client (#5066) 2021-12-16 14:39:38 -08:00
Mohan Li ce152f209b
xds: Add xds dependency to the fallback test client (#5062) 2021-12-15 15:19:36 -08:00
Eric Anderson 3d9e9c42dc
logging: enable json logging in xds server container (#4885) 2021-10-18 14:57:49 -07:00
Menghan Li 49f6388789
grpclog: support formatting output as JSON (#4854) 2021-10-11 11:06:15 -07:00
Menghan Li b9d7c74e01
xds: local interop tests (#4823) 2021-10-07 11:47:53 -07:00
apolcyn 32cd3d6176
interop: don't use WithBlock dial option in the client (#4805) 2021-09-22 16:08:17 -07:00
apolcyn 1fe5adbbf8
interop-testing: add soak test cases to interop client (#4677) 2021-09-08 17:31:51 -07:00
Easwar Swaminathan 46ab723bb2
multiple: remove appengine specific build constraints and code (#4685) 2021-08-24 12:30:13 -07:00
Aliaksandr Mianzhynski 9c668aeab8
all: preallocate slices where possible (#4609) 2021-08-11 09:17:59 -07:00
Easwar Swaminathan e26e756f13
Enable logging in xds interop docker containers (#4482) 2021-05-25 15:43:14 -07:00
Easwar Swaminathan 39015b9c5e
interop/xds: support xds security on interop server (#4444) 2021-05-17 15:03:59 -07:00
Easwar Swaminathan 78e8edf34d
interop/xds: dockerfile for the xds interop client (#4443) 2021-05-17 14:13:32 -07:00
Easwar Swaminathan 71a1ca6c7f
interop/xds: support xds credentials in interop client (#4436) 2021-05-14 11:13:26 -07:00
Easwar Swaminathan aa59641d5d
interop: use credentials.NewTLS() when possible (#4390) 2021-05-12 10:17:13 -07:00
Aliaksandr Mianzhynski d6abfb4598
cmd/protoc-gen-go-grpc: add protoc and protoc-gen-go-grpc versions to top comment (#4313) 2021-04-09 16:30:59 -07:00
Menghan Li 8892a7b247
[xds_interop_client_admin] xds/interop: register admin services and reflection (#4307) 2021-04-05 13:56:00 -07:00
apolcyn 4a19753e9d
interop: add a flag to clients to statically configure grpclb (#4290) 2021-03-26 10:09:12 -07:00
apolcyn 2456c5cff0
Allow using interop client for making Traffic Director RPCs (#4291) 2021-03-25 20:56:46 -07:00
Easwar Swaminathan 7bb497f784
grpc: Update protobuf regenrate script (#4177)
- Pull in protobuf repo since one of our protos pulls in duration.proto
- Update grpc_testing/messages.pb.go to pull in a recent change
2021-01-27 16:36:06 -08:00
Doug Fawley 504caa93c5
interop/xds: support ClientConfigureRequest.timeout_sec field (#4157) 2021-01-15 16:07:52 -08:00
Doug Fawley 269d253666
interop/xds: implement new stats response field (#4156) 2021-01-15 16:07:34 -08:00
Doug Fawley 938f6e2f75
cmd/protoc-gen-go-grpc: add gRPC-Go version comment and update release version (#4152) 2021-01-14 14:28:25 -08:00
Doug Fawley 5e3cbb54d2
interop/grpc_testing: update generated code after recent grpc-proto changes (#4149) 2021-01-13 13:23:43 -08:00
Doug Fawley d3ae124a07
cleanup: use different import alias for services than messages (#4148) 2021-01-12 12:23:41 -08:00
Garrett Gutierrez 85e55dc558
interop: update client for xds testing support (#4108) 2021-01-08 16:09:17 -08:00
Doug Fawley ecc9a99b66
interop: remove test.proto clones/variants and use grpc-proto repo instead (#4129) 2021-01-07 14:19:11 -08:00
Garrett Gutierrez 73671aeeee
Updated test.proto to facilitate xds interop testing (#4109) 2020-12-15 14:35:14 -08:00
Edmond 8f3cc6cc26
protoc-gen-go-grpc: export grpc.ServiceDesc (#4035) 2020-11-23 14:56:57 -08:00
Timothy Gu 20636e76a9
protobuf: update protoc to latest version (#4038)
Presently, protoc 3.3.0 (released in 2017) is still being used. This
commit updates the vet.sh script as well as existing generated files to
use protoc 3.14.0 instead.

The only concrete change this brings is updated import paths of
Timestamp and Duration types. However, in practice this is a no-op,
since the types themselves are already aliased to the new import path:

- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/duration#Duration
- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/timestamp#Timestamp
2020-11-16 16:59:46 -08:00
Doug Fawley 4e8458e5c6
protobuf: update all generated code to google.golang.org/protobuf (#3932) 2020-10-21 16:05:44 -07:00
Doug Fawley 9519efffeb
cmd/protoc-gen-go-grpc: use grpc.ServiceRegistrar instead of *grpc.Server (#3968) 2020-10-20 13:02:25 -07:00
Doug Fawley 02cd07d9bb
cmd/protoc-gen-go-grpc: revert to interface-based service registration (#3911) 2020-09-29 15:17:06 -07:00
Doug Fawley ff9dd65c90
protoc-gen-go-grpc: generate interfaces optionally; remove NewFooService (#3876) 2020-09-16 10:15:56 -07:00
Doug Fawley d31b671000
cmd/protoc-gen-go-grpc: call interceptor even if handler is unset (#3849) 2020-08-26 16:05:36 -07:00
Garrett Gutierrez ff1fc890e4
internal: reintroduce legacy appengine build constraints (#3838) 2020-08-25 13:49:57 -07:00
Doug Fawley 44d73dff99
cmd/protoc-gen-go-grpc: rework service registration (#3828) 2020-08-25 09:28:01 -07:00
Easwar Swaminathan 2983360ff4
Fix interop tests which rely on the old certs/keys. (#3804) 2020-08-10 15:53:34 -07:00
Menghan Li 8beeedb8b1
internal: clean up all usages of grpclog, and replace with component (#3719) 2020-08-06 13:19:17 -07:00
Easwar Swaminathan fd393c8989
testdata: Update testdata certs. (#3786)
* This will be used in certprovider tests where we would want more than one server and client certs.
* Also, updated existing usages of these certs to point to the new  files.
* Also copy over the required certs/key files. This avoids the example gomodule from depending on gRPC testdata package which should be able to change independently.
* Fix interop test's SAN.
2020-08-05 09:55:07 -07:00
Doug Fawley bc714cd8ae
Remove Go 1.9 / AppEngine support; assume go1.12 build tag (#3767) 2020-07-30 16:15:35 -07:00
Eric Gribkoff 0e6096e9a1
interop: update --fail_on_failed_rpc to wait for initial success (#3763) 2020-07-28 11:43:27 -07:00
Menghan Li 8b7764bddb
xds interop: update interop client to support new tests (#3737) 2020-07-27 18:27:21 -07:00
Doug Fawley ad51f572fd
protoc-gen-go-grpc: add requirement of embedding UnimplementedServer in services (#3657) 2020-06-04 10:56:13 -07:00