3377 Commits

Author SHA1 Message Date
cee815dbe3 Added support for proto3 field presence (#3752) 2020-07-23 09:01:20 -07:00
a1ace9105a xdsrouting: resolver to generate service config with routes, and pick routing balancer (#3751) 2020-07-22 14:36:22 -07:00
a5a36bd3f0 client: set auth header to localhost for unix target (#3730) 2020-07-21 14:07:03 -07:00
5f0e72845e xdsrouting: balancer implementation (#3746) 2020-07-21 11:55:49 -07:00
ca3959a1b2 xdsrouting: handle route fields in xds_client (#3747) 2020-07-20 14:04:46 -07:00
266c7b6f82 xdsrouting: add fake headers (#3748) 2020-07-20 13:40:03 -07:00
6dc7938fe8 xdsrouting: balancer config parsing (#3734) 2020-07-16 16:38:30 -07:00
e2f575e56f xdsrouting: all matchers (#3733) 2020-07-16 16:05:47 -07:00
08e6bb1878 examples: change xds example to import xds instead of experimental (#3745) 2020-07-16 15:42:53 -07:00
6e77a8b2f6 xds: delete experimental package and experimental scheme (#3729) 2020-07-16 13:37:27 -07:00
1154df9a4e balancer: remove deprecated type aliases as planned (#3742) 2020-07-16 13:20:46 -07:00
dd8658f921 credentials: check and expose SPIFFE ID (#3626)
* credentials: check and expose SPIFFE ID
2020-07-15 23:10:55 -07:00
9fcde86ebe credentials/alts: Change ALTS hsConn to a map (#3741) 2020-07-15 13:08:37 -07:00
46d42f139d README: adjust links, and slight rework of page (#3736) 2020-07-15 10:41:05 -07:00
a6c3c6968e examples: cleanup README.md (#3738) 2020-07-14 16:59:29 -07:00
d8193ee9cc xds: Add v3 support for client bootstrap. (#3723) 2020-07-09 16:23:28 -07:00
abfbf74f21 doc: fix references to status methods (#3702) 2020-07-09 13:39:24 -07:00
34053813f1 codes: document which error codes can be returned by the framework (#3699)
This commit essentially copies the information from the second section of the gRPC core
documentation about status codes at
https://grpc.github.io/grpc/core/md_doc_statuscodes.html
into the Go documentation of the status codes, to increase visibility.
2020-07-09 13:32:33 -07:00
a86c873a73 cleanup: fix mention of healthcheck to health (#3731) 2020-07-09 13:09:50 -07:00
e8fb6c1752 credentials/sts: PerRPCCreds Implementation (#3696) 2020-07-09 12:15:45 -07:00
9af290fac4 balancergroup: move balancer state (connectivity state and picker) building out (#3685) 2020-07-08 17:41:40 -07:00
4258d12073 service config: add default method config support (#3684) 2020-07-06 17:56:02 -07:00
3de8449f85 xds: use logging components (#3718) 2020-06-30 12:04:42 -07:00
68098483a7 advancedtls: Add system default CAs to config function (#3663)
* Add system default CAs to config function
2020-06-27 16:05:33 -07:00
c95dc4da23 doc: mark CustomCodec as deprecated (#3698) 2020-06-26 12:56:03 -07:00
506b773066 Implemented component logging (#3617) 2020-06-26 12:04:47 -07:00
4241954407 xds: Move test only utility method to testutils. (#3715) 2020-06-25 20:03:47 -07:00
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