Commit Graph

123 Commits

Author SHA1 Message Date
0x42
72eb19ea57 fix editor[vscode]
изменено:      apps/ff_server/src/ff_server.erl
	изменено:      apps/ff_transfer/src/ff_deposit.erl
	изменено:      apps/ff_transfer/test/ff_transfer_SUITE.erl
2018-12-17 16:28:48 +03:00
0x42
21bb7e71e6 FF-33
добавил тест для большого deposit;
код для проверки лимитов кошелька убрал в ff_party
	изменено:      apps/ff_cth/src/ct_payment_system.erl
	новый файл:    apps/ff_server/rebar.config
	изменено:      apps/ff_server/src/ff_server.erl
	изменено:      apps/ff_transfer/rebar.config
	изменено:      apps/ff_transfer/src/ff_deposit.erl
	изменено:      apps/ff_transfer/src/ff_withdrawal.erl
	изменено:      apps/ff_transfer/test/ff_transfer_SUITE.erl
	изменено:      apps/fistful/rebar.config
	изменено:      apps/fistful/src/ff_party.erl
2018-12-17 16:18:47 +03:00
kloliks
4bb7bec5e9
FF-11: wapi tests (#46)
* FF-11: add wapi tests: identity, wallets

* FF-11 WIP:add wapi tests: payres, destinations

* FF-11: wapi tests completed: identity, wallets, payres, destinations
2018-12-05 18:26:56 +03:00
Andrey Fadeev
6d30750423
FF-30 Add currency selector to provider fee (#45)
Add missed currency to provider settings
2018-12-03 19:35:26 +03:00
Evgeny Levenets
be3bb817f2
MST-205: support wallet created_at field in stat response (#43) 2018-11-30 12:07:38 +03:00
Evgeny Levenets
7579e0f182
MST-205: fix failure encoding (#42) 2018-11-28 14:52:33 +03:00
Артем
cbf1e08674
CAPI-317: Fistful stat (#37) 2018-11-21 12:19:40 +03:00
Артем
52232b54cb
FF-25: Migration for postings events 1860-5000 (#39) 2018-11-21 09:55:43 +03:00
Артем
0718175551
bugfix (#36) 2018-11-16 11:47:13 +03:00
Артем
6b46a23076
FF-20: Session eventsink (#35) 2018-11-15 14:32:50 +03:00
Артем
f1901a79cc
FF-19: Destination eventsink (#34) 2018-11-09 14:38:05 +03:00
Артем
853659ca8f
HG-384: Update fistful proto (#32) 2018-11-06 14:47:44 +03:00
Артем
7acf0bbc76
HG-384: Identity bugfix (#30) 2018-11-03 02:26:30 +06:00
Артем
58c1dbe319
HG-384: New eventsinks (#23) 2018-11-02 17:21:59 +06:00
Andrey Fadeev
b3e4729dd0
HG-392 Add accounter unhold in failed withdrawals (#29)
* Add accounter unhold in failed withdrawals
* Add simple error mapping
2018-11-01 12:33:04 +03:00
Andrey Fadeev
57fc3b7f30
FF-7 Add old cashflows decoding (#28) 2018-10-31 14:33:24 +03:00
Evgeny Levenets
f1e3355dca
HG-392: check limits for wallet and withdrawal (#25)
* fix gitmodules

* remove wtf

* HG-392: check limits for wallet and withdrawal
2018-10-30 17:30:42 +03:00
Andrey Fadeev
1b8c6a13b8
FF-7 Fix swag args decoding (#27) 2018-10-29 14:25:09 +03:00
Andrey Fadeev
720a2e6549
FF-7 Add lazy account reading (#24)
Use a system account only if it was used in the cashflow.
Use a separate account for each currency
2018-10-25 19:51:09 +03:00
Andrey Fadeev
8f1383a4f0
FF-7 Add cash flow and fee (#20) 2018-10-19 13:34:47 +03:00
Anton Belyaev
eb3e147005
Fix a bug: unset woody context in handler process on finish (#22) 2018-10-11 18:23:14 +03:00
Anton Belyaev
577e3079e9
Fix: postings name spacing and config alignment (#19)
* Fix transfer name spacing
* Align config with implementation
2018-10-08 20:00:49 +03:00
Anton Belyaev
f34daad30c
Fix ff_transfer_machine actions (#18) 2018-10-08 15:01:06 +03:00
Anton Belyaev
2e83eb06a5
Fix ff_server childspec (#17) 2018-10-05 17:40:10 +03:00
Anton Belyaev
2ef60af224
Fix withdrawal params creation (#16) 2018-10-05 16:38:40 +03:00
Anton Belyaev
9f27ef35ef
FF-2: add deposit api and refactor ff_withdrawal (#14)
* FF-2: refactor ff_withdrawal
- introduce ff_transfer_machine and new ff_transfer as an underlying process
  for any withdrawal, deposit and transfer between wallets.
- rename apps/ff_withdraw -> apps/ff_transfer and make corresponding updates
  including sys.config.
- rename fistful/src/ff_transfer.erl -> fistful/src/ff_postings_transfer.erl
* Introduce ff_instrument as an underlying abstruction for ff_destination and ff_source.
* Add ff_deposit
* Add ff_source
* Add FistfulAdmin thrift service
* Add transfer migration code
2018-10-05 14:19:46 +03:00
Anton Belyaev
ddf5630f5b
Turbofixes: add negative acc amount support and bump dmsl (#13)
* Temporarily remove amount validation for accounts
* Bump dmsl for the sake of party mgmt
2018-09-26 14:51:13 +03:00
Anton Belyaev
f74a1114e3
Add multiple withdrawal adapters support (#12)
* Remove wallet specifics from the transfer
* Add support for multiple withdrawal adapters;
* Switch tests to proxy-mocketbank
* Bump swag to rbkmoney/swag-wallets@745b5ad
2018-09-25 14:25:00 +03:00
Anton Belyaev
8d040b6868
CAPI-292: add seadlines support to wapi (#11) 2018-09-04 19:48:19 +03:00
Andrey Fadeev
b8ab555769
HG-386 Rename machinegun namespaces (#9)
"Migrate" old accounts
2018-08-28 13:05:58 +03:00
Andrey Fadeev
a27c63ea68
HG-386 Move wallets from party (#7) 2018-08-27 15:08:06 +03:00
Anton Belyaev
b8945abdf2
CAPI-279/CAPI-280: add token issue and withdrawal auth via grant/bearer (#5)
* CAPI-280: auth withdrawal via bearer or destination grant
* Fix wapi related linter warnings
* Do not run lint in CI for now
* Add wallet grant implementation and fix some bugs
* Refactor resource auth for withdrawal
* Fix (dirty) user woody identity handling in ff_party
* Fix challenge event search
* Fix withdrawal and challenge status 'Failed' handling
2018-08-21 20:27:58 +03:00
Andrey Mayorov
c1d350b91c Fix fetching wallet balance 2018-07-17 16:49:36 +03:00
Andrey Mayorov
0a4c47a36e Fix withdrawal session status 2018-07-17 12:56:23 +03:00
Andrey Mayorov
668152f674 Respect simplified payres token payload 2018-07-17 12:09:12 +03:00
Andrey Mayorov
c89d488466 Fix identity challenge event matching in api handler 2018-07-17 12:02:28 +03:00
Anton Belyaev
bfca5fafd2 Separate privdoc and payres api to wapi-psidss (#8) 2018-07-16 17:30:38 +03:00
Andrew Mayorov
7c7ad60e1b
Handle transfers through noion of accounts (yeah, again) (#9)
* Drop (de)hydration for now, we'll think about it later.
* Reduce boilerplate w/ the help of `ff_machine` though much to be done still.
* Drop half-baked `ff_machine` from ff_core
* Supply missing specs + fix marshalling types
* Update test fixtures
2018-07-16 17:21:17 +03:00
Anton Belyaev
ce160a7783 Bump to rbkmoney/swag-wallets/commit/0a8b2bf3a13593bdd70e46cc0b4cce5e714cb285 2018-07-13 12:18:46 +03:00
Anton Belyaev
1705eb1dbf
Add resource access control on wapi (#7) 2018-07-12 19:43:46 +03:00
Andrey Mayorov
77e04c2dab [WIP] Fix 2018-07-09 13:02:59 +03:00
Andrey Mayorov
6a1329c094 [WIP] Fix handling payment system 2018-07-09 11:52:43 +03:00
Andrey Mayorov
241571d28c [WIP] Implement 'ListIdentityChallenges' 2018-07-08 23:00:42 +03:00
Andrey Mayorov
06fd8a51e7 [WIP] Implement 'ListProviders' 2018-07-08 22:25:59 +03:00
Andrey Mayorov
5aeaaf8c83 [WIP] Abuse ff_sequence in wapi instead of genlib:unique/0 2018-07-08 21:40:41 +03:00
Andrey Mayorov
cc982c5284 [WIP] Make proper unicode in fixture 2018-07-08 21:40:05 +03:00
Andrey Mayorov
d8c794772a [WIP] Fix swag marshalling 2018-07-08 21:21:17 +03:00
Andrey Mayorov
00f72c9fe0 [WIP] Add dehydration for ff_destination 2018-07-08 20:09:21 +03:00
Anton Belyaev
e397978491 Fix 404 resp code for GetWithdrawal 2018-07-08 20:04:59 +03:00
Anton Belyaev
5834dd48d1
Fix integration issues (#6) 2018-07-08 19:58:55 +03:00