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
Richard Belleville
af222241a7
Give up on getting compiler executable from distutils
2020-06-18 10:40:31 -07:00
Richard Belleville
edcf210050
Use proper compiler
2020-06-17 22:00:54 -07:00
Richard Belleville
08e117ae80
Improve build slightly
2020-06-17 16:12:59 -07:00
Richard Belleville
1f53f13446
Merge remote-tracking branch 'origin/master' into dynamic_stubs
2020-06-17 14:47:07 -07:00
Richard Belleville
71567b6096
Allow the user to specify grpclb config
2020-06-17 19:49:16 +00:00
Richard Belleville
06eb0ac7bd
Fix up aio interop client
2020-06-17 18:39:34 +00:00
Lidi Zheng
43a574d1ae
Trust google-auth library will handle their dependency properly
2020-06-15 13:32:28 -07:00
Richard Belleville
b821ff99a8
Initial working implementation
2020-06-13 00:11:43 +00:00
Lidi Zheng
72f2b99097
Guard _ChannelCallState.__del__ from cygrpc being deallocated early
2020-06-12 13:25:40 -07:00
Lidi Zheng
c47bc1a709
Merge pull request #23045 from Skyscanner/issue-21953_use-metadata-type
...
[Aio] Use Metadata type
2020-06-12 12:45:25 -07:00
Lidi Zheng
9a3ae47658
Pump up the minimum version of google-auth to 1.17.1
2020-06-12 10:48:47 -07:00
Matthew Stevenson
039e009faa
Fix memory leak, per Yang's comment.
2020-06-11 19:21:51 -07:00
Lidi Zheng
8cd6ee6297
Merge pull request #23176 from lidizheng/fix-del
...
Avoid attribute error in __del__ of _ChannelCallState
2020-06-11 13:38:54 -07:00
Matthew Stevenson
432823cbf6
Add check that unused bytes size is at most received bytes size.
2020-06-11 11:54:28 -07:00
Matthew Stevenson
264592275b
Revert "Check unused bytes size is smaller than received bytes size, and fix Python format in _server_ssl_cert_config_test.py"
...
This reverts commit 7d0ae9cf2e .
2020-06-11 11:30:22 -07:00
Matthew Stevenson
7d0ae9cf2e
Check unused bytes size is smaller than received bytes size, and fix Python format in _server_ssl_cert_config_test.py
2020-06-11 11:29:24 -07:00
Mariano Anaya
376c0f0767
Add missing metadata TypeError case
...
Code formatted.
2020-06-11 09:32:55 +02:00
Richard Belleville
c483ece5dd
Merge pull request #23163 from gnossen/wait_for_ready_default
...
Default wait_for_ready to True in simple stubs
2020-06-10 16:37:26 -07:00
Richard Belleville
4b497f7156
Compensate for low test default timeout
2020-06-10 13:08:35 -07:00
Richard Belleville
93477ae55f
That line changed count seemed a bit big
2020-06-10 12:06:09 -07:00
Richard Belleville
5811df0fd0
Yapf
2020-06-10 12:00:18 -07:00
Richard Belleville
357c78c822
Simplify implementation
2020-06-10 11:54:26 -07:00
Richard Belleville
6344b2b97f
Support infinite timeouts
2020-06-10 11:48:22 -07:00
Lidi Zheng
7294172c8f
Avoid attribute error in __del__ from _ChannelCallState
2020-06-10 09:40:16 -07:00
Richard Belleville
80e834abab
Merge pull request #23107 from gnossen/contextvars_propagation
...
Propagate contextvars to auxiliary threads
2020-06-09 16:04:35 -07:00
Richard Belleville
00d20bb70a
Use self.fail
2020-06-09 10:56:34 -07:00
Matthew Stevenson
a575049c03
Changes needed to enable TLS 1.3.
2020-06-08 18:56:15 -07:00
Richard Belleville
25cdba8a70
Yapf
2020-06-08 12:50:33 -07:00
Richard Belleville
50cab884e1
Default wait_for_ready to True
2020-06-08 12:44:37 -07:00
Richard Belleville
e329de88e7
Add failing test
2020-06-08 12:22:59 -07:00
Mariano Anaya
18e0f9f533
Remove metadata as optional from AioRpcError
2020-06-08 17:02:32 +02:00
Mariano Anaya
36f79adaf9
Remove references to the old MetadataType
2020-06-08 16:52:31 +02:00
Richard Belleville
27e1ccc92d
Merge pull request #23153 from gnossen/simple_trust_store
...
Simplify channel credentials in simple stubs
2020-06-05 16:26:00 -07:00
Richard Belleville
bacbf3b85f
Fix argument order
2020-06-05 14:43:45 -07:00
Srini Polavarapu
057091fe1f
Regenerate projects
2020-06-05 13:54:32 -07:00
Richard Belleville
8c96f976da
Yapfity yapf. Don't yapf back
2020-06-05 13:08:16 -07:00
Richard Belleville
a0e23e2123
Review comments
2020-06-05 12:30:09 -07:00
Richard Belleville
2226f8ab12
Add plugin test for insecure option
2020-06-05 12:12:36 -07:00
Richard Belleville
e3ae621f64
Add insecure option
2020-06-05 11:33:36 -07:00
Richard Belleville
9f380bc16c
Make SSL the default for simple stubs
2020-06-05 11:03:40 -07:00
Richard Belleville
420584462f
:chairflip:
2020-06-04 15:15:05 -07:00
Richard Belleville
dda5d219bd
WIP
2020-06-04 15:08:48 -07:00
Richard Belleville
bd7291b020
:tableflip:
2020-06-04 13:56:34 -07:00