Commit Graph

388 Commits

Author SHA1 Message Date
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
dinama
7c2fb757ec
ED-242: erlang 24 (#544) 2021-08-18 10:39:47 +03:00
dinama
5f349be375
ED-192: +payout_manager_proto app start +bump payout_manager_proto +fix build_payout_ctx (#560) 2021-08-02 22:39:23 +03:00
Andrew Mayorov
2aa76e2a8b
ED-206: Mask forbidden as nonexistent invoice in read-only ops (#558)
* Explain reasoning behind masking in a comment
* Simplify `capi_auth` a bit
* Remove outdated TODOs
2021-07-30 11:00:20 +03:00
dinama
96da4b830b
ED-193: +PaymentInstitution payout +payout_manager_proto (#556) 2021-07-29 15:38:56 +03:00
Andrew Mayorov
a1ff9cd1ca
ED-206: Drop testgroup relevant for legacy auth (#559)
* Simplify token issuing and contexts in tests
* No need for an ACL abstraction anymore
* `ExtraProperties` in contexts was never used anyway
* Make test client more flexible wrt deadlines
* Drop unused module
* Drop auth tests which became effectively useless
2021-07-27 17:17:01 +03:00
Sergey Yelin
b2194a0b2f
ED-195: Remove blacklists from capi (#555)
* ED-195: Remove blacklists from capi

* Remove config example

* Fix dialyzer
2021-07-15 23:45:18 +03:00
Sergey Yelin
aa081138dc
ED-201: Fix crash while getting refund with external id (#557)
* ED-201: Fix crash while getting refund with external id

* Fix dialyzer
2021-07-15 22:44:39 +03:00
Sergey Yelin
d042dd8518
ED-172: Switch to bouncer (#553)
* ED-172: Switch to bouncer

* Return error in case of token keeper auth failed

* Remove unused

* auth_data must present here in any case

* Do not rewrite ports for existing services

* Add missing bouncer policies in invoice access token tests

* Remove legacy auth for operation authorization

* Add permission for GetPaymentByExternalID into tests

* Add new permissions where missing

* Fixe GetReport

* Remove unused variables

* Review fixes

* Rewview fixes 2

* More fixes
2021-07-09 19:55:42 +03:00
Yaroslav Rogov
2fc4f66070
deps: Update dmt_client (#550)
* deps: Update dmt_client

* fix: Fix opts passing

* fix: Fix capi_domain

* test: Fix tests for new ordering

* refactor: Fix get_objects_by_type signature

* refactor: Fix copypaste
2021-07-05 16:54:21 +03:00
dinama
0f7a5f92a8
HG-568: pass clientInfo to backend (#552) 2021-07-04 20:07: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
001ba85da0
ED-119: Correctly use legacy claims when lazily creating parties (#549) 2021-06-29 16:48:59 +03:00