Commit Graph

401 Commits

Author SHA1 Message Date
Aleksey Kashapov
635e0b2f42
OPS-272: Removes party id checks (#30)
* Removes checks in operations `CapturePayment`, `CreateRefund`,
  `GetPayout`, `GetWebhookByID` and `DeleteWebhookByID`
* Adds support for `GetWebhooksForParty` operation with `partyID`
  request parameter
* Removes obosolete test
  `capi_base_api_token_tests_SUITE:get_payout_fail/1`
* Adds test `get_webhooks_for_party/2` and upgrades swag deps
2023-03-15 10:11:44 +03:00
Aleksey Kashapov
dbb2039c30
OPS-272: Adds 'ForParty' operations implementation (#29)
* Adds `getInvoiceByExternalIDForParty` implementations with tests
* Adds `getPaymentInstitutionPayoutMethodsForParty` and `getPaymentInstitutionPayoutSchedulesForParty`
* Adds `getPaymentByExternalIDForParty` and `getRefundByExternalIDForParty`
* Bumps `swag_client` and `swag_server`
2023-03-07 13:20:32 +03:00
Aleksey Kashapov
031d6effbb
Revert "TD-502: Enable usage of user_id and party_id from token (#26)" (#27)
This reverts commit 2de9367561.
2023-02-27 10:46:08 +03:00
ndiezel0
2de9367561
TD-502: Enable usage of user_id and party_id from token (#26)
* TD-502: Enable usage of user_id and party_id from token

* Fix tests
2023-01-27 11:13:52 +05:00
Артем
b408726bab
APM-286: Add new data to trx info (#25)
* added new data to trx info

* refreshed cache
2023-01-19 12:45:07 +03:00
ndiezel0
10d663c349
TD-476: Add restrictions for GetShopsForParty (#24)
* TD-476: Add restrictions for GetShopsForParty

* Update bouncer-proto and filtering

* Add restriction test

* Format

* Update workflow

* Update apps/capi/src/capi_handler_shops.erl

Co-authored-by: Артем <WWW_cool@inbox.ru>

* Implement suggestion

* Fix

* Fix specs

* Add test for non existent restriction iml

Co-authored-by: Артем <WWW_cool@inbox.ru>
2022-12-27 12:33:54 +05:00
Andrew Mayorov
e5b4f7d540
TD-443: Produce InteractionCompleted events @ payments / bindings (#23)
* Bump to valitydev/damsel@6655937
* Bump to valitydev/swag-payments@d71aebc
* Ensure backward compatibility
2022-11-01 18:06:57 +03:00
Артем
4d785873da
TD-385: Fix - default ip if undefined (#22) 2022-10-12 15:21:00 +04:00
Артем
10050fd975
TD-385: Add new ips (#21) 2022-10-11 19:19:03 +04:00
Andrew Mayorov
dec70d64d4
TD-367: Drop retired APIs as of valitydev/swag-payments@37e6f46 (#20)
* Steamline test fixtures
* Drop unused utility functions
* Resurrect SearchInvoices / SearchRefunds
2022-09-05 13:22:16 +03:00
Andrew Mayorov
987bfc9863
TD-367: Stop counting DigitalWallet.token as idemp feature (#19) 2022-08-10 11:26:23 +03:00
Артем
05518a801c
TD-266: Fix - empty invoice id field (#18) 2022-08-03 14:03:54 +03:00
Артем
b8544b7cea
TD-266: Fix - empty invoice id field (#17)
* fixed empty invoice id bug

* fixed

* fixed
2022-07-25 14:11:34 +03:00
Andrew Mayorov
9e3f8eb930
TD-222: Reuse valitydev/action-deploy-docker@v2 (#16)
* Drop merchstat leftovers
* Cut out some unused includes
2022-07-18 19:20:03 +03:00
Артем
289a0e9903
TD-266: Change merch stat to magista proto (#14)
* added magista proto

* changed to magista proto

* bumped magista proto

* fixed

* added error test case

* tried to feat cover

* added some error cases

* fixed

* added tests

* added tests

* bumped all

* added filters

* added requested changes
2022-07-18 15:48:02 +03:00
Alexey S
cf18b3d955
TD-286: Remove userinfo and update protocols (#12) 2022-05-16 18:13:45 +03:00
Andrew Mayorov
8327dba201
Drop accounter service dependency (#13) 2022-05-16 11:43:32 +03:00
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
Артем
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
b0b9ece994
TD-136: Supplement shop with currency in responses (#8) 2022-03-28 19:07:40 +03:00
Andrew Mayorov
7d6a034f1c
Bump to valitydev/swag-payments@a925a97 (#7)
* Drop account-related handlers as per valitydev/swag-payments@777d37a
* Bump to valitydev/bouncer-client-erlang@b6c7be0
* Drop unnecessary exception handling
* Drop unused utility functions
2022-03-26 17:40:19 +03:00
Vality Bot
67d1ef1f2c
🔄 Synced file(s) with valitydev/configurations (#6)
* 🔄 Synced local '.github/workflows/basic-linters.yml' with remote 'workflows/base/basic-linters.yml'

* 🔄 Created local '.github/settings.yml' from remote '.github/settings.yml'
2022-03-25 18:24:11 +03:00
Andrew Mayorov
4bb86bf94a
APM-44: Handle payment services in digital wallet details (#5)
* Update digital wallet related testcases
2022-02-25 14:50:20 +03:00
Alexey S
ba45f12071
TD-104: Update token-keeper-client (#3) 2022-02-24 12:36:27 +03:00
github-actions[bot]
78a94a2af4 Update file(s) from valitydev/.github 2022-02-21 22:05:08 +00:00
github-actions[bot]
809e165527 Update file(s) from valitydev/.github 2022-02-21 21:37:41 +00:00
Andrew Mayorov
4862a0832c
Expose SERVICE_NAME as env so CMD expands properly (#4) 2022-02-10 17:16:29 +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
dinama
4e39a79083
ED-126: +getCustomerPaymentMethods (#583) 2021-10-27 18:08:59 +03:00
dinama
2a8d8ade02
ED-165: split support (#554) 2021-10-26 20:09:23 +03:00
Sergey Yelin
bf17c53853
Fix p2p error (#582) 2021-10-20 17:15:23 +03:00
dinama
d0ab2fa4bc
ED-292: +catch merchantID decode errors +migrate to jose_base64url (#581) 2021-10-14 13:59:26 +03:00
dinama
8226a41e05
ED-123 ED-273: +tokenProviderData +gatewayMerchantID as thrift (#542) 2021-10-08 10:33:03 +03:00
Sergey Yelin
b00788b359
Revert "ED-276: Remove claim API (#577)" (#580)
This reverts commit e6991720bf.
2021-10-06 10:48:29 +03:00
Sergey Yelin
e6991720bf
ED-276: Remove claim API (#577)
* ED-276: Update schemes

* ED-276: Remove claim API
2021-10-05 16:48:45 +03:00
Alexey
ee0698e551
IS-1839: Bump swag (#576) 2021-09-28 11:26:39 +03:00
Alexey
2bba957b10
ED-208: Bring back lazy party creation for GetMyParty api method (#575) 2021-09-15 17:59:28 +03:00
Alexey
f469f166ae
ED-208: Token issuing with token-keeper (#561) 2021-09-15 12:41:54 +03:00
Alexey
004447553c
IS-1839: Bump build image with new codegen (#574) 2021-09-14 15:10:42 +03:00
Boris
5ac15a5709
del shop url from log (#572) 2021-09-13 13:16:25 +03:00
Yaroslav Rogov
c5df0aa49c
Ed 262/feat/named invoice templates (#573)
* ED-262/feat: Add name and createdAt for InvoiceTemplate

* ED-262/deps: Update damsel and swag
2021-09-10 14:50:13 +03:00
dinama
6b81bbc8e9
+refactor token keeper ct helper (#571) 2021-09-06 15:38:44 +03:00
Yaroslav Rogov
76f80fe251
ED-103/deps: Update swag (#569) 2021-09-02 09:08:56 +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
Boris
bc6446611e
Add client info url logging (#567) 2021-08-23 15:34:30 +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
Alexey
a3b0bf5074
ED-222: Support for simpler token-keeper metadata format (#562) 2021-08-19 11:55:47 +03:00
dinama
794ede73e5
+woody_api_hay depend (#564) 2021-08-18 19:49:22 +03:00