Easwar Swaminathan
52ca957106
xds: make comparison of server configs in bootstrap more reliable ( #6112 )
2023-03-14 18:37:14 -07:00
Easwar Swaminathan
e83e34be0b
xds/resolver/test: use a non-blocking send instead of closing the channel ( #6082 )
2023-03-06 13:57:32 -08:00
Easwar Swaminathan
5353eaa440
testing: add helpers to configure cluster specifier plugin type ( #5977 )
2023-02-21 19:30:13 -08:00
Arvind Bright
081499f2e8
xds: remove support for v2 Transport API ( #6013 )
2023-02-14 13:35:52 -08:00
Easwar Swaminathan
a6376c9893
xds/resolver: cleanup tests to use real xDS client 3/n ( #5953 )
2023-01-24 19:16:33 -08:00
Easwar Swaminathan
bf8fc46fa6
xds/resolver: cleanup tests to use real xDS client 5/n ( #5955 )
2023-01-24 15:09:06 -08:00
Kyle J. Burda
3930549b38
resolver: replace resolver.Target.Endpoint field with Endpoint() method ( #5852 )
...
Fixes https://github.com/grpc/grpc-go/issues/5796
2023-01-24 12:03:56 -08:00
Easwar Swaminathan
4adb2a7a00
xds/resolver: cleanup tests to use real xDS client 2/n ( #5952 )
2023-01-23 16:56:37 -08:00
Easwar Swaminathan
bc9728f98b
xds/resolver: cleanup tests to use real xDS client 4/n ( #5954 )
2023-01-19 16:16:47 -08:00
Easwar Swaminathan
6e749384f7
xds/resolver: cleanup tests to use real xDS client ( #5950 )
2023-01-18 14:57:16 -08:00
Easwar Swaminathan
ace808232f
xdsclient: close func refactor ( #5926 )
...
Fixes https://github.com/grpc/grpc-go/issues/5895
2023-01-18 11:32:40 -08:00
Easwar Swaminathan
980790869b
rls: support `routeLookupChannelServiceConfig` field ( #5176 )
2022-01-31 12:49:45 -08:00
Zach Reyes
3786ae1778
xds/resolver: Add support for cluster specifier plugins ( #4987 )
...
* xds/resolver: Add support for cluster specifier plugins
2021-12-06 13:41:14 -05:00
Doug Fawley
d61c7ae86d
internal: merge xds/envconfig into env package ( #4923 )
2021-11-10 17:05:08 -08:00
Easwar Swaminathan
714ba8d517
xds: move balancergroup and weightedtarget our of xds directory ( #4966 )
2021-11-09 11:59:10 -08:00
Menghan Li
59e024e4c7
xds/client: move watchers from xdsclient to a separate struct ( #4963 )
2021-11-09 10:32:16 -08:00
Menghan Li
c53203c581
xds/federation: support populating resource template in xds-resolver ( #4900 )
2021-11-08 14:17:48 -08:00
Menghan Li
79e9c9571a
xds/client: move unmarshal functions and types to a separate package ( #4904 )
2021-11-08 11:11:24 -08:00
Menghan Li
2d4e44a0cd
xds/affinity: fix bugs in clusterresolver and xds-resolver ( #4744 )
2021-09-14 16:11:03 -07:00
Tobias Klauser
ed501aa1fd
xds/internal/resolver: update github.com/cespare/xxhash to v2 ( #4671 )
...
github.com/cespare/xxhash/v2 supports Go ≥ 1.11 and this package states
1.11 in its go.mod file. The only symbol used from the xxhash package is the
Sum64String func which still exists and works the same in v2.
This gets rid of two indirect dependencies.
2021-09-01 14:08:00 -04:00
Zach Reyes
198d951db5
xds: Instantiated HTTP Filters on Server Side ( #4669 )
...
* Instantiated HTTP Filters on Server Side
2021-08-31 09:27:06 -04:00
Easwar Swaminathan
712e8d4f57
Remove support for Go 1.13 and older (cont) ( #4706 )
2021-08-25 14:51:41 -07:00
Zach Reyes
ad87ad0098
xds: Add support for Dynamic RDS in listener wrapper ( #4655 )
...
* Add support for Dynamic RDS in listener wrapper
2021-08-11 18:48:24 -04:00
Doug Fawley
74fe073e9a
Revert "xds: require router filter when filters are empty" ( #4556 )
...
This reverts commit 00ae0c57cc .
2021-06-17 16:53:52 -07:00
Aliaksandr Mianzhynski
00ae0c57cc
xds: require router filter when filters are empty ( #4553 )
2021-06-17 10:23:18 -07:00
Zach Reyes
633fbe4dfe
xds: generate per-request hash config selector ( #4525 )
...
* xds: generate per-request hash in config selector
2021-06-17 09:00:05 -04:00
Doug Fawley
6351a55c38
xds: remove env var protetion of advanced routing features ( #4529 )
2021-06-10 09:33:06 -07:00
Menghan Li
b1418a6e74
xds: export XDSClient interface and use it in balancer tests ( #4510 )
...
- xdsclient.New returns the interface now
- xdsclient.SetClient and xdsclient.FromResolverState take and return the interface now
- cleanup xds balancer tests to pass xds_client in resolver state
2021-06-08 16:05:50 -07:00
Doug Fawley
d30e2c91a0
xds/resolver: test xds client closed by resolver Close ( #4509 )
2021-06-07 17:13:48 -07:00
Doug Fawley
7beddeea91
cleanup: remove "Interface" as suffix of (almost all) interface names ( #4512 )
2021-06-04 08:58:26 -07:00
Doug Fawley
5c164e2b8f
xds: rename xds/internal/client package to xdsclient ( #4511 )
2021-06-03 16:10:21 -07:00
Doug Fawley
0439465fe2
xds_resolver: fix flaky Test/XDSResolverDelayedOnCommitted ( #4393 )
...
Before this change, if two xds client updates came too close together, the second one could replace the first one. The fix is to wait for the effects of the first update before sending the second update. I injected a synthetic delay into handling the updates from the channel to reproduce this flake 100%, and confirmed this change fixes it.
As part of this change I also noticed that we're actually calling the context cancellation function twice via defers, and never the cancel function from the test setup, so I fixed that, too.
2021-05-07 11:57:56 -07:00
Doug Fawley
74fe6eaa41
github: testing action workflow improvements and update to test Go1.16 ( #4358 )
2021-04-22 14:59:51 -07:00
Zach Reyes
1c598a11a4
Move exponential backoff to DNS resolver from resolver.ClientConn ( #4270 )
2021-04-20 13:20:09 -04:00
Menghan Li
1895da54b0
xds/resolver: fix panic when two LDS updates are receives without RDS in between ( #4327 )
...
Also confirmed that the LDS updates shouldn't trigger state update without the
RDS.
2021-04-08 11:34:02 -07:00
Menghan Li
d26af8e391
admin: implement admin services ( #4274 )
2021-03-22 15:14:11 -07:00
Doug Fawley
61f0b5fa7c
client: implement proper config selector interceptors ( #4235 )
2021-03-05 13:31:34 -08:00
Doug Fawley
60843b1066
xds: add support for HTTP filters (gRFC A39) ( #4206 )
2021-02-25 14:04:15 -08:00
Doug Fawley
083393f287
xds/resolver: fix resource deletion ( #4143 )
2021-01-08 16:47:46 -08:00
Doug Fawley
6a318bb011
xds: add HTTP connection manager max_stream_duration support ( #4122 )
2021-01-08 10:14:53 -08:00
Doug Fawley
15458d2820
xds: implement RouteAction timeout support ( #4116 )
2020-12-17 10:40:27 -08:00
Easwar Swaminathan
20f4a84610
xds: Expect certprovider bootstrap configs when xdsCreds are in use ( #4111 )
2020-12-15 14:46:55 -08:00
Doug Fawley
4cd551eca7
xds: split routing balancer into config selector + cluster manager ( #4083 )
2020-12-15 14:01:04 -08:00
Menghan Li
40076094f6
xds: call xdsclient.New instead of getting xds_client from attributes ( #4032 )
2020-11-19 13:15:38 -08:00
Easwar Swaminathan
22dba5eb4b
xds: Remove usages of grpc.WithInsecure(). ( #4028 )
2020-11-12 12:13:25 -08:00
Menghan Li
6caf9d8621
xds: make xds client a singleton ( #4015 )
...
- xdsclient.New() no longer takes any input, all configs are from bootstrap file
- added a NewForTesting()
- The returned *Client is a wrapper of the underlying client implementation, for ref-couting
- xds-resolver and xds-server no longer calls bootstrap.NewConfig. It only calls xdsclient.New()
2020-11-12 11:08:36 -08:00
Menghan Li
71ef09e69a
xdsResolver: call WatchListener and WatchRDS, instead of WatchService ( #3972 )
2020-10-27 15:56:59 -07:00
Menghan Li
4270c3cfce
xds bootstrap: support insecure and make Creds required ( #3881 )
2020-09-17 11:05:45 -07:00
Easwar Swaminathan
9ec6f11015
xds: Exit from run() goroutine when resolver is closed. ( #3882 )
2020-09-16 14:53:49 -07:00
Easwar Swaminathan
d25c71b543
testutils: Add a context parameter to the Receive() method. ( #3835 )
2020-08-27 13:55:15 -07:00