diff --git a/apps/cdc_notifier/src/cdc_notifier_app.erl b/apps/cdc_notifier/src/cdc_notifier_app.erl index 121eef3..d04530c 100644 --- a/apps/cdc_notifier/src/cdc_notifier_app.erl +++ b/apps/cdc_notifier/src/cdc_notifier_app.erl @@ -10,6 +10,7 @@ -export([start/2, stop/1]). start(_StartType, _StartArgs) -> + _ = application:ensure_all_started(cdc_progressor), cdc_notifier_sup:start_link(). stop(_State) -> diff --git a/apps/cdc_progressor/src/cdc_progressor.app.src b/apps/cdc_progressor/src/cdc_progressor.app.src index 2269b8a..8fa423e 100644 --- a/apps/cdc_progressor/src/cdc_progressor.app.src +++ b/apps/cdc_progressor/src/cdc_progressor.app.src @@ -6,6 +6,7 @@ {applications, [ kernel, stdlib, + jsx, epg_connector ]}, {env, []}, diff --git a/rebar.config b/rebar.config index 2b2b37a..46e2985 100644 --- a/rebar.config +++ b/rebar.config @@ -3,7 +3,7 @@ {brod, "4.3.2"}, {thrift, {git, "https://github.com/valitydev/thrift_erlang.git", {tag, "v1.0.0"}}}, {mg_proto, {git, "https://github.com/valitydev/machinegun-proto.git", {branch, "master"}}}, - {epg_connector, {git, "https://github.com/valitydev/epg_connector.git", {tag, "v0.0.3"}}} + {epg_connector, {git, "https://github.com/valitydev/epg_connector.git", {tag, "v0.0.4"}}} ]}. {shell, [ @@ -32,14 +32,19 @@ {profiles, [ {prod, [ {deps, [ - {recon, "2.5.2"} + % for introspection on production bdd6632964883636c18cf7bfdd68c4f16f82c79e + {recon, "2.5.2"}, + {logger_logstash_formatter, + {git, "https://github.com/valitydev/logger_logstash_formatter.git", {ref, "08a66a6"}}} ]}, {relx, [ {release, {cdc_notifier, "0.1"}, [ {recon, load}, {runtime_tools, load}, {tools, load}, + {canal, load}, {epg_connector, load}, + logger_logstash_formatter, sasl, cdc_notifier, cdc_progressor diff --git a/rebar.lock b/rebar.lock index b39f88f..b41ad33 100644 --- a/rebar.lock +++ b/rebar.lock @@ -7,7 +7,7 @@ {<<"crc32cer">>,{pkg,<<"crc32cer">>,<<"0.1.11">>},2}, {<<"epg_connector">>, {git,"https://github.com/valitydev/epg_connector.git", - {ref,"af35200fa1c63e7afeaa90cad862944c194b2686"}}, + {ref,"c52a03b6d9e70becfc16281f8dd5ac4843ae5801"}}, 0}, {<<"epgsql">>, {git,"https://github.com/epgsql/epgsql.git",