Skip to content

feat(monorepo): [party_management] Incorporates party management into core services - #13

Draft
nanodirijabl wants to merge 448 commits into
masterfrom
ft/party-management-monorepo
Draft

feat(monorepo): [party_management] Incorporates party management into core services #13
nanodirijabl wants to merge 448 commits into
masterfrom
ft/party-management-monorepo

Conversation

@nanodirijabl

Copy link
Copy Markdown
Contributor

No description provided.

kpy3 and others added 30 commits October 23, 2019 16:44
* Update damsel

* Add route and cacheflow

* get_refunds() -> get_legacy_refunds()

* Add sessions and refunds(without session yet)

* Fix session conversion

* Rename

* Simplify sort

* session -> sessions for list of session

* Replace legacy_refunds with new refunds

* Fixes

* Remove get_legacy_refund/1

* Check refunds instead of legacy_refunds

* Use list of sessions for every target

* Simplify sessions mapping
* add conversion service type to fd client

* fetch conversion stats in routing

* minor fix

* add deterministic operation id to fd client

* register conversion operations in invoice payment

* update routing

* fd client minor refactor

* add conversion scoring

* cleanup comments

* fix linter errors, export build_operation_id/2

* fix dialyzer error

* refactor

* fix argument naming

* conversion test

* minor naming updates

* move conversion service config to sys.config, minor fixes

* refactoring

* update tests

* update routing types

* fix tests

* update config

* move conversion service calls

* update tests

* explicit config for availability

* update routing

* clean comment

* update tests

* update routing

* update routing in invoice payment

* cleanup debug calls

* refactor fd calls

* fix typo

* add provider conversion to process payment

* cleanup invoice payment

* update routing in recurrent paytool

* update routing

* update tests

* fix fd call, clean ct:print

* refactor proxy provider

* fix wrong return

* missing full stop

* fd client update

* conversion service in invoice payment

* revert forgotten process payment changes

* cleanup

* fix typo

* fix scoring, cleanup

* narrow id() type in fd client

* proxy provider cleanup

* invoice payment fd calls refactoring

* add and improve routing tests

* update config, move start conversion service

* move notify fd, again

* fd notification minor rework

* only register payment processing with target processed

* fix

* fix config
* update damsel

* update recurrent paytool client

* update eventsink client

* update event provider

* update recurrent paytool

* more recurrent paytool client updates

* revert event sink client changes

* finalise event sink test

* dialyzer fix

* review fixes

* review updates

* improve recurrent paytool eventsink test

* fix linter error
* Switch to new woody with log formatter

* event_handler_opts -> scoper_event_handler_opts

* Fix lint

* Add limit to tests

* Fix formater option passing

* Fix woody params passing

* Update woody
* BJ-703: Add wechat and alipay to payment tool

* Fix tests
* Update woody

* More optimisations
* AAA-54: Remove spaces in messages

* Update dmt_client and config
* Force cache save in CI
* add handling

* cleanup

* fix

* dialyzer fix

* fix typo

* improve naming

* add safe failures to config

* fix naming

* rename safe to benign

* make fd operations time-independent

* fix compilation errors
* AAA-54: Upgrade dmt_client

* Upgrade how_are_you

* Upgrade woody
* AAA-54: Upgrade dmt_client

* Upgrade how_are_you

* Upgrade woody

* Fix typo in config
* validate recurrent route

* added fixes and test

* added requested changes

* fixed test

* added requested changes

* Update apps/hellgate/src/hg_invoice_payment.erl

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

* added requested changes

Co-authored-by: Andrew Mayorov <encube.ul@gmail.com>
* Bump to rbkmoney/woody_erlang@309ac516

* Update rebar.lock

Co-Authored-By: Sergey Yelin <elinsn@gmail.com>

* Cowboy 2.7.0

* Typo

* Bump to rbkmoney/erlang-health@406fdd36

Co-authored-by: Sergey Yelin <elinsn@gmail.com>
* Erlang 22

* Update jenkins
* added w2w transfer

* updated dominant

* fixed
WWWcool and others added 26 commits December 10, 2024 13:08
* added generic condition

