Commit Graph

39 Commits

Author SHA1 Message Date
Aleksey Kashapov
a057039a7e
TD-906: Retires eventsink publishers (#81)
* TD-906: Retires eventsink publishers

* Removes obsolete config options and disables codecov upload

* Bumps valitydev/fistful-proto@0238425

* Bumps deps
2024-05-28 16:10:46 +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
Aleksey Kashapov
d21e440a22
TD-674: Adds wallet balance notice event (#65)
Updates docker compose images
Makes composed machinegun to log to stdout

* TD-675: Adds limit change log notice

---------

Co-authored-by: Артем <WWW_cool@inbox.ru>
2023-08-02 18:25:02 +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
Артем
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
Boris
fcb6a8fba0
[ED-279]: delete p2p (#404) 2021-10-20 14:09:21 +03:00
George Belyakov
04292c3bc3
ED-131: flexible dicts (#394)
* payment_system marshal/unmarshal in ff_codec

* payment_system in ff_resource/ff_withdrawal

* implement payment_system, part 1

* bump damsel (+ BinData)

* fix dialyzer

* implement payment_system, part2 (not work version, only for save)

* implement payment_system, part3

* fix compilation error

* fix dialyzer

* fix payment_system_deprecated decoding/error-return issue

* fix ff_bin_data typing, fix useless code in ff_codec

* fix varset issue in withdrawal

* fix create_resource issue

* fix review issues with marshalling/unmarshalling and PaymentInstitution/PaymentSystemSelector typing

* implement payment_system additional rework

* fix complete_resource cases issue

* rework create_resource func, part1, save varesion, not working

* rework types in ff_resource

* rework withdrawals/resource do-unwraps, fix errors

* fix payment_system optionality in withdrawal adapter marshalling

* fix review issues (more compact and proper resource_create)

* fix ff_routing_rule RoutingRuleTag optionality issue

* add party-management image to test env, cbange party management calls from hellgate to party-management

* fix issue with wrong BankCard field "iso_country_code" which right name is "issuer_country"

* fix payment_system eunit issue in withdrawal session machinery schema

* add payment system to ct

* docker-compose party-management image update

* try to fix issuer_country issue

* iso_country_code/issuer_country issue fixed.

* add dummy payment system selector to payment institution #2

* fix dialyzer

* nano

* nano

* nano

* remove hellgate

* nano

* refactoring

* add BinDataCondition to payment_system selector in ct
2021-09-03 12:44:34 +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
534a71055e
ED-129: drop wapi code (#388) 2021-04-15 10:26:11 +03:00
dinama
442fd7ed3a
upgrade world (#360) 2020-12-29 17:16:07 +03:00
dinama
3dc4a676c0
FF-237: +bump wapi_pcidss image +drop old keys +bump build-utils (#357) 2020-12-16 10:40:07 +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
Артем
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
Артем
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
c7d376321f
FF-77 Deposit and withdrawal adjustment management interfaces (#167) 2020-02-12 15:15:09 +03:00
Артем
ec925d3f2b
Epic: P2P (#152) 2020-02-07 13:34:23 +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
Артем
8f3627481d
fixed hellgate cfg (#128) 2019-10-10 16:56:46 +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
Sergei Shuvatov
b1589b1673
FF-89: add crypto wallet (#83) 2019-05-28 16:32:59 +03:00
Артем
8da0943200
FF-21: Withdrawal idempotency (#40) 2018-12-20 15: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
Артем
58c1dbe319
HG-384: New eventsinks (#23) 2018-11-02 17:21:59 +06: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
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
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
Andrey Mayorov
5aeaaf8c83 [WIP] Abuse ff_sequence in wapi instead of genlib:unique/0 2018-07-08 21:40:41 +03:00
Anton Belyaev
5834dd48d1
Fix integration issues (#6) 2018-07-08 19:58:55 +03:00
Andrey Mayorov
68bc970ad3 [WIP] Implement barely working withdrawals 2018-07-06 12:06:25 +03:00
Andrey Mayorov
68c6c758da [WIP] Switch to mg backend + provide effective challenge id 2018-07-04 14:51:47 +03:00
Andrey Mayorov
56f7f837d7 [WIP] Prefix all fistful machine namespaces 2018-07-03 18:43:02 +03:00
Andrey Mayorov
1f374904f2 [WIP] Test identity challenge (actually, not) 2018-07-02 18:44:36 +03:00
Andrey Mayorov
1ae8915a9e [WIP] Setup test environment with docker-compose 2018-06-20 16:19:30 +03:00