From 9a7212d043f6c6ebb29257a1216d08ff60a5f3f8 Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Wed, 6 Sep 2023 14:29:44 +0800 Subject: [PATCH] make control center index as system index (#919) Signed-off-by: Hailong Cui Signed-off-by: Tanqiu Liu --- .../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 8f0d3ad93..173396458 100644 --- a/src/main/kotlin/org/opensearch/indexmanagement/IndexManagementPlugin.kt +++ b/src/main/kotlin/org/opensearch/indexmanagement/IndexManagementPlugin.kt @@ -615,7 +615,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." + ), + + ) } }