3350 Commits

Author SHA1 Message Date
31d22c78fb examples: use grpc v1.30.0 rather than v1.30.0-dev.1 (#3710) 2020-06-25 14:28:39 -07:00
7a808837ae examples: make test script output easier to read (#3711) 2020-06-25 10:40:16 -07:00
38aafd89f8 vet.sh: require ALL modules are tidy; tidy some that are not (#3709) 2020-06-24 12:44:51 -07:00
4e63bcab52 test: replace manual.GenerateAndRegisterManualResolver with grpc.WithResolvers (#3700) 2020-06-23 09:49:44 -07:00
9a46550357 alts: Added peer attributes accessor for alts context and updated test method (#3675) 2020-06-16 21:11:41 -07:00
dfc058c6d9 credentials: Add certificate provider plugin APIs. (#3654)
Also add an implementation for the `Distributor` type which makes it easier to implement new `Provider` types.
2020-06-16 13:57:33 -07:00
3b63c2b110 retry: re-enable retrying on non-IO transport errors (#3691) 2020-06-16 10:03:59 -07:00
6f5ecbe569 Change version to 1.31.0-dev (#3681) 2020-06-11 11:25:28 -07:00
b6d6ede3e0 xds: use google default creds (#3673)
- use google default creds, so the client works not only on GCE (e.g. it also reads env variable for creds).
- Change google default creds to use jwt directly if scope is not set.

- Leak check is disabled temporarily due to https://github.com/googleapis/google-cloud-go/issues/2417
2020-06-11 09:48:55 -07:00
eb11ffdf9b retry: prevent per-RPC creds error from being transparently retried (#3677) 2020-06-11 09:18:17 -07:00
9aa97f9cb4 stream: fix calloption.After() race in finish (#3672) 2020-06-10 18:00:24 -07:00
d5bc6ecb59 xds: Add cmpopts.EquateEmpty option in tests. (#3671)
Recently I have started seeing a lot of xds tests fail in travis when
doing cmp.Equal. Adding the EquateEmpty option will treat all maps and
slices of length zero as equal whether they are empty or nil.
2020-06-10 08:53:19 -07:00
479df5ea81 advancedtls: check error before deferring close (#3659) 2020-06-05 12:22:55 -07:00
ad51f572fd protoc-gen-go-grpc: add requirement of embedding UnimplementedServer in services (#3657) 2020-06-04 10:56:13 -07:00
42eed59dfa xds: handle errors in xds_client (#3658)
- xds_client
  - send resource-not-found error when a resource is removed for LDS or CDS
  - handle LDS resource-not-found to cancel RDS watch

- test update because it was expecting no update when resource is removed
- test cleanup to apply timeout to channels
2020-06-03 09:57:52 -07:00
cb7f5de3ff xds: handle errors in xds resolver (#3651) 2020-06-02 13:17:04 -07:00
a085b3e7f6 credentials/local: fix incorrect binding of listener port (#3656) 2020-06-01 14:55:19 -07:00
806b6fc596 xds: handle errors in cds balancer (#3649) 2020-05-29 09:43:40 -07:00
f818fd2a02 all: regenerate .pb.go files using cmd/protoc-gen-go-grpc (#3646)
Change regenerate.sh to use cmd/protoc-gen-go-grpc and rerun it.
This splits the gRPC service definitions into separate files, but
otherwise has no changes.
2020-05-28 13:52:49 -07:00
e0ec2b8320 doc: fix quickstart hyperlink in README (#3648) 2020-05-28 11:08:21 -07:00
acd5f84904 xds: handle errors in eds balancer (#3645) 2020-05-28 09:54:18 -07:00
6c9e30c09d cmd/protoc-gen-go-grpc: add code generator (#3453) 2020-05-27 14:15:25 -07:00
30c53e745c xds: move balancer/resolver registation to package xds (#3640) 2020-05-27 10:14:25 -07:00
e786c2dfb2 xds: eds balancer handleEDSUpdate cleanup (#3639) 2020-05-27 09:55:12 -07:00
5cd45224f8 internal: fix errors after merging (#3643) 2020-05-26 17:59:18 -07:00
eb827fbfd8 grpclb, dns: pass balancer addresses via resolver.State (#3614) 2020-05-26 15:24:52 -07:00
d071d56834 xds: handle weighted cluster as route action (#3613) 2020-05-26 13:58:04 -07:00
4709b05f2c transport: move append of header and data down to http2 write loop to save garbage (#3568) 2020-05-21 14:21:54 -07:00
5e50693410 credentials/alts: Fix ALTS record crypto interface comments (#3638) 2020-05-21 13:56:55 -07:00
d6e95de140 xds: rename subBalancerWithConfig to subBalancerWrapper (#3608) 2020-05-21 13:45:46 -07:00
5c35263ba8 internal: update rls.pb.go (#3637) 2020-05-21 13:20:06 -07:00
8bd46590eb xds: not cancel and restart RDS watch on the same LDS update (#3619) 2020-05-20 17:41:03 -07:00
9eb3e7ddf3 credentials: local creds implementation (#3517)
Local credentials should be used in either a UDS and local TCP connection. The former will be associated with the security level PrigvacyAndIntegrity while the latter is associated with NoSecurity. Local credentials should be used instead of WithInsecure for localhost connections.
2020-05-20 15:43:38 -07:00
636b0d84dd internal: fix typos (#3581) 2020-05-19 19:24:38 -07:00
96e5c84cc8 xds: rename resolver scheme to xds (#3621)
https://github.com/grpc/grpc-go/pull/3621
2020-05-19 10:04:23 -07:00
f5cae43845 Fix wording in keep alive documentation (#3625) 2020-05-18 14:18:06 -07:00
f62d68d513 benchmark: exit from UnconstrainedStreamingCall() when stream is canceled (#3623) 2020-05-18 13:39:57 -07:00
36493bc375 xds: stop expiry timer after receiving an update (#3615) 2020-05-13 11:03:21 -07:00
a6ab4473c5 cache: callback without cache's mutex (#3603) 2020-05-07 14:15:30 -07:00
42e450fade doc: update "A short introduction to Channelz" url (#3583) 2020-05-07 13:17:02 -07:00
695df7e2f9 status: wrap status proto in a struct (#3556) 2020-05-07 13:16:17 -07:00
10ccd46359 xds_client: make sure LDS sets ConfigSource to ADS (#3588) 2020-05-06 11:07:39 -07:00
c8482678eb advancedtls: remove test.Fatal() from child goroutine (#3595) 2020-05-04 10:01:09 -07:00
e7557c8282 xds: reject RDS response containing match with case-sensitive false (#3592) 2020-05-04 08:50:03 -07:00
a906ca0441 balancergroup: fix connectivity state (#3585)
- Stop sending empty update to sub-balancers at init time
 - At init, when only one sub-balancer reports transient failure, wait for other sub-balancers
 - When aggregating states, consider a sub-balancer turns Connecting from TransientFailure still in TransientFailure, so aggregated state doesn't stay connecting for a long time
2020-04-30 14:24:06 -07:00
661d4c9630 internal: update service_config.pb.go (#3584) 2020-04-29 15:00:09 -07:00
fe604e1fdf xds: add weighted_target balancer (#3541) 2020-04-29 12:56:03 -07:00
eedec2c1c3 advancedtls: add leaf cert in verify params (#3571) 2020-04-29 11:00:02 -07:00
4b0710563d internal: revert change to make travis always build proto (#3580) 2020-04-29 09:40:14 -07:00
695da821e9 interop: increase xds test client rpc timeout (#3579) 2020-04-28 19:30:16 -07:00