Артем
ce032197ed
FF-155: Wapi destination thrift ( #175 )
...
* fix test
* FF-73: init
* FF-73
* FF-73: wapi cut off utils
* FF-73: cut off wallet from wapi_ff_backend
* FF-73: encode to marshal
* impl thrift changes
* FF-73: add test
* idempotense wallet
* uncomment options
* fix bugs
* del junk
* del maybe_marshal
* little change
* Remove races in tests
* refactored, added wallet mock tests
* Fix missed variable
* fixed, added thrift handler
* merge master
* daylizer fix
* FF-94: Wapi identity thrift (#88 )
* added identity create and get methods
* added identity challenges back, get events back
* added tests
* nano
* added some fixed
* fixed tests
* fixed tests
* refactored
* refactored
* added new suite, some fixes
* added more tests
* fixed types
* minor
* fixed tests
* fixed linter
* added destination backend
* added tests
* updated proto
* fixed
* fixed
* updated proto
* fixed
* fixed
* minor
* fixed
* fixed identity createAt
* fixed
* nano
Co-authored-by: Boris <bpozdnyakov@gmail.com>
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2020-03-03 14:49:33 +03:00
Артем
52b9849119
PROX-389: Add transfer id and session id to p2p adapter structs ( #187 )
...
* added transfer id and session id
* fixed
* fixed test
* fixed2
2020-03-03 12:24:57 +03:00
Артем
e17fbfe684
FF-73: FIX - marshal ( #186 )
2020-03-02 15:38:04 +03:00
Артем
2a23f22725
FF-73: Fix - marshal ( #185 )
2020-03-02 13:29:35 +03:00
Andrey Fadeev
b7f624d080
Add withdrawal initial route processing to thrift codec ( #183 )
2020-02-28 14:50:47 +03:00
Andrey Fadeev
29d91c2c86
Fix legacy withdrawal events decoding ( #182 )
2020-02-27 14:09:36 +03:00
Артем
5d659b86f9
FF-160: Add w2w transfer ( #178 )
...
* initial
* [WIP] w2w transfer + updated proto
* added limit check, validations, revert
* removed reverts< worked test for transfer & adjastment
* minor
* added eventsink handles
* added fixes
* minors
* added wapi handle
* added migration, added wapi test
* fixed, updated swag
* fixed
* fixed codec
* Fix tests
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2020-02-26 12:41:01 +03:00
Andrey Fadeev
8ccb7bb741
Add initial route usage to legacy withdrawal event migration ( #180 )
2020-02-25 16:13:01 +03:00
Andrey Fadeev
51171f657d
Add event migration to GetEvents request handler ( #179 )
2020-02-21 16:10:12 +03:00
Boris
2b335fa3d4
FF-73: call wallets from wapi using thrift API ( #75 )
...
* fix test
* FF-73: init
* FF-73
* FF-73: wapi cut off utils
* FF-73: cut off wallet from wapi_ff_backend
* FF-73: encode to marshal
* impl thrift changes
* FF-73: add test
* idempotense wallet
* uncomment options
* fix bugs
* del junk
* del maybe_marshal
* little change
* Remove races in tests
* refactored, added wallet mock tests
* Fix missed variable
* fixed, added thrift handler
* merge master
* daylizer fix
* FF-94: Wapi identity thrift (#88 )
* added identity create and get methods
* added identity challenges back, get events back
* added tests
* nano
* added some fixed
* fixed tests
* fixed tests
* refactored
* refactored
* added new suite, some fixes
* added more tests
* fixed types
* minor
* fixed tests
* fixed linter
* updated proto
* fixed
* updated proto
* fixed
* fixed
* nano
Co-authored-by: Артем <WWW_cool@inbox.ru>
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2020-02-14 18:54:55 +03:00
Артем
208e9c538d
FF-99 - Fix: Migration failed ( #177 )
...
* fixed
* minor
2020-02-12 20:32:33 +03:00
Andrey Fadeev
c7d376321f
FF-77 Deposit and withdrawal adjustment management interfaces ( #167 )
2020-02-12 15:15:09 +03:00
Артем
8d059b1be7
FF-157: Refactor create functions ( #176 )
...
* refactored wip
* updated proto
# Conflicts:
# apps/ff_server/src/ff_identity_codec.erl
# apps/ff_server/src/ff_wallet_codec.erl
# apps/wapi/src/wapi_identity_backend.erl
# apps/wapi/src/wapi_wallet_backend.erl
# apps/wapi/test/wapi_thrift_SUITE.erl
# rebar.lock
* fixed
* updated proto
# Conflicts:
# apps/wapi/src/wapi_identity_backend.erl
# rebar.lock
* refactored
* fixed
* fixed
2020-02-10 14:23:17 +03:00
Roman Pushkov
a68a1d1011
FF-99: extract destination tag ( #171 )
...
* update destination
* update instrument
* update wallet backend
* add ripple with tag test
* fix matching
* update withdrawal handling
* update codec
* fix unexported test
* add eventsink migration
* remove comment
* fix typo
* update test
* update test
* update test
* tuple to map
* type fix
* typo fix
* fix lint
* fix
* Revert "fix"
This reverts commit 1399e2c4962f69233d71092935c5f82b77359601.
* Revert "fix lint"
This reverts commit 4a74f96492938437e0e1819dd78307eef6f94eab.
* Revert "typo fix"
This reverts commit 8790903ff02c2aa00544479b868f0bf14eba7cb1.
* Revert "type fix"
This reverts commit fca17a2c0ddc6c6e0527883487b136bc5db2e279.
* Revert "tuple to map"
This reverts commit 8a33286ed9ec3021c644b8bd1717cf6121bc8b6a.
* type naming
* separate clause for ripple
* typo
* fix merge
* update swag
* fix merge
2020-02-10 10:58:02 +03:00
Артем
ec925d3f2b
Epic: P2P ( #152 )
2020-02-07 13:34:23 +03:00
ndiezel0
5695f49453
MG-175: Add scoper_event_handler_options
uses and examples ( #174 )
2020-02-03 12:21:32 +03:00
Boris
97bbea6c9b
FF-136: add encrypted token ( #169 )
2020-01-29 18:07:07 +03:00
Rustem Shaydullin
52d0997f38
MG-175: Upgrade woody
2020-01-27 16:40:48 +03:00
Roman Pushkov
6dc8867859
FF-99: destination tag in crypto wallet ( #168 )
...
* marshalling update
* update damsel
* update fistful-proto
* update test
2020-01-21 13:53:58 +03:00
Alexey
68b3ec8a69
FF-145: Make cashflow symmetric ( #162 )
2020-01-10 14:50:03 +03:00
Alexey
6ceda7127c
FF-129: Fix operation id ( #166 )
2020-01-09 17:42:32 +03:00
Alexey
9c13b85f55
FF-129/130: Get destination/withdrawal by external id ( #147 )
2020-01-09 13:57:35 +03:00
Sergey Yelin
6345c916f8
FF-151: Fix crash on unknown card issuer ( #161 )
2019-12-30 19:15:01 +03:00
Sergey Yelin
b6780701a5
FF-150: Fix crash on terms violation ( #160 )
...
* FF-150: Fix crach on terms violation
* Fix type
* Add test
2019-12-30 13:41:01 +03:00
Alexey
d00a247ce3
FF-128: Remove ff_sequence and ff_external_id ( #159 )
2019-12-17 15:59:15 +03:00
Alexey
1615b527e7
FF-128: Remove fistful offset ( #148 )
2019-12-13 13:28:31 +03:00
Andrey Fadeev
9fc0e88a50
Add deposit and withdrawal repairers ( #158 )
2019-12-11 18:26:45 +02:00
Toporkov Igor
fe90905f66
FF-132: Get wallet by external id ( #154 )
...
* Upgrade swag-wallets
* Add getWalletByExternalID
* Fix swag commit
* Bump swag-wallets
* Simplify getting internal id
* Use ff_external_id for id mapping
* Add test
* Remove redundant matching
* Switch back to using bender_client
2019-12-10 18:24:55 +03:00
Alexey
87eb4aca4c
FF-128: Don't use snowflake to generate withdrawal ids ( #155 )
2019-12-06 17:24:39 +03:00
Roman Pushkov
fa9edc64d4
FF-147: remove token expiration in wallets ( #153 )
...
* remove token expiration handling
* use expired timestamp in tests
* change deletion to commenting out
* Update docker-compose.sh
2019-12-05 22:09:06 +03:00
Alexey
ef4a65747e
FF-128: Bender integration part 2 ( #143 )
2019-12-03 13:20:42 +03:00
Andrew Mayorov
f1e86ff071
Fix marshalling optional ripple tag ( #145 )
2019-11-27 12:49:34 +02:00
Артем
36d76ceeac
FF-144: FIX - crypto payment tool conditions ( #146 )
...
* fixed, added get crypto quote test
* fixed
* fixed linter
2019-11-26 16:17:46 +03:00
Alexey
2bc256464b
FF-128: Bender integration part 1 ( #138 )
2019-11-15 16:13:20 +03:00
Andrey Fadeev
2643075d0c
FF-77 Add party and domain revisions ( #130 )
2019-10-17 16:09:39 +03:00
Andrey Fadeev
b38429ea32
FF-77 Fix nonexistent withdrawal get error handling ( #129 )
2019-10-15 11:34:27 +03:00
Sergey Yelin
eaf68723c7
FF-116: Switch to shumpune proto ( #126 )
...
* Switch to shumpune proto
* Affected -> Clock
* Added shumpune_proto
* Add coverage config
* Add extra parameter with type clock() to ff_transaction:balance/1
* Update hellgate and dominant
* Add clock marshaling rules
* Upgrade fistful-proto
* Fix dialyzer errors
* Code review fixes
* Move currency reference creartion to ff_currency.
* Use standard function for conversion
* Revert "Use standard function for conversion"
This reverts commit 9ac5a94c55476400f425703192d48e8211b1b1dc.
* Use standard function - 2
* Replace clock records with ff_clock module
* Fix clock type
* More review fixes
* Revert "More review fixes"
This reverts commit a75707eace1fdc41668755d62d0130054beda7aa.
* More review fixes
* Add NOTE to deposite test
* Move clock selection to ff_postings_transfer
* Fix spec for clock/1
2019-10-14 14:16:30 +03:00
Andrey Fadeev
89f1d570a7
FF-77 Use party_client for PartyManagement calls ( #127 )
...
* Rename ff_ctx to ff_entity_context
* Add runtime context and pass it through all woody handlers
* Add party_client usage
2019-10-07 11:45:00 +03:00
Andrey Fadeev
fbe8dd6657
Update swag ( #124 )
...
... and build utils
Add wallet hook validation errors
2019-10-01 10:45:34 +03:00
Andrey Fadeev
9e899397e7
FF-77 Another try to rewrite transfers ( #123 )
...
* Extract deposit from ff_transfer
* Extract withdrawal from ff_transfer
* Remove ff_transfer
* Add deposit revert
* Add adjustments
2019-09-24 17:06:17 +03:00
Roman Pushkov
c43872da8c
Merge pull request #119 from rbkmoney/FF-114/ft/wallet_tests
...
FF-114: wallet tests
2019-09-18 15:02:57 +03:00
Roman Pushkov
138d49d804
refactoring
2019-09-17 20:01:40 +03:00
Roman Pushkov
67335a478c
typo
2019-09-17 13:32:03 +03:00
Roman Pushkov
5b58d49448
formatting
2019-09-17 13:14:47 +03:00
Roman Pushkov
3178e4b4fb
cleanup fix
2019-09-17 13:10:53 +03:00
Roman Pushkov
803472a839
fix tests
2019-09-17 12:17:06 +03:00
Roman Pushkov
153bbff563
fix tests
2019-09-17 11:49:08 +03:00
Roman Pushkov
95a6a4de62
fix types
2019-09-17 11:20:13 +03:00
Roman Pushkov
64aa94258b
update wallet handler tests
2019-09-17 10:48:36 +03:00
Roman Pushkov
c363a52a7a
update account validation error handling and types
2019-09-17 10:30:55 +03:00
Roman Pushkov
64f46d1f68
update account creation error handling and types
2019-09-17 10:29:09 +03:00
Roman Pushkov
8ae54edcb5
update wallet_machine error types
2019-09-17 10:27:26 +03:00
Roman Pushkov
8e133237ae
update and refactor wallet tests
2019-09-17 10:26:43 +03:00
Roman Pushkov
f815bebfb3
remove unnecessary config
2019-09-17 10:26:22 +03:00
Boris
97372af4f1
PROXY-292 udpate dmsl(hot fix) ( #121 )
2019-09-16 19:58:24 +03:00
Roman Pushkov
31022a6646
some cleaning up
2019-09-13 17:38:09 +03:00
Roman Pushkov
c7f158ea9e
add undefined and irreducible terms tests
2019-09-13 12:48:03 +03:00
Roman Pushkov
80a732ff7e
some cleaning up
2019-09-13 12:46:23 +03:00
Roman Pushkov
bf5b1b1fe6
add euro to domain
2019-09-13 12:46:23 +03:00
Roman Pushkov
043f366534
add construct userinfo helper
2019-09-13 12:46:23 +03:00
Roman Pushkov
3716db03d2
add blocked, suspended, currency not allowed tests
2019-09-13 12:46:13 +03:00
Andrey Fadeev
99e5046601
FF-102 Fix withdrawal session migration ( #118 )
2019-08-28 20:31:14 +03:00
Andrew Mayorov
83876a00ff
Construct proper sets when marshalling ( #117 )
2019-08-26 18:41:26 +03:00
Артем
fcca901e20
FF-102: FIX - payment system convert ( #116 )
...
* fixed
* refixed
* micro
* removed comments
2019-08-23 17:25:18 +03:00
Andrew Mayorov
f849b9d4b0
Fix one more place w/ healthcheck setup ( #115 )
2019-08-22 17:33:39 +03:00
Артем
1324833ac2
FF-102: Add bin data to eventsink ( #113 )
...
* added new event to transfer, changed withdrawal in session data, migrate session create event
* added bin data to eventsink
* fixed test
2019-08-22 15:37:03 +03:00
Andrew Mayorov
f37bd9dc0f
MSPF-499: Bump to rbkmoney/erlang-health@c190cb8 ( #112 )
...
Enable healthcheck logging
2019-08-20 18:56:35 +03:00
Артем
682d92fbc4
FF-102: Bin data to withdrawal ( #109 )
...
* added ff_bin_data
* debugged, not tested
* changed to resource full type
* added requested changes
* nano
2019-08-14 12:45:21 +03:00
Andrey Fadeev
07b12ddd9f
Fix deposit idempotency ( #110 )
2019-08-13 11:47:52 +03:00
Артем
f897f91e58
FF-108: Webhooks ( #100 )
...
* added webhooks
* added tests
* updated swag
* debugged tests
* added requested changes
2019-08-12 13:58:18 +03:00
Sergey Yelin
dcf4ce8cf5
Use standard create_error/0
2019-08-07 18:04:36 +03:00
Sergey Yelin
f8796b0020
Add new error type to spec
2019-08-07 17:31:27 +03:00
Sergey Yelin
6e3688b9af
CAPI-379: Add test
2019-08-07 16:20:38 +03:00
Sergey Yelin
c421500de9
Fix crash on currency_not_allowed when create wallet
2019-08-07 12:21:21 +03:00
Andrew Mayorov
e2cc094d36
Fix typespecs
2019-08-06 23:26:21 +03:00
Andrew Mayorov
ebab598f33
Update CORS policy
...
... in line w/ rbkmoney/cowboy_cors@4cac7528
2019-08-06 22:10:43 +03:00
Igor Toporkov
09940d53f1
Fix missing scope
2019-08-05 16:56:41 +03:00
Toporkov Igor
89faf7492b
Merge pull request #89 from rbkmoney/MSPF-468-update-erlang
...
MSPF-486: Upgrade Erlang and deps
2019-07-31 11:37:02 +03:00
Igor Toporkov
8b7ba89c00
Simplified typing, nowarn weird unmarshaling
2019-07-26 17:51:12 +03:00
Igor Toporkov
510215d1b8
Fixed level_id typo
2019-07-26 11:43:53 +03:00
Артем
1c5e99ca62
FF-96: FIX - json encode issues ( #99 )
2019-07-25 18:24:18 +03:00
Igor Toporkov
1211d36b93
Rotated types backwards
2019-07-25 17:22:49 +03:00
Toporkov Igor
8ce872fc57
Merge branch 'master' into MSPF-468-update-erlang
2019-07-25 12:42:09 +03:00
Артем
78c57c3442
FF-100: FIX - undefined fields in migrate tuples ( #98 )
2019-07-25 09:16:38 +03:00
Igor Toporkov
27c4e6e1ca
Added protocol version of challenge type
2019-07-24 15:16:13 +03:00
Igor Toporkov
9a1d0bdd14
Rotated types around identity modules
2019-07-24 14:14:07 +03:00
Andrey Fadeev
79d5971e8f
Fix zero timer usage ( #94 )
...
* Fix zero timer usage
Update machinery to rbkmoney/machinery#14
* Remove mg_proto from top-level deps
* Update to new machinegun protocol
2019-07-24 10:59:29 +03:00
Артем
449112a785
FF-100: FIX - Migrate eventsink events ( #97 )
2019-07-23 15:27:37 +03:00
Артем
4379792c46
FF-100: Migrate trx info ( #95 )
...
* added migration trx_info and domain failure
* fixed
* added requested changes
* nano
* minor
2019-07-23 10:42:56 +03:00
Sergey Yelin
d03ecb0650
Merge branch 'master' into MSPF-468-update-erlang
2019-07-22 17:41:22 +03:00
Артем
5d8fdb1eb0
FF-101: Remove libdecaf ( #96 )
2019-07-22 15:03:48 +03:00
Igor Toporkov
abb384fdb5
Fixed wrong id type
2019-07-19 17:35:29 +03:00
Igor Toporkov
aea557978b
Fixed misleading type names, removed commentary
2019-07-19 17:26:40 +03:00
Igor Toporkov
68688d23f0
Simplified operationId retrieval, deleted some unnesessary types, fixed others
2019-07-19 17:17:33 +03:00
Igor Toporkov
47cea453d1
Fix handler crash on health check
2019-07-18 16:50:49 +03:00
Igor Toporkov
0eaa8d9d59
Updated build_image and cowboy_access_log
2019-07-18 16:28:35 +03:00
Igor Toporkov
ed8fa884dd
Dialyzer fixes
2019-07-18 14:23:36 +03:00
Igor Toporkov
9c56e4c18a
Merge changes from master
2019-07-18 14:23:14 +03:00
Igor Toporkov
a42a004b2e
Added OperationId logging
2019-07-17 18:27:32 +03:00
Артем
7a89283cd1
FF-101: FIX - added destination tag to eventsink ( #93 )
2019-07-17 12:06:05 +03:00
Артем
dbcdcffc43
FF-101: Destination tag ( #92 )
2019-07-16 12:14:46 +03:00
Igor Toporkov
1a82d519e0
Bulk types and specs fixes
2019-07-12 16:48:04 +03:00
Igor Toporkov
8c4da1e455
Bumped mg_proto and machinery
2019-07-11 12:21:04 +03:00
Igor Toporkov
ebe077c9e9
Bulk initial typing fixes
2019-07-10 18:25:42 +03:00
Артем
b21866269e
FF-96: Exchange preroute ( #90 )
...
* updated swag
* initial
* fixed
* changed jiffy to jsx
* updated swag
* added requested changes + renamed
* started to add test - wip
* debuged
* added requested changes
* fixed linter
* added requested changes
* minor
* FF-97: Withdrawal with quote (#91 )
* validated and pushed quote data to adapter
* added requested changes
* added quote withdrawal tests
* fixed tests
* nano
* nano
2019-07-08 16:07:19 +03:00
Sergey Yelin
0721abeb78
Upgrade Erlang and deps
2019-06-27 18:58:45 +03:00
Andrey Fadeev
cc886a9c24
Remove races in tests ( #87 )
2019-06-20 16:38:55 +03:00
Andrey Fadeev
ba11545e95
DC-116 Update dmt_client ( #86 )
...
Update dmt_client to rbkmoney/dmt_client#27
2019-06-18 19:21:45 +03:00
Артем
a0d5023265
FF-87: Machine crash patch ( #84 )
...
* deleted unwrap in transfer
* checked identity and instruments
* refactored
* nano
2019-05-31 18:19:07 +03:00
Sergei Shuvatov
b1589b1673
FF-89: add crypto wallet ( #83 )
2019-05-28 16:32:59 +03:00
Andrey Fadeev
907cfced48
FF-82 Add exists session error handling ( #80 )
2019-04-24 17:09:20 +03:00
Boris
433f9dcde6
FF-54: implement destination & withdrawals thrift handlers ( #73 )
2019-03-28 10:51:54 +03:00
Evgeny Levenets
a0181c0142
fix withdrawals terms computation ( #74 )
...
* lets brake tests first
* refactor a little bit
* add forgotten payment tool to varset
2019-03-20 11:54:46 +03:00
Boris
2544ca5949
FF-48: impl thrift protocol Identity ( #60 )
2019-03-13 13:05:27 +03:00
Andrew Mayorov
33a42a60f9
Optimize away saving extra event when adapter state didn't changed ( #70 )
2019-03-01 20:48:11 +03:00
Артем
20726326a5
FF-71: Invalid deadline bugfix ( #68 )
2019-02-27 16:42:09 +03:00
Артем
bb73cc2edd
FF-69: Internal ExpiresAt ( #67 )
2019-02-26 15:38:19 +03:00
Артем
0f506bd4e8
Mock test on WAPI ( #65 )
2019-02-21 17:34:37 +03:00
Артем
c6bc6368ab
FF-65: Set start event ( #66 )
2019-02-21 11:05:34 +03:00
Andrey Fadeev
9611e9cb5d
Add old sessions support ( #64 )
2019-02-18 16:53:58 +03:00
Evgeny Levenets
dfac024fc5
fix report type encoding ( #63 )
2019-02-18 11:56:40 +03:00
Andrey Fadeev
bb459efd87
FF-51 Withdrawal repair ( #59 )
...
* Add ff_machine repair
* Add session repair handler
* Add session repair test
2019-02-18 11:54:50 +03:00
Артем
32f7b84104
Fix: Wapi cfg ns ( #62 )
2019-02-15 18:14:15 +03:00
Артем
00807f9c19
fixed ( #61 )
2019-02-14 15:00:17 +03:00
Артем
3083844530
FF-56: List deposits ( #57 )
2019-02-12 16:34:43 +03:00
Evgeny Levenets
565066f089
FF-59: respect withdrawal provider's terms ( #58 )
...
press "F" to pay respect
* FF-59: respect withdrawal provider's terms
* fix test to proof code validity
2019-02-08 11:49:15 +03:00
Evgeny Levenets
27bea54b03
DC-104: withdrawals routing ( #54 )
...
* DC-104: withdrawals routing
shittycode typhoon
* linter fix
* renaming
* remove default IdentityID
* postmerge fix
* better identity IDs in tests
2019-02-04 13:09:42 +03:00
Alexey
487cfaf843
DC-111: Add subagent account ( #56 )
2019-02-01 12:08:46 +03:00
Boris
2f1fa9b5fb
FF-44: thrift API for wallets ( #51 )
...
* FF-37: init
* FF-37: impl wallet(create,get) thrift; tests
* FF-37: delete junk
* FF-37: improve tests
2019-01-29 12:54:26 +03:00
Артем
4aeeaefd48
FF-43: Reporter ( #53 )
2019-01-22 15:48:28 +03:00
Andrew Mayorov
6001bfd993
Bound session poll timeouts during withdrawal processing ( #50 )
2019-01-17 11:52:58 +03:00
0x42
9653db2d39
FF-33: fix tests, add last fistful-proto to rebar.lock
2018-12-24 14:18:58 +03:00
0x42
fa07cfa659
FF-33: Merge branch 'master' into FF-33/ft/deposit_check_wallet_limits
2018-12-24 13:15:50 +03:00
0x42
faf56650e6
FF-33: fix for PR-3(rename method)
2018-12-24 13:03:51 +03:00
0x42
59b0c8686a
FF-33: fix PR
2018-12-24 10:49:48 +03:00
Артем
8da0943200
FF-21: Withdrawal idempotency ( #40 )
2018-12-20 15:47:13 +03:00
0x42
15ed42918e
FF-33: fix for PR
2018-12-20 15:18:47 +03:00
0x42
5fcc88c849
FF-33: del lager from config files.
2018-12-19 15:51:28 +03:00
0x42
f5de834de4
FF-33: use new thrift ver, add validation in createDeposit [>0, currency].
...
Add tests.
2018-12-19 15:19:12 +03:00
0x42
7f7b64f265
FF-33: add tests, add exceptions
2018-12-19 13:34:20 +03:00
kloliks
6bf8f93a0d
FF-31: list_withdrawal: search by withdrawal_id ( #49 )
...
* FF-31: list_withdrawal: search by withdrawal_id
* FF-31: resolve discussion
2018-12-19 12:40:39 +03:00
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
Артем
44d8f789f2
fix ( #47 )
2018-12-13 12:14:45 +03:00
Артем
cf18e94465
FF-23: Woody retries ( #44 )
2018-12-13 11:29:18 +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
Andrey Mayorov
8eb97465ba
[WIP] Provide identity challenge events
2018-07-06 20:31:50 +03:00
Andrey Mayorov
d2d6707aa7
[WIP] Fix startup
2018-07-06 20:30:45 +03:00
Anton Belyaev
acebadcd81
Some fixes ( #5 )
2018-07-06 19:15:35 +03:00
Andrey Mayorov
5f8bbcb544
[WIP] Implement GetResidence / GetCurrency
2018-07-06 18:46:34 +03:00
Anton Belyaev
c79954c062
Add implicit woody context ( #4 )
2018-07-06 18:11:59 +03:00
Anton Belyaev
623197fba5
Nail wapi app here for a while
2018-07-06 16:49:30 +03:00
Andrey Mayorov
db02893b11
[WIP] Drop some unneeded stuff
2018-07-06 15:59:55 +03:00
Andrey Mayorov
68bc970ad3
[WIP] Implement barely working withdrawals
2018-07-06 12:06:25 +03:00
Andrey Mayorov
1d2af851a6
[WIP] Provide identdoc details to withdrawal adapter
2018-07-06 12:04:30 +03:00
Andrey Mayorov
f7e07775e9
[WIP] Add forgotten utf8 spec
2018-07-06 12:03:57 +03:00
Andrey Mayorov
76093ae516
[WIP] Setup ff_server application
2018-07-05 13:57:59 +03:00
Andrey Mayorov
ea0ecbb825
[WIP] Simplify service definition through appenv
2018-07-05 13:32:18 +03:00
Andrey Mayorov
e895411723
[WIP] Fix funspec in ct_domain
2018-07-05 13:31:31 +03:00
Andrey Mayorov
8de9de609e
[WIP] Extract some more common test code
2018-07-05 12:49:38 +03:00
Andrey Mayorov
1858ee327f
[WIP] Provide ff_string:join/1
w/ no delim
2018-07-05 12:48:44 +03:00
Andrey Mayorov
19d060b755
[WIP] Fix some test suite related issues
2018-07-05 12:48:12 +03:00
Andrey Mayorov
53a5c55999
[WIP] Switch wallets to mg + implement as an event source
2018-07-04 20:13:34 +03:00
Andrey Mayorov
68c6c758da
[WIP] Switch to mg backend + provide effective challenge id
2018-07-04 14:51:47 +03:00
Andrey Mayorov
fcafc19b27
[WIP] Make identity challenges work
2018-07-03 18:44:12 +03:00
Andrey Mayorov
56f7f837d7
[WIP] Prefix all fistful machine namespaces
2018-07-03 18:43:02 +03:00
Andrey Mayorov
e190dd7755
[WIP] Fix 'ff_pipeline:do/2'
2018-07-03 18:40:42 +03:00
Andrey Mayorov
3f991c06ba
[WIP] Give some missing specs on ct_domain
2018-07-03 17:38:45 +03:00
Andrey Mayorov
4ca87017a2
[WIP] Experiment w/ event-only interface
2018-07-02 20:25:24 +03:00
Andrey Mayorov
1f374904f2
[WIP] Test identity challenge (actually, not)
2018-07-02 18:44:36 +03:00
Andrey Mayorov
f7ccd4cb69
[WIP] Make up machinery 'middleware' which passes woodyctx around
2018-07-02 18:42:54 +03:00
Anton Belyaev
0f7fa1ca68
Provide api to get machine state ( #3 )
...
* Provide api to get machine state
* Add api for retrieving withdrawal state change events
2018-07-02 17:43:44 +03:00
Andrey Mayorov
07e0a59a09
[WIP] Get half-baked identity test suite in
2018-06-27 19:57:08 +03:00
Andrey Mayorov
997f363718
[WIP] Oops
2018-06-27 17:36:23 +03:00
Andrey Mayorov
56da4c555f
[WIP] Shortcut type for map lookups
2018-06-27 17:36:23 +03:00
Andrey Mayorov
8310d07775
[WIP] Add identity challenge stuff
2018-06-27 17:36:13 +03:00
Andrey Mayorov
3fa9e30889
[WIP] Make up some basic identity challenge
2018-06-25 17:55:05 +03:00
Andrey Mayorov
7a8588f327
[WIP] Fix spec
2018-06-25 17:54:58 +03:00
Andrey Mayorov
ab7b9fa060
[WIP] Add some more generic stuff to 'ff_pipeline'
2018-06-25 17:54:41 +03:00
Andrey Mayorov
8102caebfc
[WIP] Expand provider / class / level definitions
2018-06-21 20:02:37 +03:00
Andrey Mayorov
07495cd18d
[WIP] Drop some accessibility checks for later
2018-06-21 19:08:41 +03:00
Andrey Mayorov
00c9e121d7
[WIP] Switch identity to event-based interfaces
2018-06-21 19:06:34 +03:00
Andrey Mayorov
f4b1ac5519
[WIP] Get rid of thrift-based type in ctx definition
2018-06-21 13:38:14 +03:00
Andrey Mayorov
790bcdb674
[WIP] Fix gensrv backend
2018-06-20 20:38:05 +03:00
Andrey Mayorov
2b1b9e85a7
[WIP] Add half-baked test suite
2018-06-20 20:25:36 +03:00
Andrey Mayorov
c084b938bb
[WIP] Make couple of fixes here and there
2018-06-20 20:25:12 +03:00
Andrey Mayorov
e2fd51fa4e
[WIP] Add missing gensrv callbacks
2018-06-20 19:44:56 +03:00
Andrey Mayorov
d881ad8cde
[WIP] Fix fun spec
2018-06-20 19:44:30 +03:00
Andrey Mayorov
0027465e08
[WIP] Fix getting providers
2018-06-20 17:15:12 +03:00
Andrey Mayorov
9b731e05dc
[WIP] Use 'service' UserInfo w/ partymgmt calls
2018-06-20 16:20:19 +03:00
Andrey Mayorov
747e65a62b
[WIP] Fix checkout domain object
2018-06-20 16:17:43 +03:00
Andrey Mayorov
16a0acdd8c
[WIP] More ct helpers stolen from hellgate
2018-06-20 16:17:12 +03:00
Andrey Mayorov
2675cb4869
[WIP] Fix module filename
2018-06-19 20:26:48 +03:00
Andrey Mayorov
9394594a27
[WIP] Factor out a utility app with ct helpers
2018-06-19 20:26:23 +03:00
Andrey Mayorov
d983ec3ed2
[WIP] Simplify event-based interfaces
2018-06-19 18:14:36 +03:00
Andrey Mayorov
2fbf287d9a
[WIP] Cleaning up typing errors
2018-06-19 15:08:45 +03:00
Andrey Mayorov
9d63d9248d
[WIP] Cleaning up typing errors
2018-06-18 19:38:06 +03:00
Andrey Mayorov
b7f9493172
[WIP] Cleaning up dialyzed issues
2018-06-15 19:15:14 +03:00
Andrey Mayorov
f4c0370bcc
[WIP] Oops
2018-06-15 17:53:58 +03:00
Andrey Mayorov
d3127e9549
[WIP] Hardwire backend into app env for now
2018-06-15 17:53:41 +03:00
Andrey Mayorov
1b4ea54c21
[WIP] Final wiring
2018-06-15 17:47:21 +03:00
Andrey Mayorov
29ae8477ed
[WIP] A couple of renames / fixes
2018-06-14 22:51:58 +03:00
Andrey Mayorov
ff96b43bbd
[WIP] Move session into ff_withdraw app
2018-06-14 22:23:16 +03:00