mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 09:45:21 +00:00
📤👷♀️📥
49d38300c9
* DC-99: Proto for split mvp (#634) * added draft cash flow v2 * added split stuff * refactored * removed fees and external id * added allocation * refactored allocation * refactored * added requested changes * fixed * fixed field names * added some requested changes * fixed * BUSINESS-134: support split payments in hooker (#667) Co-authored-by: v.hramov <v.hramov@rbkmoney.com> Co-authored-by: mr-impossibru <64555470+mr-impossibru@users.noreply.github.com> Co-authored-by: v.hramov <v.hramov@rbkmoney.com> * JD-306: Add allocation to proxy inspector (#674) * Add basic allocations service terms (#682) Alos leave note about allocations in refunds. * Rename `allowed` → `allow` (#683) For the sake of consistency. * ED-69: Move changes from cash_flow.thrift to domain.thrift and remove cash_flow.thrift (#684) * ED-69: Add deprecation to FinalCashFlow in InvoicePaymentAdjustment * ED-69: Fix cycle dependencies * ED-69: Rename invoice_adjustments to adjustments * ED-69: revert adjustments in new file and make FinalCashFlow what CashFlow meant to be * ED-69: Remove repetition in struct fields * JD-477: merch stat for new payouts (#688) * JD-477: merch stat for new payouts * kek * ED-69: Change ProviderTerminalRef to TerminalRef (#690) * Allocations added to merch stat (#697) * ED-69: Add InvoiceUnallocatable error (#702) * ED-69: Add Allocation to InvoicePaymentCaptureStarted event (#703) * ED-69: Add Allocation to InvoicePaymentCaptureStarted event * fixed * renamed * fixed * ED-69: Fix double params Co-authored-by: WWW_cool <WWW_cool@inbox.ru> * ED-69: Remove AllocationTransactionPrototypeFeeShare due to uselessness (#709) * ED-69: Remove id from AllocationTransactionPrototype (#710) * Update proto/payment_processing.thrift * ED-69: Add Allocation exceptions to CreateInvoice, Capture and Refund (#705) * ED-69: Add AllocationNotAllowed to Capture * ED-69: Add refund exceptions * ED-69: Add some more exceptions to create invoice and capture * ED-69: Add more exceptions * ED-69: Change Allocation exception set * ED-69: Change Allocation exception set * ED-69: Add AllocationNotFound exception to refund (#728) Co-authored-by: mr-impossibru <64555470+mr-impossibru@users.noreply.github.com> Co-authored-by: v.hramov <v.hramov@rbkmoney.com> Co-authored-by: Baikov Dmitrii <44803026+D-Baykov@users.noreply.github.com> Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com> Co-authored-by: dinama <dinama@users.noreply.github.com> Co-authored-by: ndiezel0 <ndiezel0@gmail.com> Co-authored-by: Inal Arsanukaev <in.all.young@gmail.com> Co-authored-by: Egor Cherniak <cherniak3@yandex.ru> |
||
---|---|---|
build/erlang | ||
build_utils@be44d69fc8 | ||
doc | ||
proto | ||
src | ||
.gitignore | ||
.gitmodules | ||
CODEOWNERS | ||
Jenkinsfile | ||
LICENSE | ||
Makefile | ||
package.json | ||
pom.xml | ||
README.md | ||
rebar.config | ||
rebar.lock | ||
TODO.md |
Damsel
Systemwide protocol collection.
Требования к оформлению Thrift IDL файлов
-
Namespace:
В каждом файле нужно обязательно указывать
namespace
для JAVA:namespace java com.rbkmoney.damsel.<name>
Где
<name>
- имя, уникальное для Thrift IDL файлa в Damsel.
Java development
Собрать дамзель и инсталировать новый jar в локальный мавен репозиторий:
- make wc_compile
- make wc_java_install LOCAL_BUILD=true SETTINGS_XML=path_to_rbk_maven_settings
Чтобы ипользовать несколько версий дамзели в проекте используте classifier:v${commit.number}
<dependency>
<groupId>com.rbkmoney</groupId>
<artifactId>damsel</artifactId>
<version>1.136-07b0898</version>
<classifier>v136</classifier>
</dependency>