Commit Graph

974 Commits

Author SHA1 Message Date
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
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
Esun Kim 3ac116f1cb Enabled GPR_ABSEIL_SYNC 2020-07-27 20:00:26 -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
Jan Tattermusch 80daba44d9 regenerate projects 2020-07-22 17:38:48 +02:00
Lidi Zheng 952c4174ad
Merge pull request #23528 from emkornfield/upgrade_boring
Upgrade BoringSSL to latest on master-with-bazel branch
2020-07-21 10:09:27 -07:00
Mark D. Roth 3613589b84 Change xDS ConfigSelector not to pass the timeout header value to the LB policy. 2020-07-20 14:41:10 -07:00
Micah Kornfield aa79bb75e0 regenerate project 2020-07-20 10:51:16 -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 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
Mark D. Roth abab9967cf Add XdsConfigSelector and populate call attribute containing the deadline. 2020-07-13 13:00:23 -07:00
Jan Tattermusch 8cf57b2dda
Merge pull request #23410 from jtattermusch/upgrade_boringssl_submodule
Upgrade boringssl submodule to latest master-with-bazel
2020-07-09 13:49:54 +02:00
Donna Dionne 8dd0cb4712 Add support for xDS regex matchers. 2020-07-07 13:17:25 -07:00
Jan Tattermusch b1ed4f1d9e regenerate projects 2020-07-07 11:34:30 +02: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
Mark D. Roth c1d7180daa Use upb textformat library to dump out raw xDS proto messages 2020-06-24 10:10:03 -07:00
Mark D. Roth 5c87a42d50
Merge pull request #21905 from markdroth/upb_upgrade
Upgrade upb
2020-06-24 10:06:14 -07:00
Yash Tibrewal e98eaa5052
Revert "Revert "Add message-size check before message decompression"" 2020-06-23 12:19:07 -07:00
Vijay Pai c7f2956b67
Revert "Add message-size check before message decompression" 2020-06-22 16:18:36 -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
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
Mark D. Roth 11d50d9592 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-06-15 15:24:10 -07:00
Srini Polavarapu 057091fe1f Regenerate projects 2020-06-05 13:54:32 -07:00
Mark D. Roth 13e961f429 another attempt to fix ios build 2020-06-03 11:42:32 -07:00
Mark D. Roth 86cf3bbe96 attempt to fix ios build 2020-06-03 11:15:44 -07:00
Mark D. Roth fe8717bf4a attempt to fix build 2020-06-02 15:31:31 -07:00
Mark D. Roth 93efabd179 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-06-02 11:28:13 -07:00
Mark D. Roth aed6574023 Refactor ServiceConfig code to move parsing to its own API. 2020-05-28 07:15:28 -07:00
Srini Polavarapu ce52c1dd71 update boringssl 2020-05-20 14:57:25 -07:00
Mark D. Roth 20ee8f2485 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-05-11 13:50:11 -07:00
Mark D. Roth 7b3590d543
Merge pull request #22854 from markdroth/xds_lrs_send_all_clusters
xds: Add support for send_all_clusters field in LRS.
2020-05-06 09:33:41 -07:00
Mark D. Roth b95843c1b7 xds: Add support for send_all_clusters field in LRS. 2020-05-04 11:16:52 -07:00
Nicolas "Pixel" Noble 791729d09f Bumping version. 2020-04-30 08:12:29 +02:00
Mark D. Roth d74548e611 Remove StringViewToCString() and src/core/lib/gprpp/string_view.h 2020-04-27 12:28:28 -07:00
Mark D. Roth d39c981d4f
Revert "Remove StringLess and src/core/lib/gprpp/map.h" 2020-04-24 10:32:15 -07:00
Mark D. Roth c0f82fc595 Remove StringLess and src/core/lib/gprpp/map.h 2020-04-23 14:45:54 -07:00
Mark D. Roth 09b42371e7 Remove grpc_core::InlinedVector<> and grpc_core::Optional<>. 2020-04-23 11:24:41 -07:00
Yash Tibrewal affe03e169
Merge pull request #22668 from yashykt/failwrites
Fail writes when End of stream has been received
2020-04-21 14:11:52 -07:00
Muxi Yan e3c57771c2
Merge pull request #21194 from muxi/boringssl-prefix-header
Revamp how BoringSSL generate prefix header on ObjC
2020-04-21 09:27:44 -07:00
Muxi Yan 006c815810
Merge pull request #22687 from grpc/revert-22684-revert-22423-objc-poller
Revert "Revert "Introduce CFRunLoop based iomgr""
2020-04-20 15:58:26 -07:00
donnadionne baa442e6e4
Merge pull request #22280 from donnadionne/route_response
Xds Routing LB Policy
2020-04-17 12:45:39 -07:00
Yash Tibrewal 86c03c1710 Merge branch 'master' into failwrites 2020-04-17 11:25:47 -07:00
Donna Dionne 584b35055e Merge remote-tracking branch 'upstream/master' into route_response 2020-04-16 13:10:15 -07:00
Muxi Yan eb7779c20c
Revert "Revert "Introduce CFRunLoop based iomgr"" 2020-04-16 13:07:55 -07:00
Yash Tibrewal eac197b20e Fix errors and regenerate projects 2020-04-16 11:54:27 -07:00