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
Lidi Zheng
85228ef34a
s/streamming/streaming/g
2020-10-26 17:11:11 -07:00
Lidi Zheng
36b46b104a
Add support for unary-stream benchmarking for Python
2020-10-26 16:50:57 -07:00
Richard Belleville
efb843980c
Merge pull request #24523 from gnossen/single_threaded_future
...
Implement grpc.Future interface in SingleThreadedRendezvous
2020-10-26 15:32:35 -07:00
ZhenLian
4d80f376a3
Merge pull request #24227 from ZhenLian/zhen_dynamic_file_reloading_3
...
C-core changes for TLS credentials
2020-10-26 13:38:39 -07:00
Richard Belleville
9b24faf188
Add comment about timeout argument
2020-10-23 16:01:19 -07:00
Esun Kim
4efde0b477
Generating projects
2020-10-23 13:22:38 -07:00
ZhenLian
518ed1303c
Add Credential Loading From Static Providers For TLS Credentials
2020-10-22 13:55:31 -07:00
Richard Belleville
928e3b2fa5
Spruce up docstrings
2020-10-21 21:55:02 -07:00
Richard Belleville
f2059ee6be
Implement grpc.Future interface in SingleThreadedRendezvous
2020-10-21 20:35:18 -07:00
Mark D. Roth
62cfb36c60
Merge pull request #24411 from renkelvin/url
...
[3PI Support] Add url-sourced external account credentials
2020-10-21 08:48:34 -07:00
Yash Tibrewal
cf26660f44
Merge pull request #24408 from yashykt/castore
...
Certificate Provider Store implementation
2020-10-21 01:18:09 -07:00
Yash Tibrewal
ea027f0ef5
CertificateProviderStore implementation
2020-10-20 23:05:36 -07:00
Richard Belleville
de90ff64d5
Merge pull request #24478 from gnossen/runtime_protos_wkt
...
[gRPC Easy] Make Well-Known Types Available to Runtime Protos
2020-10-20 20:08:14 -07:00
Chuan Ren
4c93d36d08
Add url-sourced external credentials
2020-10-20 13:56:55 -07:00
Richard Belleville
905bb9834a
Switch names around
2020-10-20 13:31:36 -07:00
Lidi Zheng
e861546b3c
Replace grpc_shutdown_blocking with grpc_shutdown in Cython
2020-10-19 17:08:01 -07:00
Richard Belleville
f13b324941
Include well-known types in sys.path when using runtime protos
2020-10-19 13:02:33 -07:00
Mark D. Roth
e05c5da2c8
Merge pull request #24419 from markdroth/xds_cluster_impl_lb
...
Move circuit breaking, EDS drops, and load reporting to xds_cluster_impl policy.
2020-10-16 09:24:04 -07:00
Mark D. Roth
e496705ea3
Move circuit breaking, EDS drops, and load reporting to xds_cluster_impl policy.
2020-10-16 07:29:08 -07:00
Mark D. Roth
27795e7cad
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-10-15 20:05:29 -07:00
Lidi Zheng
684b5d1f47
Fix the grpc.aio import hack and its unit test
2020-10-14 17:00:25 -07:00
Mark D. Roth
6c982e6b61
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-10-14 16:32:13 -07:00
Mark D. Roth
012381235f
Merge pull request #24208 from renkelvin/base
...
[3PI Support] Add base external account credentials class
2020-10-13 10:27:14 -07:00
Chuan Ren
0cf672d42e
Add implementation of base external account credentials
2020-10-12 16:18:11 -07:00
Mark D. Roth
ff7496b660
fix upbdefs paths for non-bazel builds
2020-10-12 15:23:03 -07:00
Mark D. Roth
f81650f497
update list of upbdefs files in build
2020-10-12 14:48:18 -07:00
Mark D. Roth
7d6b12fe73
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-10-12 14:21:45 -07:00
Lidi Zheng
f9925a6f97
Merge pull request #24356 from lidizheng/support-3.9
...
[Linux] [macOS] Support pre-compiled Python 3.9 wheels
2020-10-12 10:28:07 -07:00
Yash Tibrewal
4013fd9dc9
Merge pull request #24313 from yashykt/xdscredscpp
...
C++ API to create Xds channel credentials
2020-10-08 22:27:21 -07:00
Yash Tibrewal
c52cb09f47
Add experimental XdsCredentials with support for insecure channel_credentials and security_connector
2020-10-08 20:37:47 -07:00
Benjamin Reed
9757a09ec4
Merge pull request #24350 from codeblooded/python/bug/add-server-port
...
Add --server_port flag to python benchmark worker
2020-10-08 16:24:56 -07:00
Richard Belleville
9c41697873
Merge pull request #24326 from gnossen/fix_fork_interop
...
Remove uses of PIPE in Fork Interop Tests
2020-10-08 15:08:12 -07:00
Lidi Zheng
89b34444f8
Merge pull request #24341 from grpc/revert-24337-revert-24289-aio-import-dot
...
Revert "Revert "Allow asyncio API to be imported as grpc.aio""
2020-10-07 15:56:36 -07:00
Donna Dionne
aafe657978
Bump version to v1.34.x: regenerate projects
2020-10-07 12:51:27 -07:00
Lidi Zheng
4fa90f42ce
Support pre-compiled Python 3.9 wheels
2020-10-07 12:43:45 -07:00
Lidi Zheng
6336930029
Check file name instead of package name
2020-10-07 11:01:00 -07:00
Ben Reed
9a00264e9b
Add --server_port flag to python benchmark worker
...
The benchmark workers for most gRPC languages support a `--server_port`
flag. When specified, the server accepts traffic on this port. This is
true even if a port is specified in the ServerConfig message of a
Scenario.
This change adds this flag to the benchmark worker for Python, allowing
it to adopt the same behavior.
2020-10-07 10:38:56 -07:00
Lidi Zheng
442aa916dc
Make sure the module space won't be polluted by "from grpc import aio"
2020-10-06 16:55:14 -07:00
Lidi Zheng
c6dc383c15
Prevent import order issue in cyclic imports
2020-10-06 16:53:01 -07:00
Lidi Zheng
e54fe6ccd0
Revert "Revert "Allow asyncio API to be imported as grpc.aio""
2020-10-06 14:14:13 -07:00
Lidi Zheng
d938e0052e
Revert "Allow asyncio API to be imported as grpc.aio"
2020-10-06 12:35:26 -07:00
Yash Tibrewal
7c7b452f16
Merge pull request #24312 from yashykt/xdscreds
...
gRPC Core API to create Xds channel credentials
2020-10-06 12:18:44 -07:00
Richard Belleville
3dc0b3b625
Get port properly
2020-10-05 15:29:45 -07:00
Yash Tibrewal
48ec53971a
gRPC Core API to create Xds channel credentials
2020-10-05 14:52:08 -07:00
Richard Belleville
d13fbc5bfb
Remove uses of PIPE
2020-10-05 11:27:46 -07:00
Mark D. Roth
7c0b500f33
Merge pull request #24291 from markdroth/xds_load_reporting_in_eds
...
Move locality load reporting to EDS policy.
2020-10-05 08:35:18 -07:00
Lidi Zheng
4f3f6960f9
Merge pull request #24289 from lidizheng/aio-import-dot
...
Allow asyncio API to be imported as grpc.aio
2020-10-02 15:38:25 -07:00
Lidi Zheng
b830caa997
Update the tests.json
2020-10-02 13:10:17 -07:00
Mark D. Roth
799e805e8a
Move locality load reporting to EDS policy.
2020-10-02 11:16:01 -07:00
Mark D. Roth
71050c88b9
Move EDS drop handling to a new eds_drop LB policy.
2020-10-02 08:23:48 -07:00
Lidi Zheng
c9768211fb
Remove unused import
2020-10-01 11:43:50 -07:00
Lidi Zheng
638f6fb659
Expand alternatives to import aio module
2020-10-01 11:43:50 -07:00
Lidi Zheng
b7894bb090
Allow asyncio API to be accessed as grpc.aio.foo
2020-10-01 11:43:50 -07:00
Lidi Zheng
32e4c1c1df
Merge pull request #24267 from lidizheng/fix-macos-enum
...
Don't install enum34 for non-2.7 Python
2020-09-30 12:04:01 -07:00
Mark D. Roth
02436e33ea
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-09-30 11:40:56 -07:00
Lidi Zheng
777792b652
Merge pull request #24271 from lidizheng/tiny-fix-in-commands
...
Use != with literals in commands.py
2020-09-30 10:43:05 -07:00
Donna Dionne
bad6ee7676
Merge remote-tracking branch 'upstream/master' into release
2020-09-29 22:25:43 -07:00
Lidi Zheng
8da468ff09
Merge pull request #24257 from lidizheng/rpc-test-split-test
...
Split RPCTest into two and speed up test cases
2020-09-29 16:21:21 -07:00
Lidi Zheng
e242764d50
Remove enum34 from requirements.txt
2020-09-29 15:17:38 -07:00
Donna Dionne
bcd41d6397
Merge remote-tracking branch 'upstream/master' into release
2020-09-29 14:55:57 -07:00
Lidi Zheng
9e0b427893
Use != with literals
2020-09-29 14:44:59 -07:00
Lidi Zheng
944d20f7b8
Make buildifier happy
2020-09-29 13:56:04 -07:00
Lidi Zheng
7f52f5d669
Make linters happy
2020-09-29 12:04:57 -07:00
Lidi Zheng
84acaad1fe
Split RPCTest into two and speed up test cases
2020-09-29 12:04:57 -07:00
Yash Tibrewal
2a56886513
Update submodules: envoy-api, protoc-gen-validate, udpa
2020-09-29 12:03:40 -07:00
Mark D. Roth
69c52a8b2a
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-09-29 09:01:09 -07:00
Donna Dionne
55267990b0
regenerate files
2020-09-28 22:41:16 -07:00
Richard Belleville
1c425ba9fd
Fix CI errors
2020-09-22 13:46:08 -07:00
Richard Belleville
a80a3b72bb
Do not import grpc_tools.protoc from grpc_tools
2020-09-22 12:35:52 -07:00
Yash Tibrewal
11abbd3828
Add parsing logic for GoogleMeshCaConfig
2020-09-17 09:33:10 -07:00
Donna Dionne
ffb560090a
Moving XDS Routing functionalities from LB policy into XdsConfigSelector
2020-09-11 15:44:10 -07:00
Lidi Zheng
ac5cca327a
Merge pull request #23453 from implr/addcythoninit
...
Add __init__.py to cygrpc pyx_library to support --incompatible_default_to_explicit_init_py
2020-09-09 14:12:10 -07:00
Yash Tibrewal
24ba65d6a1
Merge pull request #24080 from yashykt/caregimpl
...
Add certificate provider registry implementation
2020-09-09 14:05:38 -07:00
Yash Tibrewal
cdda406115
Add certificate provider registry implementation
2020-09-08 14:50:37 -07:00
ZhenLian
1a275d7eab
Add tls_certificate_distributor implementation
2020-09-08 10:20:21 -07:00
Mark D. Roth
998bde891f
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-09-02 15:50:33 -07:00
Mark D. Roth
25518e5b08
Merge pull request #24030 from yashykt/xdsremoveunsecure
...
Remove xDS support from unsecure builds
2020-09-02 15:07:45 -07:00
Mark D. Roth
6514396713
update build files
2020-09-02 08:38:31 -07:00
Lidi Zheng
0eae18f9e6
Disable the exit tests until they are deflaked
2020-09-01 17:42:51 -07:00
Mark D. Roth
3fcb32b757
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-09-01 15:41:07 -07:00
Yash Tibrewal
025d9d8e8a
Remove xDS support from unsecure builds
2020-09-01 15:04:49 -07:00
Mark D. Roth
30e4170dc3
Update version of master to 1.33-dev ("geeky").
2020-08-28 09:20:30 -07:00
Lidi Zheng
1dbc68c4ae
Disable two in flight stream stream cases due to known flake
2020-08-25 15:13:44 -07:00
Lidi Zheng
cd1b211321
Improve the exit test to yield better logs
2020-08-25 12:08:09 -07:00
Richard Belleville
4a2d4a0b64
Merge pull request #23949 from gnossen/grpcio_tools_import
...
Tolerate old versions of grpcio-tools
2020-08-24 10:22:32 -07:00
Richard Belleville
36be9bbf6e
Yapf
2020-08-21 17:25:25 -07:00
Richard Belleville
3ce329ffda
Clean up error messages
2020-08-21 17:04:15 -07:00
Richard Belleville
d481046de6
Tolerate old versions of grpcio-tools
2020-08-21 16:57:31 -07:00
Lidi Zheng
d713e9f202
Prevent call objects from outliving its parent channel or server
2020-08-21 15:04:16 -07:00
Richard Belleville
0bd773c152
Merge pull request #23892 from gnossen/python_interop_client_additions
...
Python xDS interop client traffic splitting / path matching additions
2020-08-20 10:25:29 -07:00
Richard Belleville
03b50b704d
Save two lines
2020-08-19 23:38:28 +00:00
Richard Belleville
324ade3638
Pull out parsing functions
2020-08-19 23:24:19 +00:00
Richard Belleville
efd0521731
Format
2020-08-19 20:50:41 +00:00
Richard Belleville
a4979ad65b
Keep track of method of each RPC
2020-08-19 20:44:17 +00:00
Ashitha Santhosh
fcce56df4e
Merge pull request #23887 from ashithasantosh/create_activation
...
Add activation logic and endpoint getters.
2020-08-19 10:43:39 -07:00
Richard Belleville
b0ab7197a6
Add --metadata flag
2020-08-19 17:39:03 +00:00
Richard Belleville
86525d703c
Add --rpc flag
2020-08-19 05:19:09 +00:00
ashithasantosh
5820e833fc
Add activation logic and endpoint getters.
2020-08-18 19:12:22 -07:00
Richard Belleville
057b34a4d0
Pull out function for running single method
2020-08-19 00:20:43 +00:00
Richard Belleville
6e3cc78375
Abstract out the method being called
2020-08-18 23:36:02 +00:00
Lidi Zheng
9ff83e8cb1
Merge pull request #23240 from lidizheng/aio-graduate
...
[Aio] Graduation from experimental folder
2020-08-18 14:31:00 -07:00
Lidi Zheng
6326422b05
Merge branch 'master' into aio-graduate
2020-08-18 12:14:51 -07:00
Mark D. Roth
bd73844208
Move parse_address library from client_channel to iomgr.
2020-08-18 11:23:06 -07:00
Richard Belleville
c79bef55ee
Merge pull request #21458 from gnossen/dynamic_stubs
...
Enable Runtime Import of .proto Files
2020-08-17 20:39:29 -07:00
Richard Belleville
7295541044
Support path changes in MacOS 3.8
2020-08-17 16:41:19 -07:00
Richard Belleville
60f8bc1b85
Fix subprocess tests on Mac Python 3.8
2020-08-17 14:34:40 -07:00
Richard Belleville
1169084a21
Unpack args a layer higher
2020-08-17 21:06:04 +00:00
Yash Tibrewal
55821f5cf8
Revert "Merge pull request #23786 from michaelywg/cel_create_activation"
...
This reverts commit fe59761648 , reversing
changes made to 1856e224c3 .
2020-08-17 14:01:53 -07:00
Lidi Zheng
cd336404e9
Merge pull request #23783 from lidizheng/aio-win-poll
...
[Aio] Add a fail-back polling mode for Windows+3.8+
2020-08-17 10:56:08 -07:00
Srini Polavarapu
9b5b5be3e2
regenerate files
2020-08-14 18:33:42 -07:00
Richard Belleville
cdb906ac8e
Expand documentation
2020-08-14 16:46:03 -07:00
Lidi Zheng
5694b798b0
Move aio module out of experimental folder
2020-08-14 15:58:50 -07:00
Lidi Zheng
9c3f878e03
Merge pull request #23843 from lidizheng/fix-non-ok-read
...
Make status_code_and_message interop test robust
2020-08-14 14:30:46 -07:00
Lidi Zheng
0955c14608
Make status_code_and_message interop test robust
2020-08-14 13:40:32 -07:00
Lidi Zheng
4ed38373ae
Remove event loop policy check
2020-08-14 11:24:23 -07:00
Michael Wang
b8771966f1
Added tests for eval_args address/port getters. Implemented said getters and CreateActivation.
...
Added logging for unsupported attributes
fixed make issues by moving grpc_authorization_engine under grpc
changed inet_aton to inet_pton
fixed issue leftover from initial implementation of evalargs
2020-08-14 04:30:42 +00:00
Mark D. Roth
478ea19b65
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-08-13 08:21:43 -07:00
Lidi Zheng
a5dc598a42
Handle another corner case on Windows
2020-08-11 16:07:57 -07:00
Richard Belleville
d6a9ba9d54
Restrict to 3.5.0
2020-08-11 15:19:16 -07:00
Lidi Zheng
03813bf6fc
Make the fail back mode triggering more robust
2020-08-11 13:56:40 -07:00
Richard Belleville
d0e8342dcd
Document as experimental
2020-08-11 11:53:11 -07:00
Richard Belleville
0b543de30a
Last pylint error
2020-08-10 17:46:55 -07:00
Richard Belleville
51b0a3bb96
Why Windows? Why?
2020-08-10 17:42:00 -07:00
Richard Belleville
b50110b583
Fix Windows
2020-08-10 14:49:48 -07:00
Lidi Zheng
c0632acaff
Add a fail-back polling mode for Windows+3.8+
2020-08-10 13:54:47 -07:00
Mark D. Roth
d926e1ca47
Move XdsClient code out of client_channel tree.
2020-08-07 08:21:09 -07:00
Richard Belleville
05aaf3d939
Pylint
2020-08-06 17:43:41 -07:00
Richard Belleville
2d9e8bc736
Copyright
2020-08-06 17:24:28 -07:00
Richard Belleville
8f1e181189
Merge remote-tracking branch 'origin/master' into dynamic_stubs
2020-08-06 12:32:47 -07:00
Richard Belleville
aa044d0911
Revert grpcio_metadata
2020-08-06 12:28:43 -07:00
Richard Belleville
2c1efcd0ae
Add documentation
2020-08-06 12:25:21 -07:00
Lidi Zheng
218a2ff95f
Merge pull request #23483 from emkornfield/fg
...
Adds option of using ASM for BoringSSL in Python.
2020-08-05 14:10:40 -07:00
Michael Wang
d0311ac81a
Basic class definition and constructor Cel eval engine
...
Merge remote-tracking branch 'upstream/master' into celeval_constructor
Iterate through policies and store CEL condition
git push origin ce Merge remote-tracking branch 'upstream/master' into celeval_constructor
added class and constructor comments for CelEvaluationEngine
CelEvaluationEngine class and constructor
Added cel_evaluation_engine to build
ran clang_tidy_code.sh
updated BUILD with cel_evaluation_engine
added rbac.upb.h/cc to BUILD
Rewrote cel_evaluation_engine code with upb conventions
removed unnecessary deps for cel_evaluation_engine in BUILD
Cel_evaluation_engine uses arenas to manage condition pointers
Used upb::Arena instead of upb_arena*, added temp_arena to save memory
Added action_allow_ member variable
Added fullstops to comments
initialize action_allow_
changed variable names to be more clear
removed unnecessary headers
correctly initialize the action_allow_ variable
changed constructor to use an initializer list
ran clang_tidy and clang_format scripts
added cel_engine_test
resolved merge conflicts and rewrote cel engine constructor to use new map api
changed variables to be more clear and made them const
changed syntax.upb.h so the build succeeds
changed syntax.upb.h so the build succeeds
changed version of upb in bazel_dpes
regenerated upb files with new upb version
added TODO regarding two-policy design
modified CelEvaluationEngine and tests to use two rbac policies
Made test messages consistent and added a case with too many policies
changed name from cel_engine to authorization_engine
fixed merge issues and updated authorization engine to v3 rbac
made constructor public and added namespace grpc_core
2020-08-04 18:23:21 +00:00
Micah Kornfield
6f6778276d
update template format
2020-08-03 15:47:34 -07:00
Micah Kornfield
8e501c86f5
Move over to using sources.json from boring.ssl.
...
- Undo a bunch of hacks in src/boringssl/gen_build_yaml.py
- Store the structued data in YAML/dependencies.py so
we don't need to recreate the filters.
- Update setup.py accordingly
2020-08-03 15:47:33 -07:00
Micah Kornfield
35c0a4cfff
Adds option of using ASM for BoringSSL in Python.
...
- Adds a new environment variable for turning on the build of ASM
for boring SSL.
- Only enables for x86_64 for now. I think this is likely the most
common target and the only machine I have readily accessible.
2020-08-03 15:47:25 -07:00
Mark D. Roth
60283a1085
Merge pull request #23582 from markdroth/grpclb_authority
...
Remove TargetAuthorityTable in favor of a per-address channel arg.
2020-07-29 15:18:13 -07:00
Lidi Zheng
70f001565b
Merge pull request #23632 from lidizheng/raise-when-bind-failed
...
Raises an exception when port binding failed
2020-07-28 16:22:30 -07:00
Lidi Zheng
d13c5834af
Abstract the validation into a common function
2020-07-28 13:54:57 -07:00
Esun Kim
3ac116f1cb
Enabled GPR_ABSEIL_SYNC
2020-07-27 20:00:26 -07:00
Lidi Zheng
655319e286
Ban this test with gevent + Windows
2020-07-27 15:11:39 -07:00
Lidi Zheng
df440a5a66
It seems the port binding won't fail if a port is occupied by native socket
2020-07-27 14:01:25 -07:00
Lidi Zheng
b9b33c06eb
Make sure the SO_REUSEPORT is off
2020-07-27 11:33:24 -07:00
Lidi Zheng
217dade003
Raises an exception when port binding failed
2020-07-27 11:16:43 -07:00
Mark D. Roth
f88449c205
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-07-27 09:55:48 -07:00
Mark D. Roth
181781387d
xDS v3 support
2020-07-23 10:20:55 -07:00
Mark D. Roth
c35a37d6c2
Remove TargetAuthorityTable in favor of a per-address channel arg.
2020-07-23 08:23:05 -07:00
Jan Tattermusch
aa0193db42
Merge pull request #23576 from jtattermusch/bump_master_1_32
...
update master version to 1.32.0-dev
2020-07-23 07:48:24 +02:00
Yash Tibrewal
2c5291ff71
Plumb absl::Status through connectivity state notifiers
2020-07-22 15:56:24 -07:00
Richard Belleville
089d90933a
Merge pull request #23203 from gnossen/python_google_default_creds
...
Implement compute_engine_channel_credentials in Python
2020-07-22 13:14:54 -07:00
Jan Tattermusch
80daba44d9
regenerate projects
2020-07-22 17:38:48 +02:00
Mark D. Roth
c66d826298
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-07-21 11:31:28 -07:00
Lidi Zheng
666787d841
Metadata value has to be string or bytes
2020-07-21 11:16:56 -07:00
Lidi Zheng
ffc6bce8ca
Only >=3.7 allows annotate oneself as return type
2020-07-21 11:06:53 -07:00
Lidi Zheng
6e96a47dd6
Make pytype happy
2020-07-21 10:58:42 -07:00
Lidi Zheng
b5f107d470
Support tuple and aio.Metadata interaction
2020-07-21 10:58:23 -07:00
Lidi Zheng
9a54627c0b
Include re2 in source wheel && solve the missing --all complain
2020-07-20 17:06:26 -07:00
Richard Belleville
f7d16b20a4
Fix docstring
2020-07-20 19:28:18 +00:00
Mark D. Roth
a24306fa0c
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-07-20 10:36:43 -07:00
Richard Belleville
9448150eec
Remove option to specify path
2020-07-17 16:46:38 -07:00
Karthik Ravi Shankar
d7565c37a8
Revert "Adding Fake headers for header matching."
...
This reverts commit 8c013bfcdc .
2020-07-17 16:39:05 -07:00
Mark D. Roth
5afa417c89
Revert "Merge pull request #23524 from markdroth/xds_logging_revert"
...
This reverts commit b5b9172915 , reversing
changes made to 47c6c826f7 .
2020-07-17 14:48:20 -07:00
Mark D. Roth
a0f08b1b06
Revert "Merge pull request #21941 from markdroth/xds_logging"
...
This reverts commit 37d5d93983 , reversing
changes made to 0e8190a3c9 .
2020-07-17 10:19:28 -07:00
Donna Dionne
8c013bfcdc
Adding Fake headers for header matching.
2020-07-15 13:14:19 -07:00
Richard Belleville
999bbf1401
Format
2020-07-15 13:09:53 -07:00
Richard Belleville
fd0d0f77df
Fix Bazel warning
2020-07-15 13:03:16 -07:00
Richard Belleville
e16e11cdcf
Fix six dependency
2020-07-15 11:55:37 -07:00
Richard Belleville
892cfd883e
Support asyncio interop client
2020-07-13 23:25:29 +00:00
Richard Belleville
36465e06f1
Merge remote-tracking branch 'origin/master' into python_google_default_creds
2020-07-13 19:32:59 +00:00
Richard Belleville
7e3f3d61a2
Format
2020-07-13 19:09:33 +00:00
Lidi Zheng
ddbf4b6f9f
Further reduce the spam log by doing nothing if GC has error
2020-07-13 11:18:46 -07:00
Bartosz Stebel
3b45262f03
Add __init__.py to cygrpc pyx_library
2020-07-12 22:56:56 +02:00
Richard Belleville
df0978ceb0
Clean up build file
2020-07-10 15:18:46 -07:00
Richard Belleville
1b2e7fa318
Merge remote-tracking branch 'origin/master' into dynamic_stubs
2020-07-10 14:07:01 -07:00
Richard Belleville
23b9007198
Simplify raise statement
2020-07-10 13:54:48 -07:00
Richard Belleville
56ed8f3be4
Merge remote-tracking branch 'origin/master' into python_google_default_creds
2020-07-10 01:09:58 +00:00
Richard Belleville
e9a90ab30a
Clean up
2020-07-10 00:44:59 +00:00
Lidi Zheng
8f3bd10c03
Make sure >3 Python version triggers a failure
2020-07-09 15:34:06 -07:00
Lidi Zheng
27033c4f8d
Update the hint for install Python header to depend on version
2020-07-09 15:17:37 -07:00
Richard Belleville
b96edd3072
Stop trying to handle SIGSEGV
2020-07-08 10:52:32 -07:00
donnadionne
be92b122b6
Merge pull request #22987 from donnadionne/new
...
Add support for xDS regex matchers.
2020-07-07 15:32:25 -07:00
Lidi Zheng
e1b4a5507c
Merge pull request #23351 from lidizheng/silence-del
...
Suppress exceptions from the __del__ of channel object
2020-07-07 13:56:37 -07:00
Donna Dionne
8dd0cb4712
Add support for xDS regex matchers.
2020-07-07 13:17:25 -07:00
Lidi Zheng
e7f42f1ff9
Add type annotation in comments
2020-07-07 10:45:11 -07:00
Lidi Zheng
b61fe7ab33
Address comments
2020-07-07 10:17:38 -07:00
Lidi Zheng
e58e24afb9
Allows poller to bound to ephemeral loops in multiple threads
2020-07-07 10:17:38 -07:00
Richard Belleville
23dacfc0b4
Add Python wrapper
2020-07-07 01:10:12 +00:00
Richard Belleville
c8a8a6aea4
Get new core API design building
2020-07-07 00:18:42 +00:00
Richard Belleville
ebe49df659
Don't clutter __init__.py quite as much
2020-07-03 10:14:02 -05:00
matthewstevenson88
c1e07d8308
Merge pull request #23165 from matthewstevenson88/matt-tls13
...
Enable TLS 1.3 in the C-core and all wrapped languages.
2020-07-01 07:56:18 -07:00
Lidi Zheng
de075024a7
Suppress exceptions from the __del__ of channel object
2020-06-29 14:54:31 -07:00
Miguel Ángel
d2b917030f
Fix typo
2020-06-28 17:17:47 +02:00
Richard Belleville
3dcc929adf
Remove resolved TODO
2020-06-26 12:16:22 -07:00
Richard Belleville
d4e8d9956c
Run tests under setup.py
2020-06-26 12:11:31 -07:00
Richard Belleville
2f789e38ed
Merge pull request #23243 from gnossen/setup_py_improvements
...
Incrementally Improve setup.py
2020-06-26 11:13:48 -07:00
Richard Belleville
8459b49dd5
Buildifier
2020-06-26 17:55:51 +00:00
Yash Tibrewal
a438ef58f1
Merge pull request #23293 from yashykt/retrychecksize
...
Add message-size check before message decompression with ordering change
2020-06-26 10:43:52 -07:00
Richard Belleville
2b09327a6f
Yapf :(
2020-06-26 02:25:38 +00:00
Richard Belleville
4de06d0e22
Regenerate projects
2020-06-26 02:18:16 +00:00
Richard Belleville
4fefc6235f
Let the wrapped language create the composite credential
2020-06-25 23:39:27 +00:00
Richard Belleville
3bdc5bb4d1
Change name to compute_engine_channel_credentials
2020-06-25 21:36:36 +00:00
Richard Belleville
330eaea53d
Initial implementation of gce_channel_creds
2020-06-25 06:00:39 +00:00
Richard Belleville
1aae547e2c
Regenerate projects
2020-06-25 04:48:28 +00:00
Matthew Stevenson
6822dd1d1e
Merge remote-tracking branch 'upstream/master' into matt-tls13
2020-06-24 13:29:45 -07:00
Mark D. Roth
37d5d93983
Merge pull request #21941 from markdroth/xds_logging
...
Use upb textformat library to dump out raw xDS proto messages
2020-06-24 11:59:37 -07:00
Mark D. Roth
c1d7180daa
Use upb textformat library to dump out raw xDS proto messages
2020-06-24 10:10:03 -07:00
Lidi Zheng
b9088ee9dd
Address comments
2020-06-23 15:56:25 -07:00
Lidi Zheng
14d499a50f
Make PyLint happy
2020-06-23 13:01:01 -07:00
Lidi Zheng
286a80dad5
Resolve the compatibility issue that get_runnint_loop is 3.7+
2020-06-23 12:45:21 -07:00
Yash Tibrewal
e98eaa5052
Revert "Revert "Add message-size check before message decompression""
2020-06-23 12:19:07 -07:00
Lidi Zheng
6717ecb3cb
Suppress the server dealloc warning
2020-06-23 12:12:51 -07:00
Lidi Zheng
019921f57a
Add the new test to tests.json
2020-06-23 12:11:57 -07:00
Lidi Zheng
8bcffaa5ca
Hide init_grpc_aio and guard async API outside of AsyncIO context
2020-06-23 12:10:18 -07:00
Lidi Zheng
b2c420fa44
Merge pull request #23265 from lidizheng/aio-context-info
...
[Aio] Implement methods to access auth context and peer info
2020-06-23 10:40:33 -07:00
Vijay Pai
c7f2956b67
Revert "Add message-size check before message decompression"
2020-06-22 16:18:36 -07:00
Lidi Zheng
ae49a85038
Fix the typo
2020-06-22 13:47:30 -07:00
Lidi Zheng
b96381694c
Sort tests.json alphabetically
2020-06-22 12:57:09 -07:00
Mark D. Roth
4d541fc30a
Merge pull request #23051 from markdroth/xds_config_selector2
...
Add ConfigSelector API.
2020-06-22 12:30:21 -07:00
Lidi Zheng
11a29eb95a
Implement methods to access auth context and peer info
2020-06-22 12:14:39 -07:00
Yash Tibrewal
d48d39c432
Merge pull request #23177 from yashykt/checksizebeforedecompress
...
Add message-size check before message decompression
2020-06-19 17:47:48 -07:00
Richard Belleville
4fcf9d01d2
Address review comments
2020-06-19 15:31:55 -07:00
Yash Tibrewal
0497ad8bb0
Add missing message-size check before decompressing
...
Add and fix tests for limit check before decompression
Code restructuring to allow easy reuse of service config call data
Regenerate projects
Reviewer comments
2020-06-19 14:49:18 -07:00
Mark D. Roth
133918ec70
Add ConfigSelector API.
2020-06-18 12:57:43 -07:00
Matthew Stevenson
df6f8c0729
Merge remote-tracking branch 'upstream/master' into matt-tls13
2020-06-18 11:37:03 -07:00