Commit Graph

63 Commits

Author SHA1 Message Date
Артем
d4fe7e16bd
TD-195: Remove old payment methods (#9)
* removed legacy

* fixed format

* fixed

* added some tests, refactored for more coverage

* added requested changes

* fixed dep

* fixed

* fixed

* fixed
2022-04-20 15:07:35 +03:00
Andrew Mayorov
14369d48f4
TD-124: Setup CI/CD with GH Actions (#1)
* Drop proprietary CI stuff
* Stop including default secret in release
* Fix io encoding w/ iosetopts
* Bump to valitydev/damsel@dcd92dd
* Implement and test `GetServiceProviderByID` op
* Depend on valitydev/swag-payments@a639270
* Drop geo api handler and tests
* Switch to valitydev upstream
  * valitydev/cowboy_access_log@04da359
  * valitydev/damsel@b25d336
  * valitydev/dmt_client@e9b1961
  * valitydev/dmt_core@910e20e
  * valitydev/party_client_erlang@8fc5595
  * valitydev/woody_erlang@0c2e16d
  * valitydev/woody_api_hay@4c39134
* Drop client url logging
* Setup CI/CD with GH Actions
* Drop dead links

Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
2022-02-04 19:28:33 +03:00
Alexey
004447553c
IS-1839: Bump build image with new codegen (#574) 2021-09-14 15:10:42 +03:00
dinama
3a0034f8a7
ED-242: rbkmoney/image-build-erlang@aaa79c2d (#566) 2021-08-20 14:40:56 +03:00
dinama
1a2d71d55f
ED-242: rbkmoney/image-build-erlang@fa504f6 (#565) 2021-08-19 19:06:53 +03:00
dinama
7c2fb757ec
ED-242: erlang 24 (#544) 2021-08-18 10:39:47 +03:00
Sergey Yelin
2204ee2223
ED-172: Add missing data in context for authorization (#551)
* ED-172: Add missing data in context for authorization

* Review fixes
2021-07-01 17:41:48 +03:00
Alexey
5436a5fbab
Revert "Revert "ED-184: migrate to party_client"" (#548) 2021-06-30 13:28:15 +03:00
Alexey
4aab3c8de3
Revert "ED-184: migrate to party_client (#546)" (#547)
This reverts commit a1151e3ca3.
2021-06-29 14:35:03 +03:00
dinama
a1151e3ca3
ED-184: migrate to party_client (#546) 2021-06-28 18:43:17 +03:00
dinama
b1269667bc
bump images: +build ~cc2d319 +service ~d2b5ac4 (#525)
* bump rbkmoney/image-build-erlang@cc2d319

* bump rbkmoney/image-service-erlang@d2b5ac4
2021-03-15 13:10:57 +03:00
Andrew Mayorov
467f0a7e90
Bump to rbkmoney/image-build-erlang@9bedaf5 (#521)
* Bump to rbkmoney/image-build-erlang@9bedaf5
* Bump to rbkmoney/build_utils@fc6ac0f
* Bump to rbkmoney/image-service-erlang@c0aee9a
2021-03-11 15:08:01 +03:00
dinama
92619bb9cd
upgrade world (#507) 2021-01-31 22:09:20 +03:00
Toporkov Igor
3b137e7b78
Update Build Image (#498) 2020-11-03 10:20:39 +03:00
Toporkov Igor
ef87be9180
MSPF-579: Prometheus metrics (#494)
* Add Prometheus to dependencies

* Update build images

* Add MetricsRoute to config building

* Provide sample config

* Squash health and metrics routes in one argument

* Delete forgotten argument from spec

* Do not include src to release
2020-10-23 16:48:22 +03:00
Andrey Fadeev
74ce0cd4a0
Add formatter (#492)
* Add erlfmt
* Apply erlfmt
* Update build-utils
2020-10-14 11:45:53 +03:00
Boris
0268dbeba4
impl callback map_error() (#476) 2020-05-13 13:55:24 +03:00
Sergey Yelin
2d3cd91661
MSPF-532: get rid of rfc3339 (#473)
* MSPF-532: Update image

* MSPF-532: Remove rfc339 from capi

* Upgrade libs

* Update uac

* Refactor auth code

* Fix dialyzer errors
2020-04-27 18:43:54 +03:00
Alexey
94637e4959
CAPI-407: Better email format validation (#466) 2020-03-02 17:15:18 +03:00
Sergey Yelin
5bb711afcf
Force put plt file into cache (#454)
* Force put plt file into cache

* Test

* test

* Fix cache

* Fix

* Fix cache
2019-12-18 19:41:49 +03:00
Sergey Yelin
0ae3348199
Update Erlang to 21.3.8.7 (#440) 2019-11-07 16:25:05 +03:00
Toporkov Igor
df67f55934
Bumped image with codegen (#428) 2019-10-10 18:57:47 +03:00
Sergey Elin
915c45dd86
[v2] Fix logging operation_id with new swagger-generator (#376)
* Fix logging operation_id with new swagger-generator

* Move decision logic to swagger-codegen

* Update build image
2019-07-12 16:27:37 +03:00
Alexey
92777abd8f
CAPI-365: Bump hackney (#374) 2019-07-11 14:39:09 +03:00
Alexey
352eb27f8e
CAPI-365: Update build image, set mild validation for responses (#364) 2019-07-08 12:47:25 +03:00
Toporkov Igor
456b9a91e1 Erlang OTP 21 to v2 (#342)
* CAPI-351: Erlang 21 to CAPI V2 (#339)

* First step of migration

* spec fix, changed headers to map

* Bumped back swag commit

* Bumped swag commit

* reverted bump

* Second migration step

* Linter fixes

* Bump build_image_tag

* Update build utils

* Gave up on using deprecated ranch child spec

* Updated plt version

* Bumped service-erlang

* Actually use stream_handlers, bump woody

* removed commeted funnctions

* CAPI-353: OTP 21 logger (#341)

* Initial lager migration

* Added missing comma

* Fix config typos and indentation, bumped formatter

* Fixed oops body responce

* Fixed wrong reply format, refactored oops body retrieval

* Bumped hackney and thrift, fixed inet version

* Renamed and fixed stream handler, fixed wrong handlers order

* Test for oops_body

* Use join to make file path

* MSPF-476: Add operation_id to access log

* Upgrade to Erlang 21.3.8.4

* Refactor access log configuration

* lager -> logger

* Upgrade woody

* Fix default logger config
2019-07-03 11:11:31 +03:00
Alexey
871b797fe1
CAPI-304: fix encoding payment_system (#277) 2018-10-05 16:22:10 +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
Anton Belyaev
bbe79a71cf
Bump swagger-codegen to 2.3.0 (#138) 2017-11-22 17:18:16 +03:00
Evgeny Levenets
2a279c148c switch to v2 swag
rename docker image
2017-11-02 19:01:41 +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
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
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
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
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
Evgeny Levenets
9d25ab0199 CAPI-142: fixed decoding optional fields (#62)
* makefile fixed
2017-05-26 18:49:23 +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
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
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
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
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
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
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