mirror of
https://github.com/valitydev/hellgate.git
synced 2024-11-06 02:45:20 +00:00
26818fb642
* HG-339: Introduce partial refunds (#176) * HG-339: Enrich refund with payment cash for old events (#177) * HG-341: Introduce provision and service terms for partial refunds (#180) * HG-348: Make refund id using sequences service (#186) * HG-348: Make refund id using sequences service * HG-348: Bump to rbkmoney/scoper@cbe3abc * HG-339: rebar.config fixed * HG-339: seq_proto -> hg_proto.app.src (#188) * HG-339: Cant start simultaneous partial refunds (#189) * HG-339: Bump rbkmoney/damsel@349d26c, Bump rbkmoney/dominant@007326a
56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
[
|
|
{lager, [
|
|
{error_logger_hwm, 600},
|
|
{log_root, "/var/log/hellgate"},
|
|
{crash_log, "crash.log"},
|
|
{handlers, [
|
|
{lager_file_backend, [
|
|
{file, "console.json"},
|
|
{level, debug},
|
|
{formatter, lager_logstash_formatter}
|
|
]}
|
|
]}
|
|
]},
|
|
|
|
{scoper, [
|
|
{storage, scoper_storage_lager}
|
|
]},
|
|
|
|
{hellgate, [
|
|
{ip, "::"},
|
|
{port, 8022},
|
|
{net_opts, [
|
|
% Bump keepalive timeout up to a minute
|
|
{timeout, 60000}
|
|
]},
|
|
{service_urls, #{
|
|
automaton => <<"http://machinegun:8022/v1/automaton">>,
|
|
eventsink => <<"http://machinegun:8022/v1/event_sink">>,
|
|
accounter => <<"http://shumway:8022/accounter">>,
|
|
party_management => <<"http://hellgate:8022/v1/processing/partymgmt">>,
|
|
customer_management => <<"http://hellgate:8022/v1/processing/customer_management">>,
|
|
% TODO make more consistent
|
|
recurrent_paytool => <<"http://hellgate:8022/v1/processing/recpaytool">>,
|
|
sequences => <<"http://sequences:8022/v1/sequences">>
|
|
}},
|
|
{proxy_opts, #{
|
|
transport_opts => #{
|
|
connect_timeout => 1000,
|
|
recv_timeout => 40000
|
|
}
|
|
}}
|
|
]},
|
|
|
|
{dmt_client, [
|
|
{cache_update_interval, 5000}, % milliseconds
|
|
{max_cache_size, #{
|
|
elements => 20,
|
|
memory => 52428800 % 50Mb
|
|
}},
|
|
{service_urls, #{
|
|
'Repository' => <<"dominant:8022/v1/domain/repository">>,
|
|
'RepositoryClient' => <<"dominant:8022/v1/domain/repository_client">>
|
|
}}
|
|
]}
|
|
].
|