Commit Graph

616 Commits

Author SHA1 Message Date
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
github-actions[bot]
7262cca940 Update file(s) from valitydev/.github 2022-02-22 08:11:46 +00:00
github-actions[bot]
a4699f59e3 Update file(s) from valitydev/.github 2022-02-21 21:37:49 +00: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
7ac5596cfa
Setup GA based docker image publication (#5) 2022-01-26 19:06:49 +03:00
Andrew Mayorov
93d065b8c4
Bump to valitydev/damsel@dcd92dd (#4) 2022-01-24 16:34:55 +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
6a071c6d77
Switch to public rbkmoney/limiter-proto endpoint 2022-01-05 17:45:37 +03:00
ndiezel0
21c77215b2
Fix iosetopts (#4) 2022-01-05 15:54:36 +03:00
ndiezel0
3a128690eb
Fix io encoding (#3)
* BACKLOG-12: Fix io encoding

* Move iosetopts to prod profile

* Delete useless files

* Change iosetopts repo

* Update rebar.config

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

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
2022-01-05 15:54:30 +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
144cf2cc9c
ED-242: woody_api_hay w/o how_are_you (#596) 2021-08-26 14:58:37 +03:00
dinama
d257a74d73
ED-242: +woody_api_hay <-> how_are_you start order (#595) 2021-08-25 12:31:29 +03:00
dinama
2fda331052
ED-242: +fix woody_api_hay +update composer (#593) 2021-08-24 18:39:33 +03:00
dinama
456acd735f
ED-242: +image +build-utils +deps (#592) 2021-08-24 10:04:36 +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
Sergey Yelin
bcb9ad9525
Revert "feat/ED 148 introduce eea (#569)" (#570)
This reverts commit 702264cc2d.
2021-05-27 19:06:50 +03:00
Sergey Yelin
702264cc2d
feat/ED 148 introduce eea (#569)
* Remove clean before rm

* Ed-148: Upgrade damsel
2021-05-24 18:51:25 +03:00
Boris
9d53f32aa3
[ED-87]: Add PaymentMethod in log if occured error 'InvalidPaymentMethod' (#568) 2021-05-21 16:24:49 +03:00