Commit Graph

37 Commits

Author SHA1 Message Date
dinama
30025b7b98
+upgrade world (#368) 2021-02-08 18:36:18 +03:00
dinama
442fd7ed3a
upgrade world (#360) 2020-12-29 17:16:07 +03:00
dinama
2f2241e2f4
FF-237: bump wapi-pcidss (#358) 2020-12-21 16:17:58 +03:00
dinama
b9d4e2df53
FF-237: ResourceToken expiration (#356) 2020-12-16 20:47:56 +03:00
dinama
8f435c2e75
473: migrate to Alpine (#346) 2020-12-03 17:49:23 +03:00
dinama
d8713b86c9
erlfrm code formatter (#347) 2020-12-02 17:43:45 +03:00
dinama
c229d491ba
FF-219: wapi getP2PTransferEvents via thrift backend (#322) (#336) 2020-11-19 22:51:23 +03:00
Toporkov Igor
01fb6d846d
fix: Revert everything & add erts (#335)
* Revert everything back to prometheus_metrics

* Include erts
2020-11-12 17:36:13 +03:00
dinama
a059b48612
FF-219: wapi getP2PTransferEvents via thrift backend (#322)
* bump fistful_proto
* p2psession GetEvents support
* meck
2020-11-02 18:22:03 +03:00
Toporkov Igor
57fe94e621
MSPF-579: Prometheus metrics (#325)
* Add prometheus to deps, update lockfile

* Update build images

* Add metrics route

* Provide sample prometheus config

* Update build_utils

* Inmplement map_error from new codegen

* Revert "Inmplement map_error from new codegen"

This reverts commit 9698ede3b386cca48623eb58c9ab4ca7ebfe5e4b.

* Revert "Update build images"

This reverts commit 1e19757b63d0acabf614a56874e985d2d900551f.

* Revert "Update build_utils"

This reverts commit 226b7ac3ab47af3064b50c3ec263cb6bc1f5732c.
2020-10-26 17:08:29 +03:00
Toporkov Igor
dcc388ba2b
DC-127: Refactor Payment Methods (#248)
* DC-127: Refactor Payment Methods (#241)

* Use corresponfing branches for deps

* Use epic version of hg

* Provide config for hellgate's party_management

* Use new BankCardPaymentMethod

* Upgrade deps

* Replace has_cvv with is_cvv_empty

* Fix payment method creation in ct_domain

* Define is_cvv_empty where it can be undefined

* Use _deprecated pm's

* Switch to master

* Use https url to dmt_client in lockfile
2020-08-04 22:53:18 +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
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
Sergey Yelin
2b05c52f60
MSPF-532: Remove rfc3339 (#217)
* MSPF-532: Remove rfc3339

* Review fixes

* Fix error reporting
2020-05-19 21:55:01 +03:00
Toporkov Igor
df471b4064
FF-143: Uac authorization (#165)
* Add uac dependency

* use uac to issue tokens

* Configure uac

* Authorize operations with uac

* Issue tokens with uac in tests

* wip: furthemore migrate to uac

* Remove unreachable case

* Adjust wapi config in tests

* Don't start old authorizer

* Fix auth context creation in tests

* Fix all definitions of create_auth_ctx

* Revert "Don't start old authorizer"

This reverts commit 2636fcfa48e798a8fb07534e512ea5b494f57b19.

* Fix old config naming

* Deduplicate unique id generation

* Provide dummy snowflake config

* Use macro for signee

* Authorize operation withc UAC (#140)

* Verify tokens with uac

* Implement dummy authorization

* Return quote verification

* Restore authorizer code order

* Restore signer code order

* Update commentaries

* Provide operation access lists

* Give party read/write permissions to the test tokens

* Introduce more resources, standardize CreateWithdrawal authoriation

* Download file with read access

* Authorize withdrawals with dedicated permission

* Fix permissions in tests

* Upgrade uac

* Remove redundant auth related modules

* Use uac issue

* Update tests

* Fix opaque type usage

* Add domain_name to uac config

* Remove signee from test config

* Rollback to old roles

* Upgrade uac

* Fix for wapi wallet tests

* Use macro for domain

* Remove domain name from configs

* Use uac utils functions

* Make operation access less strict

* Remove unused signee option

* Replace get_party_id with uac function

* Create ACL migration layer

* Reimplement operation access

* Fix style

* Remove reintroduced auth code

* Upgrade uac

* Remove redundant verification option

* Suppress opaque introspection dialyzer warning

* Fix nested resources ACLs

* Issue test quota without resource access

Co-Authored-By: Andrew Mayorov <a.mayorov@rbkmoney.com>

* Adapt new p2p code

* Rename refactor and move role mapping

* Refactor roles mapping

* Use uac dev branch

* Fix merge incompatibilities

* Fix even more incompatibilities

* Bump uac and adjust code to it

* Add operation access for new ops

* Upgrade uac

* Issue tokens the new way

* Fix merge artifacts

* Create simple resource hierarchy for new operations

* Fix authorization by bearer

* Fix missed merge issues

* Apply suggestions from code review

Co-Authored-By: Andrew Mayorov <a.mayorov@rbkmoney.com>

* Verify partyID in p2p continuation tokens, add signee to wapi config

* Remove OperationID from log message where it is already present in meta

Co-Authored-By: Andrew Mayorov <a.mayorov@rbkmoney.com>

* Add signee to app config

* Test if unauthorized user still can create withdrawal using grants

* Do withdrawal specific authorization inside create_withdrawal

* Test wapi_SUITE default with both tokens, specify domain when issuing tokens

* Upgrade uac

* Specify which domains to decode

* Throw withdrawal authorization errors

* Split too long lines

* Simplify grant authorization

* Do not handle 'missing' errors, handle wallet notfound

* Rework error mapping slightly

* Add resource to insufficient_access/claim error

* Try bumping cowboy_cors to fix CI dialyzer error

* Use fork-master version of cowboy_cors

Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
2020-05-14 13:44:52 +03:00
Boris
97bbea6c9b
FF-136: add encrypted token (#169) 2020-01-29 18:07:07 +03:00
Alexey
2bc256464b
FF-128: Bender integration part 1 (#138) 2019-11-15 16:13:20 +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
Boris
97372af4f1
PROXY-292 udpate dmsl(hot fix) (#121) 2019-09-16 19:58:24 +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
Sergey Yelin
0721abeb78
Upgrade Erlang and deps 2019-06-27 18:58:45 +03:00
Артем
4aeeaefd48
FF-43: Reporter (#53) 2019-01-22 15:48:28 +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
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
Andrey Fadeev
a27c63ea68
HG-386 Move wallets from party (#7) 2018-08-27 15:08:06 +03:00
Anton Belyaev
5834dd48d1
Fix integration issues (#6) 2018-07-08 19:58:55 +03:00
Anton Belyaev
623197fba5
Nail wapi app here for a while 2018-07-06 16:49:30 +03:00
Andrey Mayorov
76093ae516 [WIP] Setup ff_server application 2018-07-05 13:57:59 +03:00
Andrey Mayorov
1f374904f2 [WIP] Test identity challenge (actually, not) 2018-07-02 18:44:36 +03:00
Andrey Mayorov
b5c9b54dc8 [WIP] Switch to epic in rbkmoney/identification-proto 2018-06-25 17:55:13 +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 Fadeev
cd7e298c1a Set task-related branches in deps 2018-06-14 19:52:31 +03:00
Andrey Mayorov
f882531711 wip 2018-06-13 16:43:48 +03:00