Commit Graph

3856 Commits

Author SHA1 Message Date
Yash Tibrewal 7a5288d2a0 Replace disrespectful words 2021-02-08 14:29:18 -08:00
Richard Belleville 8d805b9b43 Figure out what year it is 2021-02-08 13:50:22 -08:00
Richard Belleville 5e23b2dcb7 Pull out context manager 2021-02-08 13:49:46 -08:00
Lidi Zheng 542e7cb409
Merge pull request #25357 from lidizheng/update-envoy
Update xDS protos
2021-02-08 13:15:54 -08:00
Richard Belleville c8c80fd998
Merge pull request #25366 from gnossen/python_xds_timeout_test
Python xDS Timeout Test Client
2021-02-08 11:10:41 -08:00
Richard Belleville d1efd2af6e Remove inadvertent addition 2021-02-08 10:54:43 -08:00
Richard Belleville 859269e511 Yapf 2021-02-08 10:37:10 -08:00
Richard Belleville accaddc098 Fix call sites 2021-02-05 18:02:16 -08:00
Richard Belleville 95b06a7bd4 Avoid dancing diff 2021-02-06 01:20:27 +00:00
Richard Belleville 6017b08300 Fix up cygrpc.Server call sites 2021-02-05 16:42:10 -08:00
Richard Belleville 3cf0266843 And back to enums again 2021-02-06 00:15:22 +00:00
Richard Belleville b47279d923 Clean up 2021-02-05 20:31:56 +00:00
Richard Belleville 2c35187473 Fix aio server 2021-02-05 12:27:18 -08:00
Richard Belleville 8960ddea24 Yapf 2021-02-05 20:07:47 +00:00
Richard Belleville a07674de5c Conform to updated test spec 2021-02-05 20:01:29 +00:00
Richard Belleville 2c2dd5c047 Merge remote-tracking branch 'origin/master' into python_xds_timeout_test 2021-02-05 19:55:28 +00:00
Richard Belleville 23f6d4c75f Merge remote-tracking branch 'origin/master' into python_xds_creds 2021-02-05 11:47:10 -08:00
Richard Belleville a905065a98 Yapf 2021-02-05 11:43:48 -08:00
Richard Belleville 8988646903 Clean up 2021-02-05 11:42:22 -08:00
Richard Belleville e803bdb578 Add API to initialize xDS server 2021-02-05 11:36:08 -08:00
Lidi Zheng 0b04a92aba Regenerate project 2021-02-05 10:22:24 -08:00
Lidi Zheng c78c6ae20d regenerate files 2021-02-04 17:16:22 -08:00
Lidi Zheng 50f2fdd3cf Update the BUILD chain for the moved protos 2021-02-04 17:08:16 -08:00
Esun Kim 0cf94e3fdd Add time-util 2021-02-01 17:31:46 -08:00
Richard Belleville 791626a28f Accept programmatic configuration of RPC timeout 2021-01-28 02:48:48 +00:00
Richard Belleville be1bdc7707 Report RPC statuses 2021-01-28 02:20:33 +00:00
Richard Belleville 20be83e886 Use the new insecure channel credential object 2021-01-27 16:19:49 -08:00
Mark D. Roth 0a0aae8ee8
Merge pull request #25215 from markdroth/c2p_resolver
Implement google-c2p resolver.
2021-01-26 15:03:26 -08:00
Richard Belleville 293d7c46fe Implement xds_channel_credentials and xds_server_credentials 2021-01-22 12:08:01 -08:00
Donna Dionne 19b1f8f64a Cds Watchers changes to support aggregate Cds and Logical DNS Cds. 2021-01-21 14:25:50 -08:00
Mark D. Roth 80ede5992a Implement google-c2p resolver. 2021-01-20 14:37:21 -08:00
Jan Tattermusch 0b1798412b
Revert "Wrap strerror into a thread-safe implementation" 2021-01-20 16:33:27 +01:00
Ashitha Santhosh 4ca878799b Refactor [String/Header/Path]matchers in xds_api. 2021-01-15 12:32:54 -08:00
Jan Tattermusch e2b170278c yapf format code 2021-01-14 11:14:11 +01:00
Richard Belleville 333fb32667 Merge pull request #25142 from gnossen/cb_interop_python
Python Circuit Breaking Interop Test Client Additions
2021-01-14 00:08:29 +00:00
Richard Belleville 4ea16b6a30
Merge pull request #25142 from gnossen/cb_interop_python
Python Circuit Breaking Interop Test Client Additions
2021-01-13 14:05:47 -08:00
Yang Gao 25c0d5974e
Merge pull request #25140 from yang-g/strerror
Wrap strerror into a thread-safe implementation
2021-01-13 13:35:25 -08:00
Sergii Tkachenko 88af4277c6 Python style: disambiguate list expand style for yapf 2021-01-13 14:25:44 -05:00
Richard Belleville b12ff43ba6 Yapf 2021-01-13 19:24:04 +00:00
Richard Belleville 244488928a Logger style 2021-01-13 19:05:50 +00:00
Richard Belleville 5080f4adb5 Add more return types 2021-01-13 19:03:59 +00:00
Sergii Tkachenko 8db79e2e71 Python style: reformat code using updated yapf 0.30.0 2021-01-13 14:00:12 -05:00
yang-g cf26f0133a Wrap strerror into a thread-safe implementation 2021-01-13 08:54:51 -08:00
Richard Belleville 56ee26ee6c Yapf 2021-01-13 01:03:17 +00:00
Richard Belleville 0be354eb51 Fix up client changes 2021-01-13 01:00:24 +00:00
Richard Belleville c4d3fc749f WIP. Implement CB interop test 2021-01-12 18:00:14 +00:00
Stanley Cheung fe2e96f9f3 Regenerate projects 2021-01-06 19:52:32 -08:00
Stanley Cheung 5564ac0cce Regenerate projects 2021-01-06 19:40:00 -08:00
Alexander Polcyn 8215b21dc1 move grpc_ares_ev_driver and fd_node definitions into grpc_ares_wrapper.cc 2020-12-28 11:51:16 -08:00
Alexander Polcyn ef52044862 remove unnecessary grpc_ares_wrapper_fallback.cc 2020-12-23 11:20:43 -08:00
Mark D. Roth 8439ed152e
Merge pull request #24920 from markdroth/client_channel_split4
Add dynamic filters between name resolution and load balancing.
2020-12-22 13:18:57 -08:00
Esun Kim d1bef160e5 Added upb/json 2020-12-21 19:16:52 -08:00
Esun Kim d24a66af72 Regen project files 2020-12-21 11:35:07 -08:00
Mark D. Roth 7d46e37251 Add dynamic filters between name resolution and load balancing. 2020-12-21 09:27:14 -08:00
Yash Tibrewal 4105d2ce20 XdsServerBuilder, config fetching per resolved address and delaying bind/listen till fetch is complete 2020-12-16 12:15:52 -08:00
Richard Belleville 9e58d0645b
Merge pull request #24993 from gnossen/lazy_import_grpc_tools
Lazily import grpc_tools when using runtime stub/message generation
2020-12-15 16:43:58 -08:00
Richard Belleville 416f8f6d5c Factor out error functions 2020-12-15 13:22:08 -08:00
Richard Belleville 3da0a9a68d Remove trailing whitespace 2020-12-14 18:04:38 -08:00
Richard Belleville faa4ea2863 Docstring. Formatting 2020-12-14 17:38:34 -08:00
Richard Belleville 6b06bf4938 Lazily import grpc_tools 2020-12-14 17:27:24 -08:00
Donna Dionne 4f8ed98f3e Xds cluster resolver
Implemented new xds cluster resolver config
Separated policy and discovery mechanism
2020-12-14 16:05:15 -08:00
Lidi Zheng 0dd3f7e65b
Merge pull request #24946 from lidizheng/abort-annotation
[Aio] Correct type annotation of grpc.aio.ServicerContext.abort
2020-12-09 14:44:12 -08:00
Lidi Zheng 45b4608a02 Correct the type annotation of abort 2020-12-09 10:10:30 -08:00
Yash Tibrewal c9e99945ec Add SANs matching for xDS credentials 2020-12-08 15:15:39 -08:00
AJ Heller 880a854f0e Convert URI parser to C++ #24701 2020-12-07 12:13:22 -08:00
Mark D. Roth d6298ed3dc
Merge pull request #24806 from markdroth/client_channel_split0
Eliminate ResolvingLoadBalancingPolicy.
2020-12-01 08:09:52 -08:00
Mark D. Roth 0e13934764 Eliminate ResolvingLoadBalancingPolicy. 2020-11-30 11:37:37 -08:00
Lidi Zheng 2d7d354c92
Merge pull request #24818 from lidizheng/aio-max-concurrent
Add limit concurrent RPC feature to asyncio server
2020-11-24 12:59:07 -08:00
Lidi Zheng 3da3cc2168 Add limit concurrent RPC feature to asyncio server
* Reduce the allocation of new function
2020-11-23 14:45:34 -08:00
Lidi Zheng 511af22c78 Hopefully fixed 27 build on winserver2016
* Download the working msys64 and use it to compile 27
* Remove the cygwin detection override logic
* Only install Python interpreters in jobs running on winserver2016
* Fix the batch script substring check
* Increase the timeout for related jobs
* TIL that there is an allow list for Kokoro env vars
2020-11-23 14:17:58 -08:00
Lidi Zheng a0883ea81a Found another typo in the comment 2020-11-20 13:24:45 -08:00
Lidi Zheng 06ce4cb51c Use the correct adjective for false 2020-11-20 13:04:09 -08:00
Lidi Zheng 2996c03114 Fix the emtpy response handling in streaming RPC 2020-11-20 12:16:21 -08:00
Chuan Ren 1faf030cc4 Add aws-sourced external credentials 2020-11-19 11:20:35 -08:00
yulin-liang 2ffa791ae6 Regenerate projects 2020-11-17 13:10:08 -08:00
Lidi Zheng cbab3b4dac Str and bytes have different interface... 2020-11-13 12:07:45 -08:00
Lidi Zheng 0e275f3d2b Change to explicitly encode 2020-11-13 12:07:45 -08:00
Lidi Zheng 892e7bacb1 Explicitly set encoding to ascii to prevent TypeError in 3.7+ 2020-11-13 12:07:44 -08:00
Mark D. Roth 28c795f542
Merge pull request #24618 from renkelvin/aws-signer
[3PI Support] Add aws signature v4 signer
2020-11-12 07:43:05 -08:00
Chuan Ren bedaeb5265 Add aws signature v4 signer 2020-11-11 15:55:16 -08:00
Lidi Zheng 4dab5d3deb
Merge pull request #24718 from lidizheng/stop-ctrl-c-spam
Stop the spamming log generated by ctrl-c for AsyncIO server
2020-11-11 15:14:27 -08:00
Yash Tibrewal 0b4c258354
Merge pull request #24711 from yashykt/filewatcherconfig
File watcher certificate provider config parsing
2020-11-11 02:23:13 -08:00
Yash Tibrewal d45bbe46e0 File watcher certificate provider config parsing 2020-11-10 15:49:23 -08:00
Lidi Zheng c0e0207fde Add the empty line back 2020-11-10 14:37:43 -08:00
Lidi Zheng a012edf10f Stop the ctrl-c spam 2020-11-10 14:33:14 -08:00
Lidi Zheng 89fa7203d0 Add a special optimization for 1 rpc unary-stream sync 2020-11-10 12:31:24 -08:00
Ben Reed eacf3ba54f
Make python qps_worker --server_port consistent
The python qps_worker was changed in grpc/grpc#24350, adding support for
the --server_port flag. When the --server_port flag was set, the python
worker ignored the port specified in the Scenario's ServerConfig.

