Commit Graph

105 Commits

Author SHA1 Message Date
Andrew Mayorov
82c4f37724
Handle woody errors in line with rbkmoney/swag@30372a8 (#130)
* Test proper woody error handling
2017-11-16 11:58:51 +03:00
Andrew Mayorov
81140fb116
Do not provide personal data w/ issued scoped access tokens (#131) 2017-11-15 18:54:28 +03:00
Evgeny Levenets
93420039be
bump swag to v2 already (#129) 2017-11-13 16:30:02 +03:00
Andrew Mayorov
0be8448c51
CDS-51: Allow for shorter cardnumber masks (#128)
Backported from #126.

* CDS-51: Bump to rbkmoney/swag@446ff63
2017-11-09 16:49:28 +03:00
Evgeny Levenets
ae5fd02529
fix gitmodule for swag (#127) 2017-11-09 13:55:38 +03:00
Evgeny Levenets
12fde70d31
CAPI-211: improve jenkins file (#124) (#125)
* dont run lint, tests and other checks on protected branches
* remove master appearances
2017-11-08 16:44:34 +03:00
Evgeny Levenets
161fcb0738
CAPI-180: penetrate invoice cart into invoice template (#122)
* switch swag to release/v2
* revert revert
* fix old tests
* add some new test cases with cart
2017-11-08 16:20:32 +03:00
Evgeny Levenets
2a279c148c switch to v2 swag
rename docker image
2017-11-02 19:01:41 +03:00
Evgeny Levenets
6aff1deb28
CAPI-211: prepare jenkins for API versioning (#121) 2017-11-02 18:47:45 +03:00
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