Commit Graph

83 Commits

Author SHA1 Message Date
Andrew Mayorov
f0066847d9 HG-58: Allow to refund payments (#100)
* CAPI-165: add refunds support (#97)
* rbkmoney/swag@d3cf473
* rbkmoney/damsel@3954a8d
* Add pg-db healthchecks in docker-compose
2017-09-19 14:56:43 +03:00
Andrew Mayorov
208a7351df HG-262: Bump to rbkmoney/damsel@49773b2 (#99)
* HG-262: Bump damsel and service deps

 * rbkmoney/hellgate@d970a2c
 * rbkmoney/machinegun@1844dff
 * rbkmoney/magista@b69eb90
 * rbkmoney/bustermaze@8a787d3
 * rbkmoney/shumway@7a5f95e
 * rbkmoney/dominant@298cd19
 * rbkmoney/hooker@fe3bbe3
 * rbkmoney/damsel@49773b2
2017-09-12 14:54:10 +03:00
Evgeny Levenets
894226cf5a Add rights for forgotten operation GetPayoutToolByID (#98) 2017-09-08 15:29:42 +03:00
Andrew Mayorov
af1a69ff30 HG-237: Fix event filtering (#95) 2017-09-05 12:39:48 +03:00
Natalia Pulina
2b8f5ae9e3 DEFAULT_INVOICE_ACCESS_TOKEN_LIFETIME increased (#96) 2017-09-04 18:41:59 +04:00
Andrew Mayorov
a9aa43cb6c HG-237: Provide hold payments API subset (#94)
* Hg 236/fx/holds support (#80)
* HG-236: Holds realisation
* HG-236: Bump to rbkmoney/swag@c668683
* CAPI-178: handling paymentFlow in SearchInvoices and SearchPayments (#89)
* HG-236: try to fix merge conflicts (#90)
* HG-255: Fix flow marshalling in analytics queries (#93)
* HG-237: Switch to master rbkmoney/damsel@44afec3, rbkmoney/swag@0dcdfc2
2017-08-29 19:56:39 +03:00
Evgeny Levenets
6bbf957748 CAPI-176: add user interaction for terminal payments (#92)
rbkmoney/swag@a02acfc
2017-08-29 16:49:59 +03:00
Andrew Mayorov
584a1d5fc6 Handle payout tool modification properly (#91) 2017-08-29 14:04:30 +03:00
Evgeny Levenets
75eca9a3a2 Merge epic/online-cashreg (#88)
* HG-246: add invoice cart support for 54FL (#82)

* HG-246: fix invoice cart decoding (#83)

* CAPI-174: add cart support to merch stat responses (#87)
2017-08-22 17:43:37 +03:00
Evgeny Levenets
dde0988188 CAPI-176: add payment terminal support (#86)
rbkmoney/damsel@74a89b7
rbkmoney/swag@c3daef1
2017-08-18 15:39:08 +03:00
Evgeny Levenets
0dfaacb265 CAPI-155: add reports support (#84) 2017-08-15 15:34:27 +03:00
Andrew Mayorov
b372e728ed Bump to rbkmoney/swag@9f34346 (#81) 2017-08-02 15:06:48 +03:00
Anton Belyaev
7842fa6ef9 Refactor work with api_client (#79)
* use one pg container for all the dbs in docker-compose;
* get rid of pimp in docker compose;
* merge api_client into capi as one of apps.
2017-07-31 16:59:37 +03:00
Anton Belyaev
fa9b96eab5 CAPI-151: Introduce invoice templates 2017-07-27 17:42:08 +03:00
Andrew Mayorov
cb9764c7b9 HG-192: Implement multiclaims and event batching (#75)
* Multi claims and event batching support (#70)

rbkmoney/damsel@25f72ed
rbkmoney/swag@4574ee6

* HG-192: Bump to rbkmoney/swag@ea4b793 (#71)

* HG-192: Bump to rbkmoney/swag@21b007d (#72)

* HG-192: Fix model handling and marshalling (#73)

* Fixed tests for multiclaims (#74)

* added lost ContractAdjustments handlers
* fixed tests
* dominant health check added

* HG-192: Switch to deps' upstream

* rbkmoney/swag@de7dd39
* rbkmoney/damsel@b665c89
* rbkmoney/api_client@b58cf36
2017-07-17 15:38:43 +03:00
Natalia Pulina
68ebf9b351 CAPI-147: Exception processing moved to process_request func (#66)
* CAPI-147: Exception processing moved to process_request func (#66)

* CAPI-147: Exception processing moved to process_request func

* CAPI-147: Postreview refactoring

* CAPI-147: dont need handle payproc_PartyNotFound ex in funcs when prepare_party used

* CAPI-147: payproc_InvoiceNotFound instead of payproc_UserInvoiceNotFound ex

* CAPI-147: min_complexity = 30, some code refactoring

* CAPI-147: Code formatting

* CAPI-147: More code formatting
2017-06-21 11:43:31 +03:00
Andrew Mayorov
6edef374bc HG-196: Adapt to the latest protocol changes (#69)
* HG-196: Bump to rbkmoney/swag@65e1807, switch to release branch

* HG-196: Adapt to the latest protocol changes

* HG-196: Bump to rbkmoney/hellgate@bb0bae2 service image

* HG-196: Make tests less verbose

* HG-196: Bump service deps and fix tests
2017-06-16 14:03:25 +03:00
pulitta
38632388dd CAPI-141: Bump to rbkmoney/woody_erlang@2d00bda (#68) 2017-06-15 19:38:59 +03:00
pulitta
699d02f64e CAPI-146: Remove callback handlers (#65)
* CAPI-146: Remove callback handlers

* CAPI-146: Clean code from unused functions and configs from unused files/urls
2017-06-15 18:15:00 +03:00
Anton Belyaev
970f84a10c CAPI-141: fix some 500 errors (#64)
* handle AccountNotFound exception
* bump to rbkmoney/swag@bfbff72 (sync AccountId with damsel)
2017-06-08 19:52:58 +03:00
Andrew Mayorov
f981c13a8a Fix a couple of protocol violations (#63)
* Make masked card number _at most_ 4 symbols long
 * Rename `phone_number` to `phoneNumber` throughout json models
2017-05-29 15:02:28 +03:00
Evgeny Levenets
9d25ab0199 CAPI-142: fixed decoding optional fields (#62)
* makefile fixed
2017-05-26 18:49:23 +03:00
Anton Belyaev
38f2030f36 Optimize Jenkinsfile (#61)
* Optimize CI build strategy
2017-05-26 19:01:51 +04:00
Evgeny Levenets
4160676579 CAPI-142: new magista with fee included (#60) 2017-05-26 16:21:27 +03:00
Anton Belyaev
2d6c9f9d42 Bump swagger-codegen with validation fixes and error-mapping (#58)
* Bump swagger-codegen with validation fixes and error-mapping
* Fix namespacing for api_client
* Rename swagger -> swag. It is better not to use or rely on default swagger lib namespace (`swagger` at the moment) in swagger-codegen.
2017-05-26 13:18:44 +04:00
Evgeny Levenets
5a5f103dfe CAPI-140: added “error” field to EventPaymentStatusChanged in case of “failed” status (#57) 2017-05-24 15:29:27 +03:00
Andrew Mayorov
fbd5dc2e65 Bump to rbkmoney/swag@6597922 (#55) 2017-05-18 19:54:31 +03:00
Andrew Mayorov
7653cd8917 CAPI-125: Improve logging a bit (#53)
* CAPI-125: Improve logging a bit

* CAPI-125: Bump to rbkmoney/woody_erlang@992c279

* CAPI-125: Rework approach to logging

* CAPI-125: Bump to rbkmoney/woody_erlang@62e6e19

* CAPI-125: Prettify woody context construction
2017-05-18 18:57:05 +03:00
Andrew Mayorov
1f75c5329e CAPI-125: Bump to rbkmoney/swag@895735d (#54) 2017-05-17 18:42:51 +03:00
Andrew Mayorov
e8fdc1aa51 CAPI-125: Bump to rbkmoney/swag@19713fc (#52) 2017-05-15 17:31:10 +03:00
Artem Ocheredko
0510e5507f CAPI-96: Add user identity extension (#50)
* CAPI-96 Add user identity extension

* CAPI-96 Hardcode user identity realm
2017-05-15 17:34:32 +04:00
Anton Belyaev
0d98eca7d9 CAPI-137: introduce capi access log (#51) 2017-05-12 16:28:38 +04:00
Artem Ocheredko
ca8cf1b472 CAPI-95 Add possible payment status fix (#49) 2017-05-05 14:18:51 +04:00
Artem Ocheredko
243df30924 CAPI-95: Fix webhook event type name (#47)
* CAPI-95 Fix webhook event type name

* CAPI-95 Add a bunch of fixes and the newest magista and hooker

* CAPI-95 Add non-verbose rm in releases
2017-05-04 21:41:58 +04:00
Anton Belyaev
b165e7b029 CAPI-124: fix headers for ASCII kitty replies (#48) 2017-05-04 01:42:15 +04:00
Artem Ocheredko
27eae1eef9 CAPI-95: Fix CreateInvoice no shop response (#46)
* CAPI-95 Fix CreateInvoice no shop response
2017-05-03 17:31:21 +04:00
Anton Belyaev
f932354405 CAPI-124: new swagger-codegen and penetration bugfixes (#44)
* correct parent RpcID creation
* bump up to a new cool swagger-codegen (several fixes, get rid of pools, etc)
* fix base64 decode and other stuff
* add support for sendfile ASCII kitties for 5xx replies
2017-05-03 15:00:02 +04:00
Artem Ocheredko
5b55ec1676 CAPI-95 Add docker http timeout experiment (#43) 2017-05-03 14:56:08 +04:00
Artem Ocheredko
c61475106e CAPI-95: Fix webhookID and event polling (#45)
* CAPI-95 Fix webhookID validation and docker-compose dependencies and events polling
2017-05-03 13:23:01 +04:00
Artem Ocheredko
4c85e3b84e CAPI-95/HOOK-1 Payments extended search, Webhooks (#42)
* HOOK-1: Implement webhook management

* CAPI-95 Add new payments/invoices search with custom api_clientP

* CAPI-95 Move to the newest dependencies
2017-04-27 19:53:03 +04:00
Anton Belyaev
69bf9f54b7 CAPI-124: separate RequestID from TraceID 2017-04-19 18:31:10 +04:00
Anton Belyaev
6ee33a454b CAPI-70: add swagger validation pool config to sys.config 2017-04-19 18:31:10 +04:00
Anton Belyaev
87fbe49268 CAPI-111: format incoming datetime to UTC 2017-04-19 18:31:10 +04:00
Anton Belyaev
687da03348 CAPI-116: bump test dependencies 2017-04-19 18:31:10 +04:00
Anton Belyaev
bb2f2e634a CAPI-92: use refactored swagger-codegen (part 1) (#39) 2017-04-13 20:32:47 +04:00
Anton Belyaev
39632db71c CAPI-72: fix array params validation (#38) 2017-04-06 21:15:52 +04:00
Anton Belyaev
f7a8c8bea1 CAPI-94: bump up swagger-codegen, fix some bugs along the way (#37) 2017-04-05 15:49:49 +04:00
Andrew Mayorov
b0ea35298e CAPI-80: Use properly defined ClaimRevoked schema (#36) 2017-04-04 16:11:39 +03:00
Artem Ocheredko
f426610dd0 CAPI-87: Move to the newest protocols (#35)
* CAPI-87 Move to the newest protocols. Add GetPayments method
2017-03-28 17:54:33 +04:00
Andrew Mayorov
80151e1fc1 MSPF-191: Adapt for Erlang 19 and higher (#33) 2017-02-28 15:26:14 +03:00