From 49843818abb3a3e896157755edfaeddd8b4391e0 Mon Sep 17 00:00:00 2001 From: Igor Savchuk Date: Sun, 16 Oct 2016 20:55:55 +0200 Subject: [PATCH] add dmt_client (#21) * add dmt_client remove traitorous tab fix traitorous spec fixes rebase fixes add tiny little fixes eta wtuka ni k chemu fix tabs and spaces * drop some ugly stuff * use fresh dominant image * update build_utils --- docker-compose.sh | 7 +++++++ rebar.config | 3 ++- rebar.lock | 8 ++++++++ test/machinegun/sys.config | 3 +++ 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/docker-compose.sh b/docker-compose.sh index ffe4edc..8f86c2c 100755 --- a/docker-compose.sh +++ b/docker-compose.sh @@ -14,6 +14,13 @@ services: - machinegun - shumway + dominant: + image: dr.rbkmoney.com/rbkmoney/dominant:afee5aa9a904ec570e55356d18af484fb6d277db + environment: + - SERVICE_NAME=dominant + depends_on: + - machinegun + machinegun: image: dr.rbkmoney.com/rbkmoney/machinegun:a48f9e93dd5a709d5f14db0c9785d43039282e86 command: /opt/machinegun/bin/machinegun foreground diff --git a/rebar.config b/rebar.config index 23c23b6..bb6ea50 100644 --- a/rebar.config +++ b/rebar.config @@ -33,7 +33,8 @@ {rfc3339, "0.9.0"}, {genlib, {git, "https://github.com/rbkmoney/genlib.git", {branch, "master"}}}, {woody, {git, "git@github.com:rbkmoney/woody_erlang.git", {branch, "master"}}}, - {dmsl, {git, "git@github.com:rbkmoney/damsel_erlang.git", {branch, "master"}}} + {dmsl, {git, "git@github.com:rbkmoney/damsel_erlang.git", {branch, "master"}}}, + {dmt_client, {git, "git@github.com:rbkmoney/dmt_client.git", {branch, "master"}}} ]}. {xref_checks, [ diff --git a/rebar.lock b/rebar.lock index baab929..3a8c609 100644 --- a/rebar.lock +++ b/rebar.lock @@ -5,6 +5,14 @@ {git,"git@github.com:rbkmoney/damsel_erlang.git", {ref,"e353e42dc731393ab928b764e8f0432278d6651b"}}, 0}, + {<<"dmt">>, + {git,"git@github.com:rbkmoney/dmt_core.git", + {ref,"36311edc50e0b7c148ca753465271d7b89a5fc09"}}, + 1}, + {<<"dmt_client">>, + {git,"git@github.com:rbkmoney/dmt_client.git", + {ref,"3858131eee4a18058b0872c293168dce877dafff"}}, + 0}, {<<"genlib">>, {git,"https://github.com/rbkmoney/genlib.git", {ref,"ea85932ecf19fe39c87237fe5916ba1f65fc0bd6"}}, diff --git a/test/machinegun/sys.config b/test/machinegun/sys.config index 66015c2..d5936f9 100644 --- a/test/machinegun/sys.config +++ b/test/machinegun/sys.config @@ -9,6 +9,9 @@ <<"party">> => #{ url => <<"http://hellgate:8022/v1/stateproc/party">>, event_sink => <<"payproc">> + }, + <<"domain-config">> => #{ + url => <<"http://dominant:8022/v1/stateproc">> } }} ]}