Aleksey Kashapov
99a6c45fc0
TD-943: Fixes invoice template state reconstruction and adds tests ( #139 )
...
* TD-943: Fixes invoice template state reconstruction and adds tests
* Fixes typo
2024-07-22 18:08:54 +03:00
Aleksey Kashapov
1c99fe0733
TD-933: Adds support for deviation direction for amount randomization ( #137 )
...
* TD-933: Adds support for deviation direction for amount randomization
* Bumps damsel
* Fixes arg naming
2024-07-02 10:59:33 +03:00
Aleksey Kashapov
47b4b8e8bb
OPS-474: Adds support for amount randomization invoice mutation ( #136 )
...
* OPS-474: Adds support for amount randomization invoice mutation
* Bumps dmt_client and party_client
* Completes amount mutation with cart's line price and adds unit tests
* Refactors amount mutation func
* Moves mutations into separate module
* Refactors into separate make and apply mutation functions
* Fixes make_mutations foldl
* Fixes cart validation clause
* Retires 'rounding' option in amount randomization
2024-06-20 12:11:19 +03:00
Aleksey Kashapov
0f88093b53
TD-904: Removes testcase w/ obsolete recurrent paytools event sink usage ( #126 )
...
* TD-904: Removes testcase w/ obsolete recurrent paytools event sink usage
* Removes obsolete eventsink module and funcs
* Bumps deps
2024-06-03 11:52:58 +03:00
Артем
0d99453eac
TD-917: Fix cashflow adj from failed to capture ( #135 )
...
* fixed
* fixed fmt and naming
* fixed
* added refund test
* added minor
* added refund tests for amount changed by adapter
* fixed
2024-06-03 11:21:59 +03:00
ndiezel0
5accc10b24
Fix pins unrandomizing ( #134 )
...
* Add extra test to pins
* Fix pins unrandomizing
* Fix pins finally
* Add test and docs
2024-05-30 12:06:37 +05:00
ndiezel0
ef25bdc20a
OPS-465: Fix pinned routes weight ( #132 )
...
* OPS-465: Fix pinned routes weight
* Get rid of useless test
2024-05-16 16:52:14 +05:00
Aleksey Kashapov
1d6d7a647f
TD-831: Reapplies "Allow adjustment change of amount in Payment in failed state" ( #131 )
...
Revert "Revert "TD-831: Allow adjustment change of amount in Payment in failed state …" (#127 )"
This reverts commit 1442bbc
.
2024-05-16 13:32:32 +03:00
Aleksey Kashapov
52d56a67aa
TD-911: Adds validation of providers terms on chargeback creation ( #130 )
...
* TD-911: Adds validation of providers terms on chargeback creation
* Fixes testcase with undefined provider's chargeback terms
* Bumps woody
2024-05-16 11:39:45 +03:00
ndiezel0
1442bbcc3d
Revert "TD-831: Allow adjustment change of amount in Payment in failed state …" ( #127 )
...
This reverts commit 507084b8e1
.
2024-05-07 18:59:20 +05:00
ndiezel0
b5488dea6c
OPS-465: Fix pin functionality ( #125 )
...
* OPS-465: Fix pin functionality
* Fix
* Fix
* Remove unneeded include
* Fix 2
2024-05-06 16:55:32 +05:00
Aleksey Kashapov
67837eb732
TD-788: Makes prometheus start before woody and friends ( #124 )
...
* TD-788: Makes prometheus start before woody and friends
* Bumps CI cache
* Temporarily disables codecov report upload
2024-04-16 10:03:45 +03:00
ndiezel0
50480643a5
OPS-442: Add shop limits ( #121 )
...
* OPS-442: Add shop limits
* Fix tests and specs
* Add tests
* Format
* Add regression test
* Fix
* Update PM image
2024-04-04 01:37:36 +05:00
ndiezel0
55899c876c
IMP-202: Add new pins ( #122 )
...
* IMP-202: Add new pins
* Fix
* Fix
* Fix test
* Fix specs and test
* cleanup
2024-03-26 17:37:23 +05:00
Артем
5c02fe6ce0
Fix: Add blacklist bypass ( #120 )
...
* added
* fixed dialyzer
* minor
* added constant bypass
* fixed format
* removed some tests
* added env for score
2024-03-21 14:58:30 +03:00
Артем
872e076d33
IMP-171: Add route blacklist check ( #119 )
...
* added without tests
* fixed
* added tests
* bumped, fixed, added explanation
* fixed explanations
* bumped cache
* fixed explanation
* fixed
* fixed
2024-03-18 12:07:47 +03:00
ndiezel0
578bbc8571
TD-818: Fixes to explanations ( #117 )
2024-02-15 17:18:20 +05:00
Aleksey Kashapov
3c9ab24959
TD-846: Adds provider fd overrides support ( #116 )
...
* TD-846: Adds provider fd overrides support
* Simplify FD override options 'merge'
* Removes obsolete comment
* Fixes and merges testcase for pinned and FD overridden routes
2024-01-31 17:36:40 +03:00
ndiezel0
01c646e15e
TD-818: Add GetExplanationForChosenRoute method ( #113 )
...
* TD-818: Analyze routes of payment
* TD-818: Add GetExplanationForChosenRoute method
* Add varset gathering and explanation for candidates
* Add attempted routes explanation
* Add varset to explanation output
* Fix tests
* Fix test
* Format
* Review fix
* Add test
* Fix
* Bump cache
2024-01-30 20:51:20 +05:00
Aleksey Kashapov
bdeefbf2d2
TD-820: Fixes route candidates on no-route failure rollback after limit overflow ( #115 )
...
* TD-820: Fixes route candidates on no-route failure rollback after limit overflow
* Adds 'ignore_not_found' flag support for limit rollback
* Don't stash empty candidates list
* Adds ui cascade test cases
2024-01-17 11:54:37 +03:00
Aleksey Kashapov
4321821953
TD-834: Fixes cascade with user interaction transiency in session ( #112 )
2024-01-12 13:08:59 +03:00
ndiezel0
507084b8e1
TD-831: Allow adjustment change of amount in Payment in failed state ( #111 )
...
* TD-831: Allow adjustment change of amount in Payment in failed state
* Fix test
2023-12-22 18:14:30 +05:00
Aleksey Kashapov
70ee54ae6d
TD-820: Fixes limits rollback for route candidates ( #110 )
...
* TD-820: Fixes limits rollback for route candidates
* Fixes limit-hold routes stash
2023-12-20 16:19:35 +03:00
Aleksey Kashapov
b189c2fc48
TD-788: Adds woody pool/connections metrics ( #107 )
...
* Adds overrides for linter deps
* Bumps woody w/ prometheus collectors
* Bumps woody & scoper
* Raises processing info log messages
* Adds woody event severity mapping example to `sys.config`
2023-12-19 15:59:02 +03:00
Aleksey Kashapov
df89aad35d
TD-820: Fixes routes rejection logging ( #108 )
2023-12-14 13:43:54 +03:00
Aleksey Kashapov
0524f8227c
TD-820: Prevents route rejection for low conversion providers ( #106 )
...
* TD-820: Prevents route rejection for low conversion providers
* Updates testcase for route with low conversion
2023-12-12 10:36:01 +03:00
Aleksey Kashapov
7305ff03e6
TD-820: Refactors routing to support critical score rejections ( #105 )
...
* TD-820: Refactors routing to support critical score rejections
* Moves routing context helpers to appropriate module
* Splits large functions, fixes misconfiguration error bug
* Fixes second fail rates query
* Fixes routes equality check
* Extracts route struct functions
* Extracts routing context into separate module
* Fixes rejected routes ordering consistency
* Fixes funx naming and adds routes equality tests
* Makes rejected routes reasons more explicit in code
* Adds routing ctx pipeline test
* Adds specified routing sub failures
* Updates tests; replaces static errors translation
* Fixes ubiquity of availability status naming
* Updates route reject error codes
* Bumps damsel
2023-12-07 10:30:47 +03:00
Артем
42af922405
OPS-375: Add change body event ( #102 )
...
* added draft impl
* added tests
* fixed tests
* added review changes
* moved on damsel master
* fixed
* OPS-378: Implements payment amount adjustment (#104 )
* Adds tracing to invoice tests
* Adds cashflow amount change test
---------
Co-authored-by: Aleksey Kashapov <nanodirijabl@gmail.com>
2023-11-17 09:56:13 +03:00
ndiezel0
84945e0378
TD-793: Refactor cascade tests ( #103 )
...
* Refactor cascade tests
* Fix spec
* Fix tests
2023-11-15 22:57:37 +05:00
ndiezel0
30e14fec09
Fix allocations ( #101 )
2023-10-26 11:36:41 +05:00
Aleksey Kashapov
2a869217ac
TD-686: Adds tracing to woody wrapper calls ( #94 )
2023-10-25 15:23:18 +03:00
ndiezel0
58ddb862f7
TD-763: Add UI Cascade as default ( #96 )
...
* TD-763: Add UI Cascade as default
* Fixes
* Add tests
* Fix format
* Bump OTP version
* Be less strict about OTP version
* Refactor cascade decision making
* New get_route_cascade_behaviour function
2023-10-19 17:21:53 +05:00
Артем
fe5ed51e11
Fix: Invoice get ( #95 )
2023-10-02 12:37:26 +03:00
Артем
8fa2d2a382
OPS-358: Split hg invoice ( #90 )
...
* refactored hg invoice
* fixed
* removed unnecessary adj creation
* removed for regular adj
2023-09-27 11:57:42 +03:00
ndiezel0
b8156b10e2
TD-717: Add global_allow field to routing ( #93 )
...
* TD-717: Add global_allow field to routing
* Remove ct:log
* Fix spec
* Bump dialyzer cache
2023-09-19 18:08:23 +05:00
ndiezel0
deccc5a0a1
IMP-76: Add ContactInfo fields ( #91 )
...
* IMP-76: Add ContactInfo fields
* Format
2023-09-14 14:44:40 +05:00
Артем
50a7f09c24
OPS-356: Remove invoice adj ( #88 )
...
* removed invoice adj
* bumped to valitydev/damsel@c32f50f and valitydev/limiter-proto@e045813
2023-09-05 13:30:45 +03:00
ttt161
db39bf920d
TD-291: test refactoring/split suite ( #82 )
...
* TD-291: test refactoring/split suite
* TD-291: fix format/dialyzer checks
* TD-291: update style config
* TD-291: fix typo
---------
Co-authored-by: anatoliy.losev <losto@nix>
2023-09-04 10:19:30 +03:00
Aleksey Kashapov
37f8ed7057
TD-675: Fixes currency ref in limit change log metadata ( #87 )
2023-08-03 12:40:29 +03:00
Aleksey Kashapov
afcb01738a
TD-675: Adds limit change log notice ( #86 )
2023-08-03 11:01:29 +03:00
Aleksey Kashapov
a71441e9e6
TD-656: Adds route candidates condition ( #83 )
...
* Removes obsolete testcase `payment_cascade_no_route`
* Makes fault detector mock suite-wise
2023-07-05 12:54:23 +03:00
ttt161
79bd2312fc
TD-564: refactor fail preprocessing repair scenarios ( #81 )
...
* TD-564: refactor fail preprocessing repair scenarios
* TD-564: add deps
* TD-564: fix dialyzer checks
* TD-564: cleanup
---------
Co-authored-by: anatoliy.losev <losto@nix>
2023-06-09 11:18:23 +03:00
ttt161
cbb500631e
TD-600: add terminal option for override fd logic ( #80 )
...
* TD-600: add fd_overrides opts to terminal
* TD-600: bump damsel
* TD-600: resolve conflict
* TD-600: bump damsel
* TD-600: add test
* TD-600: cleanup
---------
Co-authored-by: anatoliy.losev <losto@nix>
2023-05-24 10:16:20 +03:00
Артем
2bf8307189
TD-482: Cashflow refactoring ( #57 )
...
* Merge branch 'TD-326/ft/refund' into TD-482/ft/cashflow_refactoring
* moved cashflow code to utils
* finished first version
* fixed after merge
2023-05-23 12:32:41 +03:00
ttt161
9d46f1fbd7
TD-572: Get payment routes limit values ( #79 )
...
* TD-572. impelementation get_limit
* TD-572: add test for get_limits
* TD-572: fix formatting
* TD-572: add test for exception
* TD-572: change limits output format
* TD-572: fix spec
* TD-572: fix naming, add test
---------
Co-authored-by: anatoliy.losev <losto@nix>
2023-05-19 17:43:59 +03:00
Aleksey Kashapov
e87b1e2ccf
TD-597: Updates invoice payments testcases to support provider failure results with transaction ( #75 )
2023-05-15 15:40:11 +03:00
Артем
6a51744e9c
TD-326: Refund refactor ( #46 )
...
* Merge remote-tracking branch 'origin/TD-326/ft/new_staff' into TD-326/ft/refund
* changed gproc to process dictionary
* added refund
* added new refund integration
* fixed
* refactored container
* fixed
* fixed cover
* added container asserts
* Revert "changed gproc to process dictionary"
This reverts commit a27bd8f298
.
# Conflicts:
# apps/hellgate/src/hg_container.erl
# apps/hellgate/src/hg_context.erl
* fixed after merge
* fixed tests
* refactored payment status change
* added requested changes
* added requested changes
* added refund callback test, fixed callback
* reseted cache
* fixed after merge
* fixed
2023-05-15 11:01:59 +03:00
Aleksey Kashapov
cbb33d6782
TD-597: Makes dummy provider implementations to use different trx id ( #74 )
2023-05-12 19:37:34 +03:00
Aleksey Kashapov
f70f7cc392
TD-596: Fixes attempted routes filtering ( #73 )
2023-05-11 13:23:32 +03:00
Aleksey Kashapov
6d3bb0053e
TD-592: Refactors transient errors list for cascade ( #72 )
2023-05-10 17:15:26 +03:00