From 2bfff986be0e121c02c74db6e76b7e04cf123c00 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 15:29:05 +0800 Subject: [PATCH] make control center index as system index (#919) (#920) (cherry picked from commit 77f29f639dcb0b494e27e4a91752c82b0e9ca6d3) Signed-off-by: Hailong Cui Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .../indexmanagement/IndexManagementPlugin.kt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/org/opensearch/indexmanagement/IndexManagementPlugin.kt b/src/main/kotlin/org/opensearch/indexmanagement/IndexManagementPlugin.kt index 079415127..c93df3b0d 100644 --- a/src/main/kotlin/org/opensearch/indexmanagement/IndexManagementPlugin.kt +++ b/src/main/kotlin/org/opensearch/indexmanagement/IndexManagementPlugin.kt @@ -620,7 +620,17 @@ class IndexManagementPlugin : JobSchedulerExtension, NetworkPlugin, ActionPlugin } override fun getSystemIndexDescriptors(settings: Settings): Collection { - return listOf(SystemIndexDescriptor(INDEX_MANAGEMENT_INDEX, "Index for storing index management configuration and metadata.")) + return listOf( + SystemIndexDescriptor( + INDEX_MANAGEMENT_INDEX, + "Index for storing index management configuration and metadata." + ), + SystemIndexDescriptor( + CONTROL_CENTER_INDEX, + "Index for storing notification policy of long running index operations." + ), + + ) } }