Commit Graph

425 Commits

Author SHA1 Message Date
Yaroslav Rogov
264cf943f8
ED 81/pass rec payment tool id (#531)
* ED-81:deps: update damsel

* ED-81:deps: update build_utils

* ED-81:feat: Await externalID and use it to generate RecPaymentToolID

* fix: Add missing function

* fix typo

* ED-81:fix: Fix module name

* ED-81/fix: Add customer_binding_id to params

* ED-81/feat: Rewrite capi_bender, fix tests

* ED-81/deps: update swag scheme

* ED-81/fix: Fix signature for make_idempotent_key

* ED-81/fix: Probly fix dialyzer errors

* ED-81/fix: Totally fix dialyzer warnings

* ED-81/fix: Still Dialyzer moment

* ED-81/chore: Trigger jenkins job

* ED-81/chore: Disable dialyzer for those funs 🤷

* ED-81/fix: Finally fix dialyzer error?

* fix complex StartBinding prepare

* fix unnecesary test mock

* fix constant generation for no external_id

* fix features for payment tool token

* fix types for schemas with discriminators (unions)

* remove code duplication
2021-04-02 17:14:25 +03:00
ndiezel0
1a7f95d58e
ED-58: Implement bouncer in search and payout handlers (#529)
* ED-58: Implement bouncer in search and payout handlers

* ED-58: Add some tests

* ED-58: Fix tests

* ED-58: Add bouncer mocks and refactor tests

* ED-58: Format

* ED-58: Review fix

* ED-58: Review fix

* ED-58: Review fix and format

* ED-58: Return mock bouncer to `operations_by_base_api_token` group
2021-03-31 11:06:43 +03:00
Артем
2444fb598d
ED-54: Added bouncer integration for claims & contracts (#517)
* refactored claims & contracts

* added review changes

* fixed tests

* added minor fixes

* added another minor fixes

* fixed dialyzer

* fixed format
2021-03-26 13:56:03 +03:00
Артем
ac6d21d956
ED-56: Bouncer integration with inv and inv template (#522)
* refactored inv and inv template

* fixed tests

* refactored

* fixed test

* fixed format

* refactored wehooks

* fixed test
2021-03-26 11:29:53 +03:00
Andrey Fadeev
cf4da2ecd7
ED-84 Add bank account to invoice details (#530)
* Update swag to rbkmoney/swag@19890ad1
* Add bank account to invoice details
2021-03-22 12:14:11 +03:00
dinama
78f21e0119
Revert "Revert "ED-71: party *ByID calls (#523)"" (#528) 2021-03-16 11:11:00 +03:00
dinama
5e4a2772c5
Revert "Revert "ED-55: +geo bouncer +parties bouncer +customer bouncer"" (#526) 2021-03-15 18:39:10 +03:00
dinama
b1269667bc
bump images: +build ~cc2d319 +service ~d2b5ac4 (#525)
* bump rbkmoney/image-build-erlang@cc2d319

* bump rbkmoney/image-service-erlang@d2b5ac4
2021-03-15 13:10:57 +03:00
dinama
c81fa4e291 Revert "ED-55: +geo bouncer +parties bouncer +customer bouncer"
This reverts commit de2cfef0d3.
2021-03-15 11:56:55 +03:00
dinama
ff892abef4 Revert "ED-71: party *ByID calls (#523)"
This reverts commit d62050f351.
2021-03-15 11:56:55 +03:00
dinama
d62050f351 ED-71: party *ByID calls (#523)
* +add *ByID calls
* +bump swag
2021-03-12 18:05:04 +03:00
dinama
de2cfef0d3 ED-55: +geo bouncer +parties bouncer +customer bouncer 2021-03-12 18:05:04 +03:00
Andrew Mayorov
467f0a7e90
Bump to rbkmoney/image-build-erlang@9bedaf5 (#521)
* Bump to rbkmoney/image-build-erlang@9bedaf5
* Bump to rbkmoney/build_utils@fc6ac0f
* Bump to rbkmoney/image-service-erlang@c0aee9a
2021-03-11 15:08:01 +03:00
Andrew Mayorov
d725494891
ED-72: Bump to rbkmoney/swag@6d9dd1c (#518) 2021-03-05 17:43:44 +03:00
Andrew Mayorov
a709fd560f
ED-65: Safeguard bouncer integration (#516)
* Bump to rbkmoney/bouncer_client_erlang@2c083eb
* Provide sample bouncer_client config
2021-03-04 19:47:37 +03:00
Sergey Yelin
c9befca61b
ED-53: add prototypes (#515)
* Add prototypes to GetAccountByID

* Add prototypes to capi_handler_shops and capi_handler_categories

* Remove get_prototypes/3

* Rework shops handler

* Optimize some calls

* Rework accounts and categories handlers

* Torned on bouncer in tests for accounts and categories

* Enable bouncer in tests for shops
2021-03-03 21:27:04 +03:00
Andrew Mayorov
eb991049a7
ED-66: Pass bouncer ctx w/ specific access tokens (#513)
* Bump to rbkmoney/bouncer-proto@584e0ed

Use well-know auth methods instead.
2021-03-02 17:27:19 +03:00
yuri-bukhalenkov
280db62cd9
updated rebar.lock && submodules (#514) 2021-03-01 18:56:52 +03:00
Артем
fc93cda066
MSPF-601: Bouncer integration and webhooks (#510)
* bouncer integration WIP

* added preprocess

* added minor fixes

* remixed handler api

* fixed some tests

# Conflicts:
#	apps/capi/src/capi_auth.erl

* fixed

* fixed

* fixed test hack + format

* added empty impl bypass

* remixed

* refactored

* minor

* fixed dialyzer

* added requested changes

* fixed
2021-02-19 14:22:46 +03:00
Sergey Yelin
a073ec6f13
Add uzcard as payment system (#511)
* Add uzcard as payment system

* Update swag
2021-02-03 14:44:28 +03:00
Andrey Fadeev
4a2d9e9c70
CAPI-433 Allow empty last4 field in proto (#512)
Bump swag up to rbkmoney/swag@71170b2
2021-02-02 18:53:02 +03:00
dinama
104c3a7a82
+fix demo config (#509) 2021-02-01 18:30:04 +03:00
dinama
92619bb9cd
upgrade world (#507) 2021-01-31 22:09:20 +03:00
Alexey
2ae996ac46
CAPI-430: Add transaction_info to GetPayment methods (#506) 2020-12-09 18:42:53 +03:00
Sergey Yelin
69861392b0
Add yandexpay (#505)
* Update to swag with YandexPay

* Update damsel and swag

* Add YandexPay
2020-12-08 20:19:18 +03:00
Sergey Yelin
2ef82c8c34
Cleanup release (#504)
* Cleanup release

* Revert formater changes
2020-12-07 13:12:44 +03:00
Alexey
0b618ae9c8
MSPF-622: Update woody, remove random port generation in tests (#503) 2020-11-26 11:48:14 +03:00
Toporkov Igor
12fdc57392
CAPI-429: Add uzcard to terminal providers (#502)
* Upgrade swag to rbkmoney/swag@8b681d1cc3

* Upgrade damsel to rbkmoney/damsel@8e50cf2fd3
2020-11-25 15:05:42 +03:00
dinama
9149d73ecd
+bump swag (#501) 2020-11-20 20:40:12 +03:00
Andrey Fadeev
10510c2148
Add dummy payment system (#499)
Bump damsel up to rbkmoney/damsel@3710cab
2020-11-11 15:08:03 +03:00
George Belyakov
2e6e8eace8
MSPF-614: lazy party create cut (#497)
* remove lazy party creation except GetMyParty method, tests failed - need rework tests

* fix

* fix format

* move get_party into capi_handler_parties
2020-11-09 12:26:12 +03:00
Boris
ca86b1741b
Capi-426: add party id (#491) 2020-11-05 13:03:32 +03:00
Toporkov Igor
3b137e7b78
Update Build Image (#498) 2020-11-03 10:20:39 +03:00
dinama
5b20d9bcc6
CAPI-427: PaymentToolToken that may expire (#495)
* bump swag&damsel

* CAPI-427: support PaymentToolToken that may expire

* Fix missing party_id

Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
2020-10-30 18:46:14 +03:00
Toporkov Igor
ef87be9180
MSPF-579: Prometheus metrics (#494)
* Add Prometheus to dependencies

* Update build images

* Add MetricsRoute to config building

* Provide sample config

* Squash health and metrics routes in one argument

* Delete forgotten argument from spec

* Do not include src to release
2020-10-23 16:48:22 +03:00
Andrey Fadeev
ac236aedbc
Fix payment methods decoding when no tokenized cards are configured (#493) 2020-10-22 17:55:21 +03:00
Andrey Fadeev
74ce0cd4a0
Add formatter (#492)
* Add erlfmt
* Apply erlfmt
* Update build-utils
2020-10-14 11:45:53 +03:00
Boris
9f1b092b41
Capi-414: change idempotent checker algorithm create payment (#470) 2020-09-17 17:10:33 +03:00
Sergey Yelin
3ff33850a7
black lists (#490)
* Revert "Revert "CAPI-278: api keys blacklist (#235)" (#237)"

This reverts commit b482abaf0f.

* Add back blacklists
2020-09-15 08:40:30 +03:00
Andrey Fadeev
52eafff834
MSPF-560 Add ELO payment system (#489)
* MSPF-560 Add ELO payment system
* Update swag to rbkmoney/swag@b8d350d
2020-08-01 16:04:55 +03:00
Toporkov Igor
4fec1aeb85
Hide tokenization method from public API (#488) 2020-07-29 19:09:52 +03:00
Toporkov Igor
9b6c33f44d
DC-127: Refactor payment methods (#483)
* DC-127: Refactor payment methods (#479)

* Use corresponidng epic damsel branch

* Make adjasments for new protocol version

* Update dummy data

* Use new dummy data, remove unexisting include

* Upgrade damsel

* Delete redefined macro

* Handle deprecated payment methods

* Use deprecated payment methods in dummy data

* Use master branch of damsel

* Update dependencies

* Add new payment methods to fixture

* Use library function for partitioning
2020-07-25 21:59:37 +03:00
ndiezel0
5ab42aeff7
CAPI-424: Change config (#486) 2020-07-14 16:38:52 +03:00
Roman Pushkov
fb91862e79
MSPF-487: graceful shutdown (#485)
* add drainer dep

* use drainer

* remove drainer tests

* update .app.src
2020-07-14 14:05:49 +03:00
Sergey Yelin
43b30761b4
Switch to Erlang service pipe (#484) 2020-07-07 15:11:05 +03:00
Andrey Fadeev
7032811705
MSPF-561 Bump to rbkmoney/damsel@075185 (#482) 2020-06-30 18:10:35 +03:00
Andrew Mayorov
765a44ff77
Bump to rbkmoney/dmt_client@9148719 (#481)
* Bump to rbkmoney/damsel@d0e949b9
* Bump to rbkmoney/woody_erlang@dd5eaa73
2020-06-29 18:24:20 +03:00
Boris
8b29d2cfe1
MSPF-562: update damsel, add BankCard category, condition (#480) 2020-06-16 10:18:15 +03:00
Alexey
b802023836
FF-183: Upgrade damsel (#478) 2020-06-15 11:05:50 +03:00
Sergey Yelin
68a1a32915
Update build_utils (#477) 2020-05-21 17:09:49 +03:00