Current section
Files
Jump to
Current section
Files
nova_resilience
rebar.config
rebar.config
{erl_opts, [debug_info, warnings_as_errors]}.
{deps, [
nova,
{seki, "~> 0.4"}
]}.
{project_plugins, [
erlfmt,
rebar3_lint,
rebar3_hank,
rebar3_ex_doc,
rebar3_audit,
{rebar3_sbom,
{git, "https://github.com/Taure/rebar3_sbom.git", {branch, "feat/include-otp-components"}}},
rebar3_mutate
]}.
{erlfmt, [write]}.
{xref_ignores, [
%% Optional adapters — soft dependencies
{pgo, query, 1},
{pgo, query, 3},
{kura_repo_worker, query, 3},
{brod, get_partitions_count, 2},
{brod, stop_client, 1},
%% Public API — consumed by applications, not internally
{nova_resilience, call, 2},
{nova_resilience, call, 3},
{nova_resilience, register_dependency, 2},
{nova_resilience, unregister_dependency, 1},
{nova_resilience, list_dependencies, 0},
{nova_resilience, dependency_status, 1},
{nova_resilience, health, 0},
{nova_resilience, ready, 0},
{nova_resilience, live, 0},
{nova_resilience, prep_stop, 0},
{nova_resilience_gate, start_link, 0},
{nova_resilience_gate, mark_ready, 0},
{nova_resilience_registry, start_link, 0},
{nova_resilience_telemetry, event_names, 0}
]}.
{dialyzer, [
{warnings, [
error_handling,
unmatched_returns
]},
{plt_extra_apps, [cowboy, ranch]},
{exclude_mods, [
nova_resilience_adapter_pgo,
nova_resilience_adapter_kura,
nova_resilience_adapter_brod
]}
]}.
{hex, [
{doc, #{provider => ex_doc}},
{metadata, #{extra => #{<<"nova">> => <<"library">>}}}
]}.
{ex_doc, [
{extras, [
{"README.md", #{title => <<"Overview">>}},
{"guides/getting-started.md", #{title => <<"Getting Started">>}},
{"guides/resilience-patterns.md", #{title => <<"Circuit Breakers & Bulkheads">>}},
{"guides/deadlines.md", #{title => <<"Deadline Propagation">>}},
{"guides/adapters.md", #{title => <<"Adapters">>}},
{"guides/shutdown.md", #{title => <<"Graceful Shutdown">>}},
{"guides/telemetry.md", #{title => <<"Telemetry">>}}
]},
{main, <<"readme">>},
{source_url, <<"https://github.com/novaframework/nova_resilience">>},
{groups_for_modules, [
{<<"Core API">>, [
nova_resilience,
nova_resilience_registry,
nova_resilience_gate
]},
{<<"Health & Lifecycle">>, [
nova_resilience_health_controller,
nova_resilience_shutdown,
nova_resilience_router
]},
{<<"Plugins">>, [
nova_resilience_deadline_plugin
]},
{<<"Adapters">>, [
nova_resilience_adapter,
nova_resilience_adapter_pgo,
nova_resilience_adapter_kura,
nova_resilience_adapter_brod
]},
{<<"Telemetry">>, [
nova_resilience_telemetry
]}
]}
]}.
{profiles, [
{test, [
{erl_opts, [nowarn_export_all]},
{deps, [
{pgo, "~> 0.14"},
{meck, "~> 0.9"}
]}
]}
]}.