Commit Graph

12 Commits

Author SHA1 Message Date
ndiezel0
530f8e646f
MSPF-629: Add decisions (#12)
* MSPF-629: Add decisions

* MSPF-629: Fix compile

* MSPF-629: Review fix

* MSPF-629: Update bouncer_proto

* MSPF-629: Fix lint and move from_thrift_struct/4 to bouncer_thrift

* MSPF-629: Fix merge

* MSPF-629: Remove `jsx:encode/1` for restrictions

* MSPF-629: Rename decision -> judgement

* MSPF-629: Change README.md

* MSPF-629: Fix tests

* MSPF-629: Add bundle.tar.gz to gitignore

* MSPF-629: Fix test

* MSPF-629: Fix last test

* MSPF-629: Fix lint

* MSPF-629: Simplify regex

* MSPF-629: Alternative solution to atomization

* MSPF-629: Review fix

* MSPF-629: Review fix
2020-12-31 17:26:12 +03:00
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
ndiezel0
2445f446d6
MSPF-591: Update bouncer_proto (#11)
* MSPF-591: Update bouncer_proto

* MSPF-591: Fix lint

* MSPF-591: Update proto
2020-12-03 17:22:32 +03:00
Артем
c9f70695cc
Update bouncer proto (#10) 2020-11-25 15:20:17 +03:00
ndiezel0
b042399a6d
MSPF-620: Add OrgManagement stub (#8)
* MSPF-620: Add OrgManagement stub

* MSPF-620: Fix lint

* MSPF-620: Review fix
2020-11-03 17:26:56 +03:00
Andrew Mayorov
bcd8095d97
Switch to pre-alpine rbkmoney/image-service-erlang@688cee7 (#7) 2020-10-31 21:31:33 +03:00
Andrew Mayorov
09a759551e
Add forgotten vm.args file (#6) 2020-10-30 16:14:01 +03:00
Andrew Mayorov
44fa86982d
MSPF-585: Implement naive audit logging (#4)
* Allow to set up multiple pulse handlers

* Enable audit logging through dedicated log handler

* Remove scoper use from handler

* Verify that audit log overload stops handlers

Though it's not apparently, so skip the test for now but keep testcase
for future experimentation.

Co-authored-by: Sergey Yelin <elinsn@gmail.com>
2020-10-30 15:10:07 +03:00
Andrew Mayorov
905cdda999
Add rudimentary README (#5) 2020-10-29 14:41:57 +03:00
Andrew Mayorov
902f06949a
Futureproof policy contract (#3)
In line w/ rbkmoney/bouncer-policies#1.

* Fix stop order in tests for robustness
* Add another testcase for invalid ruleset
* Enforce draft-04 JSON schema validation
2020-10-21 17:17:29 +03:00
Andrew Mayorov
9004e3fe50
Implement a thrift service around opa policy solver (#1)
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2020-10-14 12:09:26 +03:00
Andrew Mayorov
c928a722c4
Initial commit 2020-10-02 19:58:31 +03:00