Easwar Swaminathan
bc01f3fa87
certprovider: API tweaks. ( #3987 )
2020-11-06 11:24:57 -08:00
ZhenLian
5d7f8c9ae4
advancedtls: make example to use new pemfile API ( #4012 )
...
* advancedtls: make example to use new pemfile API
2020-11-05 23:51:15 -08:00
Menghan Li
25ddfddb4f
rds: allow case_insensitive path matching ( #3997 )
...
- in xds_client, accept (not NACK) RDS resp with case_insensitive=true
- pass case_insensitive to xds resolver and routing balancer
- Note that after the config selector change, the routing balancer will be removed, and
this will be handled in the resolver config selector
2020-11-05 15:04:08 -08:00
Gaurav Gahlot
d7a7a304ff
testing: Avoid using context.Background ( #3949 )
2020-11-05 09:25:17 -08:00
Chongyang Shi
c6fa12175f
Fix a typo in interceptor example's README.md ( #4014 )
2020-11-04 09:28:19 -08:00
Easwar Swaminathan
ea89aca6c6
xds: Add a package to hold environment variables. ( #4002 )
2020-11-04 07:37:33 -08:00
Menghan Li
9a3c6618ee
xds: remove xdsclient.New from EDS balancer ( #4001 )
2020-11-03 15:34:12 -08:00
Menghan Li
15ae9fc2b2
internal: increase timeout non timeout test in xds/client/v2 ( #4006 )
2020-11-02 13:53:44 -08:00
Easwar Swaminathan
4e179b8d3e
pemfile: Move file watcher plugin from advancedtls to gRPC ( #3981 )
2020-10-30 15:52:55 -07:00
Easwar Swaminathan
fe9c99ff4c
xds: CDS balancer security integration. ( #3955 )
2020-10-30 15:52:14 -07:00
Doug Fawley
f4d9cca4f7
github: add Github Actions workflow for tests; support in vet.sh ( #4005 )
2020-10-30 14:37:13 -07:00
Easwar Swaminathan
c8ef9bc957
xds: Check name of transport socket received in Cluster response. ( #3988 )
2020-10-30 09:34:18 -07:00
Nick Jones
89faf1c3e8
internal/transport: fix a bug causing -bin metadata to be incorrectly encoded. ( #3985 )
...
Most interfaces for adding metadata to a context downcase keys, except metadata.AppendToOutgoingContext (presumably for performance reasons). Documentation for metadata.AppendToOutgoingContext, referring to that of metadata.Pairs, states that metadata keys are downcased.
The bug is manifest if you use metadata.AppendToOutgoingContext to add metadata with a non-downcased `-Bin` suffix. http2Client will not encode such metadata, as encodeMetadataHeader just performs a lower suffix check.
2020-10-29 13:52:55 -07:00
Menghan Li
b045bc88c6
priority: add policy config parsing ( #3936 )
2020-10-29 10:16:05 -07:00
Menghan Li
fe98b4c668
doc: update keepalive.md to add why ( #3993 )
2020-10-29 10:15:45 -07:00
Easwar Swaminathan
15a78f1930
xds: Minor cleanup in client/v2 tests. ( #3989 )
2020-10-27 17:29:21 -07:00
Menghan Li
71ef09e69a
xdsResolver: call WatchListener and WatchRDS, instead of WatchService ( #3972 )
2020-10-27 15:56:59 -07:00
Aaron Jheng
4e6166f62b
Documentation: fix outgoing metadata example code ( #3979 )
2020-10-27 10:54:58 -07:00
ZhenLian
829af019ba
advancedtls: add examples for reloading from file system ( #3976 )
...
* add examples for reloading from file system
2020-10-27 09:58:31 -07:00
Menghan Li
a223251d8b
lrs: handle multiple clusters in LRS stream ( #3935 )
2020-10-26 15:47:47 -07:00
Igor Zibarev
e8e22874d1
Remove experimental comment from client interceptors ( #3948 )
2020-10-26 07:33:18 -07:00
Doug Fawley
a80e650182
cmd/protoc-gen-go-grpc: bump -version to 1.0.1 for release ( #3984 )
2020-10-23 13:18:32 -07:00
Márk Sági-Kazár
3e67a200eb
Add GitHub release action ( #3962 )
2020-10-23 13:09:56 -07:00
Easwar Swaminathan
eb7fc22e45
credentials/xds: Handle no acceptedSANs correctly. ( #3965 )
2020-10-22 13:37:57 -07:00
Menghan Li
37b72f944a
xdsclient: populate error details for NACK ( #3975 )
2020-10-22 13:20:03 -07:00
Menghan Li
0e8f1cda01
manual resolver: delete GenerateAndRegisterManualResolver ( #3960 )
...
Tests are using WithResolver dial option.
2020-10-22 13:14:27 -07:00
Doug Fawley
4e8458e5c6
protobuf: update all generated code to google.golang.org/protobuf ( #3932 )
2020-10-21 16:05:44 -07:00
Easwar Swaminathan
8153ecea73
credentials/insecure: Implement insecure credentials. ( #3964 )
2020-10-21 15:07:37 -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
ZhenLian
ce5e366556
advancedtls: add PemFileProvider integration tests ( #3934 )
...
* advancedtls: add PemFileProvider integration tests
2020-10-19 13:54:02 -07:00
Garrett Gutierrez
4be647f7f6
internal/resolver/unix: Implemented unix resolver. ( #3890 )
2020-10-16 11:52:54 -07:00
Menghan Li
ea47aa91b3
xdsClient: change WatchRDS to return all virtual hosts ( #3944 )
...
Instead of finding the best matching domain for the service, and return only
that one virtual host's routes.
This removes the lds request name from the xds client, and makes it xds client
handle multiple RDS watches, so one xds client can be shared by multiple
ClientConns.
This also removes some response validation from the client (e.g. if no virtual
host matches what the client is asking for, the response won't be nack'ed).
2020-10-15 15:21:24 -07:00
ZhenLian
c6cfaba14d
advancedtls: Get Instant Updates Before Ticker Runs ( #3959 )
...
* get instant updates before ticker runs
2020-10-15 11:47:34 -07:00
Doug Fawley
7b167fd6ec
encoding/proto: simplify & optimize proto codec ( #3958 )
2020-10-14 14:51:13 -07:00
Easwar Swaminathan
7745e521ff
meshca: Use grpc suffix for grpc specific generated code. ( #3954 )
2020-10-13 13:51:00 -07:00
ZhenLian
bc36dc2cbd
advancedtls: fix build on version prior to 1.14 ( #3950 )
...
* advancedtls: fix build on version prior to 1.14
2020-10-13 12:30:16 -07:00
ZhenLian
3c400e7fcc
advancedtls: clean up test files and shared code ( #3897 )
...
* advancedtls: clean up test files and shared code
2020-10-10 13:47:49 -07:00
ZhenLian
84e85f71c9
internal/credentials: fix a bug and add one more helper function SPIFFEIDFromCert ( #3929 )
...
* internal/credentials: fix a bug and add one more helper function
2020-10-09 12:57:50 -07:00
Piyush Mishra
9abcdab70a
cmd/protoc-gen-go-grpc: fix method name in interceptor info ( #3889 )
2020-10-09 10:03:07 -07:00
Easwar Swaminathan
06c094c3ab
xds/client: Process security configuration from Cluster resource ( #3931 )
2020-10-08 15:50:51 -07:00
Garrett Gutierrez
f0db9671c2
Change version to 1.34.0-dev ( #3941 )
2020-10-08 13:41:00 -07:00
Menghan Li
5af60402cd
lrs: add Store.Stats() to report loads for multiple clusters ( #3905 )
...
- unexport `perClusterStore` and it's `stats()`
- add `Store.Stats(clusterNames)` to report loads for the given clusters
- refactor store's map to a two layer map
- move `lastLoadReportAt` from client ton the load store, because a client can now have multiple clusters, each with a different `lastLoadReportAt`
- all tests will ignore `ReportInterval` when comparing Data
2020-10-07 10:39:58 -07:00
George Kechagias
7464f756ae
channelz: remove redundant case from AddTraceEvent and remove caps from severities ( #3925 )
...
Rename UNKNOWN and INFO severities removing caps to match that of Warning and Error severities.
Remove redundant case from AddTraceEvent switch-case.
2020-10-07 08:50:23 -07:00
Easwar Swaminathan
c07366085d
xds: Cleanup CDS balancer code and tests. ( #3916 )
2020-10-06 16:16:56 -07:00
Sorah Fukumori
9a3c02f983
http2_client: fix reader segfault on PROTOCOL_ERRORs ( #3926 )
2020-10-06 14:21:57 -07:00
Easwar Swaminathan
dad518ae5e
xds: Refactor/cleanup xds client tests. ( #3920 )
2020-10-05 08:36:34 -07:00
Doug Fawley
b2c5f4a808
stalebot: send first ping after 6 days ( #3923 )
2020-10-02 12:40:53 -07:00
Easwar Swaminathan
d5280589eb
xds/bootstrap: Use correct format for "certificate_providers" field. ( #3922 )
2020-10-02 12:31:14 -07:00
Doug Fawley
8fbea72764
cmd/protoc-gen-go-grpc: add --version flag support ( #3921 )
2020-10-02 11:27:35 -07:00
Gaurav Gahlot
d9063e7af3
standardized experimental warnings ( #3917 )
2020-10-02 09:11:08 -07:00