Commit Graph

28 Commits

Author SHA1 Message Date
Aleksey Kashapov
2483f600d6
EMP-74: Introduces destination_field scope (#47)
Some checks are pending
Frontend: Publish / configured (push) Waiting to run
Frontend: Publish / Publish (push) Blocked by required conditions
Java deploy / deploy (push) Waiting to run
* Introduces `destination_field` scope

* Locks compatible rebar version
2024-10-29 13:57:38 +03:00
Aleksey Kashapov
10328404f1
CP-4: Adds destination's sender and receiver scopes (#45)
* CP-4: Adds destination's sender and receiver scopes

* added destination

* Revert "added destination"

This reverts commit 740292c9b4.

* Bumps tmp damsel

* Bumps damsel

---------

Co-authored-by: Артем <WWW_cool@inbox.ru>
2024-06-04 12:08:21 +03:00
Aleksey Kashapov
1432a9871f
CP-12: Introduces limiter's currency conversion option (#44)
* CP-12: Introduces limiter's currency conversion option

* Changes new option flag to struct

* Fixes typo

* Adds missing field to create params
2024-05-28 14:33:00 +03:00
Артем
e045813d32
OPS-356: Remove invoice adj (#34)
* removed invoice adj

* changed to damsel master

* bumped to valitydev/damsel@c32f50f
2023-09-04 14:51:20 +03:00
Aleksey Kashapov
bbd2c0dce0
TD-550: Defines business exceptions for rollback method (#33) 2023-04-14 10:10:09 +03:00
Aleksey Kashapov
e46f732ae3
TD-550: Defines InvalidOperationCurrency, OperationContextNotSupported and PaymentToolNotSupported (#31)
* Bumps damsel

---------

Co-authored-by: Egor Cherniak <cherniak3@yandex.ru>
2023-04-04 16:05:46 +03:00
Aleksey Kashapov
9b76200a95
VEN-7: Adds Limiter:GetVersioned/4 (#28) 2023-03-01 14:25:59 +03:00
Aleksey Kashapov
16b1f8c8fd
VEN-7: Adds optional domain revision identifier for limit configuration getter (#27)
* Bump damsel ref 9859ca2
2023-02-27 18:35:04 +03:00
Артем
31de59b17a
TD-407: Add terminal scope (#25)
* added terminal scope (and wallet id for wallet scope)

* added requested changes

* added email scope

* renamed
2022-09-15 18:41:20 +03:00
Andrew Mayorov
61581846b4
TD-329: Add explicit Rollback operation (#24) 2022-07-05 19:27:18 +03:00
Артем
e81239e243
TD-328: Add withdrawal context (#22)
* added withdrawal context

* renamed

* added withdrawal config context type

* renamed

* renamed
2022-06-28 18:29:54 +03:00
Andrew Mayorov
c5dfe39a00
TD-312: Bump to valitydev/damsel@dac2cb5 (#21)
Also use valitydev/thrift compiler v0.14.2.3 w/ `app_namespaces`.

* Reuse Erlang CI workflow
* Specify `damsel` as dependency
2022-06-23 14:32:58 +03:00
Артем
ac97053892
TD-305 Fix: Change to limiter payproc invoice payment (#20)
fixed
2022-06-15 11:15:36 +03:00
Артем
136e891337
TD-305: Add domain dep and payer (#18)
* added domain dep and payer

* removed base to fix dialyzer

* bump pom

* returned to limiter payer

* added payproc context

* upgrade namespaces

* readded capture cost

* fixed

Co-authored-by: Anatoly Karlov <karleowne@gmail.com>
2022-06-14 15:53:59 +03:00
Andrew Mayorov
6723e86215
TD-304: Transform body type into turnover specific metric (#19)
* Deprecate weakly defined limit body type.
* Stop accepting body type in "legacy" configurator

Co-authored-by: Артем <WWW_cool@inbox.ru>
2022-06-08 17:57:49 +03:00
Andrew Mayorov
d390910cd2
TD-303: Add scope over payment tool (#17)
* Drop global scope as a special case of empty case, given it's not
  used in existing data.
* Reduce amount of empty struct declarations.
* Sprinkle more comments.
2022-06-02 11:15:41 +03:00
Anatoly Karlov
69af2f73ab migrate on dev.vality domain and GitHub Action CI 2022-01-15 16:10:35 +03:00
yuri-bukhalenkov
c29d2435c2
fixed multiscope (made global scope the single one) (#11) 2021-11-08 20:32:48 +03:00
yuri-bukhalenkov
ee8ba363d9
fixed multiscope (#9) 2021-11-01 15:42:14 +03:00
yuri-bukhalenkov
10c206e3fb
ED-310/multi-scope (#8)
* multiscope for LimitConfig & LimitConfigParams
2021-10-27 18:43:43 +03:00
Артем
2e2cdab859
ED-284: Full params for cfg creation (#7)
* added full params for cfg creation

* fixed
2021-10-11 15:36:17 +03:00
Boris
9c0653ff72
ED-181: add op_behaviour in create params (#5) 2021-06-22 14:41:15 +03:00
Boris
33a84b3d10
ED-181: add operation_behaviour in LimitConfig (#4) 2021-06-22 08:39:55 +03:00
Boris
d4b40ead58
Add latest clock (#3) 2021-05-31 15:18:23 +03:00
Артем
84cc6b7355
P2C-12: New limiter proto (#2)
* new limiter proto

* added clock

* added configurator service

* added limit context

* added id and desc to configuration

* added requested changes

* refactored limit config api

* added timestamp to config struct

* moved operation_timestamp from change to context

* added ForbiddenOperationAmount exception

* added shard size to config

* added lim range

* fixed account id

* added limit config and new limit context

* fixed

* added currency to config

* updated configurator

* removed cash from limiter limit struct

* added op type to context

* removed entity

* added context type to config

* added currency to limit range

* changed to optional for op
2021-04-29 12:00:46 +03:00
WWW_cool
e0b008c58c fix desc 2019-09-24 15:35:30 +03:00
WWW_cool
a7894bfd14 limitter proto first try 2019-09-24 15:22:23 +03:00
WWW_cool
52681fd0bf initial 2019-09-20 12:24:41 +03:00