Commit Graph

56 Commits

Author SHA1 Message Date
Aleksey Kashapov
b0cf79aeac
IMP-293: Retires payouts methods and bumps damsel (#86)
* IMP-293: Retires payouts methods and bumps damsel

* Bumps damsel

* Bumps damsel
2024-08-29 11:43:18 +03:00
ttt161
8460d6e691
CP-14: add validation step (#84)
* CP-14: add validation step

* CP-14: fix issues

* CP-14: fix spec

---------

Co-authored-by: ttt161 <losto@nix>
2024-06-25 13:00:40 +03:00
Aleksey Kashapov
fe96a2148b
TD-686: Adopts opentelemetry API (#74)
* TD-686: Adopts opentelemetry API

* Extracts jaeger into optional compose yaml

* Fixes 'docker compose down'

* Migrates back to scoper' woody event handler
2023-10-26 13:46:33 +03:00
Артем
729611ff5d
TD-509: Claim commiter (#51)
* added base

* finished claim commiter code

* added base tests

* finished base tests

* renamed cache

* changed cache ref

* changed damsel ref

* reverted to checkout v2

* change to custom workflow

* reverted to base workflow

* added codecove secret

* changed to custom workflow commit

* changed

* added full ref

* changed to new action version, removed local action

* changed action version

* refactored run job

* Revert "refactored run job"

This reverts commit e215103bce.

* reverted commit id

* updated workflow ref

* reverted workflow change

* added requested changes

* added requested changes
2023-04-03 09:16:06 +03:00
Артем
6ba2c49bbd
TD-330: Limiter (#35)
* bumped deps

* added rebar plugin

* added limiter support

* bumped to
valitydev/binbase-proto@6841072
valitydev/fistful-proto@a3e89bc
valitydev/machinegun-proto@a411c7d

* refactored withdrawal routing, fixed dialyzer, fixed fmt and lint

* added limiter to compose, added limiter suite wip

* finished tests

* fixed dialyzer

* fixed eunit

* fixed tests

* fixed services

* added part of fixes

* added new test case and some refactor

* closed to finish

* added rejected logging

* added requested changes

* fixed
2022-08-04 12:18:02 +03:00
Alexey S
4278ab139e
TD-271: Machine tagging via bender (#32) 2022-05-23 13:58:46 +03:00
Andrew Mayorov
2a73c73d9b
TD-273: Drop legacy routing facility (#23)
* Drop unused macros / includes

* Drop testcase relevant to legacy routing only

* Adapt SUT setup to work w/o legacy routing

While also ensuring that domain config does not spill into `ct_domain`
helper module.

* Sync Dockerfile w/ valitydev/erlang-templates

* Bump to valitydev/party-client-erlang@31850a6

* Switch to valitydev/party-management@f757b79 in testenv

* Add couple identity suite testcases
2022-04-21 14:02:52 +03:00
ndiezel0
b2aec027fd
TD-264: Move to accounter (#22)
* TD-264: Move to accounter

* Hadofix

* Hadofix 2

* Review fixes

* Review fix
2022-04-20 19:59:06 +03:00
Артем
32cc17e061
TD-170: Add CI/CD (#4)
* added base ci cd files

* removed cds, kds, identdocstore, improved make, added compose

* fixed format

* fixed dialyzer

* added compose run

* changed to project_plugins

* fixed prometheus

* fixed lock

* fixed format

* removed deps

* added test fixes

* fixed lint

* fixed and removed old cfg

* removed unused app

* added requested changes

* fixed yamllint

* fixed

* removed expose

* updated party healthcheck

* updated compose

* removed version

* mb port?

* Revert "mb port?"

This reverts commit bf42f1c536.

* fixed
2022-03-02 11:20:07 +03:00
Артем
b6e44ef7ae
APM-20: Payment service ref to digital wallet resource (#2)
* changed to payment service ref

* fixed lint

* updated dmt_client, added resource check

* Fix marshalling and tests

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
2022-01-28 17:14:32 +03:00
Andrew Mayorov
f26deeae80
Ensure terminal is unicode capable in release
With the help of valitydev/iosetopts@edb445c
2021-12-28 18:14:10 +03:00
Boris
fcb6a8fba0
[ED-279]: delete p2p (#404) 2021-10-20 14:09:21 +03:00
Sergey Yelin
7148993694
ED-242: Upgrade Erlang and deps (#401)
* Upgrade Erlang

* Upgrade deps

* Update shumway
2021-09-15 15:05:03 +03:00
Yaroslav Rogov
d4ede853a0
Ed 226/feat/monitoring (#398)
* ED-226/feat: Add the rest of monitoring tools

- how_are_you for metrics
- config for erlang_health
- prometheus routes

* ED-226/fix: Fix route concat

* ED-226/refactor: Fix formatting to erlfmt v0.12

* ED-226/fix: Fix spec

* ED-226/deps: Add woody_api_hay

* ED-226/refactor: Fix formatting

* ED-226/fmt: Partially return author format of */sys.config

* ED-226/fmt: sys.config formatting fixes
2021-08-24 15:58:11 +03:00
Yaroslav Rogov
f9d8f68a6b
Revert "ED-226/feat: Add the rest of monitoring tools (#395)" (#397)
This reverts commit 0ab1c9b8d7.
2021-08-23 18:29:04 +03:00
Yaroslav Rogov
0ab1c9b8d7
ED-226/feat: Add the rest of monitoring tools (#395)
* ED-226/feat: Add the rest of monitoring tools

- how_are_you for metrics
- config for erlang_health
- prometheus routes

* ED-226/fix: Fix route concat

* ED-226/refactor: Fix formatting to erlfmt v0.12

* ED-226/fix: Fix spec
2021-08-23 15:03:01 +03:00
dinama
94f1ed9f50
ED-133: +dialyzer as test (#390) 2021-04-26 11:30:10 +03:00
dinama
60b964d0e0
ED-119: +fix entry point +upgrade deps +cds_proto (#389) 2021-04-15 16:33:36 +03:00
dinama
534a71055e
ED-129: drop wapi code (#388) 2021-04-15 10:26:11 +03:00
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