Commit Graph

536 Commits

Author SHA1 Message Date
ttt161
b5cdd9b060
TD-720: bump bouncer client (#23)
Co-authored-by: anatoliy.losev <losto@nix>
2023-09-27 13:33:11 +03:00
ndiezel0
219d400238
INT-779: Add AccountName to DigitalWallet (#22)
* INT-779: Add AccountNumber to DigitalWallet

* Fix marshalling

* Format

* Fix naming

* Fix
2023-09-07 14:53:38 +05:00
ndiezel0
cf4955fbe5
Fix logs in code (#21) 2023-08-16 20:02:03 +05:00
ndiezel0
7216d3217d
TD-677: Add entity ID check before creation (#20)
* TD-677: Add entity ID check before creation

* Fix compile

* Fix spec and format

* Add mock get

* Fix tests

* Add tests

* Fix dialyzer
2023-08-15 02:29:41 +05:00
ttt161
e84319bb13
MI-10: fix function clause (#19)
* MI-10: fix function clause

* MI-10: fix format

---------

Co-authored-by: anatoliy.losev <losto@nix>
2023-07-25 10:35:14 +03:00
ttt161
bf1b1d5381
MI-10: withdrawal errors returning (#18)
* MI-10: withdrawal errors returning

* MI-10: add spec

* MI-10: add test

* MI-10. fix issue

---------

Co-authored-by: anatoliy.losev <losto@nix>
2023-07-17 11:59:16 +03:00
ndiezel0
925c7a56b8
Update damsel (#17) 2023-05-22 20:13:41 +07:00
Aleksey Kashapov
e8134edd0e Removes testcase dup 2023-04-27 18:56:20 +03:00
Aleksey Kashapov
a466b0ebdd OPS-291: Adds guard for undefined partyID from request params 2023-04-27 18:56:20 +03:00
ndiezel0
f6a4775564
OPS-282: Fix config (#15) 2023-04-13 15:00:40 +05:00
ndiezel0
de57fa0e57
OPS-282: Add IP header (#14)
* OPS-282: Add IP header

* Update swag_server version

* Update swag_server version again
2023-04-11 20:26:53 +05:00
Артем
24b27f4409
OPS-278: Add optional get party id from request (#13)
* added optional get party id from request

* bumped to valitydev/swag-wallets@bacfb20
2023-03-31 15:48:53 +03:00
Артем
046bcd972e
Fix: Pass party id from params (#12)
* fixed

* added reading part id from identity context, not auth token

* updated erlang checks

* added requested changes
2023-03-15 14:54:28 +06:00
Aleksey Kashapov
e24e67d4ea Adds wapi_auth:get_user_email/1
* Also exports wapi_handler_utils:get_auth_context/1
2023-02-15 15:36:56 +03:00
Артем
1478451381
Bump to valitydev/damsel@4e82c24 (#10) 2022-09-21 16:05:01 +03:00
Andrew Mayorov
a8253b916d
TD-222: Update to valitydev/thrift compiler 0.14.2.3 (#9)
* Bump to bender-client-erlang@4e15070
* Bump to valitydev/bouncer-client-erlang@5bfb7eb
* Bump to valitydev/damsel@9362c08
* Bump to valitydev/fistful-proto@f19e383
* Bump to valitydev/token-keeper-client@de4f666
* Bump to valitydev/dmt-client@ce6678a
* Bump to valitydev/identdocstore-proto@0ab676d
* Bump to valitydev/fistful-reporter-proto@69565e4
* Mention fistful-proto as explicit dependency
2022-07-22 11:11:02 +03:00
Артем
6ef54003e9
TD-250: Add crypto currency ref (#6)
* added currency ref

* reverted lock

* Revert "reverted lock"

This reverts commit e588ce86ec.

* changed branches to refs in swag deps

* fixed format

* removed cowboy_cors dep

* removed cors lock

* changed workflow version

* added crypto wallet code decode test

* removed unused deps
2022-06-01 09:31:25 +03:00
Артем
44e699b84a
Fix bender client ref (#5) 2022-05-18 20:54:05 +03:00
Артем
499e6dc0b3
Сhange app name (#4) 2022-05-12 13:48:07 +03:00
Артем
465f3212d6
Lib (#2)
* removed handler and fixed all issues

* started update tests

* fixed tests

* removed wapi woody and wapi core apps

* refactored to feat library-templates

* added most of requested changes

* refactored types

* fixed dialyzer

* added part of changes

* fixed

* removed cors completely
2022-04-29 18:17:15 +03:00
Артем
f473bb0781
Update master (#17)
* APM-107: Handle tokens in digital wallets (#6)

* Add valitydev/tds-proto@48bca49 dependency
* Rename `api_deadlines` config option
* Bump to empayre/swag-wallets@c64e4c9
* Bump to valitydev/bouncer-client-erlang@b6c7be0
# Conflicts:
#	apps/wapi/test/wapi_destination_tests_SUITE.erl
#	rebar.lock

* fixed after merge

* fixed
2022-04-14 11:02:57 +03:00
Артем
aa5d14e2fd
APM-93: Get withdrawal methods (#10)
* added get withdrawal methods, updated fistful base ns

* added withdrawal method exception

* added review changes

* changed message
2022-03-25 15:03:56 +03:00
Артем
c7a76affeb
APM-54: Generic resources (#9)
* APM-54: Support for generic resources

* added support for generic resources

* added fail test cases

* added ssh replacement

* changed ssh refs

* added new workflow

* added checkout

* some fix

* test

* removed steps

* added ext to workflow ref

* fixed docker build

* Provide codecov upload token secret

* added requested changes

* fixed

* added requested changes

* removed test resource desc

* fixed tests

* fixed yamllint

* added requested changes

* refactored mocks

* fixed fmt

* fixed ref

* refactored init/end per testcase

* fixed
2022-03-21 20:25:27 +03:00
github-actions[bot]
a2af8654fb Update file(s) from valitydev/.github 2022-02-22 07:25:21 +00:00
github-actions[bot]
f2f2ba4c6e Update file(s) from valitydev/.github 2022-02-21 22:05:01 +00:00
Alexey S
798c541740
TD-106: Update token keeper client (#2) 2022-02-16 17:15:31 +03:00
Andrew Mayorov
e144da56c7
Bump to valitydev/swag-wallets@1235c0a (#7)
Also cut former enum variants out from testdata.
2022-02-15 21:14:43 +03:00
Andrew Mayorov
64cdba9a0f
Bring back original ctx namespace (#6)
Since it breaks reads of existing objects.
2022-02-14 16:24:31 +03:00
Артем
dbc0e0b564
Expose SERVICE_NAME as env so CMD expands properly (#5) 2022-02-11 19:30:30 +03:00
Артем
3b953c370b
APM-28: Add payment service ref to digital wallet (#1)
* Drop proprietary CI stuff

* Fix README

* Vendor in swagger-codegen generated code

Based upon swag-wallets @ f1c178db

* Build and push images w/ GH action (#1)

* Switch deps to public upstreams

* Upgrade to damsel @ 625100e

* Fix io encoding (#2)

* BACKLOG-11: Fix error type mapping issue (#3)

* TECHDEBT-16: Drop identity class leftovers @ stat backend (#4)

In line with valitydev/fistful-proto#8.

* Bump to fistful-proto@8c9aa310

* Drop few unused includes / macros

* added swag sub module

* added swag

* fixed links

* added payment service to digital wallet

* fixed tests

* removed swag

* fixed link

* fixed format

* removed old build

* added digital wallet stat test

* added map error test

* fixed linter

* added wapi suite

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
2022-02-11 11:05:14 +03:00
ndiezel0
d1d440af58
TD-126: Add CI/CD (#3)
* Drop some unused macros and includes in tests code
* Remove `wapi_context` leftovers

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
2022-02-07 10:49:35 +03:00
Boris
2d251e3543
ED 318: Delete unused api. Identity identification: challenge, classes (#35) 2021-11-25 11:09:44 +03:00
Alexey S
7a760ce300
ED-288: Remove legacy auth (#33) 2021-11-24 15:43:38 +03:00
yuri-bukhalenkov
4fc6b01a7c
ED-313: reading extra field revertStatus from request (#34)
* deposits: reading extra field revertStatus from request

* deposits: included revertStatus field to response

* small update

* upcased enums

* updated swag submodule
2021-11-15 14:30:37 +03:00
Alexey S
de8fca96d2
ED-288: Relax internal wapi auth (#30) 2021-11-08 11:10:58 +03:00
Sergey Yelin
4001a1c2e9
Fix p2p error (#32) 2021-10-20 14:31:11 +03:00
George Belyakov
f326fc91cb
ED-250: clean unused macro (#27)
* delete macro: [MD5, SHA256, TEST_PAYMENT_TOKEN, TERM_SET, PAYOUT_SERVICE_TERMS, PAYMENT_SERVICE_TERMS, SNAPSHOT, SWAG_HANDLER_SCOPE]
2021-09-27 11:22:07 +03:00
Boris
3e88ceb35a
delete P2P (#26) 2021-09-27 09:57:53 +03:00
Sergey Yelin
efea4bf6be
ED-242: Upgrade Erlang and deps (#25)
* ED-242: Upgrade Erlang and deps

* Update libs
2021-09-16 15:28:04 +03:00
dinama
e33217528d
ED-118: upgrade token keeper (#24) 2021-09-07 11:45:35 +03:00
Артем
110be44152
ED-118: Bouncer integration (#19)
* added bouncer context

* finished refactor wallet handler

* fixed build

* fixed dialyzer

* finished fixed dialyzer

* added fixes + setup tests

* fixed more errors

* fixed process return

* fixed auth wapi context

* setuped some suites

* fixed all tests

* fixed dialyzer

* formatted

* fixed linter

* fixed

* updated bouncer proto and client, fixed
2021-09-03 19:28:26 +03:00
Yaroslav Rogov
fab27c234e
ED-190/deps: Update dmt_client (#16)
* ED-190/deps: Update dmt_client

* ED-190/deps: Update dmt_client

* ED-190/refactor: Remove redundant dominant code

* ED-190/deps: update dmt_client

* ED-190/fix: remove unused import

* ED-190/fix get_currency

* ED-190/fix: compile warnings

* ED-190/fix: Fix wapi_domain_backend

* ED-190/refactor: Fix formatting

* ED-190/refactor: Fix dialyzer errors
2021-08-25 14:13:42 +03:00
George Belyakov
b99dba6fed
ED-248: update damsel (#22)
* update damsel

* update damsel
2021-08-24 12:26:51 +03:00
Yaroslav Rogov
7940392f9a
ED-226/deps: Add woody_api_hay (#23) 2021-08-24 11:04:07 +03:00
Yaroslav Rogov
dc2d480c2f
ED-226/feat: Add the rest of monitoring tools (#21)
* ED-226/feat: Add the rest of monitoring tools

- how_are_you for metrics
- config for erlang_health

* ED-226/fix: Remove explicit how_are_you for prod

* ED-226/refactor: sys.config formatting

* ED-226/fix: formatting
2021-08-23 15:02:56 +03:00
George Belyakov
c02e251ae5
ED-105: flexible dicts (#18)
* bump fistful-proto

* payment_system => payment_system_deprecated

* bump damsel

* implement flexible dict "payment_system"

* fix email-validator issue

* update images

* add payment_system to destinations tests generate_resource

* Revert "add payment_system to destinations tests generate_resource"

This reverts commit 059fbe6f0e48d644c6db503d82f8c835116d3641.

* Revert "update images"

This reverts commit 3dbfecd44453034e52acb854ec5f5ea6b05ee602.

* Revert "fix email-validator issue"

This reverts commit 3a492ce8ea22c804f0c7e28646536470c9521a3d.

* Revert "implement flexible dict "payment_system""

This reverts commit d3e16547b2539436497afddb90d5c0a01b8e08cf.

* Revert "bump damsel"

This reverts commit 24c198d6a11090b485348a3939c8d46d2ea984bf.

* Revert "Revert "bump damsel""

This reverts commit 917a3dbbce0c761bc4309a9de6ec5adc36d2d637.

* Revert "Revert "implement flexible dict "payment_system"""

This reverts commit 468c8a2a7331457c03184f9b2e120de8cc83242a.

* Revert "Revert "fix email-validator issue""

This reverts commit e93b5bcea7f84864715cd4efa86664b8551e61f8.

* Revert "Revert "update images""

This reverts commit 36bcecdde434fe38a32b1abd2b3f99d954143ca4.

* Revert "Revert "add payment_system to destinations tests generate_resource""

This reverts commit 1f9830328f06ed56cbf2738a7e3fe1128cf6a134.

* fix edit mistake

* rework wapi_codec eunit test, remove unused iso_country_code

* fix space

* format

* remove debug logging
2021-07-15 13:20:13 +03:00
George Belyakov
c6dd27be2f
ED-170: add digital wallets, webmoney (#15)
* bump swag

* add digital_wallets/webmoney resource, add webmoney resource test, not work version - there are problems with swag bump

* bump build/base images

* update submodule schemes/swag

* return back old images

* fix copy-pasta mistake in resource unhmarshalling

* bump build and service images

* fix non-optimised clause

* bump schemes/swag submodules (fixed provider field required now)

* rework marshalling/unmarshalling in crypto/digital-wallets

* wapi stat backend unmarshalling

* update swag submodule

* revert provider field discriminator

* bump fistful-proto

* bump build image

* fix email-validator dependency issue

* return fistful-proto to master, update fistful-proto

* Revert "return fistful-proto to master, update fistful-proto"

This reverts commit 79c6405724849303b89ef6a79d82bff55fe1cda8.

* return fistful-proto master branch finally
2021-07-09 16:27:23 +03:00
George Belyakov
4538fdfed3
ED-170: fix for flexible dicts (#17)
* bump fistful-proto

* payment_system => payment_system_deprecated

* bump damsel

* implement flexible dict "payment_system"

* fix email-validator issue

* update images

* add payment_system to destinations tests generate_resource

* Revert "add payment_system to destinations tests generate_resource"

This reverts commit 059fbe6f0e48d644c6db503d82f8c835116d3641.

* Revert "update images"

This reverts commit 3dbfecd44453034e52acb854ec5f5ea6b05ee602.

* Revert "fix email-validator issue"

This reverts commit 3a492ce8ea22c804f0c7e28646536470c9521a3d.

* Revert "implement flexible dict "payment_system""

This reverts commit d3e16547b2539436497afddb90d5c0a01b8e08cf.

* Revert "bump damsel"

This reverts commit 24c198d6a11090b485348a3939c8d46d2ea984bf.
2021-07-09 15:17:16 +03:00
Sergey Yelin
08d5b9fd4a
Update damsel (#14)
* Update damsel

* Bump to rbkmoney/damsel@647430d

Co-authored-by: 0x42 <bpozdnyakov@gmail.com>
2021-05-19 10:12:55 +03:00
dinama
ecf9f36dad
ED-116: restore dmt_client demo config (#13) 2021-04-09 13:14:46 +03:00