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
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
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
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
Boris
0268dbeba4
impl callback map_error() ( #476 )
2020-05-13 13:55:24 +03:00
Sergey Yelin
1dd0d045c4
Update uac ( #474 )
...
* Update uac
* Fix typo
2020-05-07 09:18:44 +03:00
Sergey Yelin
2d3cd91661
MSPF-532: get rid of rfc3339 ( #473 )
...
* MSPF-532: Update image
* MSPF-532: Remove rfc339 from capi
* Upgrade libs
* Update uac
* Refactor auth code
* Fix dialyzer errors
2020-04-27 18:43:54 +03:00
Roman Pushkov
52c9a22706
CAPI-417: hooker limit exceeded ( #472 )
...
* update damsel
* add test placeholder
* add handler placeholder
* update swag
* fix mock
* Update capi_base_api_token_tests_SUITE.erl
* fix syntax error
* test fix
2020-04-15 11:38:45 +03:00
Alexey
d020d19792
HG-535: Handle the new invoiceTermsViolated hg error ( #471 )
2020-04-06 11:04:24 +03:00
Roman Pushkov
bc3237656a
CAPI-375: chargebacks, capi handlers ( #387 )
...
* update swag
* bump damsel
* update dummy data
* add tests
* add chargebacks handlers
* add chargeback decoder
* update capi client
* Update capi_client_payments.erl
* update tests
* Update capi_dummy_data.hrl
* Update capi_dummy_data.hrl
* fix tests
* fix typo
* Update capi_base_api_token_tests_SUITE.erl
* refactor decoder
* fix indentation
* fix unused context
* add cb auth
* Revert "update swag"
This reverts commit 6c0e3cadf1c3c9de156678efcab6931e38c04220.
* update swag
* decode reason code
2020-04-02 20:38:41 +03:00
Andrey Fadeev
1eb3969697
FF-164 Update damsel ( #468 )
...
Add rbkmoney/damsel#546 changes support
2020-03-10 15:20:09 +03:00
Sergey Yelin
3c5705d15f
CAPI-143: Fix crash on incomplete request ( #467 )
...
* CAPI-143: Fix crash on incomplete request
* Remove warning
2020-03-04 10:05:22 +03:00
Alexey
94637e4959
CAPI-407: Better email format validation ( #466 )
2020-03-02 17:15:18 +03:00
Toporkov Igor
72cb6bcbe0
CAPI-412: Choose which claims will be included into InvAccToken ( #465 )
...
* Choose which claims will be included into InvAccToken
* Fix function name
2020-02-26 12:05:05 +03:00
Toporkov Igor
3d8bb0e509
CAPI-412: Allow ip replacement in Invoice Access Tokens ( #464 )
...
* Add extra properties to invoice access tokens
* Remove redundant binapi auth domain
* Upgrade uac
* Use new uac getters
2020-02-19 19:11:50 +03:00
Boris
e2255c207f
using decrypted token with '.' ( #461 )
2020-01-31 14:58:31 +03:00
Boris
984497405b
Delete jwk password, update lechiffre ( #457 )
2020-01-23 18:55:30 +03:00
Boris
c6701e58ca
add lechiffre ( #448 )
2020-01-23 16:17:17 +03:00
Sergey Yelin
b0d7cb89c8
Add mobile commerce decoder to search ( #453 )
...
* Add mobile commerce decoder to search
* Fix dialyzer errors
2019-12-18 12:23:58 +03:00
Sergey Yelin
ccd4ba3cc3
Add missing crypto currency decoding to search ( #452 )
2019-12-17 19:36:52 +03:00
Andrey Fadeev
6cc06e8464
Fix CryptoWallet payment method decoding ( #449 )
...
* Fix CryptoWallet payment method decoding
* Update swag and fix payment methods deduplication
2019-12-13 16:09:10 +02:00
Roman Pushkov
5b7bd81e35
CAPI-397: QR code & crypto currency user interaction ( #443 )
...
* decode user interaction
* fix failing tests: invoice sessions and refunds
* update lockfile
* fix failing tests: event range
* CAPI-398: Fix refunds encoder (#444 )
* CAPI-398: Fix refunds encoder
* Typo
* update tests
* add revision to getinvoicepaymentmethods
* add revision to getinvoicepaymentmethodsbytemplateid
* update swag
* explicit decimal points for crypto
* change unwrap to match on ok tuple
* rework crypto interaction decoder
* add unit test for crypto decoder, fix
* formatting fix
* extra test cases
* review updates
* shorten line
* typo fix
2019-11-29 12:27:26 +03:00
Sergey Yelin
9bd2cf3098
Remove optional header ( #445 )
2019-11-28 15:26:46 +03:00
Артем
c1d3df222c
CAPI-297: Cart to payment and refund ( #329 )
...
* added cart to payment and refund
* fixed
* review fix
* updated swag
* added requested changes
* nano
* added cart to dummny handler match
* Add missing throw handling
* Fix
2019-11-27 11:01:03 +03:00
Boris
a56643e878
payment method mobile commerce ( #441 )
2019-11-20 18:24:38 +03:00
Toporkov Igor
db93757e3c
Add bin-api permissions to InvoiceAccessToken ( #439 )
2019-11-06 20:01:43 +03:00
Toporkov Igor
f7274d1ad5
CAPI-396: Migrate to uac ( #438 )
...
* Migrate to uac
* Deduplicate get_unique_id/0
* Remove redundant logging
* Simplify types in capi_auth
* Use macro for token signee
* Fix indentation
* Log OperationID in case of authorization failure
* Return keyset to the capi config
* Provide dummy snowflake config
* Deduplicate unique_id/0
* Remove from access info from config
* Rework uac configuration
2019-11-06 16:58:46 +03:00
ndiezel0
ed168bef38
CAPI-395: Bump reporter_proto ( #436 )
2019-10-29 17:06:51 +03:00
Alexey
0497bb8323
CAPI-389: Get Invoice by ExternalID ( #435 )
2019-10-23 15:57:13 +03:00
Toporkov Igor
fad3f38c61
CAPI-390: Remove getRefundsByExternalID ( #434 )
...
* Bump swag
* Removed getRefundsByExternalID
2019-10-22 15:20:33 +03:00
Toporkov Igor
620bd17447
CAPI-390: Get refunds by externalID ( #433 )
...
* wip: implement refund search
* Tests and style fixes
* Handle refund not found exception
2019-10-18 12:24:12 +03:00
Sergey Yelin
ea1b59d43b
Add missing mobile payment method ( #432 )
2019-10-16 10:40:27 +03:00
Toporkov Igor
df67f55934
Bumped image with codegen ( #428 )
2019-10-10 18:57:47 +03:00
ndiezel0
2c544098f8
CAPI-385: Update reporter ( #425 )
...
* CAPI-385: Update reporter
* CAPI-385: Add GetReport check test, fix dialyzer
* CAPI-385: Add DownloadFile id checks and test for it
2019-10-10 12:15:22 +03:00
Alexey
6085f0a2a7
HG-497: PCIDSS cleanup ( #416 )
2019-10-04 15:26:18 +03:00
Boris
96e5ce3968
Capi 371/ft/mobile commerce ( #406 )
2019-09-18 18:53:06 +03:00
Toporkov Igor
885c7580a0
CAPI-362: Search refunds by RRN and ACC ( #423 )
...
* bump swag
* Added rrn and acc to search
* Removed unnessesary symlink
* Added keys instead of symlink
2019-09-18 17:39:08 +03:00
Toporkov Igor
2d227c856f
MSPF-456: Business deadlines ( #405 )
...
* Updated swag commit
* Bumped and renamed damsel
* De-hardcoded oops body test
* Added payment deadlines
* Added parsing error clause handling
* Added default deadlines
* Bump damsel
* Increased test payment deadline
* Bumped swag
* Actualized damsel
* Added env for processing deadline
* Beautify indentation
* Clarified processing deadline related names
* Respond with an error on invalid processing deadline
* Revert "Respond with an error on invalid processing deadline"
This reverts commit fd964027193c8b15ea7d8b21a5441bbfa10854d8.
* Hide processingDeadlineReached error from client
* bump swag
* Add processing deadline error
* Rename dmsl in new test
2019-09-16 17:49:37 +03:00
Sergey Yelin
fca18020b1
Add gracefull_shutdown_timeout to sys.config ( #419 )
...
* Add gracefull_shutdown_timeout to sys.config
* Typo in config option
2019-09-12 14:55:11 +03:00
Sergei Shuvatov
6725db594d
CAPI-363: gracefull shutdown (v2) ( #417 )
...
* CAPI-363: gracefull shutdown
* Remove extra permissions
* Move draner's spec generation to capi_swagger_server
* Add timeout to capi_gracefull_shutdown_SUITE test
* Use supervisor for running subprocesses
* Rework timeout
* Force drop log lived requests
* Review fixes
2019-09-12 12:50:27 +03:00