Commit Graph

296 Commits

Author SHA1 Message Date
Andrew Mayorov
cc71cd58a0
Reject empty ids and bump deps (#119)
* rbkmoney/build_utils@8dd1d30
* rbkmoney/image-build@10ace69
* rbkmoney/image-service-erlang@16e2b3e
2017-11-01 16:40:40 +03:00
Natalia Pulina
247689c5ce
CAPI-192: new tests, real_SUITE fixed with mocked services (#111) 2017-10-31 13:15:56 +03:00
Evgeny Levenets
e4b9ebdfe0
CAPI-180: fallback to old swag (#118)
* reverse new swag and handler for it
* adapt old swag to new damsel
2017-10-30 18:53:44 +03:00
Evgeny Levenets
092738cc4c CAPI-180: penetrate invoice cart into invoice template (#115)
rbkmoney/hellgate@b877a59
rbkmoney/swag@f1d5876
rbkmoney/damsel@8271b2e
2017-10-25 19:47:41 +03:00
Andrew Mayorov
5fc7edf37b HG-182: Switch damsel to master (#116) 2017-10-23 17:53:18 +03:00
Evgeny Levenets
b80382247c HG-278: subscriptions support (#113)
* HG-278: subscriptions support (#110)

* HG-182: Bump to rbkmoney/swag@a880e4d

* HG-182: Bump to rbkmoney/hellgate@80f2474
2017-10-23 17:01:01 +03:00
Andrew Mayorov
c92fa5d55b Fix changeset marshalling (#112)
* Bump to rbkmoney/swag@8af5910
2017-10-18 10:13:01 +03:00
Anton Belyaev
18a52c4a21 Add payouts statistics search (#85) (#107)
* CAPI-170: support payouts stats search
* CAPI-198: fix access scopes for refunds API (#108)
* Replace cp_proto and damsel submodule with dmsl rebar dep
* Fix (temporary) docker-compose conf to use for both CI and OS X
2017-10-11 00:02:17 +03:00
Natalia Pulina
afcbe05bcb CAPI-194: Introduce getting of payment methods by invoice template (#109) 2017-10-09 20:26:37 +04:00
Anton Belyaev
009ffac28d Add payment method related params to invoice and payment search (#102) (#103)
* CAPI-184: Add payment method related params to invoice and payment search (#102)
* increase wait event change timeout in tests
2017-09-28 16:59:15 +03:00
Natalia Pulina
a91dc49dbf CAPI-179: GetInvoicePaymentMethods added
* CAPI-179: GetInvoicePaymentMethods added (#105)

* BA-36: Bump to rbkmoney/hellgate@542645e
* BA-36: Bump to rbkmoney/damsel@04e10fd
* BA-36: Bump to rbkmoney/swag@59b2971
2017-09-27 18:18:18 +04:00
Evgeny Levenets
73e9f35b7d CAPI-185: add ability to handle properly undefined cardholder (#104)
rbkmoney/damsel@c49c94f
rbkmoney/swag@bf49f03
rbkmoney/cds@58ecca3
2017-09-25 16:55:35 +03:00
Andrew Mayorov
4a7b51e477 HG-58: Respect rbkmoney/damsel@65cff9f (#101)
* HG-58: Respect rbkmoney/damsel@65cff9f

* HG-58: Bump timeouts up a bit

* HG-58: Bump to rbkmoney/hellgate@f732f69 service image

* HG-58: Fix refunds related test group
2017-09-22 17:49:00 +03:00
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