Commit Graph

20 Commits

Author SHA1 Message Date
dinama
6dbd5079a7
ED-124 ED-162 ED-242: +rbkmoney/bouncer-proto#26 +erlang 24 (#33) 2021-08-26 07:04:16 +03:00
Yaroslav Rogov
315a251f86
fix: Add thrift encoding for boolean values (#31)
* fix: Add typespecs

* fix: Fix typespecs

* fix: Fix typespecs

* refactor: Fix formattinc

* fix: Add bool encoding
2021-08-04 13:30:42 +03:00
Alexey
a96b70689f
ED-114: Fix timings buckets names (#28) 2021-07-28 16:58:40 +03:00
Alexey
e135a9e75d
ED-114: Dont group metrics by connection groups (#27) 2021-07-27 17:58:50 +03:00
Alexey
e15446c301
ED-114: gunner metrics via hay (#26) 2021-07-21 14:17:57 +03:00
Alexey
487395fa92
FIX ED-64: request_timeout is not actually a connection option (#24) 2021-03-29 15:53:32 +03:00
Alexey
133b0d5b49
ED-64: Gunner pool integration (#23) 2021-03-29 11:04:16 +03:00
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
2e575b0654
Cut fragments ctx out of audit logs (#19)
They provide too much redundant information at no tangible benefit.

Also stop adding woody metadata to audit log events.
2021-02-08 11:12:39 +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
Andrew Mayorov
db9721bf71
Don't audit-log 'undefined' when no restrictions (#17) 2021-02-04 15:47:19 +03:00
Andrew Mayorov
85c7edeb6e
Specify orgmgmt-proto as application dependency (#16)
Otherwise it's missing from a release.
2021-02-01 14:51:00 +03:00
Andrew Mayorov
e81966c411
Provide explicit party ctx through orgmgmt stub (#15) 2021-01-29 13:06:52 +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
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
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
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