Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Mayorov
4b86d8e48f
MSPF-641: Relax fsync-every-write audit log handler policy (#20)
* Make fsync repeat interval configurable as usual.

* Dig into logger internals to sync w/ handler reliably

* Upgrade to opa 0.26.0-debug service image in tests

* Bump to rbkmoney/image-build-erlang@61a001b
2021-02-18 11:24:50 +03:00
Andrew Mayorov
6a7ca8f2e9
Enforce unified formatting w/ erlfmt (#18)
* Bump to rbkmoney/build_utils@e131872
2021-02-04 17:23:35 +03:00
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
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
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
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