📤👷‍♀️📥
Go to file
Артем 49d38300c9
DC-99: Proto for split mvp (#634) (#671)
* 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>
2021-10-19 19:13:23 +03:00
build/erlang HG-494: rename application to damsel (#468) 2019-07-23 18:43:46 +03:00
build_utils@be44d69fc8 damsel as rebar3 depend (#722) 2021-09-28 14:09:26 +03:00
doc HG-30: Domain redesign (#64) 2016-10-10 16:14:58 +03:00
proto DC-99: Proto for split mvp (#634) (#671) 2021-10-19 19:13:23 +03:00
src damsel as rebar3 depend (#722) 2021-09-28 14:09:26 +03:00
.gitignore DC-99: Proto for split mvp (#634) (#671) 2021-10-19 19:13:23 +03:00
.gitmodules BJ-49: add build_utils (#56) 2016-09-10 01:24:38 +03:00
CODEOWNERS Add CODEOWNERS (#661) 2021-03-31 19:19:30 +03:00
Jenkinsfile Switch java part to proto pipeline (#585) 2020-07-08 18:49:53 +03:00
LICENSE Let's make it opensource (#555) 2020-04-06 12:36:05 +03:00
Makefile damsel as rebar3 depend (#722) 2021-09-28 14:09:26 +03:00
package.json FE-57: create package.json for npm-registration (#73) 2016-10-12 18:41:12 +03:00
pom.xml add 'proto' targetPath for imports thrift files in maven projects (#701) 2021-08-06 17:55:09 +07:00
README.md Revert provider fee selection by terminal, commit name fix (#445) 2019-05-22 19:07:06 +03:00
rebar.config damsel as rebar3 depend (#722) 2021-09-28 14:09:26 +03:00
rebar.lock damsel as rebar3 depend (#722) 2021-09-28 14:09:26 +03:00
TODO.md HG-64: Expand proxy context + discard terminal descriptors (#78) 2016-10-20 13:47:12 +03:00

Damsel

Build Status

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>