Commit Graph

229 Commits

Author SHA1 Message Date
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
c6296baf93
APM-52: Bump to valitydev/damsel@318a7a6 (#15) 2022-03-15 15:29:41 +03:00
Alexey S
79e3d8108c
TD-158: Add new ci (#6) 2022-02-09 18:21:50 +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
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
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
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
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
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
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
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
Boris
6f6be75b32
ED-156: integration with limiter (#574) 2021-06-23 14:08:28 +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
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
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
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
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
Andrey Fadeev
44e354b793
Update damsel to rbkmoney/damsel@ca2b3ad (#551) 2021-03-16 20:23:15 +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
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
Sergey Yelin
32e269ab4f
Add uzcard as payment system (#538) 2021-02-02 15:56:23 +03:00
dinama
c4eb9b4138
upgrade: +image +deps +endpoints (#535) 2021-01-31 17:39:04 +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
Alexey
eabde5f5c6
CAPI-430: Add last_transaction_info to payproc_InvoicePayment (#522) 2020-12-09 14:54:16 +03:00
Sergey Yelin
b4c4e872bf
Update image (#511) 2020-11-27 16:48:54 +03:00
George Belyakov
b7a0c58dfb
hitch up all routing rules damsel changes (#507) 2020-11-16 10:55:56 +03:00
Andrey Fadeev
efe0b67a7a
Add dummy payment system (#506)
Bump damsel up to rbkmoney/damsel@3710cab
2020-11-11 14:45:46 +03:00
Toporkov Igor
233b3a0913
Revert "Revert "HG-555: update ComputeShopTerms clients (#497)" (#503)" (#504)
This reverts commit 72f6fd5c3d.
2020-11-09 13:50:16 +03:00
Toporkov Igor
72f6fd5c3d
Revert "HG-555: update ComputeShopTerms clients (#497)" (#503)
This reverts commit 9a8ad47008.
2020-11-05 12:09:36 +03:00
Toporkov Igor
9a8ad47008
HG-555: update ComputeShopTerms clients (#497)
* Hadle varset that might be sent in future

* Leave a comment about the migration process

* Update damsel & party_client

* Use party_client to call PM, add Varset to ComputeShopTerms args

* Add Varset to pm_client and tests
2020-10-30 14:54:58 +03:00
Sergey Yelin
cf0ff07a95
Add prometeus (#494) 2020-10-24 09:01:20 +03:00
ndiezel0
2c2bd465bc
HG-452: Add caching for Checkout Party (#487)
* HG-452: Add caching for Checkout Party

* HG-452: Fix dialyzer

* HG-452: Format

* HG-452: Make cache work

* HG-452: Review fix

* HG-452: Fix specs

* HG-452: Review fix

* HG-452: Fix

* HG-452: Review fix

* HG-452: Format
2020-10-16 13:41:47 +03:00