Commit Graph

17 Commits

Author SHA1 Message Date
Andrew Mayorov
7f28b21d25
TD-288: Stop responding w/ payment tool tokens (#11)
* Bump to valitydev/swag-payments@c39e50b
* Also drop legacy idemp features handling
* Simplify bender client module
* Increase test coverage
* Disentangle conflict error and `logic_error`
* Deduplicate testcases code
2022-05-16 11:16:36 +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
Jarosław Rogov
8381da653a
ED-282/deps: Migrate to feat for idempotency feats (#578)
* ED-282/deps: Migrate to feat for idempotency feats

* ED-282/ref: Fix dialyzer warning

* ED-282/ref: Fix dialyzer warnings

* ED-282/fix: Remove leftover

* ED-282/ref: Fix legacy module naming

* ED-282/ref: Fix headers module naming

* ED-282/fix: Fix v2 legacy fallback

* ED-282/fix: Fix v2 compativility code

* ED-282/ref: Fix dialyzer and linter warnings

* ED-282/fix: Fix bug and dialyzer warnings

* ED-282/test: Return create_invoice_legacy_fail

* ED-282/ref: Rewrite feat CT reader

Make it simpler and more explicit

* ED-282/ref: Fix formatting

* ED-282/fix: Remove debug leftovers

* ED-282/fix: Fix CT feat reader

* ED-282/test: Fix unused fields

* ED-282/ref: Refactor capi_bender

* ED-282/ref: Refactor arg naming in capi_bender

* ED-282/fix: Fix capi_bender list_diff for legacy

* ED-282/test: Add success test and fix impl

* ED-282/fix: Fix types for consistency

* ED-282/ref: Tweak elvis to ignore idemp tests

* ED-282/ref: Simplify capi_bender API

* ED-282/deps: Switch capi_bender to bender_client

* ED-282/ref: Remove direct bender call leftovers

* ED-282/fix: Return spec for get_context_data

* ED-282/ref: Rename bender capi namespace const

* ED-282/ref: Remove leftover

* ED-282/ref: Remove read_schema redundant clauses

* ED-282/ref: Rename bender namespace var

* ED-282/ref: Remove leftovers and fix formatting
2021-11-02 15:24:00 +03:00
Yaroslav Rogov
e06aff27d7
ED-103/feat: Add dictionary support (#568)
* ED-103/feat: Add dictionary support

* ED-103/ref: remove leftovers

* ED-103/fmt: Fix results of stale formatter

* ED-103/ref: Fix lint warning

* ED-103/ref: Fix dialyzer warnings

* Update apps/capi/src/capi_domain.erl

Co-authored-by: Sergey Yelin <s.elin@rbkmoney.com>

* ED-103/fix: Return found ref on mismatch

* ED-103/chore: Remove todo comments 🤦

* ED-103/ref: refactor crypto currency encoding

* ED-103/fix: Fix decoder exports

* ED-103/ref: Remove erroneous spec

* ED-103/chore: Remove DISCUSS regarding reverse mapping

Co-authored-by: Sergey Yelin <s.elin@rbkmoney.com>
2021-09-01 16:27:46 +03:00
dinama
92619bb9cd
upgrade world (#507) 2021-01-31 22:09:20 +03:00
Boris
9f1b092b41
Capi-414: change idempotent checker algorithm create payment (#470) 2020-09-17 17:10:33 +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
Boris
869e0313c1
test invoice template; elvis config; same prefix in deferent version (#336) 2019-05-14 14:43:25 +03:00
Natalia Pulina
247689c5ce
CAPI-192: new tests, real_SUITE fixed with mocked services (#111) 2017-10-31 13:15:56 +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
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
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
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
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
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
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
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