Commit Graph

382 Commits

Author SHA1 Message Date
yuri-bukhalenkov
c756e131b7
ED-293/update damsel (#28)
* updated damsel
2021-11-23 10:22:49 +03:00
yuri-bukhalenkov
f59c4b4697
ED-293/ComputeContractTerms for firstful-server (#27)
* ComputeContractTerms for firstful-server
2021-11-19 14:05:00 +03:00
yuri-bukhalenkov
ac0feed5de
ED-283/reduce-compute-varset (#26)
* (varset) using calculated params instead of received ones
2021-11-09 22:06:18 +03:00
ndiezel0
f4afbcc8cf
Split integration (#16) 2021-10-24 18:42:34 +03:00
dinama
63c7b92c75
+disable latest_version caching in sys.config (#25) 2021-10-22 11:19:44 +03:00
Sergey Yelin
0930df3367
ED-253: Fix P2P disaster (#24) 2021-10-20 11:33:18 +03:00
Sergey Yelin
0a85c58f78
ED-253: Remove P2P (#23) 2021-10-19 10:27:20 +03:00
dinama
4d4e678627
ED-126: +extend ShopContract (#21) 2021-10-12 13:55:42 +03:00
Sergey Yelin
793f6559d5
Add missing prometeus (#20) 2021-10-06 16:09:15 +03:00
dinama
9dea357e33
ED-272: +aggregate shop data (#17) 2021-09-30 13:24:56 +03:00
dinama
a2dddbbc4a
ED-281: +support new InvalidChangeset (#18) 2021-09-29 16:34:42 +03:00
Yaroslav Rogov
4021e74c3f
ED-268/deps: Update mg_proto to use ProcessRepair (#15)
* ED-268/deps: Update mg_proto to use ProcessRepair

* ED-268/ref: Fix typespecs
2021-09-29 11:00:19 +03:00
Sergey Yelin
f55197723b
ED-242: Upgrade Erlang 24 (#13) 2021-09-14 12:54:42 +03:00
yuri-bukhalenkov
988193d4bf
ED-265/crypto-currency condition (#11)
* fixed crypto-currency condition

* fixed conditions for mobile_commerce, digital_wallets and payment_terminals; extended terms check
2021-09-13 11:12:02 +03:00
Yaroslav Rogov
20904d867d
refactor: Rewrite pm_party reduce and merge in a generic fashion (#8)
* refactor: Rewrite pm_party reduce and merge in a generic fashion

* fix: Fix Selector struct checking

* refactor: Refactor generic code

* fix: Fix typos

* fix: Fix selector

* fix: Fix is_selector

* refactor: redo generic struct checking to case variant

* fix: Fix typo

* fix: Switch to more type-safe is_terms

* refactor: Move spec to appropriate place

* refactor: Switch to thrift reflection for is_predicate

* refactor: Add commect regarding is_terms impl

* refactor: remix merge_terms clauses

* refactor: Use new genlib_range

* fmt: Fix formatting

* ref: Refactor to type-driven generic implementation

* fix: Fix selector check

* fmt: Fix formatting

* Update apps/party_management/src/pm_party.erl

Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>

* ref: Remove leftover

Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
2021-09-07 15:52:20 +03:00
Yaroslav Rogov
1431cc385e
ED-190/deps: Update dmt_client (#4)
* ED-190/deps: Update dmt_client

* ED-190/deps: Update dmt_client

* ED-190/fix: remove explicit dmt_client_cache update

* ED-190/deps: update dmt_client

* ED-190/fix: leftovers

* ED-190/fix: Fix commit ops and tests

* ED-190/refactor: fix formatting

* ED-190/refactor: fix formatting
2021-08-25 14:13:31 +03:00
yuri-bukhalenkov
9a8cd55d2d
updated damsel (#10) 2021-08-20 14:26:12 +03:00
Yaroslav Rogov
f161a8103b
ED-207/fix: Fix reduction of payment_system for payment_institution (#9) 2021-08-20 13:42:10 +03:00
Yaroslav Rogov
1496493835
feat: Add dictionaries and BinData support (#7)
* feat: Add dictionaries and BinData support

* ED-207/refactor(ternary): Remove with_defined, add docs and tests

* ED-207/fix: Return ternary_while for correct behaviour

* ED-207/deps: Update damsel for BinData

* ED-207/fix: Add reverse-compatibility to crypto-currency

* ED-207/test: Fix dialyzer error

* ED-207/fix: Fix varset decoding

* ED-207/refactor: minor refactoring

* ED-207/deps: Update wdeps deps

* ED-207/test: Add tests for dictionary payment methods

* ED-207/refactor: Fix dialyzer warnings

* Revert "ED-207/fix: Add reverse-compatibility to crypto-currency"

This reverts commit 56db16b9f5443e59e002a770df48c00467e067ea.

* ED-207/fix: Add clause for crypto cond version mismatch

* ED-207/refactor: Fix formatting
2021-08-19 13:49:12 +03:00
Andrew Mayorov
935c91235f
Fix msgpack unmarshalling over nils (#6) 2021-08-04 16:26:04 +03:00
yuri-bukhalenkov
45184ecf6e
Ed 97/feat/sync from hg (#3)
* * Adapt party machine transmutations facilities to support it

     * Encode party state snapshots as thrift binary

     * Avoid excessive party event decoding

     * Removed pm_event_provider

* Fix get revision w/ empty index

* reduced calling machinegun to O(log(N)) while getting history
2021-06-28 15:46:02 +03:00
yuri-bukhalenkov
eb22d73b27
updated damsel (#2) 2021-06-21 15:25:49 +03:00
yuri-bukhalenkov
52f3bbe920
changed workdir according a wetkitty:service-erlang.sls.tpl (#1)
* changed workdir according a wetkitty:service-erlang.sls.tpl

* fixed: formatter

* used SERVICE_NAME variable to setup paths and docker image name

* fixed tests
2021-06-18 15:02:32 +03:00
Yuri Bukhalenkov
89139a5043 renamed service 2021-05-24 17:27:46 +03:00
Yuri Bukhalenkov
3a47946b40 removed unused functions in pm_ct_helper 2021-05-24 16:22:08 +03:00
Yuri Bukhalenkov
ea4db6cd79 removed unused pm_client_api parameter (root_url) 2021-05-24 16:12:03 +03:00
Yuri Bukhalenkov
9d0e765920 moved party_management to a separated microservice 2021-05-24 14:30:10 +03:00
Boris
d6322238d4 Fix del legacy routing detection (#559) 2021-05-21 19:43:36 +03:00
Boris
db678139e8 ED-145: Handle exception ProvisionTermSetUndefined (#565) 2021-05-13 16:02:22 +03:00
Andrew Mayorov
c41cdc6e85 ED-142: Store and pass PayerSessionInfo where needed (#563)
* Bump to rbkmoney/damsel@66b9ae4
2021-04-30 12:19:26 +03:00
ndiezel0
57323946e2 HG-452: Add ComputeGlobals and ComputePaymentRoutingRuleset (#474)
* HG-452: Add compute payment institution to hellgate

* HG-452: Fix marshalling

* HG-452: Add ComputePaymentInstitution implementation

* HG-452: Fix payment_institution tests

* HG-452: Fix lint

* HG-452: Fix marshalling error

* HG-452: Add compute_contract_terms use

* HG-452: Add compute_contract_terms more use

* HG-452: Fix dialyzer

* HG-452: Update Provider

* HG-452: Remove compute p2p and withdrawal provider methods

* HG-452: Update party client

* HG-452: Add eunit test to selector

* HG-452: Add ComputeGlobals

* HG-452: Fix compile

* HG-452: Fix specs

* HG-452: Add ComputePaymentRoutingRuleset

* HG-452: Fix lint

* HG-452: Review fix

* HG-452: Fix tests

* HG-452: Remove migration remains

* HG-452: Add `PaymentRoutingCandidate` validation

* compute_globals: removed extra parameter GlobalsRef

Co-authored-by: Yuri Bukhalenkov <y.buhalenkov@rbk.money>
Co-authored-by: yuri-bukhalenkov <78025148+yuri-bukhalenkov@users.noreply.github.com>
2021-04-29 16:05:45 +03:00
George Belyakov
277a436440 ED-101: party management terms calculation (#561)
* add reduce_if_defined to reduce_provider in pm_provider

* check provider terminal terms reducing for both provider/terminal are undefined

* dialyzer

* format

* test try (throw instead of error)

* add test to undefined provider-terminal terms fix

* rework try/catch+assertMatch in compute_terminal_terms test

Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
2021-04-28 14:53:01 +03:00
yuri-bukhalenkov
9f2e3a36e4 ED-135: removed global_ref param from pm_party_client:compute_globals (#562)
* updated damsel

* removed global_ref param from pm_party_client:compute_globals

* fixed review issue
2021-04-28 11:19:35 +03:00
Yaroslav Rogov
f84329d470 ED 81/pass rec payment tool id (#554)
* refactor: Fix typo

* ED-81:deps: Update damsel

* ED-81:deps: Update build_utils

* ED-81:feat: Accept RecPaymentToolID

* Revert "ED-81:deps: Update build_utils"

This reverts commit 5ee03f47af7a19a1d8a3f506d4cde7383f0eaea4.

* ED-81:test:Fix start_two_bindings_w_tds test case

* ED-81:refactor:Fix rebar.lock indentation

* ED-81/fix: Add customer_binding_id from params

* ED-81/test: Fix tests with two bindings

* refactor: Add FIXME for uid
2021-04-26 11:02:43 +03:00
Sergey Yelin
cf737ec445 ED-102: Update damsel (#558)
* ED-102: Update damsel

* Fix lint errors

* ED-102: Add new CryptoCurrency

* Remove unused create_from_method/1

* Remove unused test_condition/3
2021-04-06 15:14:02 +03:00
dinama
8dcc98a58b ED-86: +hg_customer dynamic poll timeout (#552) 2021-03-23 00:03:47 +03:00
Boris
10d5ad74bc merge PaymentsProvisionTerms.turnover_limits (#553) 2021-03-19 13:04:05 +03:00
Andrey Fadeev
19f1b56ab5 Update damsel to rbkmoney/damsel@ca2b3ad (#551) 2021-03-16 20:23:15 +03:00
Sergey Yelin
79a1cfca55 ED-75: Update image (#550) 2021-03-11 13:33:30 +03:00
Andrey Fadeev
e6c9cd9769 Allow to build service without the private registry (#548) 2021-03-05 18:37:04 +03:00
Boris
9884edce70 MSPF-628: Add proto limiter integration (#534) 2021-03-02 22:34:19 +03:00
yuri-bukhalenkov
8f24ec5890 ED-43: Добавить поддержку RBS (#546)
* updated rebar.lock

* updated rebar.lock; removed legacy_domain_revision

* +scenario mandatory

Co-authored-by: dinama <dinama@users.noreply.github.com>
2021-03-02 17:19:00 +03:00
yuri-bukhalenkov
70ad2abc34 Hg-568: added a new field "trusted_client" for an antifraud system (#539)
* added trusted_client field to an InvoiceParams(payment_processing) and forwarded it to an Invoice(domain)

* pushed field trusted_client to a proxy_inspector

* HG-568: moved field trusted_client to an extra structure InvoiceClientInfo and renamed it to is_trusted

* update rebar.lock
2021-02-09 13:20:50 +03:00
Sergey Yelin
5b6b8e2caa Add uzcard as payment system (#538) 2021-02-02 15:56:23 +03:00
dinama
8847162ef8 +fix health_check demo config (#537) 2021-02-01 19:07:24 +03:00
dinama
f6fef9983c upgrade: +image +deps +endpoints (#535) 2021-01-31 17:39:04 +03:00
dinama
b79f6ea8b3 pass make_recurrent to inspector (#532) 2020-12-24 14:10:19 +03:00
dinama
108f39c88d +upgrade all +fix after upgrade (#531) 2020-12-24 12:12:05 +03:00
Sergey Yelin
9cc3ff7f95 Fix leaked containers on CI (#529) 2020-12-17 21:20:33 +03:00
dinama
6caab9468f update build env (#525) 2020-12-09 17:36:14 +03:00