Andrey Fadeev
2a882cb5ae
MSPF-560 Add RuPay payment system ( #272 )
...
* Bump to rbkmoney/fistful-proto@82df93
* Bump to rbkmoney/swag-wallets@2f9ebc0a
* Add RuPay decoding
2020-08-03 17:44:16 +03:00
Andrey Fadeev
f109ae3d5b
MSPF-560 Fix china union pay decoding ( #271 )
2020-08-03 13:34:06 +03:00
Andrey Fadeev
8ab97167d9
MSPF-560 Add ELO payment system ( #270 )
...
* Update swag to rbkmoney/swag-wallets@d592bc8
* Add ELO payment system decoding
* Update proto to rbkmoney/fistful-proto@367d828
* Apply rbkmoney/swag-wallets#74 changes
2020-08-01 16:04:34 +03:00
Andrey Fadeev
b49c1b751f
FF-204 Fix callback finish intention prococessing ( #269 )
2020-07-31 14:49:18 +03:00
Andrey Fadeev
941c39afc4
MSPF-560 Add withdrawal sessions aux_state migration ( #268 )
2020-07-31 08:04:54 +03:00
Andrey Fadeev
94bc46813f
MSPF-560 Fix legacy withdrawal and p2p events processing ( #267 )
2020-07-30 19:05:38 +03:00
Andrey Fadeev
d7b6297193
MSPF-560 Update quotes processing according to new proto ( #264 )
2020-07-29 16:41:58 +03:00
Andrey Fadeev
d7354c6567
Update woody to rbkmoney/woody_erlang@b563bbb ( #266 )
...
* Update woody to rbkmoney/woody_erlang@b563bbb
* Update test deps
* Update cds usage in tests
2020-07-28 18:52:05 +03:00
Артем
98aa692c55
FF-196: Fix quote data marshal ( #265 )
...
* fixed quote data marshal
* minor
* Revert "minor"
This reverts commit 77c1dcc978e04e4c39ed50c74bad06b88d950e13.
* Revert "fixed quote data marshal"
This reverts commit 8d3f02e6da475f2c55c7d97a4b6f5b209da89771.
* fixed
2020-07-27 15:48:48 +03:00
Alexey
942dc2a640
FF-200: Withdrawal callback ( #257 )
2020-07-22 11:26:53 +03:00
Andrey Fadeev
a4aeeb60b4
MSPF-560 Fix legacy withdrawal events decoding ( #260 )
...
* Fix legacy withdrawal events decoding
* Fix legacy withdrawal session events processing
2020-07-21 13:03:30 +03:00
Артем
1ec414382c
FF-196: Add withdrawal session schema ( #256 )
...
* added withdrawal schema
* fixed
* minor
* nano
* nano
* fixed
* fixed
* fixed
2020-07-19 19:17:21 +03:00
Andrey Fadeev
cd0fee7317
Disable parallel CI steps running ( #259 )
2020-07-17 11:06:59 +03:00
Alexey
31e8e92258
P2C-9: Error mapping ( #242 )
2020-07-16 16:45:18 +03:00
Toporkov Igor
036e2a8dcb
FF-186: Withdrawal thrift support ( #254 )
...
* Test schema
* Add whitespaces after commas, remove debug print
* Fix the mess caused by search & replace
* Delete redundant code from ff_withdrawal, handle session_finished
* Delete ct:log
* Remove commented export
* Specify withdrawal version in ff_withdrawal:gen
* Fix formating in tests
* Fix some weird migrations, add binary test
* Fix route thrift struct marshaling
* Clean up
* Masrshal quotes, minor fixes
2020-07-16 12:24:33 +03:00
Артем
f58c4fdc82
FF-201: Refactor identity in withdrawal session ( #258 )
...
* refactored
* minor
* fixed
* fixed
2020-07-15 21:14:26 +03:00
ndiezel0
e8584b1f71
CAPI-424: Change config ( #255 )
2020-07-14 16:38:48 +03:00
Sergey Yelin
6d4e1e3106
P2C-7: Add priority ( #253 )
...
* P2C-7: Add priority
* ff_ct_fail2_provider -> ff_ct_unknown_failure_provider
* Rename
2020-07-13 22:16:37 +03:00
Alexey
829b65e881
FF-183: Withdrawal terminals (new) ( #249 )
...
* WIP terminals
* Review fixes
* Fix errors
* Add missing param
Co-authored-by: Sergey Yelin <elinsn@gmail.com>
2020-07-10 17:05:21 +03:00
Toporkov Igor
87162b52db
FF-192: Identity Thrift Support ( #239 )
...
* Create schema for identity
* Use macro for current format version
* Fix some marshaling + use new schema in tests
* Upgrade fistful proto
* Remove debug ct:log calls
* Fix marshaling, add some decoding tests
* Add missing operator spaces
* Remove redundant call to ff_identity:maybe_migrate
* Fix wrong types
* Review fixes, tests unification
* Review fixes #2
2020-07-09 00:33:26 +03:00
Andrey Fadeev
2da9b8a120
MSPF-561 Fix encoding and clean sessions ( #252 )
...
* Add legacy provider field writting to new operations
* Remove temporary session init code
2020-07-08 18:06:34 +03:00
Артем
9a3fe46fea
FF-199: W2W schema ( #251 )
2020-07-08 14:42:45 +03:00
Sergey Yelin
776cbd62a9
Switch to Erlang service pipe ( #250 )
...
* Switch to Erlang service pipe
* Fix build-utils path
2020-07-07 19:55:45 +03:00
ndiezel0
e2c1299472
FF-187: Deposit schema ( #234 )
...
* FF-187: Add required deposit structures for kafka event sink
* FF-187: Add deposit schema
* FF-187: Add context to schema
* FF-187: Fix spec
* FF-187: Add tests
* FF-187: Add deposit codec tests
* FF-187: Add deposit revert codec test
* FF-187: Fix deposit version
* FF-187: Add tests
* FF-187: Fix spec
* FF-187: Change current version to `undefined`
* FF-187: Fix tests
* Update apps/ff_server/src/ff_deposit_machinery_schema.erl
Co-authored-by: Andrey Fadeev <me@ciiol.net>
* Update apps/ff_server/src/ff_deposit_machinery_schema.erl
Co-authored-by: Andrey Fadeev <me@ciiol.net>
* FF-187: Review fix
* FF-187: Change source of state to deposit
* FF-187: Add aux_state ctx to context
* FF-187: Fix in case aux_state is binary
* FF-187: Remove guard
* FF-187: Remove adding context during marshal
* FF-187: Fix eunit test
* FF-187: Review fix
Co-authored-by: Andrey Fadeev <me@ciiol.net>
2020-07-07 17:08:20 +03:00
Артем
f8bcf3ad08
FF-197: P2P session schema ( #245 )
...
* added p2p session schema
* removed adapter from session
* wip -- need new route for providers
* fixed
* fixed
2020-07-07 16:17:11 +03:00
Andrey Fadeev
57f5eedad9
MSPF-561 Add Provider usage for p2p and withdrawal ( #246 )
2020-07-06 10:02:12 +03:00
Andrey Fadeev
99fbdb964a
MSPF-561 Bump to rbkmoney/damsel@075185 ( #247 )
2020-07-02 15:40:33 +03:00
Andrew Mayorov
bd6e43d7be
DC-120: Bump to rbkmoney/dmt_client@9148719 ( #244 )
...
* Bump to rbkmoney/woody_erlang@a434e55e
* Bump to jose 1.10.1
2020-06-30 17:38:51 +03:00
Andrew Mayorov
054e6e11cc
Bump to jose 1.10.1
2020-06-30 16:32:50 +03:00
Andrew Mayorov
de588fa34a
Bump to rbkmoney/woody_erlang@a434e55e
2020-06-30 16:31:34 +03:00
Andrew Mayorov
73a2a91473
Bump to rbkmoney/dmt_client@9148719c
2020-06-30 16:30:30 +03:00
Артем
fed9386798
FF-195: Ticket expiration check ( #243 )
...
* added ticket expiration check
* minor
2020-06-30 09:00:20 +03:00
Sergey Yelin
8500401cff
P2C-8: add attempt limit ( #238 )
...
* P2C-8: Attempt limit
* Add validation for attempt_limit
* Add attempt limit check
* Add test, fix logic
* Fix images
* Remove garbage from test
* Limit attempts in case attempt_limit undefined
2020-06-26 16:25:24 +03:00
Артем
3fab8903b2
FF-198: Add p2p template schema ( #237 )
...
* added p2p template schema
* fixed
2020-06-24 00:04:15 +03:00
Roman Pushkov
fa1cfaa48a
MSPF-487: graceful shutdown ( #228 )
...
* add graceful shutdown tests
* add drainer
* add drainer to tree
* update
* update tests
* update tests
* add drainer as dep
* abstract away drainer
* cleanup
* remove graceful shutdown tests
* further cleanup
2020-06-23 19:21:04 +03:00
Артем
8c924ada6b
FF-194: Add contact info ( #236 )
...
* updated swag
* added contact info
* fixed
2020-06-23 15:26:35 +03:00
Артем
4826c5db66
FF-175: P2P templates ( #223 )
...
* started p2p templates
* fixed
* fixed validation p2p template creation
* refactored
* added eventsink
* added p2p template handler
* added p2p template tests
* added p2p template create and get api
* updated swag
* updated proto, fixed tests, fixed dyalizer
* added block, create p2p methods
* fixed
* added auth to p2p template ops [WIP]
* added tests
* fixed
* minor
* fixed tests
* added requested changes
* added tests
* fixed
* fixed
* fixed
* minor
* fixed linter
* updated proto
* added part of requested changes
* added part of fixes
* fixed
* fixed
* added requested changes
* fixed
* fixed
* added quote test
* fixed
* fixed test
* updated swag
* added template quote
* fixed
* fixed
* fixed
2020-06-23 00:25:34 +03:00
Артем
ff4efa6cff
FF-190: Wallet schema ( #233 )
...
* added wallet schema
* started to add tests
* added tests
2020-06-22 17:52:48 +03:00
Roman Pushkov
183c8ecad4
FF-191: destinations in thrift ( #235 )
...
* update proto
* add timestamped event to destination codec
* add handler
* add destination version
* change clause order in instrument
* add destination machinery schema
* add schema tests
* fix types
* add tests
* add backwards compatibility
2020-06-19 10:50:02 +03:00
Alexey
151b86d9ce
FF-193: Thrift event format for source ( #232 )
2020-06-18 11:52:51 +03:00
Boris
f82a838ffe
MSPF-562: Add bank card category ( #231 )
2020-06-16 17:05:24 +03:00
Sergey Yelin
5751b2005c
P2C-4: fix crash ( #230 )
...
* Add provider selection
* P2C-4: Add routing
* Fix test
* Withdrawal session is actually list
* Fixes
* Typo in spec
* Fix another typo in spec
* Hide route session from withdrawal
* Simplify session_processing_status/1
* Match sessions and transfers
In current design withdrawal has one session with corresponding transfer
per route. So there is no need to have explicit counter.
* Rework routing, move it to own module
* Use counter for sessions and transaction cound
* Recalculate provider on route_change event
* Add quote test for routing
* Fix
* Separate ff_withdrawal and ff_withdrawal_route_utils
* choose_provider -> filter_providers
* Rename routes() to more sutable attempts()
* Don not record transient error
* Remove unreachable error handling here
* Use route() as for attempts
* Review fixes
* Lazy init for attempts
* Fix crash on marshalling withdrawal without attempts
* Fix crash on "new" withdrawal id format (which is actually session_id)
* Make session_id optional
* Fix type
* typo
* Fix test
2020-06-11 16:28:28 +03:00
Andrey Fadeev
42832028b4
Update machinery to rbkmoney/machinery@032ee30 ( #229 )
2020-06-11 15:47:13 +03:00
Sergey Yelin
cba1c26a68
P2C-4: cascade routing ( #225 )
...
* Add provider selection
* P2C-4: Add routing
* Fix test
* Withdrawal session is actually list
* Fixes
* Typo in spec
* Fix another typo in spec
* Hide route session from withdrawal
* Simplify session_processing_status/1
* Match sessions and transfers
In current design withdrawal has one session with corresponding transfer
per route. So there is no need to have explicit counter.
* Rework routing, move it to own module
* Use counter for sessions and transaction cound
* Recalculate provider on route_change event
* Add quote test for routing
* Fix
* Separate ff_withdrawal and ff_withdrawal_route_utils
* choose_provider -> filter_providers
* Rename routes() to more sutable attempts()
* Don not record transient error
* Remove unreachable error handling here
* Use route() as for attempts
* Review fixes
* Lazy init for attempts
* Fix crash on marshalling withdrawal without attempts
2020-06-10 13:31:53 +03:00
Andrey Fadeev
b5dbcabaf0
FF-168 Thrift encoding for p2p events ( #226 )
...
Co-authored-by: Igor Toporkov <i.toporkov@rbkmoney.com>
2020-06-08 17:14:00 +03:00
Andrey Fadeev
9198b56f25
Add repair response processing ( #227 )
...
* Add repair response processing
* Update bender
2020-06-04 10:47:43 +03:00
Артем
e558a129e0
FF-159: New states ( #204 )
...
* WIP
* fixed compile errors
* fixed dialyzer and tests
* improved types
* added migration for create at
* added meta
* fixed
* fixed codecs and handlers
* fixed tests
* reverted version delete
* fixed tests
* minor
* minor
* added migration to session identity
* added metadata migration
* fixed
* added wapi support for metadata
* fixed
* fixed
* added some fixes
* minor
* fixed
* updated proto
2020-06-02 16:18:39 +03:00
Sergey Yelin
f1b17cb6f8
Add missing {error,exists} handler for wallet ( #224 )
...
* Add missing {error,exists} handler for wallet
* Return error in case of exisitng wallet
* typo
* revert
* Adjust creation status
* Remove unneded
2020-06-02 10:23:40 +03:00
Sergey Yelin
a4b46f89f8
Fix datetime formatting ( #221 )
...
* Fix datetime formatting
* Fix lint errors
2020-05-25 14:49:06 +03:00
Andrey Fadeev
fc16ed751e
Update build-utils ( #220 )
2020-05-25 12:47:09 +03:00