From fce1f945c9968b13681e4c0c625c97c9f6b67694 Mon Sep 17 00:00:00 2001 From: GitHub Date: Sat, 4 Jan 2025 04:02:49 +0000 Subject: [PATCH] bazel run gazelle --- deps/rabbitmq_management/app.bzl | 13 +++++++++++++ moduleindex.yaml | 1 + 2 files changed, 14 insertions(+) diff --git a/deps/rabbitmq_management/app.bzl b/deps/rabbitmq_management/app.bzl index a170c4898a4..bd3cf450daa 100644 --- a/deps/rabbitmq_management/app.bzl +++ b/deps/rabbitmq_management/app.bzl @@ -116,6 +116,7 @@ def all_beam_files(name = "all_beam_files"): "src/rabbit_mgmt_wm_users_bulk_delete.erl", "src/rabbit_mgmt_wm_version.erl", "src/rabbit_mgmt_wm_vhost.erl", + "src/rabbit_mgmt_wm_vhost_deletion_protection.erl", "src/rabbit_mgmt_wm_vhost_restart.erl", "src/rabbit_mgmt_wm_vhosts.erl", "src/rabbit_mgmt_wm_whoami.erl", @@ -252,6 +253,7 @@ def all_test_beam_files(name = "all_test_beam_files"): "src/rabbit_mgmt_wm_users_bulk_delete.erl", "src/rabbit_mgmt_wm_version.erl", "src/rabbit_mgmt_wm_vhost.erl", + "src/rabbit_mgmt_wm_vhost_deletion_protection.erl", "src/rabbit_mgmt_wm_vhost_restart.erl", "src/rabbit_mgmt_wm_vhosts.erl", "src/rabbit_mgmt_wm_whoami.erl", @@ -480,6 +482,7 @@ def all_srcs(name = "all_srcs"): "src/rabbit_mgmt_wm_users_bulk_delete.erl", "src/rabbit_mgmt_wm_version.erl", "src/rabbit_mgmt_wm_vhost.erl", + "src/rabbit_mgmt_wm_vhost_deletion_protection.erl", "src/rabbit_mgmt_wm_vhost_restart.erl", "src/rabbit_mgmt_wm_vhosts.erl", "src/rabbit_mgmt_wm_whoami.erl", @@ -648,3 +651,13 @@ def test_suite_beam_files(name = "test_suite_beam_files"): erlc_opts = "//:test_erlc_opts", deps = ["//deps/rabbit_common:erlang_app"], ) + erlang_bytecode( + name = "rabbit_mgmt_http_vhost_deletion_protection_SUITE_beam_files", + testonly = True, + srcs = ["test/rabbit_mgmt_http_vhost_deletion_protection_SUITE.erl"], + outs = ["test/rabbit_mgmt_http_vhost_deletion_protection_SUITE.beam"], + hdrs = ["include/rabbit_mgmt.hrl"], + app_name = "rabbitmq_management", + erlc_opts = "//:test_erlc_opts", + deps = ["//deps/amqp_client:erlang_app", "//deps/rabbitmq_ct_helpers:erlang_app"], + ) diff --git a/moduleindex.yaml b/moduleindex.yaml index eca29bb4f6e..cd9e9826d9c 100755 --- a/moduleindex.yaml +++ b/moduleindex.yaml @@ -1017,6 +1017,7 @@ rabbitmq_management: - rabbit_mgmt_wm_users_bulk_delete - rabbit_mgmt_wm_version - rabbit_mgmt_wm_vhost +- rabbit_mgmt_wm_vhost_deletion_protection - rabbit_mgmt_wm_vhost_restart - rabbit_mgmt_wm_vhosts - rabbit_mgmt_wm_whoami