Commit Graph

500 Commits

Author SHA1 Message Date
Aleksey Kashapov
c95fa0367b
TD-586: Adds cascade testcase for refund (#69) 2023-05-10 17:02:53 +03:00
Aleksey Kashapov
4cc8e5d30d
TD-586: Move cascade hook to processing_failure activity handling (#68)
* Refactors merge_change for payment status change and cascade
context log message.
* Adds payment success testcase with multiple failing routes
2023-05-03 10:31:31 +03:00
Aleksey Kashapov
36f3b27ec0
TD-584: Allows to continue with processing failure (#67)
* Refactors merge_change for payment status change and cascade
context log message.
* Prevents rollbacked cash flow to get in the way.
* Updates test cases to complete till invoice' final status.
2023-04-25 17:13:35 +03:00
Aleksey Kashapov
e255a8e9a3
TD-568: Adds failure reason form no_route_found dynamic error (#66)
* Adds rejected routes failure reason when route not_found on limit overflow checks
* Modifies testcases to verify failure's reason
2023-04-24 10:33:08 +03:00
Aleksey Kashapov
0eae6c2455
TD-578: Adds cascade attempt log messages (#65)
* Fixes failure code for cascade trigger
* Refactors failure checks into payproc_errors notation functions
* Bumps payproc_errors
2023-04-19 14:32:19 +03:00
Aleksey Kashapov
bfccd439a3
TD-550: Limit hold exception to reject route (#64)
* Refactor `hg_routing:to_rejected_route/2`
* Adds new limiter hold exceptions handling
* Adds rejected routes log message on limit overflow
* Adds testcase for limit hold fail with multiple route candidates
2023-04-17 11:30:24 +03:00
Aleksey Kashapov
de0c01cfe4
CM-25: Adds limit changes queue for id BC (#63) 2023-03-28 13:59:47 +03:00
Aleksey Kashapov
d128e196be
CM-25: Adds crutch for serving legacy plan ids (#62)
`commit_payment_cashflow` and `rollback_payment_cashflow` will try
legacy plan id construction if normal not found.
2023-03-28 12:21:12 +03:00
Aleksey Kashapov
72aaddd6e3
CM-23: Adds routes attempt_limit support (#61)
* Implements route cascading for payments
* Introduce config option `card_blocked_failure`
* Adds routes cascading testcase group
* Bumps payproc_errors and patches limiter helper for ct
* Bumps erlang-checks cache version
2023-03-24 12:52:13 +03:00
Aleksey Kashapov
c651112753
VEN-10: Support limiter versioned config (#60)
* Upgrade dependencies and docker compose images
* Updates dmt_client ref
* Adds domain revision support as argument in limiter calls
* Reorder dmt configuration calls in suite initialization to ensure fixture documents use setuped limiter configs
2023-03-13 15:26:15 +03:00
ndiezel0
edfb7be342
OPS-170: Add RegisterInvoicePayment (#49)
* OPS-170: Add RegisterInvoicePayment

* Lots of fixes

* Remove deprecated payment_system_is

* Fix cost

* Fix cost again

* Modify next_event to give exact amount of events

* Fix test

* Fix capture session and add RegisteredOrigin to InvoicePayment

* Add adjustment and refund test for registered payment

* Add limits add commiting of cashflow to register

* Fix commit cashflow

* Add customer register test

* Format

* Move commits to separate timeout

* Use all kinds of payers

* Update damsel

* Remove Prohibited Origin exception

* Export some functions

* Compile fix

* Fix

* Fix

* Fix

* Fix some spec errors

* Fix

* More spec fixes

* More spec fixes

* Increment cache

* Remove payment tool validation

* Reuse cashflow construction and refactor a little

* Fix

* Hide pull change code in invoicing client

* Fix

* Fix

* Fix

* Fix partial capture test change order

* Hide next change default timeout behind define

* Remove kv_storage from invoicing client

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix

* Review fix

* Update damsel

* Fix merge

* Add timeout to pull_change

* Add next_changes to Suite

* Use ?trx_info more

* Fix matching

* Review fixes

* Review fixes

* Fix

* Add test to check limit working

* Try to add extra stage for hold

* Update damsel

* Review fixes

* Try to fix build

* Try to fix build

* Try to fix build

* Try to fix build

* Try something else

* Update erlang-workflows

* Update erlang-workflows

* Move erlang-workflow to release

* Fix

* Move castom merge_change usage to hg_invoice_registered_payment

* Review fix

* Simplify registration

* Review fixes

* Fix

* Fix

* Fix spec

* Format
2022-12-06 12:26:44 +05:00
Артем
c1dc781c44
TD-435: Add payment provision terms allow support (#53)
* added allow support

* changed cache version to 2

* revert cache change

* Revert "revert cache change"

This reverts commit 6a57cc9cdc.

* added tests
2022-11-16 12:26:33 +04:00
Andrew Mayorov
9a25ce678e
OPS-220: Ensure backward compatibility @ session events (#52) 2022-11-02 13:52:22 +03:00
Andrew Mayorov
2412b220a0
OPS-220: Emit user interaction completion events (#51)
Bump to valitydev/damsel@6655937
2022-11-01 22:57:23 +03:00
Alexey S
f1f4d8a8fd
TD-352: Single stage adjustments (#45) 2022-10-27 09:35:56 +00:00
Артем
cc4ad884ee
TD-326: Add session module (#41)
* added session module

* added hg session integration, fixed

* fixed

* fixed

* added trx undefined check

* Revert "Auxiliary commit to revert individual files from 1000aa50dfe327a5ac11c6b461045a58182e110f"

This reverts commit 7061b5558ba0853c32a1bcac0061ba7854c7b734.

* added set trx function

* fixed

* fixed minors

* refactored event wrap

* fixed

* refactored fd

* fixed minor
2022-10-18 21:00:01 +04:00
Артем
cad6ad4ef9
TD-385: Bump damsel (#50)
* bumpted to valitydev/damsel@6047497

* removed legacy

* removed
2022-10-12 09:20:17 +04:00
Артем
22aef17707
TD-407: Add route to limit context (#48) 2022-10-02 19:38:17 +04:00
Andrew Mayorov
bf6e9b13d4
Fix limit comparison w/ upper boundary (#47) 2022-09-07 18:24:39 +03:00
Andrew Mayorov
471bf6c636
Ensure refund limits rolled back properly (#44)
Bump to valitydev/limiter-proto@6158184
2022-08-31 13:20:40 +03:00
ndiezel0
ef8b6b286e
TD-341: Pin Route (#40)
* Start implementation

* wip

* wip

* Format

* Fix

* Fix

* Update damsel

* Fix

* Various fixes

* Format

* Fix test

* Add tests
2022-08-16 13:04:24 +05:00
ndiezel0
d33fe19e8c
TD-167: Refactor hg_route_rules_tests_SUITE (#29)
* TD-167: Refactor hg_route_rules_tests_SUITE

* Review fixes

* Add dmt mocking

* Some more test fixes

* Fix 2 tests to work on mocks exclusively

* Make tests work in parallel

* Refactor route_rules_tests to be parallel

* Review fixes

* Review fix

* Fix merge

* Fix tests

* Review fix

* Fix some tests

* Review fixes

* Review fixes

* Simplify PaymentsProvisionTerms in provider terms

* Fix coverage of hg_context:set_party_client_context/2

* Fix

* Fix spec

* Fix spec 2

* Update apps/hellgate/test/hg_mock_helper.erl

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>

* Review Fix

* Fix test

* Revert "Fix test"

This reverts commit 10983bf6a9.

* Revert "Review Fix"

This reverts commit 71d8702bca.

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
2022-07-19 07:25:45 +03:00
Andrew Mayorov
4937089107
TD-312: Switch to valitydev/damsel@dac2cb5 (#35)
* Switch to valitydev/damsel@dac2cb5
  * valitydev/dmt-client@899bd71
  * valitydev/dmt-core@7584133
  * valitydev/party-client-erlang@38c7782
  * valitydev/payproc-errors-erlang@a19e716
  * valitydev/thrift v0.14.2.3

* Bump to valitydev/machinegun-proto.git@347c5c4
* Bump to valitydev/bender-client-erlang@4e15070
* Bump to valitydev/limiter-proto@c5dfe39
2022-06-24 19:03:41 +03:00
Артем
46c7c91ccf
TD-306: New limiter context (#34)
* bumped limiter proto valitydev/limiter-proto@ac97053

* changed condition

* changed to payproc context

* bumped limiter valitydev/limiter@2dff7b5

* fixed

* fixed minor
2022-06-22 08:07:35 +03:00
Alexey S
fb0570df68
TD-296: Drop mg tag remains (#30) 2022-06-07 13:38:22 +03:00
Alexey S
7318303acb
TD-269: Machine tagging via bender (w/ fallback)(#27) 2022-05-18 16:33:54 +03:00
Артем
dc25a05508
TD-197: Remove deprecated methods (#26)
* removed deprecated pmt methods

* fixed limit test

* added little test

* updated little test

* fixed dialyzer

* added requested changes
2022-04-28 18:03:48 +03:00
Alexey S
21fc5519c9
TD-259: Update damsel and remove migration code (#25) 2022-04-22 13:10:37 +03:00
Alexey S
0bd0458340
TD-225: Remove UserInfo auth logic (#22)
* Remove auth logic, update party client

* hadolint please
2022-04-15 14:07:54 +03:00
ndiezel0
2350be8b01
TD-263: Move from shumway to accounter (#23)
* TD-263: Move from shumway to accounter

* Fix test

* Fix checks

* Review fix

* Review fix
2022-04-14 13:08:17 +03:00
Andrew Mayorov
5f406e4baf
Use unknown suberror for routing misconfiguration (#14)
There's no `misconfiguration` suberror after all.
2022-03-11 11:00:42 +03:00
Andrew Mayorov
c78c98c17b
Fix accessing fault-detector settings (#13)
Also describe various fault detection settings in sys.config.
2022-03-02 14:16:18 +03:00
Andrew Mayorov
6485bdc500
Respect routing candidate set protocol type (#11)
Otherwise we'll fail miserably while trying to serialize event with
ill-formed set.
2022-02-24 15:30:57 +03:00
Alexey S
2220a749e9
TD-158: Enable fail and fulfill session scenarios on capture session (#8) 2022-02-24 11:23:24 +03:00
Andrew Mayorov
441239b4a4
TD-172: Support repairing suspended sessions (#9)
* Drop needlessly duplicated testcases
* Run repair scenario tests in parallel
2022-02-16 19:28:47 +03:00
Andrew Mayorov
694a9cf9c0
TD-156: Ensure routing metadata is jsx-compatible (#7)
* Rewrite healthchecks with nodetool's ping
* Add formatting test
2022-02-10 17:17:56 +03:00
Alexey S
79e3d8108c
TD-158: Add new ci (#6) 2022-02-09 18:21:50 +03:00
Andrew Mayorov
451ff8a38d
APM-35: Implement valitydev/damsel@f90de6c (#3)
* Switch to valitydev upstreams
  * valitydev/genlib@82c5ff3
  * valitydev/party_client_erlang@8fc5595
  * valitydev/woody_erlang@6f818c5

* Switch to valitydev/shumaich-proto
2022-01-21 17:19:25 +03:00
Andrew Mayorov
209cbcdeaf
Add support for damsel @ b4447c90
With `sum_of` cashflow volumes product.
2022-01-05 15:54:09 +03:00
yuri-bukhalenkov
ae720132a8
updated damsel (#613) 2021-11-15 13:41:16 +03:00
dinama
454939c7f2
ED-126: +CustomerManagement:ComputeTerms (#609) 2021-10-26 19:58:15 +03:00
Sergey Yelin
3403b5fcec
Remove warning when route found (#612) 2021-10-26 07:35:27 +03:00
dinama
e1932c161a
+party management w/o domain cache (#608) 2021-10-25 15:43:44 +03:00
ndiezel0
9c5c65bf04
ED-69: Split implementation (#610)
* BUSINESS-160: Respect allocation terms in terms computations (#576)

* Support reducing allocation terms
* Fix naming as of rbkmoney/damsel@a2509fc

* ED-69: Implement Cashflow (#586)

* Revert "Revert "ED-69: Implement new cashflow (#577)" (#585)"

This reverts commit a76f6ee905.

* ED-69: Fix migration from master to epic/split

* ED-69: Add allocations (#587)

* ED-69: Add allocations

* ED-69: Add validation

* ED-69: Update damsel

* ED-69: Fix compile

* ED-69: Add allocation refund

* ED-69: Compact transactions

* Update apps/hellgate/src/hg_allocations.erl

Co-authored-by: Артем <WWW_cool@inbox.ru>

* ED-69: Rename Params -> Data

* ED-69: Some changes to allocation work

* ED-69: Add non-working eunit test

* ED-69: Fix bugs and make test work

* ED-69: Fix bugs and make more tests

* ED-69: Fix some specs

* ED-69: Fix dialyzer and format

* ED-69: Redo allocation refund into subtraction

* ED-69: Integrate allocation subtraction to refund

* ED-69: Add headers, return tests to working conditions and update damsel

* ED-69: Review fix

* ED-69: Review fix

* ED-69: Review fix

* ED-69: Review fix

* ED-69: Fix tests

* ED-69: Add validation for aggegator clash

* ED-69: Review fix

* ED-69: Review fixes

* ED-69: Add cashflow usage

* ED-69: Fix cashflow

* ED-69: Format

* ED-69: Review fixes

* ED-69: Fix collect_refund_cashflow/10

* ED-69: Review fix

* ED-69: Various fixes

* ED-69: Fix tests

* ED-69: Format

* ED-69: Fix lint

* ED-69: Add list of shops to multiple_payment_institutions error

* ED-69: Fix specs

* ED-69: Review fixes

* ED-69: Review fix

* ED-69: Review fix

* ED-69: Review fixes

* ED-69: Review fixes

* ED-69: Fix compile

* ED-69: Review fixes

* ED-69: Review fixes

* Update apps/hellgate/src/hg_allocation.erl

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

* ED-69: Review fixes

* ED-69: Review fixes

* ED-69: Fix test

* ED-69: Add tests

* ED-69: Format

* ED-69: Fix tests

* ED-69: Review fixes

* ED-69: Review fix

* ED-69: Review fix

* ED-69: Move allocation tests to test/*

* ED-69: Format

* ED-69: Fix lint

* ED-69: Fix spec

Co-authored-by: Артем <WWW_cool@inbox.ru>
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>

* ED-69: Fix merge

* ED-69: Update damsel to master

Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
Co-authored-by: Артем <WWW_cool@inbox.ru>
2021-10-22 16:02:13 +03:00
Sergey Yelin
33dcecd233
drop p2p (#611) 2021-10-20 14:19:41 +03:00
ndiezel0
c8ed7ccdeb
ED-69: Add new invoice init (#607) 2021-10-05 18:09:31 +03:00
Boris
0587356c41
ED-212: refactor routing (#594) 2021-10-05 14:20:42 +03:00
Boris
c5f4735cfc
fix payment tool (#606) 2021-10-04 10:43:56 +03:00
Boris
8047cfb49a
ED-87: Add default behaviour validation payment methods (#601) 2021-09-29 11:18:02 +03:00
Sergey Yelin
6888cb483e
ED-110: Use both (old and new) dictionaries for geting payment methods (#605) 2021-09-28 12:37:32 +03:00
Sergey Yelin
6ade0aace9
Remove legacy repair mechanism since HG and MG switched to new one (#602) 2021-09-17 14:06:37 +03:00
yuri-bukhalenkov
dddb717330
ED-267/fix/bank-card-unmarshal (#600)
* added missed function clause

* updated dependencies; run tests consistently
2021-09-16 10:23:05 +03:00
yuri-bukhalenkov
baaf8ad7de
ED-110: dictionaries replacement (#575)
* added payment system objects

* updated dominant image

* updating hg_payment_tool

* added payment-system and crypto-currency objects

* refactored hg_dummy_provider:make_payment_tool

* refactored hg_dummy_provider:make_payment_tool (part II, mobile-commerce)

* added payment-token object

* updated party-management docker image reference

* mobile commerce tests

* payment_with_offsite_preauth (jcb payment system) tests

* payment service (terminals) tests

* payment service (wallet) tests

* erlformat

* added payment system (no_preauth mastercard) tests

* payment system (visa wo cvv) tests

* payment system (visa no_preauth) tests

* payment system (visa unexpected_failure) tests

* payment system (visa unexpected_failure_no_trx) tests

* payment system (visa preauth_3ds) tests

* tokenized bank card tests

* payment system (visa scenarios) tests

* direct recurent tests

* invoice adjustment tests

* customer tests

* recurrent paytools tests

* some prepearing for tests

* crypto-currency tests

* running chargeback tests consistently

* added payment adjustment test
2021-09-14 12:22:14 +03:00
Yaroslav Rogov
2829b775b0
Ed 263/feat/named invoice templates (#599)
* ED-262/feat: Add support for name and createdAt for InvoiceTemplate

* ED-263/deps: Update damsel
2021-09-10 14:50:16 +03:00
Yaroslav Rogov
9dd99ab584
ED-190/deps: Update dmt_client (#582)
* ED-190/deps: Update dmt_client

* ED-190/deps: Update dmt_client

* ED-190/deps: Update dmt_client and update usage

* ED-190/test: fix customer tests

* ED-190/test: fix direct recurrent tests

* ED-190/test: Fix tests

* ED-190/test: Fix tests (probly?)

* ED-190/test: fix typo

* ED-190/test: fix adjustments tests

* ED-190/refactor: Fix dialyzer errors

* ED-190/refactor: Fix dialyzer

* ED-190/deps: Update party_client_erlang

* fix: remove party-management

* ED-190/test: return sleep

* ED-190/test: Fix compute_terms order

* ED-190/test: Probly fix test?
2021-08-26 19:07:58 +03:00
dinama
2fda331052
ED-242: +fix woody_api_hay +update composer (#593) 2021-08-24 18:39:33 +03:00
dinama
0c6bcf6346
ED-245: +rbkmoney/damsel#700 +format (#591) 2021-08-24 08:24:45 +03:00
yuri-bukhalenkov
6742b73587
removed hg_client_party and replaced it with party_client in tests (#590) 2021-08-19 13:28:47 +03:00
Boris
4ef9006667
[ED-157] Rollback limits unused routes before captured or cancelled step (#588) 2021-08-11 12:48:49 +03:00
Alexey
670d4ded84
ED-198: Implement fulfill_session scenario (#584) 2021-08-09 15:11:40 +03:00
Boris
8c607c633b
ED-157: Choose route without limit overflow (#583) 2021-08-05 18:02:44 +03:00
Артем
a76f6ee905
Revert "ED-69: Implement new cashflow (#577)" (#585)
* Revert "ED-69: Implement new cashflow (#577)"

This reverts commit 843ab7ceb0.

# Conflicts:
#	apps/hellgate/test/hg_invoice_tests_SUITE.erl

* fixed revert

Co-authored-by: Yuri Bukhalenkov <y.buhalenkov@rbk.money>
2021-07-28 10:57:45 +03:00
yuri-bukhalenkov
cfb0c20ec0
ED-97: switching to external pm (#578)
* switching to external pm

* switched to party client for some tests (in hg_invoice_tests_SUITE); removed party_management tests

* removed party_management, pm_proto, pm_client apps

* fixed tests

* replaced hg_client_party with party_client (part I, hg_invoice_template_tests_SUITE)

* replaced hg_client_party with party_client (part II, hg_invoice_tests_SUITE)

* fixed merging issues

Co-authored-by: r.shaidullin <ndiezel0@gmail.com>
2021-07-26 12:59:34 +03:00
ndiezel0
843ab7ceb0
ED-69: Implement new cashflow (#577)
* ED-69: Implement new cashflow

* ED-69: Update damsel and remove new cashflow

* ED-69: Some fixes

* ED-69: Fix issues

* ED-69: Add TransactionAccount checks in tests
2021-07-23 11:11:59 +03:00
yuri-bukhalenkov
a30d18330f
ED-186/removed eventsink (#580)
* removed eventsink

* removed pm_event_provider

* removed hg_event_provider
2021-06-25 18:23:52 +03:00
Boris
6f6be75b32
ED-156: integration with limiter (#574) 2021-06-23 14:08:28 +03:00
Andrew Mayorov
ce90c673ba
Fix get revision w/ empty index (#572)
Which was broken in 016faf5.
2021-06-02 12:27:47 +03:00
Andrew Mayorov
016faf528c
Bump to rbkmoney/damsel@cc2875b carefully (#571)
* Adapt party machine transmutations facilities to support it
* Encode party state snapshots as thrift binary
* Avoid excessive party event decoding
* Add eventsink consistency testcase to partymgmt
2021-06-01 14:42:21 +03:00
Boris
9d53f32aa3
[ED-87]: Add PaymentMethod in log if occured error 'InvalidPaymentMethod' (#568) 2021-05-21 16:24:49 +03:00
yuri-bukhalenkov
4159f30c72
replaced an empty varset with a proper one for computing contract terms (#567) 2021-05-20 18:30:05 +03:00
Yaroslav Rogov
338c7a04af
Ed 95/feat/id passing proto switch (#566)
* ED-95/feat: Switch proto defs to required ids

* deps: Update damsel

* ED-95/feat: Switch proto defs for invoices as well

* deps: Update damsel

* test: Fix tests

* Revert "test: Fix tests"

This reverts commit defaf4f076e3ce518121f83e609141ebe5609aae.

* test: Fix tests

* test: Fix the rest of the tests

* test: Fix more tests

* test: Fix more

* test: fix unexported function

* test: Fix helpers functions

* fix: Fix invoice iding

* test: smth with ids?

* test: Fix refund limit test

* fix: it cant be

* test: change ids for sure

* ci: trigger rebuild

* test: temp disable parallel for refunds_ tests

* test: restructure parallel refunds tests
2021-05-19 17:35:10 +03:00
yuri-bukhalenkov
839bd29d9f
Ed-98/fix/rm party selector reduce (#564)
* removed pm_selector:reduce in hg_invoice_payment_chargeback

* removed pm_selector:reduce in hg_recurrent_paytool

* reverted one pm_selector:reduce call in hg_recurrent_paytool

* removed pm_selector:reduce in hg_invoice_utils

* review fixes

* removed pm_selector:reduce in hg_limiter

* removed unused function, replaced type pm_selector:varset with hg_varset:varset

* format

* cleanup
2021-05-19 10:19:57 +03:00
Boris
0dcc31939d
Fix del legacy routing detection (#559) 2021-05-17 09:55:48 +03:00
Boris
744d95f5e8
ED-145: Handle exception ProvisionTermSetUndefined (#565) 2021-05-13 16:02:22 +03:00
Andrew Mayorov
3012a02820
ED-142: Store and pass PayerSessionInfo where needed (#563)
* Bump to rbkmoney/damsel@66b9ae4
2021-04-30 12:19:26 +03:00
ndiezel0
5294135eeb
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
d9737fb3c9
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
82a6bc5074
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
32893dd684
ED-94/feat: use passed customer_id (#556)
* ED-94/feat: use passed customer_id

* ED-94/deps: upgrade damsel

* ED-94/refactor: Comment the generation

* refactor: make FIXME entry more clear
2021-04-26 12:31:16 +03:00
Yaroslav Rogov
e5429e9cf5
ED-92/feat: use passed invoice_template_id (#555)
* ED-92/feat: use passed invoice_template_id

* ED-92/deps: upgrade damsel

* ED-92/refactor: Comment the generation

* refactor: make FIXME entry more clear
2021-04-26 11:45:34 +03:00
Yaroslav Rogov
57f681a177
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
c3e7413db0
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
yuri-bukhalenkov
fd5df7298d
ED-98: replaced local calls with a thrift ones (#557)
* replaced local calls with a thrift ones
2021-03-31 18:08:02 +03:00
dinama
97a7f0206e
ED-86: +hg_customer dynamic poll timeout (#552) 2021-03-23 00:03:47 +03:00
Boris
6e9b93baed
merge PaymentsProvisionTerms.turnover_limits (#553) 2021-03-19 13:04:05 +03:00
dinama
0fa80b47ac
ED-33: allow cashflow adjustment for non-fail final states (#545) 2021-03-03 18:42:14 +03:00
Boris
3df4ea5c89
MSPF-628: Add proto limiter integration (#534) 2021-03-02 22:34:19 +03:00
yuri-bukhalenkov
1964ed27e6
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
75ed95a9bc
ED-40: reduce party reading (#544)
* reduce party reading

* asserts do not change state anymore

* reduced getting party calls

Co-authored-by: Andrey Fadeev <me@ciiol.net>
2021-02-26 20:58:29 +03:00
George Belyakov
12f5f18711
HG-567: Several adjustments treatment (#541)
* add non-idle payments check for invoice payment-to-invoice transition

Co-authored-by: Andrey Fadeev <me@ciiol.net>
2021-02-19 15:32:04 +03:00
Boris
b03e1fca24
Move accounter hold from process_routing in process_cash_flow_building (#540) 2021-02-19 10:44:57 +03:00
Boris
999722915d
Add process cashflow building (#542) 2021-02-18 17:43:31 +03:00
Boris
31d34bae77
Add handler 'ProcessRepair' (#521)
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2021-02-10 14:22:29 +03:00
yuri-bukhalenkov
87e8c1c478
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
dinama
c4eb9b4138
upgrade: +image +deps +endpoints (#535) 2021-01-31 17:39:04 +03:00
Andrey Fadeev
5bbb1afcf8
Fix notfound error handling in call to customer machine (#533) 2020-12-29 12:06:31 +03:00
dinama
983ba4d48b
pass make_recurrent to inspector (#532) 2020-12-24 14:10:19 +03:00
dinama
490958222b
+upgrade all +fix after upgrade (#531) 2020-12-24 12:12:05 +03:00
Boris
a6f0af5773
Logging routing computation trace (#530)
* add candidates compution trace
2020-12-18 15:16:22 +03:00
Andrey Fadeev
0776ca6685
Remove risk score overwriting when make_recurrent flag is set (#528)
* Remove risk score overwriting when make_recurrent flag is set
* Remove related test
2020-12-16 19:10:22 +03:00