This behavior was inconsistent with Java and Go. In the workers for
those languages, the --server_port flag was used only when the
Scenario's ServerConfig port was unset. It did not override.

This commit alters the behavior of the python qps_worker to match Java
and Go, similar to grpc/grpc#24661 for C++. In addition, it updates the
documentation for the flag.
2020-11-04 15:25:20 -08:00
capstan 3b9484afcb Rerun tools/buildgen/generate_projects.sh under Python 3.
This generates reordered lists, presumably dict traversal issues, and there are whitespace diffs in the emitted .json files.
2020-11-04 01:31:40 +01:00
yulin liang 75044f89f1
Merge pull request #24657 from yulin-liang/update-boringssl
1.34 Release [T - 4w] Updating boringssl
2020-11-03 13:53:47 -08:00
Esun Kim e0cbc7e5dd
Merge pull request #24245 from veblush/stacktrace
Add stack-tracer to gRPC
2020-11-03 13:50:41 -08:00
yulin-liang afc556a4c3 renegerate files 2020-11-03 11:53:12 -08:00
Chuan Ren 2b1265b42f Add file-sourced external credentials 2020-11-02 14:11:50 -08:00
Yash Tibrewal f0edcac24b
Merge pull request #24579 from yashykt/xdscertificateprovider
Add XdsCertificateProvider
2020-11-02 11:28:45 -08:00
Esun Kim f3e75c1fa9 Add stack-tracer to gRPC 2020-11-01 23:02:39 -08:00
Lidi Zheng 0bad97452d
Merge pull request #24614 from lidizheng/not-found-windows
Fix a typo in Python's Windows build
2020-10-30 12:51:05 -07:00
Yash Tibrewal e11a670736 Add XdsCertificateProvider 2020-10-30 10:15:57 -07:00
Lidi Zheng 1eedd0a693 Add extra safe guard to prevent this function misbehave again 2020-10-30 10:15:33 -07:00
Lidi Zheng ca2b0f5f07 Fix typo in Python's Windows build 2020-10-29 17:15:31 -07:00
ZhenLian d5d35650b0 add API to get last modification time of a file 2020-10-29 10:43:29 -07:00
Lidi Zheng 3c17848cee
Merge pull request #24576 from lidizheng/unary-stream-exp
Add support for unary-stream benchmarking for Python
2020-10-27 14:12:25 -07:00