3190 Commits

Author SHA1 Message Date
d76e57cb09 rls: Implementation of RLS key builders. (#3344) 2020-02-06 20:57:36 -08:00
979f0a2f08 client: clarify units of send/receive message size call options (#3354) 2020-02-06 15:40:53 -08:00
0ab367d24a examples: add client/server to be used for xds examples (#3362) 2020-02-06 14:51:54 -08:00
132187f04c Modified tests to use tlogger. (#3343)
* Modified tests to use tlogger.

* Fail on errors, with error expectations.

* Added expects and MixedCapsed grpclb_config tests

* Moved tlogger to grpctest, moved leakcheck tester to grpctest.go

* Added ExpectErrorN()

* Removed redundant leak checks

* Fixed new test

* Made tlogger globals into tlogger methods

* ErrorsLeft -> EndTest

* Removed some redundant lines

* Fixed error in test and empty map in EndTest
2020-02-06 13:03:20 -08:00
cb03b9f65c balancer/base: consider an empty address list an error (#3361) 2020-02-05 13:16:31 -08:00
597699c0ef grpclb: support explicit fallback signal (#3351) 2020-02-05 10:16:25 -08:00
13535f71d1 rls: Implementation of the adaptive client-side throttler. (#3346) 2020-02-05 03:32:31 -08:00
648cf9b00e advancedtls: use grpc 1.27.0 and small fixes (#3360) 2020-02-04 12:46:21 -08:00
3ae60ebf74 stats: create new MD for outgoing header if no MD is available (#3357) 2020-02-04 08:07:17 -08:00
e0e0cbc795 xds: move "_experimental" to suffix for all balancers (#3356) 2020-02-03 15:39:32 -08:00
77bc3d3983 test/tools: update protoc-gen-go version used by vet.sh (#3355) 2020-02-03 11:06:34 -08:00
1f6cca9665 README: update SupportPackageIsVersion help in FAQ section (#3350) 2020-01-31 10:58:04 -08:00
7621679bee stats: add client side user agent to outgoing header (#3331) 2020-01-31 10:34:44 -08:00
b88d2d7465 protobuf: update protoc-gen-go version and generated code (#3345) 2020-01-30 10:23:21 -08:00
f97821dd2f advancedtls: add end to end tests (#3318) 2020-01-28 14:24:27 -08:00
822723f716 xds: Enable keepalives on the xds client channel. (#3335)
We are using some sane defaults for now:
KeepaliveTime: 5 minutes
KeepaliveTimeout: 20 seconds
PermitWithoutStream: false

This does differ with the defaults used internally, but we are OK with
it, because it is more important to have a reasonable value here than
having one that works for all deployments or even making this
configurable through the bootstrap file.
2020-01-28 13:57:42 -08:00
ca10cab155 Change version to 1.28.0-dev (#3342) 2020-01-28 13:56:49 -08:00
1ce7569121 rls: Add generated pb.go files for RLS. (#3337)
Source: https://github.com/grpc/grpc-proto/tree/master/grpc/lookup/v1
Generated by running the regenerate.sh script, also added as part of
this PR.
2020-01-27 13:58:20 -08:00
8c50fc2565 revert buffer reuse (#3338)
* Revert "stream: fix returnBuffers race during retry (#3293)"

This reverts commit ede71d589cc36a6adff7244ce220516f0b3e446b.

* Revert "codec/proto: reuse of marshal byte buffers (#3167)"

This reverts commit 642675125e198ce612ea9caff4bf75d3a4a45667.
2020-01-27 13:30:41 -08:00
7afcfdd66b client: add interface for ClientConn to be accepted by generated code (#3334) 2020-01-24 14:49:31 -08:00
1f66bc9efb xds: propogate bootstrap error to grpc.Dial (#3330) 2020-01-23 12:45:58 -08:00
27fd7d000e balancer/resolver: remove temporary backward-compatibility type aliases (#3309) 2020-01-22 08:59:42 -08:00
3311b9ea68 grpclb: update proto from grpc/grpc-proto (#3323) 2020-01-15 16:17:42 -08:00
d670c2dcc8 advancedtls: fix internal tests (#3322)
fix an internal error in advanced_tls.test. Previous check is to check against the prefix of the ServerName, which might be different in various environments. We'd better not rely on checking that.
2020-01-15 14:03:38 -08:00
cd74fa23ea internal: remove withResolverBuilder and use WithResolvers instead (#3321) 2020-01-15 08:54:42 -08:00
62d4bd73ba security: Add a package level comment to testdata package in advancedtls (#3317) 2020-01-14 14:10:59 -08:00
0083f6eefc client: add WithResolvers options for specifying client-local resolvers (#3320) 2020-01-14 12:44:21 -08:00
e8a4440d49 grpctest: implement grpclogger using testing.T and inject in tests (#3260) 2020-01-13 14:02:31 -08:00
c35a580b0c Revert "balancer: move Balancer and Picker to V2; delete legacy… (#3315)
This reverts commit 336cf8d76145dc5ebd517fd9c19e14c6822450b3.
2020-01-13 13:12:55 -08:00
20bce9a0c6 advancedtls: add package for testdata (#3306) 2020-01-10 14:33:38 -08:00
336cf8d761 balancer: move Balancer and Picker to V2; delete legacy API (#3301) 2020-01-10 13:44:48 -08:00
69baa3f192 credentials: close tls.Conn on failure (#3300) 2020-01-10 13:41:22 -08:00
02c70004a2 xds: delete old xds resolver (#3303)
And rename the new resolver from xds-experimental-new to
xds-experimental.
2020-01-09 12:28:05 -08:00
1a3212aaf5 lint: add missing package level comments (#3302) 2020-01-08 11:31:36 -08:00
ede71d589c stream: fix returnBuffers race during retry (#3293)
And release the buffer after Write(), unless the buffer needs to be kept for retries.
2020-01-07 17:17:22 -08:00
4a4d179f28 advancedtls: add new module for advanced TLS handshaker (#3187) 2020-01-07 15:47:01 -08:00
4346c5926d credentials: create API for transport security level information (#3214) 2020-01-07 15:38:45 -08:00
b91517cd56 dns: ignore TXT errors unless GRPC_GO_IGNORE_TXT_ERRORS=false (#3299) 2020-01-07 13:08:22 -08:00
cf9eb4f51c benchmark: add support for payload size curves (#3248) 2020-01-06 14:45:41 -08:00
10cea4324e internal: fix initialBackoff typo (#3289) 2020-01-06 10:22:54 -08:00
287dc3e58a eds: move edsBalancer to the package edsbalancer (#3294)
edsBalancer (the old xds balancer) was in `package balancer`, one level above the eds implementation. It's a thin wrapper of the eds impl (and fallback in the future).

This change moves the thin wrapper to `package edsbalancer`, and also renames some structs.
2020-01-03 11:08:28 -08:00
1f28521e57 eds: delete fallback related code from the EDS balancer (#3287)
We will add fallback support back when the design is finalized. Before that, fallback makes the code quite hard to follow.
2020-01-02 15:32:38 -08:00
5bc9b325fa fix lbpb package name typo (#3290) 2020-01-02 12:10:08 -08:00
5f3da2a013 Fix resolver.ClientConnection to resolver.ClientConn (#3288) 2019-12-30 10:01:47 -08:00
8a65b8453b xds: client test cleanup. (#3284) 2019-12-27 15:00:59 -08:00
c618975385 internal: fix profiling go generate proto file path (#3285) 2019-12-27 10:20:02 -08:00
aa428f8ea4 xds: fix RDS flaky tests due to ACK (#3279)
Clear ACK request before starting the real RDS tests. This should only be necessary for RDS tests because RDS needs an existing LDS.
2019-12-23 15:08:16 -08:00
d14c83465f xds: client test cleanup (#3267) 2019-12-23 15:06:49 -08:00
01d201eb8d examples: add profiling (#3265) 2019-12-20 15:33:45 -08:00
a2a5ae5d4d credentials/alts: Add Client Authorization Utility API (#3271)
Add client authorization util API
2019-12-20 10:01:56 -08:00