* bumped to master
* TECH-76: Upgrades to Erlang/OTP 27

* Bumps CI
* TECH-121: Add machinery (#56)

* added machinery

* fixed fmt

* bumped wf

* fixed

* fixed 2

* refactored

* TECH-64: Add pg backend (#58)

* added

* fixed

* fixed 2

* bumped machinery

* bumped 2

* TECH-26: bump progressor

* TECH-156: bump machinery

* TECH-156: bump machinery

---------

Co-authored-by: Aleksey Kashapov <nanodirijabl@gmail.com>
Co-authored-by: losto
Co-authored-by: ttt161 <losto@nix>
* added party config end point

* bumped dmt

* fixed

* bumped damsel

* bumped dmt

* fixed
* Integrate DMT V2 (#53)

* Integrate DMT V2

* Bump CI

* Adopts dmt-client v2

* Updates dmt-client and typespecs

* Adds tag action

* Fixes wrong dep lock

* Fixes compose.yaml ports

* Upgrades dmt image

* Bumps dmt-v2 image in test env

* Removes mg's domain-config ns

* Bumps machinery & progressor

* Bumps dmt-v2 & client

---------

Co-authored-by: ndiezel0 <ndiezel0@gmail.com>
* Upgrades to dmt v2 #major

* Upgrades deps, test fixtures and compose yaml

* Cleans up tests fixtures

* Cleans up composed databases

* Bumps CI

* Bumps dmt-v2 and party-management

* Bumps dmt-client
* Refactors service handler

Bumps deps and removes claims handlers

* Implements account balance for wallets and shops

Starts tests and helpers cleanup.

* Removes most of testcases

* Retires machinery for party

* Adds fixtures for new testscases

* Fixes dialyzer

* Fixes party fixtures

* Fixes bank fixture

* Update deps

* Fixes prod release app dep

* Fixes `sys.config`

* Fixes party fixture spec
* Upgrades to match new party-management API

* Bumps damsel

* Adds 'ComputeTerms' function support
* Adopts `GetRelatedGraph` of dmt_client

* Migrates to upgraded dmt protocol

* Refactors party' shops and wallets search w/ `VersionedObjectWithReferences`

* Refactors obtainment of party's shops and wallets accounts
* Bumps damsel v2.2.17

* Updates testcases w/ limit-config objects
* added ext terms

* bumped damsel

* bumped dmt
* BG-701: Implements alt methods for shop/wallet accounts

* Removes version reference argument for new functions

* Renames funcs w/ `*ForLatestVersion` to `*Simple`

* Bumps damsel v2.2.26
* add trust_level condition

* bump damsel-2.2.33, update dominant image

---------

Co-authored-by: ttt161 <losto@nix>
* add allow_exchange flag

* cleanup

---------

Co-authored-by: ttt161 <losto@nix>
@nanodirijabl
nanodirijabl requested review from a team and WWWcool August 10, 2026 13:33
@nanodirijabl
nanodirijabl marked this pull request as draft August 10, 2026 13:33
Comment on lines +13 to +30
name: Load .env
runs-on: ubuntu-latest
outputs:
otp-version: ${{ steps.otp-version.outputs.version }}
rebar-version: ${{ steps.rebar-version.outputs.version }}
thrift-version: ${{ steps.thrift-version.outputs.version }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- run: grep -v '^#' .env >> $GITHUB_ENV
- id: otp-version
run: echo "::set-output name=version::$OTP_VERSION"
- id: rebar-version
run: echo "::set-output name=version::$REBAR_VERSION"
- id: thrift-version
run: echo "::set-output name=version::$THRIFT_VERSION"

run:
Comment on lines +31 to +41
name: Run checks
needs: setup
uses: valitydev/erlang-workflows/.github/workflows/erlang-parallel-build.yml@v1
with:
otp-version: ${{ needs.setup.outputs.otp-version }}
rebar-version: ${{ needs.setup.outputs.rebar-version }}
use-thrift: true
thrift-version: ${{ needs.setup.outputs.thrift-version }}
run-ct-with-compose: true
cache-version: v4
upload-coverage: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.