Commit Graph

66 Commits

Author SHA1 Message Date
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
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
Andrew Mayorov
2d2b863254 MSPF-191: Update to rbkmoney/woody_erlang@b5ae9ae, streamline other deps (#30) 2017-02-17 17:24:54 +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
Petr Kozorezov
e4d59c8899 MSPF-193: add apps for the introspection (#27) 2017-02-10 16:45:06 +04: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
Petr Kozorezov
1109497b62 MSPF-193: bump erlang service image version (#25) 2017-02-09 13:49:22 +04:00
Petr Kozorezov
d737d947a2 MSPF-193: add applications to release build for debugging and profiling (#24) 2017-02-09 13:15:51 +04: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