Esun Kim
ea22dd6f1b
Merge pull request #24953 from veblush/upb-descriptor
...
Clean up descriptor.upbdefs dependency of BUILD
4 years ago
Donna Dionne
83d6d96c86
Add Missing test case: present match
...
Interop reported an error for a present match and it is discovered this
case is missing from unit test. We have test for present (false) and we
have special case test but we don't have the normal present (true) test.
We also had a bug in a our code:
if (!value.has_value()) {
if (header_matcher.type ==
XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::PRESENT) {
return !header_matcher.present_match;
} else {
// For all other header matcher types, we need the header value to
// exist to consider matches.
return false;
}
}
switch (header_matcher.type) {
case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::EXACT:
return value.value() == header_matcher.string_matcher;
case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::REGEX:
return RE2::FullMatch(value.value().data(), *header_matcher.regex_match);
case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::RANGE:
int64_t int_value;
if (!absl::SimpleAtoi(value.value(), &int_value)) {
return false;
}
return int_value >= header_matcher.range_start &&
int_value < header_matcher.range_end;
case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::PREFIX:
return absl::StartsWith(value.value(), header_matcher.string_matcher);
case XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::SUFFIX:
return absl::EndsWith(value.value(), header_matcher.string_matcher);
default:
return false;
}
Note if header has value, we will go into the swtich but there is no case
XdsApi::Route::Matchers::HeaderMatcher::HeaderMatcherType::PRESENT,
which means we would have gone into default and decleared not a match.
The same day this bug was discovered by interop test, https://github.com/grpc/grpc/pull/25122
was submitted and the refactoring fixed the bug.
Nevertheless, I added the test case for the future.
4 years ago
donnadionne
d17ef6be04
Merge pull request #25139 from donnadionne/switch_bug
...
Fixing TryNextPrioirtyLocked to ensure we properly try higher priorities when lower ones fail
4 years ago
Ashitha Santhosh
05406e208b
Merge pull request #25122 from ashithasantosh/matchers
...
Refactor [String/Header/Path]Matcher in xds_api.
4 years ago
Sergii Tkachenko
24aafd16bb
Merge pull request #25107 from dapengzhang0/run-xds-v3-report
...
Change run_xds_tests.py default bootstrap to support v3
4 years ago
Doug Fawley
9a6d1b520f
Merge pull request #25164 from dfawley/go_release
...
Add v1.35.0 release of grpc-go to interop matrix
4 years ago
Ashitha Santhosh
4ca878799b
Refactor [String/Header/Path]matchers in xds_api.
4 years ago
Richard Belleville
273ed1fea0
Make patch work for downstream dependencies
4 years ago
Richard Belleville
4a300de663
Merge pull request #25152 from gnossen/backport_25142
...
[Backport] Python Circuit Breaking Interop Test Client Additions
4 years ago
Menghan Li
4860738db7
Merge pull request #25170 from menghanl/path_matching_regex
...
xds testing: add regex path matching test
4 years ago
Menghan Li
1dc357a2b1
Merge pull request #25141 from menghanl/lrs_failover_test
4 years ago
Penn (Dapeng) Zhang
5fe5a29965
fix sanity check again
4 years ago
Yash Tibrewal
2c3fbc91a7
Merge pull request #25008 from yashykt/xds_server_cont
...
xDS Server Config Fetcher
4 years ago
Penn (Dapeng) Zhang
b4a98b0a67
fix sanity check
4 years ago
Jan Tattermusch
4033defea9
Merge pull request #25163 from jtattermusch/remove_rules_python_duplicate
...
grpc_python_deps.bzl: remove duplicate rules_python entry
4 years ago
Jan Tattermusch
d446ec036f
Merge pull request #24861 from dapeng-mi/master
...
Bug fix: decode bytes object to string for subprocess.check_output ou…
4 years ago
Menghan Li
898671eb4e
xds testing: add regex path matching test
4 years ago
Hu Shuai
6c6926954d
Fix typo
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
4 years ago
Penn (Dapeng) Zhang
d8e77ce36b
revert _v3 suffix to log dir
4 years ago
Richard Belleville
728f2a2f2a
Update to server-3
4 years ago
Penn (Dapeng) Zhang
33640690c2
add TOOD to remove default value
4 years ago
Penn (Dapeng) Zhang
22444604a4
revert grpc_xds_bazel_test_in_docker.sh
4 years ago
Donna Dionne
4715bbc220
Fixing TryNextPrioirtyLocked to ensure we properly try higher priorities when lower ones fail
4 years ago
Richard Belleville
99d20dfab3
Add patch to protobuf
4 years ago
Yash Tibrewal
ac4f4de196
xDS server config fetcher
4 years ago
Richard Belleville
0539a63274
Merge pull request #25166 from gnossen/python_cb_interop_image
...
Update Server Image for Python xDS Interop Tests
4 years ago
Menghan Li
6851eeefaa
xds testing: add failover test based on load
4 years ago
Adam J Heller
03bcab4edf
Merge pull request #25150 from drfloob/iomgr-posix-header-cleanup
...
Remove unused header iomgr_posix.h
4 years ago
Menghan Li
eb0b206732
Merge pull request #25151 from menghanl/matching_test_fail
...
xds testing: make header matching and path matching fail properly
4 years ago
AJ Heller
33cba7ea39
Remove unused header iomgr_posix.h
...
This header file only served to include iomgr_internal.h, which most
depedent code already includes.
4 years ago
Richard Belleville
278b0a8af4
Update to server-3
4 years ago
Mark D. Roth
652d10cd1d
Merge pull request #25147 from markdroth/xds_bootstrap_fallback
...
Add internal API for setting fallback xDS bootstrap contents.
4 years ago
Ashitha Santhosh
ab9b01a03b
Merge pull request #25129 from ashithasantosh/sdk_authorization_policy
...
gRPC SDK Authorization Policy proto.
4 years ago
Menghan Li
609fd3c01b
xds testing: make header matching and path matching fail properly
4 years ago
Doug Fawley
817e34d56b
Add v1.35.0 release of grpc-go to interop matrix
4 years ago
Mark D. Roth
39b478d3ba
Add internal API for setting fallback xDS bootstrap contents.
4 years ago
Jan Tattermusch
a450d36fea
Merge pull request #25161 from jtattermusch/yapf_format_code
...
fix sanity test: yapf format code
4 years ago
Jan Tattermusch
b1d951787a
grpc_python_deps.bzl: remove duplicate rules_python entry
4 years ago
Jan Tattermusch
e2b170278c
yapf format code
4 years ago
Jan Tattermusch
0cdbad935d
Revert "replace pip_import by pip_install in python bazel build"
...
This reverts commit d8f2c1525c
.
4 years ago
Jan Tattermusch
cb0acf8b21
Revert "upgrade io_bazel_rules_python to 0.1.0"
...
This reverts commit 7f779bc4c2
.
4 years ago
Jan Tattermusch
6bb6900b65
re-run tools/distrib/python/make_grpcio_tools.py
4 years ago
Jan Tattermusch
fec9c545c3
include a bugfix in third_party/protobuf
4 years ago
Stanley Cheung
8dfb66b53e
Merge pull request #25019 from HannahShiSFB/phpunit8-warnings
...
PHP: fix phpunit 8 warnings
4 years ago
Eric Gribkoff
b8b402d513
Add Java v1.35.0 to interop matrix
4 years ago
Richard Belleville
333fb32667
Merge pull request #25142 from gnossen/cb_interop_python
...
Python Circuit Breaking Interop Test Client Additions
4 years ago
Adam J Heller
3c8a2fee6b
Merge pull request #25148 from drfloob/fix-reference-typo
...
Fix typo in documentation
4 years ago
Richard Belleville
4ea16b6a30
Merge pull request #25142 from gnossen/cb_interop_python
...
Python Circuit Breaking Interop Test Client Additions
4 years ago
Yang Gao
25c0d5974e
Merge pull request #25140 from yang-g/strerror
...
Wrap strerror into a thread-safe implementation
4 years ago
Sergii Tkachenko
db7e2171b0
Merge pull request #25071 from sergiitk/update-yapf-0-30
...
Python style: update yapf to 0.30.0, reformat code
4 years ago