Commit Graph

3689 Commits

Author SHA1 Message Date
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