Mark D. Roth
b9aca8db8a
Second attempt: xDS Listener: use ValidationErrors and add unit test ( #31457 )
...
* Revert "Revert "xDS Listener: use ValidationErrors and add unit test (#31351 )" (#31456 )"
This reverts commit ab3d62ae8f
.
* Revert "Revert "xds_http_filters_test: fix includes for import (#31454 )" (#31455 )"
This reverts commit 32590d110a
.
* fix import
* work around internal differences in Any API (string vs. cord)
* iwyu
2 years ago
Craig Tiller
ab3d62ae8f
Revert "xDS Listener: use ValidationErrors and add unit test ( #31351 )" ( #31456 )
...
This reverts commit 7229bea2fd
.
2 years ago
Mark D. Roth
7229bea2fd
xDS Listener: use ValidationErrors and add unit test ( #31351 )
...
Additional changes:
- Use absl::variant<> to differentiate between API listeners and TCP listeners.
- Use absl::variant<> to differentiate between an RDS reference and an inline RouteConfig.
- Use common xDS extension code for transport socket extensions in both Listener and Cluster resources.
- Improve xDS HTTP filter registration mechanism.
- Use ValidationErrors for HTTP filter config validation.
2 years ago
Mark D. Roth
bd4b5d70c8
xDS: remove v2 support ( #31327 )
...
* xDS: remove v2 support
* remove unnecessary templating in fake xDS server code
* remove now-unnecessary workaround for clang bug
* clang-format
* fix unit tests
* iwyu
* remove now-unused v2 proto files
* fix from merge
* clang-format
* fix typo
2 years ago
Craig Tiller
9c98d67d7a
[c++14] absl::make_unique --> std::make_unique ( #31159 )
...
* [c++14] absl::make_unique --> std::make_unique
* fix
* fix
2 years ago
Craig Tiller
c2ab8c99bb
Revert "Revert "[c++] Move environment functions to C++ ( #30937 )" ( #30986 )" ( #30988 )
...
This reverts commit 96264e07b8
.
2 years ago
Craig Tiller
96264e07b8
Revert "[c++] Move environment functions to C++ ( #30937 )" ( #30986 )
...
This reverts commit 74c0d6fe3f
.
2 years ago
Craig Tiller
74c0d6fe3f
[c++] Move environment functions to C++ ( #30937 )
...
* [gprpp] Move env to C++
* move headers/impl
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
* Update http_proxy.cc
* fix
* fix
* rename
* fix merge
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
2c28b44852
subchannel: include IP address in status messages ( #30784 )
...
* subchannel: include IP address in status messages
* Automated change: Fix sanity tests
* add comment about lock annotations
* clang-format
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
121a08f6a9
end2end tests: apply test slowdown factor in various places where it was missed ( #30749 )
...
* e2e tests: add test scaling factor to durations in channel args
* apply test scaling factor when encoding durations in xDS protos
* apply scaling factor in fixed timeout in WaitForNack()
* fix overflow
* clang-format
* adjust timeouts in fault injection tests
* add missing slowdown factor
* clang-format
* add tests for duration multiplication
2 years ago
Vignesh Babu
09558e9052
Adjust rpc timeouts in xds tests to reduce Deadline exceeded errors in msan ( #30732 )
2 years ago
Mark D. Roth
fedba4654d
xds_routing_e2e_test: fix XdsRetryPolicyMaxBackOff flake ( #30649 )
2 years ago
Mark D. Roth
86e282ba97
weighted_target and RLS: delegate to child picker on error ( #29870 )
...
* weighted_target and RLS: delegate to child picker on error
* fix RLS bug that caused us to always use the last target in the list
* add comment
3 years ago
Mark D. Roth
f12972506e
xDS: improve status messages from xDS resolver failures ( #29975 )
3 years ago
Mark D. Roth
a78df68e96
xds: add "ignore_resource_deletion" server feature ( #29633 )
...
* xds: add "ignore_resource_deletion" server feature
* add logging
* clang-format
* fix build
* fix build
* add test for LDS resource deletion on gRPC server
* clang-format
3 years ago
Mark D. Roth
8459824e5c
xds end2end tests: change tests to check all RPC failure statuses ( #29974 )
...
* WIP
* fix from merge
* fix ring_hash tests
* ring hash: fix picker propagation bug in xds_cluster_manager policy
* fix build
* clang-format (ish)
* fix build
* more conversion
* remove old CheckRpcSendFailure
* fix SendRpcsAndCountFailuresWithMessage
* fix WaitForBackend
* clang-format
* revert xds resolver change, that will be done in a separate PR
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
3 years ago
Yash Tibrewal
5d9cdc8e67
xds: Add XdsLbRegistry ( #29756 )
...
* xds: Add XdsLbRegistry
* Formatting
* Fix upb output
* Allow alternative type url for Custom LBs
* Cleanup
* Reviewer comments
* Add some comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Fix tests
* Fix tests
* Fix tests
* Fix tests
* Fix tests
* Unused parameters
* Change to make TextFormat usage work internally
* Fix namespace qualification error
3 years ago
Mark D. Roth
6bda57194a
xds_end2end_test_lib: use DEBUG_LOCATION to log where failures originate ( #29444 )
3 years ago
Mark D. Roth
b9d904da58
xds_end2end_test: move routing tests to their own file ( #29409 )
...
* xds_end2end_test: move routing tests to their own file
* clang-format and clang-tidy
* re-add flaky label
3 years ago