kds/rebar.config

99 lines
2.9 KiB
Plaintext
Raw Normal View History

% Common project erlang options.
{erl_opts, [
debug_info,
warnings_as_errors,
warn_export_all,
warn_missing_spec,
warn_untyped_record,
warn_export_vars,
warn_unused_record,
warn_bif_clash,
warn_obsolete_guard,
warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_deprecated_function
]}.
% Common project dependencies.
{deps, [
{lib_combin, "0.1.5"},
{jsx, "2.9.0"},
{jose, "1.11.1"},
{prometheus, "4.6.0"},
{prometheus_cowboy, "0.1.8"},
CDS-79: Adds keyring meta (#2) * CDS-79: Add keyring meta * CDS-79: Fix tests and specs * CDS-79: fixes to tests * CDS-79: encode binary in base64 in order to store in json * CDS-79: implement cds_proto Meta methods * CDS-79: Ensure that meta isn't overwritten by FSMs * CDS-79: Add backward compatibility storage tests * CDS-79: Fix dialyzer * CDS-79: Update keyring_path usage in test * CDS-79: Add meta tests * CDS-79: Add rotation meta collision test * CDS-79: Fix exception for update_meta during not_initialized * CDS-79: Move kds_keyring_storage_file specific function to module * CDS-79: spec fix * CDS-79: replace dumb copy with symlink * CDS-89: Add GetKeyring method with SSL (#3) * CDS-89: Add ability to get keyring from storage * CDS-89: replace dumb copy with symlink * CDS-89: Add ssl support for keyring storage api * Update apps/kds/test/kds_keyring_storage_api_tests_SUITE.erl Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com> * Update apps/kds/test/kds_keyring_storage_api_tests_SUITE.erl Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com> * Update apps/kds/test/kds_keyring_client.erl Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com> * Update apps/kds/test/kds_keyring_client.erl Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com> * CDS-89: Review fix * CDS-89: sys.config update * CDS-79: Review fix * CDS-79: Review fix * CDS-79: Review fix * CDS-79: Refactor meta validation * CDS-79: Add error if UpdateKeyringMeta doesn't make changes * CDS-79: Fix initializer returning actual keyring instead of diff. * CDS-79: spec fix * CDS-79: fix rotator and kds_keyring specs * CDS-79: remove ability to make meta updates if not_initialized * Update apps/kds/src/kds_keyring_management_thrift_handler.erl Co-Authored-By: Sergei Shuvatov <Yozhig@users.noreply.github.com> * CDS-79: remove useless slash in string * CDS-79: fix storage file decoding * CDS-79: bump handler version and move same meta check to manager * CDS-79: add format version to keyring storage for decoding * CDS-79: Add version to keyring meta * CDS-79: Remove diffs for keyring * CDS-79: type fix * CDS-79: Move keyring_meta types to it's module * CDS-79: replace string generation with converting Reason to binary * CDS-79: Update encrypted keyring format and rename current_key to max_key_id * CDS-79: Refactor * CDS-79: Update doc * CDS-79: Remove validation failed and bump cds_proto version * CDS-79: Add ability to change current_key_id in meta * CDS-79: Fix missing exceptions in handler
2019-07-03 12:29:48 +00:00
{shamir , {git, "git@github.com:rbkmoney/shamir.git" , {branch, master}}},
{woody , {git, "git@github.com:rbkmoney/woody_erlang.git" , {branch, master}}},
{genlib , {git, "git@github.com:rbkmoney/genlib.git" , {branch, master}}},
{how_are_you , {git, "https://github.com/rbkmoney/how_are_you.git" , {branch, master}}},
{erl_health , {git, "https://github.com/rbkmoney/erlang-health.git" , {branch, master}}},
{cds_proto , {git, "git@github.com:rbkmoney/cds-proto.git" , {branch, master}}},
{msgpack , {git, "https://github.com/rbkmoney/msgpack-erlang" , {branch, master}}},
{scoper , {git, "git@github.com:rbkmoney/scoper.git" , {branch, master}}},
{logger_logstash_formatter, {git, "git@github.com:rbkmoney/logger_logstash_formatter.git", {branch, "master"}}}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
% locals_not_used,
deprecated_functions_calls,
deprecated_functions
]}.
{dialyzer, [
{warnings, [
unmatched_returns,
error_handling,
race_conditions,
%underspecs,
unknown
]},
{plt_apps, all_deps}
]}.
{profiles, [
{prod, [
2020-12-02 17:20:44 +00:00
{deps, [
{recon, "2.3.2"}
]},
{relx, [
2020-12-02 17:20:44 +00:00
{release, {kds, "0.1.0"}, [
{recon, load},
{logger_logstash_formatter, load},
kds
]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{mode, minimal},
{extended_start_script, true}
]}
]}
]}.
{plugins, [
{erlfmt, "0.8.0"},
{rebar3_thrift_compiler,
{git, "https://github.com/rbkmoney/rebar3_thrift_compiler.git", {tag, "0.3.1"}}}
]}.
{erlfmt, [
{print_width, 120},
{files, "apps/*/{src,include,test}/*.{hrl,erl}"}
]}.
{overrides, [
{override, rebar3_protobuffs_plugin, [
{deps, [
{protobuffs, {git, "git://github.com/basho/erlang_protobuffs.git", {tag, "0.8.2"}}}
]}
]},
{override, protobuffs, [
{deps, []}
]},
{override, hamcrest, [
{plugins, []}
]}
]}.