Commit Graph

46 Commits

Author SHA1 Message Date
Vality Bot
e1c128f9a8
🔄 Synced file(s) with valitydev/configurations (#16)
* 🔄 Synced local '.github/workflows/basic-linters.yml' with remote 'workflows/base/basic-linters.yml'
* 🔄 Created local '.github/settings.yml' from remote '.github/settings.yml'

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
2022-07-13 11:27:48 +03:00
renovate[bot]
7ce5a4ca54
chore(deps): update actions/checkout action to v3 (#11)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:22:34 +03:00
renovate[bot]
633c091d1c
chore(deps): update valitydev/erlang-workflows action to v1.0.9 (#9)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:21:33 +03:00
Andrew Mayorov
eef94e5304
TD-222: Reuse valitydev/action-deploy-docker@v2 (#24)
* Fix yamllint complaints
* Use recommended filename extension
* Bump to valitydev/bouncer-proto@de15d37
* Bump to valitydev/org-management-proto@03a269d
* Sync w/ valitydev/erlang-templates
2022-07-13 11:15:36 +03:00
github-actions[bot]
b217b6049b Update file(s) from valitydev/.github 2022-02-22 07:25:21 +00:00
github-actions[bot]
012a129f2f Update file(s) from valitydev/.github 2022-02-21 22:05:01 +00:00
Pavel Popov
6530e4383c
Update renovate config 2022-02-21 13:43:28 +03:00
ndiezel0
9ae19918a9
TD-187: Add Prometheus (#5) 2022-02-21 11:57:24 +03:00
ndiezel0
af42521899
TD-187: Add CI/CD (#4)
* TD-187: Add CI/CD

* Fix specs

* Fix tests

* Review fixes
2022-02-21 11:56:58 +03:00
renovate[bot]
8168be02fd
chore(deps): add renovate.json (#2)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 11:03:41 +03:00
Andrew Mayorov
72bea9c23d
Switch deps to valitydev upstream (#3)
While also bumping some of them.
2022-01-14 16:18:41 +03:00
vilorij
1770adcaff Trigger action 2022-01-14 13:12:41 +03:00
Артем
37a8017739
TECHDEBT-21: Fix decoding module initialization error + updated build system (#1)
* removed build utils sub module

* added iosetopts dep

* added pure image build

* added dockerfile content

* fixed service name
2022-01-14 11:00:57 +03:00
dinama
90f64bb523
ED-124: -drop legacy ContextTokens (#35) 2021-09-09 19:52:45 +03:00
dinama
6dbd5079a7
ED-124 ED-162 ED-242: +rbkmoney/bouncer-proto#26 +erlang 24 (#33) 2021-08-26 07:04:16 +03:00
Sergei Shuvatov
cf64f9d12a
Fix a typo in README.md file (#34) 2021-08-24 09:27:43 +03:00
Alexey
6f24fe1aba
ED-211: Update gunner (#32) 2021-08-06 16:53:17 +03:00
Andrew Mayorov
7aed984ad9
Let's make it opensource (#30) 2021-08-04 14:15:07 +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
Yaroslav Rogov
105005f237
ED-171/deps: Update bouncer_proto (#29) 2021-07-29 11:34:33 +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
Andrew Mayorov
7ff60dc174
Bump to rbkmoney/bouncer-proto@7dee26e (#25) 2021-04-15 11:48:15 +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
1f76fab18c
MSPF-641: Bump to rbkmoney/image-service-erlang@0c1352d base image (#21)
* Bump to rbkmoney/image-service-erlang@0c1352d base image
* Update relx config w/ minimal mode
2021-02-18 16:00:56 +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
Andrew Mayorov
c0e85ff764
Bump to rbkmoney/bouncer-proto@a126059 (#14) 2021-01-27 13:51:48 +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
Артем
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