Commit Graph

332 Commits

Author SHA1 Message Date
Alexey
922691ad3c
CAPI-307: Fix handling of invalid Residence codes (#279) 2018-10-17 18:01:47 +03:00
Alexey
871b797fe1
CAPI-304: fix encoding payment_system (#277) 2018-10-05 16:22:10 +03:00
Alexey
c127e78273
CAPI-304: add binbase_proto to deps (#275) 2018-10-04 16:59:40 +03:00
Alexey
df64102174
CAPI-304: Use BinBase when creating payment resources (#269)
* raw version of binbase integration

* upgrades from v2

* moved binbase lookup to a more suitable place

* some catches and renamings

* save metadata, save everything to token

* make metadata encoding/decoding more futureproof

* fix linter

* fix linter but better

* use actual msgpack marshalling

* accept metadata from other sources

* use mapmap instead of mapfold
2018-10-03 18:08:11 +03:00
Andrew Mayorov
8eead1cdb8
HG-441: Handle additional payproc exceptions accordingly (#271)
In line w/ rbkmoney/damsel@4c78d0d + rbkmoney/swag@5d569a5
2018-10-02 19:05:07 +03:00
Andrew Mayorov
3cc985534f
CAPI-308: Provide report status through rbkmoney/swag@d33f146 (#270) 2018-10-02 17:49:12 +03:00
Артем
891fb7903e
CAPI-301: Deadline to request header (#268) 2018-09-28 14:15:43 +03:00
Andrey Fadeev
a6bd225d65
CAPI-290 Add first payment recurrent (#256) 2018-09-26 19:39:40 +03:00
Evgeny Levenets
2662370aab fix international bank account encoding (#263) 2018-09-25 11:59:12 +03:00
Andrew Mayorov
bce29cdff9
CAPI-293: Do not discard pending reports upon listing (#258) 2018-09-21 17:39:34 +03:00
Alexey
fa11e8f1ba CAPI-293: Generate reports (#254) 2018-09-21 15:45:06 +03:00
Alexey
3e3efc1d1b
CAPI299: fix report validation (#255) 2018-09-20 18:19:18 +03:00
Anton Belyaev
07dff8c702
CAPI-288: support payout tool modification and new international bank account definition (#251)
* CAPI-288: support payout tool modification and new international bank account definition
* Update damsel for merchstat as well
* Remove redundant wdeps mode for CI testing
* Update .gitignore
2018-09-17 17:02:41 +03:00
Evgeny Levenets
25cebc5123
fix error handling in tokenized payment tool unwarpping (#249) 2018-08-24 12:34:33 +03:00
Evgeny Levenets
8643f86c0b
CAPI-286: fix StatPayment decoding (#248)
add statusChangedAt field decoding
2018-08-21 14:53:04 +03:00
Evgeny Levenets
5ad33b4661
CAPI-282: add private entity to public api (#246)
* CAPI-282: add private entity to public api

* add encoding for private entity
2018-08-16 12:18:08 +03:00
Evgeny Levenets
aaa0bcce08
CAPI-282: fix wallet contracts and claims decoding (#244)
filter out wallet claims
2018-08-15 14:53:42 +03:00
Evgeny Levenets
9975a30c8f
CAPI-281: add ability to search refunds (#243) 2018-08-10 11:57:56 +03:00
Evgeny Levenets
777eee69bd
filter out wallet claims (#241) 2018-08-02 16:16:35 +03:00
Andrey Fadeev
6d6b6a8f42
HG-382 Update damsel to version with async payment start events (#239) 2018-08-02 13:54:30 +03:00
Evgeny Levenets
b482abaf0f
Revert "CAPI-278: api keys blacklist (#235)" (#237)
This reverts commit 9f1f4af840.
2018-07-31 15:16:59 +03:00
Evgeny Levenets
9f1f4af840
CAPI-278: api keys blacklist (#235) 2018-07-25 20:09:03 +03:00
Evgeny Levenets
8b67141cfa
MST-173: modify statistics api to support chunk streaming (#233)
* bump rbkmoney/swag@214278d
2018-07-12 17:28:33 +03:00
Evgeny Levenets
29d1418564
add woody deadlines on service level (#231)
* add woody deadlines on service level
* don't overwrite incoming deadline
2018-07-06 10:50:08 +03:00
Evgeny Levenets
7636a7ada8
Rename GooglePay params properly (#229)
* bump swag

* Rename GooglePay params properly

rename merchantID -> gatewayMerchantID to match adapter's protocol

* rename in test
2018-07-04 19:15:52 +03:00
Evgeny Levenets
440d9f03e3
fix GooglePay test card data case (#227) 2018-05-31 19:47:10 +03:00
Evgeny Levenets
e7a3cdc10e
fix GooglePay routing (#224) 2018-05-31 17:17:43 +03:00
Evgeny Levenets
fa26b11226
CAPI-274: add GooglePay token provider (#221)
rbkmoney/damsel@b874870
rbkmoney/swag@409bba5
2018-05-30 20:11:05 +03:00
Evgeny Levenets
e38b404fb9
CAPI-270: support token provider in search requests (#217) 2018-05-23 11:41:36 +03:00
Andrew Mayorov
a9019e34c1
Employ dmt_client here (#216) 2018-05-17 14:10:30 +03:00
Evgeny Levenets
a6e5694bed
CAPI-266: support act preferences modification (#211) (#213)
* CAPI-266: support act preferences modification (#211)

* switch to epic damsel & swag

* rename PayoutSchedule to BusinessSchedule

* CAPI-266: support act preferences modification

* postreview fix 01

* fix forgotten field

* bump damsel & swag

* switch to master swag & damsel
2018-05-16 18:38:33 +03:00
Anton Belyaev
6545be53fc
Print card BIN (#210) 2018-05-11 12:14:18 +03:00
Natalia Pulina
0dd38809d4 CAPI-260: CreatePaymentResource fixed with handling apple pay token (#193)
* CAPI-260: CreatePaymentResource fixed with handling apple pay token (#186)

* CDS-55: Adapt CreatePaymentResource to new cds protocol (#192)

* CDS-55: encode/decode bank card fixed (#201)

* CDS-55: Support tokenized bank card for GetInvoicePaymentMethods (#203)

* CAPI-268: Support of new merch_start protocol + tests fix (#200)

* sys.config fix

* sys.config fix again

* Supply token provider properly (#206)

* switch to master swag & damsel

rbkmoney/swag@82f2bb8
rbkmoney/damsel@d9b9706
2018-05-08 16:26:49 +03:00
Andrew Mayorov
d9135c3b10
Adapt to the swag w/ refined 400s (#207)
* Update to rbkmoney/build-image@5623136

* Remove some dead code

* Adapt to rbkmoney/swag#188

* Bump to rbkmoney/swag@704ab97
2018-05-07 18:50:57 +03:00
Evgeny Levenets
2068f86867
fix badmatch error from JWT lib (#195) 2018-04-25 18:52:27 +03:00
Natalia Pulina
2a5255ecfe
MST-173: Support new merch_stat protocol (#194) 2018-04-25 16:40:54 +03:00
Evgeny Levenets
8fee9ff03c
CAPI-267: support new claim exceptions (#189) (#191)
* fix search payouts for swag v2: it does not support payoutStatus param, so we need to filter payouts on server side
* rbkmoney/damsel@83d6c99
2018-04-20 14:43:16 +03:00
Petr Kozorezov
f7ef72654d
add "health" handle (#187)
* add "health" handle

* apply review comments
2018-04-13 15:35:02 +03:00
Petr Kozorezov
74c28089e5
Capi 253/epic/error mapping (#183)
* add token consumer

* refactor a little; add error mapping for payment + tests

* update client payment error mapping

* apply review fix

* apply review comments

* update payment client mapping

* move to master branches; fix magista payments errors
2018-04-02 13:33:10 +03:00
Natalia Pulina
438fd8a495
CAPI-243: Added ex InconsistentRefundCurrency for CreateRefund (#184) 2018-03-22 18:52:23 +03:00
Natalia Pulina
3dcb2cfae9
CAPI-256: Payout stat for nonresidents (#177) (#178)
* CAPI-256: Bump rbkmoney/damsel7b82981
* CAPI-256: Bump rbkmoney/swag@d478889
2018-03-15 13:38:55 +03:00
Natalia Pulina
b4e2d6b6ff
CAPI-243: If refund hasnt currency, get currency from payment (#175) 2018-03-07 18:22:46 +03:00
Natalia Pulina
392cc44953
CAPI-243: Introduce partial refunds (#169)
* CAPI-243: Introduce partial refunds (#154)

* CAPI-243: Enrich refund in event with payment cash (#157)

* CAPI-243: Bump rbkmoney/swag@ceb426d

* CAPI-243: Refund events fixed (#171)

* CAPI-243: decode_refund_for_event fixed (#174)

* CAPI-243: Bump rbkmoney/damsel@349d26c

* CAPI-243: Bump rbkmoney/swag@725f9bf

* CAPI-243: Bump rbkmoney/swag@8604a1aa
2018-03-06 18:13:47 +03:00
Evgeny Levenets
17488244fc
CAPI-251: add payout terms support (#158) (#159)
* CAPI-251: add payout terms support (#158)

* CAPI-251: fix schedule modification decoding (#160)

* CAPI-251: claim test improvements (#163)
2018-02-27 14:50:26 +03:00
Evgeny Levenets
e220461648
fix invalid request handling on CreateClaim (#168) 2018-02-22 19:00:51 +03:00
Evgeny Levenets
1afa371b45
fix residence encoding (#165) 2018-02-22 17:57:18 +03:00
Andrew Mayorov
1673261ca1
BA-52: Fix merchstat marshalling (#152) 2018-01-25 20:04:00 +03:00
Andrew Mayorov
f653e420a0
CAPI-231: Put the notion of digital wallets into this shithole (#145)
* CAPI-231: Proudly employ cowboy_access_log

* BA-52: Bump to master rbkmoney/swag@13e66dd

* BA-52: Bump to master rbkmoney/damsel@620cca5
2018-01-24 17:16:39 +03:00
Andrew Mayorov
99dc16fd96
CAPI-217: Support payment institutions (#147)
*  CAPI-223: add payment institution support (#143)
* CAPI-235: add international legal entity & bank account (#146)

rbkmoney/damsel@07fbb30
rbkmoney/swag@963e8f2
2018-01-22 13:32:35 +03:00
Andrew Mayorov
b6152a9565
CAPI-229: Do not idle poll every time (#140) 2017-11-28 19:33:45 +03:00
Anton Belyaev
bbe79a71cf
Bump swagger-codegen to 2.3.0 (#138) 2017-11-22 17:18:16 +03:00
Dmitry Manik
e034927548
Subs-2 (#136) 2017-11-22 15:52:36 +03:00
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
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
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
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
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
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
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
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
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
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
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
bb2f2e634a CAPI-92: use refactored swagger-codegen (part 1) (#39) 2017-04-13 20:32:47 +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
Andrew Mayorov
489d9ca89d MSPF-191: Fix jwt authorizer setup when no signee is specified (#32)
* MSPF-191: Remove containerpilot integration

* MSPF-191: Refactor Makefile a bit

* MSPF-191: Bump to rbkmoney/genlib@82ff16f

* MSPF-191: Fix jwt authorizer setup when no signee is specified
2017-02-27 16:40:13 +03:00
Andrew Mayorov
c05aaa295c MSPF-191: Implement invoice access token management (#31)
* MSPF-191: Ensure to fail on error in scripts

* MSPF-191: Implement invoice access token management

 * Introduce the notion of resource hierarchy and ACLs
 * Desing dedicated JWT authorizer, capable of issuing and verifying JWTs
 * Delegate operation authorization down into logic handler

* MSPF-191: Bump to rbkmoney/swag@e90d600

* MSPF-191: Bump to rbkmoney/woody@b5ae9ae, rbkmoney/api_client@36eb5a2

* MSPF-191: Bump service deps

* MSPF-191: Fix dialyzer warning

* MSPF-191: Remove commented code

* MSPF-191: Enforce requirement to have configured jwt authorizer

* MSPF-191: Add a couple of TODOs

* MSPF-191: Fix ACL scope removal and test it

* MSPF-191: Add the notion of dedicated signee to the authorizer

* MSPF-191: Simplify scope decoding

* MSPF-191: Adapt testsuite to rbkmoney/hellgate@6dae29b

* MSPF-191: Fix release definition

* MSPF-191: Eliminate dirty hack

* MSPF-191: Put a static private key in the release

* MSPF-191: Fix some specs and mention contract violation
2017-02-22 14:36:17 +03:00
Artem Ocheredko
498ffb2960 CAPI-59 Change auth roles set (#29)
* CAPI-59 Change auth roles set. Add the newest keycloak
2017-02-10 23:20:02 +03:00
Andrew Mayorov
2b1790332c MSPF-191: Use keystore to cache jwks (#28)
* MSPF-191: Use keystore to cache jwks

* MSPF-191: Bump to rbkmoney/image-build@3bdc456
2017-02-10 16:33:55 +03:00
Artem Ocheredko
9ecaa0edc3 CAPI-59 Add events filtering and wrap jose verifications for nicer errors (#26) 2017-02-10 12:44:06 +03:00
Artem Ocheredko
44f955d349 CAPI-59 Modify project to use the newest protocol (#23)
* CAPI-59 Modify project to use the newest protocol
2017-02-09 12:50:35 +03:00
Artem Ocheredko
74ee280802 CAPI-59 Add party management interactions and tests
* CAPI-54 Add new party management initial handler

* CAPI-59 Add basic party management interactions and tests

* CAPI-59 Add pimp integration

* CAPI-59 Add missed callback handler tests and move to the newest thrift parties

* HG-152: Use ipv6 in tests too

* CAPI-59: Switch to rbkmoney/woody_erlang@17bd521

* CAPI-59: Ensure woody context preservation

* CAPI-59 Modify docker-compose healthchecks and timeouts

* CAPI-59 Add missed public key for tests and modify keycloak healthcheck

* CAPI-59 Add postreview fixes
2017-02-04 19:08:42 +03:00
Artem Ocheredko
8a73c00372 CAPI-57 Add eternal auth key pulling and prohibit server start with no auth key (#21) 2017-01-16 13:13:52 +03:00
Dmitry Manik
2a2f8d6898 CAPI-50: Rewrite tests with wrapped responses 2016-12-07 15:39:10 +03:00
Dmitry Manik
9858383e49 CAPI-45: Test rewrite using generated swagger client (#19)
* CAPI-45: Test rewrite using generated swagger client
2016-11-15 14:14:45 +03:00
Artem Ocheredko
c259b075d4 CAPI-32 Fix category ref fuckup and add dishonest test (#18) 2016-10-27 16:28:01 +03:00
Artem Ocheredko
5ef2755e09 CAPI-32 Add the newest image and micro test modification to check invoices statuses in analytics (#17) 2016-10-27 04:24:22 +03:00
Artem Ocheredko
26f1e2beca CAPI-32 Move to the newest images and fix missed fields (#16)
* CAPI-32 Move to the newest images and fix missed fields. Change linter code complexity change to soothe the unnecessary warnings. Add new swag version and fix ip_address source
2016-10-26 16:39:32 +03:00
Artem Ocheredko
730ad23d13 CAPI-32 Change event responses and modify tests for satisfy the newes… (#15)
* CAPI-32 Change event responses and modify tests for satisfy the newest images and swag
2016-10-21 13:35:43 +03:00
Andrey Mayorov
c9c02991f8 MSPF-91: Hack around broken shop contractor interface in the partymgmt 2016-10-20 02:14:25 +03:00
Andrey Mayorov
a40b72450c MSPF-91: Fix epic clusterfuck which is REST content negotiation 2016-10-20 00:01:46 +03:00
Andrew Mayorov
a35ced4648 MSPF-91: Adapt the swagger content type enforcement (#13)
* MSPF-91: Adapt the swagger content type enforcement

* MSPF-91: Do the unforgiveable
2016-10-19 22:47:33 +03:00
Artem Ocheredko
f2cddf0536 CAPI-32 Add tests to work the newest images (#12)
* CAPI-32 Add tests to work the newest images. Add fake proxy stolen from hellgate
2016-10-19 20:25:16 +03:00
Artem Ocheredko
367a175332 CAPI-32 Add missed party management methods (#8)
* CAPI-32 Add missed party management methods.  Add new request context and some bugfixes . Add balances processing
2016-10-17 18:05:06 +03:00
Artem Ocheredko
8453b38f74 CAPI-32 Add json debug logs (#9)
* CAPI-32 Add json debug logs
2016-10-13 05:54:36 +03:00
Artem Ocheredko
e5b7ffabf6 CAPI-38 Add lazy merchant creation (#7)
* CAPI-38 Add lazy merchant creation. Move to the newest hg image
2016-09-23 01:49:24 +03:00
Artem Ocheredko
2dcb9c1294 Capi 25/ft/erlang thrift card payment (#3)
* CAPI-25 Add initial project structure. Add mock-backend and basic tests. Add new building with Jenkins and add real backend handler.
2016-09-05 15:21:44 +03:00
Artem Ocheredko
64d7c30607 CAPI-23 Add initial project structure (#1)
* CAPI-23 Add initial project structure. Add mock-backend and basic tests
2016-08-31 20:56:24 +03:00