Go to file
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
.bazelci s/agains/against 2019-10-24 19:30:59 +02:00
.github Merge pull request #23630 from markdroth/repo_mgr 2020-08-03 07:31:01 -07:00
bazel Update upb in bazel 2020-08-03 14:28:48 -07:00
cmake Fix repeated builds broken by re2's cmake 2020-07-23 15:16:51 +02:00
doc Add supported features in v1.31.0 2020-07-30 12:25:27 -07:00
etc Monthly update of root pem 2019-12-11 10:47:52 -08:00
examples examples/README rework 2020-07-10 15:18:08 -04:00
include Remove error_details_impl.h 2020-08-03 11:26:38 -07:00
src Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
summerofcode Update .cc and .md files 2019-01-30 11:24:09 -05:00
templates Merge pull request #23720 from lidizheng/fix-docgen-py 2020-08-03 15:18:41 -07:00
test Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
third_party Merge commit '6d7d35fa3968f00bc252e5314b962a9a3b44c67f' into upb-upgrade 2020-08-03 14:26:43 -07:00
tools Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
.bazelrc Add suggested alias for bazelrc import location 2018-10-24 23:31:54 +02:00
.clang-format Clean up clang-format 2020-03-03 10:46:55 -08:00
.clang-tidy Fix all instances of bugprone-undefined-memory-manipulation 2018-08-29 14:24:02 -07:00
.clang_complete Add support for xDS regex matchers. 2020-07-07 13:17:25 -07:00
.editorconfig Adding an editorconfig configuration file. 2015-01-31 06:43:40 +01:00
.gitallowed .gitallowed modification on the path of test files. 2020-02-26 15:15:40 -08:00
.gitignore Add grpc-prefixed package generation script 2020-05-29 14:06:26 -07:00
.gitmodules Add support for xDS regex matchers. 2020-07-07 13:17:25 -07:00
.istanbul.yml Moved gRPC node package root to repo root, made it depend on grpc.gyp 2015-10-01 11:54:00 -07:00
.pylintrc Reviewer advice 2020-02-11 17:44:56 -08:00
.pylintrc-examples Use Pylint to lint gRPC Python examples 2018-12-20 12:10:53 -08:00
.pylintrc-tests Add ignore to .pylintrc-tests 2018-12-11 16:37:44 -08:00
.rspec Bundled C core with Ruby library 2015-12-18 11:18:34 -08:00
.travis.yml Have Travis build the Sample app with frameworks too 2016-07-15 23:25:47 -07:00
.yapfignore More pythons to be formatted 2020-01-03 22:21:23 -08:00
.yardopts Adding a .yardopts file at the root so rubydocs isn't getting lost. 2016-02-13 22:54:23 +01:00
AUTHORS [Aio] Unary unary client call barebones implementation 2019-09-11 20:37:45 +02:00
BUILD Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
BUILD.gn Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
BUILDING.md Merge pull request #22252 from zackgalbreath/clarify_docs 2020-05-07 19:06:27 +02:00
CMakeLists.txt Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
CODE-OF-CONDUCT.md Fix code of conduct 2017-06-08 13:15:06 -07:00
CONCEPTS.md address comments 2018-06-20 21:42:33 +02:00
CONTRIBUTING.md Update note on closed feature requests with help wanted label 2020-05-05 01:13:27 -07:00
GOVERNANCE.md Add GOVERNANCE.md 2019-09-20 11:38:05 -07:00
Gemfile Bundled C core with Ruby library 2015-12-18 11:18:34 -08:00
LICENSE fix license file 2017-06-19 09:57:43 +02:00
MAINTAINERS.md add me(ZhenLian) as project maintainer 2020-02-26 11:30:37 -08:00
MANIFEST.md Abstract libuv implementation 2018-03-13 01:21:42 -07:00
Makefile Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
NOTICE.txt change LICENSE, add AUTHORS 2017-06-08 11:22:40 +02:00
OWNERS Remove unnecessary owners in client_channel tree. 2019-11-15 07:15:50 -08:00
PYTHON-MANIFEST.in Include re2 in source wheel && solve the missing --all complain 2020-07-20 17:06:26 -07:00
README.md Add grpc-kotlin 2020-03-23 11:59:17 -04:00
Rakefile Manylinux2010-based Ruby images 2020-07-16 14:37:25 -07:00
TROUBLESHOOTING.md Address review comments. 2018-07-09 09:39:01 +02:00
WORKSPACE migrate windows RBE to win2019 pool 2020-05-13 14:39:59 +02:00
build_autogenerated.yaml Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
build_config.rb Don't mark server RPC canceled if finished with non-OK status 2020-06-11 10:15:05 -07:00
build_handwritten.yaml Fixing Ruby 1.31.0.pre1 compilation failure with source-only package 2020-07-23 16:09:17 -07:00
composer.json PHP: upgrade interop test google/auth version 2018-08-01 19:07:31 -07:00
config.m4 Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
config.w32 Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
gRPC-C++.podspec Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
gRPC-Core.podspec Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
gRPC-ProtoRPC.podspec regenerate projects 2020-07-22 17:38:48 +02:00
gRPC-RxLibrary.podspec regenerate projects 2020-07-22 17:38:48 +02:00
gRPC.podspec regenerate projects 2020-07-22 17:38:48 +02:00
grpc.bzl Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
grpc.def Regenerate projects 2020-07-13 19:36:54 +00:00
grpc.gemspec Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
grpc.gyp Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
package.xml Basic class definition and constructor Cel eval engine 2020-08-04 18:23:21 +00:00
requirements.bazel.txt Merge pull request #23170 from lidizheng/setup-extras 2020-06-17 13:54:10 -07:00
requirements.txt Merge pull request #23170 from lidizheng/setup-extras 2020-06-17 13:54:10 -07:00
setup.cfg Restrict visibility & improve readability 2020-01-31 13:19:09 -08:00
setup.py Resolve the user warning generated by our setup.py 2020-08-03 10:58:18 -07:00

