DC-122: Remove risk coverage from terminal (#14)

* Upgrade damsel

* Update composed services

* Remove risk_coverage

* terms -> terms_legacy
This commit is contained in:
Toporkov Igor 2020-07-16 11:04:13 +03:00 committed by GitHub
parent 1ce157bb2d
commit 922ddf4d9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -14,7 +14,7 @@ services:
condition: service_healthy
dominant:
image: dr2.rbkmoney.com/rbkmoney/dominant:f91f085474ece183724ee8646f0ea8df66633b54
image: dr2.rbkmoney.com/rbkmoney/dominant:035868ba0ab4dd6ea3a6ac57157be2ca4b8a3361
command: /opt/dominant/bin/dominant foreground
depends_on:
machinegun:
@ -26,7 +26,7 @@ services:
retries: 12
hellgate:
image: dr2.rbkmoney.com/rbkmoney/hellgate:05e6c7ad9190a410796628bba04f5ae88101857f
image: dr2.rbkmoney.com/rbkmoney/hellgate:3f3c8e18cd59551dd739682539136fc541b60738
command: /opt/hellgate/bin/hellgate foreground
depends_on:
machinegun:

View File

@ -10,7 +10,7 @@
{<<"cowlib">>,{pkg,<<"cowlib">>,<<"2.8.0">>},2},
{<<"damsel">>,
{git,"git@github.com:rbkmoney/damsel.git",
{ref,"7236d926002f7494893b633c793d508878fad23c"}},
{ref,"2f81185727a2e1e7583997359e1fc9eef4b3865d"}},
0},
{<<"folsom">>,
{git,"https://github.com/folsom-project/folsom.git",

View File

@ -358,8 +358,7 @@ construct_domain_fixture() ->
data = #domain_Terminal{
name = <<"Brominal 1">>,
description = <<"Brominal 1">>,
risk_coverage = high,
terms = #domain_PaymentsProvisionTerms{
terms_legacy = #domain_PaymentsProvisionTerms{
payment_methods = {value, ?ordset([
?pmt(bank_card, visa)
])}