Commit Graph

499 Commits

Author SHA1 Message Date
Sergey Elin
0b3e517400
Upgrade to Erlang 21 (with lager) (#322)
* MSFP-433: Erlang 21 with lager
2019-05-20 14:59:29 +03:00
Andrey Fadeev
72e23ac007
HG-478 Allow conditions in recurrent_payment_tool cost (#319)
* Add party_revision preserving
* Add varset collecting in cash validation
* Use preserved domain revision
* Use party_client in hg_recurrent_paytool
* Use party_client in hg_invoice_template
* Use party_revision from params
2019-05-17 12:50:41 +03:00
Andrey Fadeev
7179e82258
HG-478 Revert update to Erlang 21 (#320)
* Revert "MSFP-433: Fix badmatch in woody (#316)"

This reverts commit c9174907a2.

* Revert "Upgrade woody (#315)"

This reverts commit e1ed162497.

* Revert "HG-433: Upgrade to Erlang 21 (#313)"

This reverts commit faf7d595dd.
2019-05-17 11:52:11 +03:00
Sergey Elin
c9174907a2
MSFP-433: Fix badmatch in woody (#316) 2019-05-15 17:54:22 +03:00
Sergey Elin
e1ed162497
Upgrade woody (#315) 2019-05-15 12:48:08 +03:00
Sergey Elin
faf7d595dd
HG-433: Upgrade to Erlang 21 (#313)
* HG-433: Upgrade build_utils
* HG-433: Upgrade base erlang image and build image
* HG-433: Upgrade machinegun
* HG-433: Upgrade libraries
* HG-433: Switch to cowboy 2.x
* HG-433: Update dmt_client
* HG-433: Switch to logger
2019-05-08 15:17:59 +03:00
Sergei Shuvatov
bd90952262
HG-473: bump dmt_client (#312) 2019-05-06 17:08:33 +03:00
Andrew Mayorov
79d7dabe50
Implement payment context storing (#311)
* Bump to rbkmoney/damsel@3883e6a
2019-04-30 20:38:31 +03:00
Sergey Elin
6e12f6024c
HG-471: Added risk_score_is_too_high to no_route_found (#308)
* Added risk_score_is_too_high to no_route_found
* Update damsel
* Fix logger level for new status
2019-04-26 11:48:07 +03:00
Sergei
73d4043b00
HG-473: optimize memory consuption by dmt_client (#309) 2019-04-25 16:20:12 +03:00
Sergei
f5ca672f3f
Fix check for invoice status on payment start (#307) 2019-04-23 20:08:07 +03:00
Boris
eb1f950f66
HG-459 Events serialize/deserialize in thrift binary (#303) 2019-04-09 09:34:25 +03:00
Sergei
c82b4e62ab
HG-465: invoice creation and payment start idempotency (#306)
* Use invoice id from InvoiceParams/InvoiceWithTemplateParams if defined
* Use payment id from InvoicePaymentParams if defined
* Store external_id for invoice and payment
2019-04-08 16:12:20 +03:00
Andrey Fadeev
4a89dfc81a
HG-468 Remove temporary reindex MG call handler (#305)
Remove reindex machine call handler from #304

This reverts commit 8946494.
2019-04-05 17:24:08 +02:00
Andrey Fadeev
89464944b0
HG-468 Add temporary reindex MG call handler (#304)
This should make possible to fix rest of
rbkmoney/hellgate#299 problems
2019-04-05 10:41:13 +02:00
Alexey
faf2d4c22b
HG-467: Change payment cost to reflect the captured amount (#301) 2019-04-01 18:36:34 +03:00
Evgeny Levenets
c54a041ac5
Fix party revision checkout (second try) (#299)
* Revert "Revert "fix party checkout and revision index building (#295)" (#297)"

This reverts commit 05b6bca7bf.

* check last EventID to ensure MaxRevision is really last one

* match one-element list
2019-03-26 13:09:44 +03:00
Артем
0ddf02ff8e
Fix: + Added test for empty cvv bank card (#298) 2019-03-18 15:50:12 +03:00
Evgeny Levenets
05b6bca7bf
Revert "fix party checkout and revision index building (#295)" (#297)
This reverts commit 99f298e4dd.
2019-03-15 15:21:44 +03:00
Evgeny Levenets
99f298e4dd
fix party checkout and revision index building (#295)
* fix empty map pattern matching

* fix appending party revision index

* include new changes' revision into index
2019-03-12 14:43:07 +03:00
Alexey
f10e9a1e51
HG-461: Add manual refund handle (#292) 2019-02-28 16:30:02 +03:00
Alexey
79fc57713a
HG-457: Fix invalid maximum refund cash calculation (#294) 2019-02-28 15:59:05 +03:00
Артем
caaeea40e6
HG-463: Partial capture permit (#291) 2019-02-27 10:31:04 +03:00
Артем
3426c48623
HG-460: Empty cvv (#289) 2019-02-26 14:46:14 +03:00
Andrew Mayorov
3db9373f8f
Implement custom repair machine actions (#293) 2019-02-25 18:13:34 +03:00
Andrew Mayorov
f968572f59
At least validate that changes are good when doing adhoc repair (#290) 2019-02-22 18:07:53 +03:00
Andrew Mayorov
b226b52f6a
Bump to rbkmoney/woody_erlang@d8de03d (#288) 2019-02-20 14:52:40 +03:00
Артем
798e4412a8
HG-455: Partial capture (#284) 2019-02-04 14:44:38 +03:00
Evgeny Levenets
a1ea6053fe
DC-104: withdrawals routing v2 (#287) 2019-01-31 15:01:28 +03:00
Alexey
8d7f618f6f
DC-111: Add subagent account (#286) 2019-01-29 15:41:43 +03:00
Evgeny Levenets
d1879d79a2
DC-104: bump damsel to work with new domain config (#285)
rbkmoney/damsel@1c28959
2019-01-25 16:02:25 +03:00
Andrew Mayorov
e4069b0b35
Failproof merging session events (#283) 2019-01-22 11:29:50 +03:00
Andrey Fadeev
2c1b3cc07b Apply back "HG-449: Fail the machine when capture session fails (#277)" (#281)
This reverts commit 7aa73be5ef #279
2019-01-16 16:11:49 +03:00
Andrey Fadeev
52b56f4170
Add more possible transport options for proxy (#280) 2019-01-15 22:20:36 +03:00
Andrey Fadeev
7aa73be5ef
Revert "HG-449: Fail the machine when capture session fails (#277)" (#279)
This reverts commit 1d38c03302.
2019-01-15 21:47:50 +03:00
Alexey
1d38c03302
HG-449: Fail the machine when capture session fails (#277) 2019-01-15 13:49:45 +03:00
Andrey Fadeev
44f18e2e11
MG-145 Add VM metrics collection (#278)
Add `how_are_you` library usage
2019-01-15 00:36:59 +03:00
Артем
967e7d7604
HG-450: Wallet payout tool (#275) 2018-12-12 17:14:15 +03:00
Артем
998985ade2
Revert "HG-398: New state in failure. (#267)" (#274)
This reverts commit f652d97ca6.
2018-11-27 16:05:49 +03:00
kloliks
54d8233461
HG-447: fast get_last_revision (#273) 2018-11-27 14:51:16 +03:00
Артем
f652d97ca6
HG-398: New state in failure. (#267) 2018-11-20 17:41:08 +03:00
Andrey Fadeev
80d01baaf9
HG-443 Do not set custom deadline for inspector without fallback (#266) 2018-11-19 14:31:58 +03:00
Alexey
35e2a5ecf5
HG-446: Fall back to bin check when bank name is undefined (#271) 2018-11-14 16:44:33 +03:00
Артем
5effe8a6ec
HG-444: Add sequence (#269) (#270) 2018-11-12 16:33:15 +03:00
Evgeny Levenets
ef3cafeaec
HG-408: switch to binary event storage (#242) (#268)
cherry pick 4485efa
2018-11-07 11:54:23 +03:00
Andrew Mayorov
61ba5136c3
Unforget to store binbase data in the StartPayment events (#265)
* Push some bank-card-issure-dependent provider terms too
* Stuff test bank cards w/ some random metadata
2018-11-01 12:39:54 +03:00
Evgeny Levenets
defdf18844
HG-408: switch to binary event storage (2nd try) (#264)
Previous commit #242 was reverted and squashed in #263, so we have to revert revert this.
2018-10-31 13:33:28 +03:00
Andrey Fadeev
a2875f6565
FF-7 Add missed WithdrawalServiceTerms merge (#263)
* Revert "HG-408: switch to binary event storage (#242)"
This reverts commit 4485efae95.

* FF-7 Add missed WithdrawalServiceTerms merge
2018-10-29 19:38:17 +03:00
Evgeny Levenets
4485efae95
HG-408: switch to binary event storage (#242)
* HG-408: switch to binary event storage

* use metadata obviously

* encode/decode perfection

* dumb packing logic

* dumb unpacking

* fix dialyzaaaar

* little typing improvement

* introduce primitive AuxState

* use aux state for state composition

* rework aux state usage a little bit

* use AuxState for checking out by revision

* fix awkward bug

* move header to proper location

* revert previous ugly commit

Revert "fix awkward bug"

* use 0 limit for get_state and checkout_by_revision

* rework get_state for handle_call

* build party revision index on call

* remove adhoc with domain revision

* remove get_st_timestamp()
2018-10-23 13:43:39 +03:00
Артем
277d6e4946
HG-439: Invoice repair tool (#258) 2018-10-23 09:55:31 +03:00