Commit Graph

545 Commits

Author SHA1 Message Date
ndiezel0
8865ba4ceb
CP-24: Add Quote to Withdrawal (#33)
* CP-24: Add Quote to Withdrawal

* Fix

* Fix2

* Fix3

* Fix4

* Remove coverall
2024-06-18 21:28:16 +05:00
Fedor Shimich
c80fd9c7ca
INT-1136: add identity number for digital wallet (#32)
* INT-1136: add identity number for digital wallet

* INT-1136: code style

* Update test/wapi_destination_tests_SUITE.erl

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

* INT-1136: fix

---------

Co-authored-by: Артем <WWW_cool@inbox.ru>
2024-06-18 18:17:01 +03:00
Артем
e316877528
CP-19: Add auth data (#31)
* added auth data

* added auth data mock

* fixed fmt
2024-06-03 16:39:18 +03:00
ndiezel0
65d5529660
IMP-236: Add externalID search for Withdrawals (#30) 2024-06-02 20:00:57 +05:00
Артем
dcdb085feb
TD-844: Add deposit desc (#28)
* added desc from stat

* bumped swag
2024-01-26 17:36:50 +03:00
Aleksey Kashapov
21152f50e6
TD-843: Adds req patching with party id from different sources (#27)
* TD-843: Adds req patching with party id from different sources

* Removes usage of entities' owner as party

* Updates reports testcases
2024-01-19 15:20:11 +03:00
Aleksey Kashapov
eeaba30a69
TD-686: Migrates back to scoper' woody event handler (#26) 2023-10-25 18:32:30 +03:00
Aleksey Kashapov
e40a41d685
TD-686: Adds otel instrumentation support (#25) 2023-10-16 12:17:15 +03:00
ndiezel0
b7f46c1c5c
Fix fistful context namespace (#24)
* Fix fistful context namespace

* Refactor CTX_NS

* Update src/wapi_backend_utils.erl

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

* Update test/wapi_wallet_dummy_data.hrl

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

---------

Co-authored-by: Артем <WWW_cool@inbox.ru>
2023-10-11 15:20:38 +05:00
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