Go to file
Andrew Mayorov 2850275de0
Fix generic thrift→json encoding (#13)
Tags (which are integer field designators in thrift serializations)
were wrongly interpreted as indices in Erlang record tuples.

* Update for recent rebar3_lint w/ elvis_core 1.0.0
2020-12-28 17:59:17 +03:00
build_utils@2c4c2289ad Implement a thrift service around opa policy solver (#1) 2020-10-14 12:09:26 +03:00
config Add forgotten vm.args file (#6) 2020-10-30 16:14:01 +03:00
src Fix generic thrift→json encoding (#13) 2020-12-28 17:59:17 +03:00
test MSPF-591: Update bouncer_proto (#11) 2020-12-03 17:22:32 +03:00
.gitignore Implement a thrift service around opa policy solver (#1) 2020-10-14 12:09:26 +03:00
.gitmodules Implement a thrift service around opa policy solver (#1) 2020-10-14 12:09:26 +03:00
docker-compose.sh Implement a thrift service around opa policy solver (#1) 2020-10-14 12:09:26 +03:00
Dockerfile.sh Implement a thrift service around opa policy solver (#1) 2020-10-14 12:09:26 +03:00
Jenkinsfile Implement a thrift service around opa policy solver (#1) 2020-10-14 12:09:26 +03:00
Makefile Switch to pre-alpine rbkmoney/image-service-erlang@688cee7 (#7) 2020-10-31 21:31:33 +03:00
README.md Add rudimentary README (#5) 2020-10-29 14:41:57 +03:00
rebar.config Fix generic thrift→json encoding (#13) 2020-12-28 17:59:17 +03:00
rebar.lock MSPF-591: Update bouncer_proto (#11) 2020-12-03 17:22:32 +03:00

Bouncer

Does someone look like a troublemaker?

Primary Arbiter thrift service implementation.

In a nutshell this service maps incoming contexts into OPA input documents and asks OPA to compute a set of assertions allowing or forbidding actions under given input context.

From the service's point of view a ruleset id is a path to OPA document that define a subdocument named assertions with a rudimentary schema. See https://github.com/rbkmoney/bouncer-policies#authoring for more detailed information.