Commit Graph

36 Commits

Author SHA1 Message Date
renovate[bot]
c78ee7640b
Add renovate.json 2023-03-12 19:15:00 +00:00
Aleksey Kashapov
3eff7ddf1e
VEN-9: Adds support for versioned limit config object (#20)
* Adds explicit damsel dependency

* Bump dominant docker compose image (sha-e0afa44)

* Adds dominant-sourced config unmarshalling

* Adds operation `Limiter:GetVersioned/4`

* Refactor test suite and add testcase group with dominant-sourced config object use
2023-03-01 18:33:36 +03:00
Aleksey Kashapov
d7febd557c
TD-511: Adds app configuration flag to disable currency conversion (#19)
* Adds app configuration flag to disable currency conversion

* Revert turnover test suite

* Adds testcase for disabled currency conversion

* Changes currency_conversion default to disabled

* Simplify currency conversion testcases setup
2023-02-20 11:29:50 +03:00
ndiezel0
7c416e2533
Fix InvalidRequest (#18)
* Fix InvalidRequest

* Fix

* Format
2022-12-07 22:13:08 +05:00
ndiezel0
5c61eaff52
Temporarily disable currency conversion (#17)
* Temporarily disable currency conversion

* Add details

* Fix test and spec

* Fix
2022-12-07 21:36:15 +05:00
Артем
daf099b471
TD-427: Add plan id wrap with hash (#16)
* added plan id wrap with hash

* removed used mock

* fixed

* encoded
2022-10-21 14:52:07 +04:00
Артем
edbdccb67d
TD-407: Add provider, terminal, wallet, identity, email scopes (#15)
* added new scopes

* added identity and wallet scope tests

* switched to proto master

* fixed

* added multu scope test

* added prefix

* added commands

* finished with new scope ordering system

* added requested changes

* applied patch
2022-10-02 19:37:04 +04:00
Артем
cd37acdcea
added party scope test (#14) 2022-08-05 22:29:03 +03:00
Andrew Mayorov
40e4b22ce7
Reuse valitydev/action-deploy-docker@v2 (#13) 2022-07-12 11:08:26 +03:00
Andrew Mayorov
618a751712
TD-329: Add withdrawal context support (#12)
* Bump to valitydev/machinery-erlang@62c3243
* Bump to valitydev/machinegun-proto@347c5c4
* Drop top-level `damsel` dependency
* Drop `get_rate` testcase as meaningless
* Drop testcases which became duplicate
* Support new context type @ config
* Delegate context accessors to specific modules
* Support rollbacks @ valitydev/limiter-proto@6158184
2022-07-06 18:32:32 +03:00
Артем
2dff7b518d
TD-305: Add new payproc context and payment tool scope implementetion (#9)
* updated limiter proto

* added payproc context

* fixed linter

* bumped proto

* added base tests

* added payment tool tests

* added minor test

* fixed dialyzer

* fixed
2022-06-20 15:53:54 +03:00
Andrew Mayorov
d36b97f44a
TD-304: Handle amount limit body type (#8)
* Bump to valitydev/limiter-proto@6723e86.
* Introduce _noncurrency_ concept instead of default currency which is kinda misleading.
* Rename `lim_p_transfer` → `lim_posting`.
* (Minor API break) Respond w/ 0 balance on uninitialized limit ranges.
2022-06-10 12:56:13 +03:00
Vality Bot
0c6b2afd6b
🔄 Synced file(s) with valitydev/configurations (#4)
* 🔄 Created local '.github/workflows/basic-linters.yml' from remote 'workflows/base/basic-linters.yml'
* 🔄 Synced local 'LICENSE' with remote 'LICENSE'
* 🔄 Created local '.github/settings.yml' from remote '.github/settings.yml'
2022-06-09 14:21:17 +03:00
Andrew Mayorov
b1cd093ffb
TD-303: Add multiscope support (#7)
As of valitydev/limiter-proto@d390910.

Co-authored-by: Артем <WWW_cool@inbox.ru>
2022-06-03 11:41:44 +03:00
Andrew Mayorov
3b10d1cbf3
TD-275: Ensure limit changes handled idempotently (#3)
While also involving minimal number of interactions with accounter
in order to improve runtime behaviour.

* Add annotated testcases for changed exception behavior

* Test (kinda) that multirange limits work
2022-04-19 18:03:09 +03:00
Andrew Mayorov
f577d1292a
TD-275: Add CI through GH Actions (#1)
* Switch to valitydev upstreams
* valitydev/thrift_erlang@c280ff2
* valitydev/scoper@7f3183d
* valitydev/genlib@82c5ff3
* valitydev/erlang-health@5958e2f
* valitydev/damsel@1d60b20
* Drop how_are_you
2022-04-18 11:00:48 +03:00
Andrew Mayorov
9a5ae488c2
Drop proprietary CI stuff 2022-04-14 17:51:40 +03:00
Артем
689aea6943
ED-297: New create method (#7)
* added new create method

* added party day config
2021-10-20 13:42:03 +03:00
Boris
c7e96068a5
fix (#6) 2021-07-19 17:44:09 +03:00
Boris
886acc0503
Merge pull request #5 from rbkmoney/ED-181/ft/subtraction_behaviour
ED-181: add subtraction behaviour
2021-06-23 15:32:40 +03:00
0x42
731859da80
delete junk code, refactor 2021-06-23 11:39:01 +03:00
0x42
fb6c6bc65e
upd proto, param op_behaviour set from api 2021-06-22 15:12:03 +03:00
0x42
5a86c525be
format 2021-06-21 13:18:30 +03:00
0x42
74a6367fd6
Merge branch 'master' into fix/debug 2021-06-21 13:17:31 +03:00
0x42
4beba47b5c
add subtraction behaviour in limit amount computation 2021-06-21 13:04:50 +03:00
Boris
c5572a9a22
Merge pull request #4 from rbkmoney/ED-156/ft/add_latest_clock
fix same usec
2021-06-07 17:11:05 +03:00
0x42
9e83224506
fix same usec 2021-06-07 15:58:21 +03:00
Boris
148979f73c
Merge pull request #3 from rbkmoney/ED-156/ft/add_latest_clock
Fix bug calc shard id(same usec); add in config day limit
2021-06-07 15:01:36 +03:00
0x42
d6561f9ddf
fix bug calc shard id(same usec); add in config day limit 2021-06-07 14:37:33 +03:00
Boris
70c1494130
Merge pull request #2 from rbkmoney/ED-156/ft/add_latest_clock
Bump to damsel rbkmoney/damsel@d4b40ea
2021-06-04 18:31:10 +03:00
0x42
c1aa30005f
Bump to damsel rbkmoney/damsel@d4b40ea 2021-06-01 10:41:39 +03:00
Артем
9bf3e29636
P2C-14: Limiter (#1)
* draft

* added format

* added backend stuff

* added requested changes except batch in range machine

* added error sort in handler, add lim_body and its validation

* added start time and shard size, implemented shard id generation and time range calculation

* fixed xref

* fixed format

* added unit tests

* refactored errors

* updated to new proto

* added config marshaling

* fixed format

* added base tests

* added exchange tests

* fixed linter

* added requested changes

* updated proto ref
2021-05-17 13:34:16 +03:00
WWW_cool
563fb97ea6
added build_utils 2021-02-17 12:52:20 +03:00
WWW_cool
bdaca98e1a
added rebar lock 2021-02-17 12:49:36 +03:00
WWW_cool
439b1c65b0
initial 2021-02-17 12:47:57 +03:00
WWW_cool
b9a84e3f80
added ignore 2021-02-17 12:43:49 +03:00