README.md

gRPC - An RPC library and framework

gRPC is a modern, open source, high-performance remote procedure call (RPC) framework that can run anywhere. gRPC enables client and server applications to communicate transparently, and simplifies the building of connected systems.

Homepage: grpc.io
Mailing List: grpc-io@googlegroups.com

Join the chat at https://gitter.im/grpc/grpc

To start using gRPC

To maximize usability, gRPC supports the standard method for adding dependencies to a user's chosen language (if there is one). In most languages, the gRPC runtime comes as a package available in a user's language package manager.

For instructions on how to use the language-specific gRPC runtime for a project, please refer to these documents

  • C++: follow the instructions under the src/cpp directory
  • C#: NuGet package Grpc
  • Dart: pub package grpc
  • Go: go get google.golang.org/grpc
  • Java: Use JARs from Maven Central Repository
  • Kotlin: Use JARs from Maven Central Repository
  • Node: npm install grpc
  • Objective-C: Add gRPC-ProtoRPC dependency to podspec
  • PHP: pecl install grpc
  • Python: pip install grpcio
  • Ruby: gem install grpc
  • WebJS: follow the grpc-web instructions

Per-language quickstart guides and tutorials can be found in the documentation section on the grpc.io website. Code examples are available in the examples directory.

Precompiled bleeding-edge package builds of gRPC master branch's HEAD are uploaded daily to packages.grpc.io.

To start developing gRPC

Contributions are welcome!

Please read How to contribute which will guide you through the entire workflow of how to build the source code, how to run the tests, and how to contribute changes to the gRPC codebase. The "How to contribute" document also contains info on how the contribution process works and contains best practices for creating contributions.

Troubleshooting

Sometimes things go wrong. Please check out the Troubleshooting guide if you are experiencing issues with gRPC.

Performance

See the Performance dashboard for performance numbers of master branch daily builds.

Concepts

See gRPC Concepts

About This Repository

This repository contains source code for gRPC libraries implemented in multiple languages written on top of a shared C core library src/core.

Libraries in different languages may be in various states of development. We are seeking contributions for all of these libraries:

Language Source
Shared C [core library] src/core
C++ src/cpp
Ruby src/ruby
Python src/python
PHP src/php
C# (core library based) src/csharp
Objective-C src/objective-c
Language Source repo
Java grpc-java
Kotlin grpc-kotlin
Go grpc-go
NodeJS grpc-node
WebJS grpc-web
Dart grpc-dart
.NET (pure C# impl.) grpc-dotnet