Change plugin name from rabbitmq to events-rabbitmq
This changes the location of the config files:
* Old location:
$SITE/data/rabbitmq/
* New location:
$SITE/data/events-rabbitmq/
This also changes the name of the base config file:
* Old name:
$SITE/data/rabbitmq/rabbitmq.config
* New name:
$SITE/data/events-rabbitmq/events-rabbitmq.config
Change-Id: I067907f520a0203a7b099bee4eec3652fd849cb8
diff --git a/BUILD b/BUILD
index f42177c..4bccd54 100644
--- a/BUILD
+++ b/BUILD
@@ -1,13 +1,13 @@
load("//tools/bzl:plugin.bzl", "gerrit_plugin")
gerrit_plugin(
- name = "rabbitmq",
+ name = "events-rabbitmq",
srcs = glob(["src/main/java/**/*.java"]),
manifest_entries = [
- "Gerrit-PluginName: rabbitmq",
+ "Gerrit-PluginName: events-rabbitmq",
"Gerrit-Module: com.googlesource.gerrit.plugins.rabbitmq.Module",
- "Implementation-Title: Gerrit rabbitmq plugin",
- "Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/rabbitmq",
+ "Implementation-Title: Gerrit events-rabbitmq plugin",
+ "Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/events-rabbitmq",
],
resources = glob(["src/main/resources/**/*"]),
deps = [
diff --git a/src/main/resources/Documentation/config.md b/src/main/resources/Documentation/config.md
index f54918f..dced3c4 100644
--- a/src/main/resources/Documentation/config.md
+++ b/src/main/resources/Documentation/config.md
@@ -6,11 +6,11 @@
Directory
---------------------
-You can locate config files to `$site_path/data/rabbitmq/site`.
+You can locate config files to `$site_path/data/@PLUGIN@/site`.
File extension must be `.config`.
Connection to RabbitMQ will be established for each files.
-If `rabbitmq.config` exists in `$site_path/data/rabbitmq`, it is loaded at first.
+If `@PLUGIN@.config` exists in `$site_path/data/@PLUGIN@`, it is loaded at first.
It means that this is default for all config files.
diff --git a/src/main/resources/Documentation/message.md b/src/main/resources/Documentation/message.md
index a141852..84d0485 100644
--- a/src/main/resources/Documentation/message.md
+++ b/src/main/resources/Documentation/message.md
@@ -3,7 +3,7 @@
This plugin publish message like the below format to RabbitMQ.
-*Italic* is key name in `rabbitmq.config`.
+*Italic* is key name in `@PLUGIN@.config`.
**Bold** is literal.