Remove unused imports (thanks elp!)
This commit is contained in:
parent
7d64d3dca8
commit
cfa3de4b2b
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(msg_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
-include_lib("amqp10_common/include/amqp10_framing.hrl").
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
-export([
|
||||
]).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
%%%===================================================================
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
%% @private
|
||||
-module(amqp_channel_sup_sup).
|
||||
|
||||
-include("amqp_client.hrl").
|
||||
|
||||
-behaviour(supervisor).
|
||||
|
||||
-export([start_link/3, start_channel_sup/4]).
|
||||
|
|
|
@ -31,8 +31,6 @@
|
|||
%% This module has no public functions.
|
||||
-module(amqp_direct_consumer).
|
||||
|
||||
-include("amqp_gen_consumer_spec.hrl").
|
||||
|
||||
-behaviour(amqp_gen_consumer).
|
||||
|
||||
-export([init/1, handle_consume_ok/3, handle_consume/3, handle_cancel_ok/3,
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
]).
|
||||
|
||||
-include("oauth2_client.hrl").
|
||||
-include_lib("public_key/include/public_key.hrl").
|
||||
|
||||
-spec get_access_token(oauth_provider_id() | oauth_provider(), access_token_request()) ->
|
||||
{ok, successful_access_token_response()} | {error, unsuccessful_access_token_response() | any()}.
|
||||
get_access_token(OAuth2ProviderId, Request) when is_binary(OAuth2ProviderId) ->
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
%%
|
||||
|
||||
-module(oauth_http_mock).
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
-export([init/2]).
|
||||
|
|
|
@ -884,7 +884,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/clustering_management_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"],
|
||||
deps = ["//deps/amqp_client:erlang_app"],
|
||||
)
|
||||
erlang_bytecode(
|
||||
name = "test_clustering_utils_beam",
|
||||
|
@ -954,7 +954,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/definition_import_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/rabbit_common:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"],
|
||||
deps = ["//deps/rabbitmq_ct_helpers:erlang_app"],
|
||||
)
|
||||
erlang_bytecode(
|
||||
name = "deprecated_features_SUITE_beam_files",
|
||||
|
@ -1033,7 +1033,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/feature_flags_v2_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/rabbit_common:erlang_app"],
|
||||
)
|
||||
erlang_bytecode(
|
||||
name = "feature_flags_with_unpriveleged_user_SUITE_beam_files",
|
||||
|
@ -1140,7 +1139,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/peer_discovery_classic_config_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"],
|
||||
deps = ["//deps/rabbitmq_ct_helpers:erlang_app"],
|
||||
)
|
||||
erlang_bytecode(
|
||||
name = "peer_discovery_dns_SUITE_beam_files",
|
||||
|
@ -1371,7 +1370,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
testonly = True,
|
||||
srcs = ["test/rabbit_fifo_dlx_SUITE.erl"],
|
||||
outs = ["test/rabbit_fifo_dlx_SUITE.beam"],
|
||||
hdrs = ["src/rabbit_fifo.hrl", "src/rabbit_fifo_dlx.hrl"],
|
||||
hdrs = ["src/rabbit_fifo.hrl"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/rabbit_common:erlang_app"],
|
||||
|
@ -1477,7 +1476,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/rabbitmqctl_shutdown_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/amqp_client:erlang_app"],
|
||||
)
|
||||
erlang_bytecode(
|
||||
name = "signal_handling_SUITE_beam_files",
|
||||
|
@ -1521,7 +1519,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/term_to_binary_compat_prop_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/rabbit_common:erlang_app", "@proper//:erlang_app"],
|
||||
deps = ["@proper//:erlang_app"],
|
||||
)
|
||||
erlang_bytecode(
|
||||
name = "test_channel_operation_timeout_test_queue_beam",
|
||||
|
@ -1823,7 +1821,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
testonly = True,
|
||||
srcs = ["test/unit_gm_SUITE.erl"],
|
||||
outs = ["test/unit_gm_SUITE.beam"],
|
||||
hdrs = ["include/gm_specs.hrl"],
|
||||
app_name = "rabbit",
|
||||
beam = ["ebin/gm.beam"],
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
|
@ -2007,7 +2004,6 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/rabbit_db_msup_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/rabbit_common:erlang_app"],
|
||||
)
|
||||
erlang_bytecode(
|
||||
name = "rabbit_db_policy_SUITE_beam_files",
|
||||
|
@ -2088,7 +2084,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/quorum_queue_member_reconciliation_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"],
|
||||
deps = ["//deps/amqp_client:erlang_app"],
|
||||
)
|
||||
|
||||
erlang_bytecode(
|
||||
|
@ -2098,7 +2094,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/cluster_limit_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"],
|
||||
deps = ["//deps/amqp_client:erlang_app"],
|
||||
)
|
||||
erlang_bytecode(
|
||||
name = "metadata_store_clustering_SUITE_beam_files",
|
||||
|
@ -2107,7 +2103,7 @@ def test_suite_beam_files(name = "test_suite_beam_files"):
|
|||
outs = ["test/metadata_store_clustering_SUITE.beam"],
|
||||
app_name = "rabbit",
|
||||
erlc_opts = "//:test_erlc_opts",
|
||||
deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"],
|
||||
deps = ["//deps/amqp_client:erlang_app"],
|
||||
)
|
||||
erlang_bytecode(
|
||||
name = "metadata_store_migration_SUITE_beam_files",
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(internal_user).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([
|
||||
new/0,
|
||||
new/1,
|
||||
|
|
|
@ -275,7 +275,6 @@
|
|||
|
||||
%%---------------------------------------------------------------------------
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit_framing.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-define(APPS, [os_mon, mnesia, rabbit_common, rabbitmq_prelaunch, ra, sysmon_handler, rabbit, osiris]).
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(rabbit_amqqueue_process).
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit_framing.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
-behaviour(gen_server2).
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
%%
|
||||
|
||||
-module(rabbit_auth_mechanism_amqplain).
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-behaviour(rabbit_auth_mechanism).
|
||||
|
||||
-export([description/0, should_offer/1, init/1, handle_response/2]).
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
%%
|
||||
|
||||
-module(rabbit_auth_mechanism_cr_demo).
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-behaviour(rabbit_auth_mechanism).
|
||||
|
||||
-export([description/0, should_offer/1, init/1, handle_response/2]).
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
%%
|
||||
|
||||
-module(rabbit_auth_mechanism_plain).
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-behaviour(rabbit_auth_mechanism).
|
||||
|
||||
-export([description/0, should_offer/1, init/1, handle_response/2]).
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(rabbit_channel_interceptor).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit_framing.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([init/1, intercept_in/3]).
|
||||
|
|
|
@ -51,8 +51,6 @@
|
|||
-define(STORE_FD_RESERVATIONS, 2).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("kernel/include/file.hrl").
|
||||
|
||||
%% Set to true to get an awful lot of debug logs.
|
||||
-if(false).
|
||||
-define(DEBUG(X,Y), logger:debug("~0p: " ++ X, [?FUNCTION_NAME|Y])).
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_credential_validation).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
%% used for backwards compatibility
|
||||
-define(DEFAULT_BACKEND, rabbit_credential_validator_accept_everything).
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_credential_validator).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
%% Validates a password. Used by `rabbit_auth_backend_internal`.
|
||||
%%
|
||||
%% Possible return values:
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_credential_validator_accept_everything).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-behaviour(rabbit_credential_validator).
|
||||
|
||||
%%
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_credential_validator_min_password_length).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-behaviour(rabbit_credential_validator).
|
||||
|
||||
%% accommodates default (localhost-only) user credentials,
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
%% password against a pre-configured regular expression.
|
||||
-module(rabbit_credential_validator_password_regexp).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-behaviour(rabbit_credential_validator).
|
||||
|
||||
%%
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_db).
|
||||
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("stdlib/include/assert.hrl").
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
-behaviour(mnesia_to_khepri_converter).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
-include_lib("khepri_mnesia_migration/src/kmm_logging.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
-behaviour(mnesia_to_khepri_converter).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
-include_lib("khepri_mnesia_migration/src/kmm_logging.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
-behaviour(mnesia_to_khepri_converter).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
-include_lib("khepri_mnesia_migration/src/kmm_logging.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
-behaviour(mnesia_to_khepri_converter).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
-include_lib("khepri_mnesia_migration/src/kmm_logging.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("mirrored_supervisor.hrl").
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(rabbit_db_queue).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("stdlib/include/qlc.hrl").
|
||||
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
-behaviour(mnesia_to_khepri_converter).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
-include_lib("khepri_mnesia_migration/src/kmm_logging.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
-behaviour(mnesia_to_khepri_converter).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
-include_lib("khepri_mnesia_migration/src/kmm_logging.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(rabbit_db_vhost).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("stdlib/include/assert.hrl").
|
||||
-include_lib("rabbit_common/include/logging.hrl").
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
-behaviour(mnesia_to_khepri_converter).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("khepri/include/khepri.hrl").
|
||||
-include_lib("khepri_mnesia_migration/src/kmm_logging.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("vhost.hrl").
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
%% * rabbit_definitions_import_local_filesystem
|
||||
%% * rabbit_definitions_hashing
|
||||
-module(rabbit_definitions_import_https).
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([
|
||||
is_enabled/0,
|
||||
load/1,
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
%% * rabbit_definitions_import_http
|
||||
%% * rabbit_definitions_hashing
|
||||
-module(rabbit_definitions_import_local_filesystem).
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([
|
||||
is_enabled/0,
|
||||
%% definition source options
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit_framing.hrl").
|
||||
-include_lib("rabbit_common/include/logging.hrl").
|
||||
-include_lib("rabbit/include/mc.hrl").
|
||||
|
||||
%% logger callbacks
|
||||
-export([log/2, adding_handler/1, removing_handler/1, changing_config/3,
|
||||
filter_config/1]).
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_mirror_queue_mode_all).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-behaviour(rabbit_mirror_queue_mode).
|
||||
|
||||
-export([description/0, suggested_queue_nodes/5, validate_policy/1]).
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_mirror_queue_mode_exactly).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-behaviour(rabbit_mirror_queue_mode).
|
||||
|
||||
-export([description/0, suggested_queue_nodes/5, validate_policy/1]).
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_mirror_queue_mode_nodes).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-behaviour(rabbit_mirror_queue_mode).
|
||||
|
||||
-export([description/0, suggested_queue_nodes/5, validate_policy/1]).
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_mnesia).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
|
||||
-include_lib("rabbit_common/include/logging.hrl").
|
||||
|
||||
-export([%% Main interface
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
-deprecated({all, 0, "Use rabbit_nodes:list_members/0 instead"}).
|
||||
-deprecated({all_running, 0, "Use rabbit_nodes:list_running/0 instead"}).
|
||||
|
||||
-include_lib("kernel/include/inet.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-define(SAMPLING_INTERVAL, 1000).
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
-module(rabbit_peer_discovery_classic_config).
|
||||
-behaviour(rabbit_peer_discovery_backend).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([list_nodes/0, supports_registration/0, register/0, unregister/0,
|
||||
post_registration/0, lock/1, unlock/1]).
|
||||
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
-module(rabbit_peer_discovery_dns).
|
||||
-behaviour(rabbit_peer_discovery_backend).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([list_nodes/0, supports_registration/0, register/0, unregister/0,
|
||||
post_registration/0, lock/1, unlock/1]).
|
||||
%% for tests
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_plugins).
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("stdlib/include/zip.hrl").
|
||||
|
||||
-export([setup/0, active/0, read_enabled/1, list/1, list/2, dependencies/3, running_plugins/0]).
|
||||
-export([ensure/1]).
|
||||
-export([validate_plugins/1, format_invalid_plugins/1]).
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
-behaviour(gen_server2).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
%%----------------------------------------------------------------------------
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(rabbit_queue_decorator).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
-export([select/1, set/1, register/2, unregister/1]).
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
-module(rabbit_queue_location_client_local).
|
||||
-behaviour(rabbit_queue_master_locator).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
-export([description/0, queue_master_location/1]).
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
-module(rabbit_queue_location_random).
|
||||
-behaviour(rabbit_queue_master_locator).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
-export([description/0, queue_master_location/1]).
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
-module(rabbit_queue_location_validator).
|
||||
-behaviour(rabbit_policy_validator).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
-export([validate_policy/1, validate_strategy/1]).
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(rabbit_queue_master_location_misc).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
-export([lookup_master/2,
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
|
||||
-behaviour(gen_event).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([init/1, handle_call/2, handle_event/2, handle_info/2,
|
||||
terminate/2, code_change/3]).
|
||||
-export([register/0, unregister/0]).
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_router).
|
||||
-include_lib("stdlib/include/qlc.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([match_bindings/2, match_routing_key/2]).
|
||||
|
||||
%%----------------------------------------------------------------------------
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
await_online_synchronised_mirrors/1,
|
||||
list_with_minimum_quorum_for_cli/0]).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
%%
|
||||
%% API
|
||||
%%
|
||||
|
|
|
@ -268,7 +268,6 @@
|
|||
-define(IN_MEMORY, memory).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit_framing.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
%%----------------------------------------------------------------------------
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(rabbit_vhost).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("vhost.hrl").
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
-behaviour(rabbit_runtime_parameter).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([register/0]).
|
||||
-export([parse_set/3, set/3, clear/2]).
|
||||
-export([list/0, list/1]).
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
|
||||
-module(rabbit_vhost_process).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-define(VHOST_CHECK_INTERVAL, 5000).
|
||||
|
||||
-behaviour(gen_server2).
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(rabbit_vhost_sup).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
%% Each vhost gets an instance of this supervisor that supervises
|
||||
%% message stores and queues (via rabbit_amqqueue_sup_sup).
|
||||
-behaviour(supervisor).
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
-module(term_to_binary_compat).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-export([term_to_binary_1/1]).
|
||||
|
||||
term_to_binary_1(Term) ->
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(vhost).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("vhost.hrl").
|
||||
|
||||
-export([
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
-module(amqqueue_backward_compatibility_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
-include("amqqueue.hrl").
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(channel_interceptor_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(channel_operation_timeout_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
|
|
|
@ -119,8 +119,6 @@
|
|||
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit_framing.hrl").
|
||||
|
||||
-define(QUEUE, lqueue).
|
||||
-define(TIMEOUT_TEST_MSG, <<"timeout_test_msg!">>).
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("rabbitmq_ct_helpers/include/rabbit_assert.hrl").
|
||||
|
||||
-compile([nowarn_export_all, export_all]).
|
||||
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(cluster_minority_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("rabbitmq_ct_helpers/include/rabbit_assert.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
||||
-import(clustering_utils, [
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
-module(consumer_timeout_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("kernel/include/file.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
-include_lib("rabbitmq_ct_helpers/include/rabbit_assert.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(disconnect_detected_during_alarm_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(disk_monitor_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(eager_sync_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
|
||||
-include_lib("rabbit_common/include/logging.hrl").
|
||||
|
||||
-export([suite/0,
|
||||
all/0,
|
||||
groups/0,
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(feature_flags_with_unpriveleged_user_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
-export([suite/0,
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(list_consumers_sanity_check_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(list_queues_online_and_offline_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("rabbitmq_ct_helpers/include/rabbit_assert.hrl").
|
||||
|
||||
-compile([nowarn_export_all, export_all]).
|
||||
|
||||
suite() ->
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(metadata_store_migration_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(msg_store_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
-module(peer_discovery_classic_config_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("rabbitmq_ct_helpers/include/rabbit_assert.hrl").
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(peer_discovery_dns_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
-module(peer_discovery_tmp_hidden_node_SUITE).
|
||||
|
||||
-include_lib("kernel/include/logger.hrl").
|
||||
-include_lib("kernel/include/inet.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(per_user_connection_channel_limit_partitions_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("rabbitmq_ct_helpers/include/rabbit_assert.hrl").
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(per_vhost_connection_limit_partitions_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("rabbitmq_ct_helpers/include/rabbit_assert.hrl").
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(priority_queue_recovery_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
-module(publisher_confirms_parallel_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("kernel/include/file.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
-module(queue_length_limits_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("kernel/include/file.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("rabbitmq_ct_helpers/include/rabbit_assert.hrl").
|
||||
|
||||
-compile([nowarn_export_all, export_all]).
|
||||
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
||||
-define(VHOST, <<"/">>).
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
||||
-define(VHOST, <<"/">>).
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
-module(rabbit_db_maintenance_SUITE).
|
||||
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
||||
all() ->
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(rabbit_db_msup_SUITE).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
||||
-define(VHOST, <<"/">>).
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include("amqqueue.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
-compile(export_all).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("proper/include/proper.hrl").
|
||||
|
||||
-define(ITERATIONS_TO_RUN_UNTIL_CONFIDENT, 10000).
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("rabbit/src/rabbit_fifo.hrl").
|
||||
-include_lib("rabbit/src/rabbit_fifo_dlx.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
%%%===================================================================
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
-export([
|
||||
]).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include("src/rabbit_fifo_v0.hrl").
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
-module(rabbitmqctl_shutdown_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
||||
all() ->
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
|
||||
-compile([nowarn_export_all, export_all]).
|
||||
-compile(export_all).
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
-compile(export_all).
|
||||
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("proper/include/proper.hrl").
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(topic_permission_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("rabbit_common/include/rabbit.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
-module(unit_access_control_authn_authz_context_propagation_SUITE).
|
||||
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include_lib("amqp_client/include/amqp_client.hrl").
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
-compile(export_all).
|
||||
-include_lib("proper/include/proper.hrl").
|
||||
-include_lib("common_test/include/ct.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
all() ->
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue