From 1f274e8b7293f500e53bbdca3aec8a15395ad07b Mon Sep 17 00:00:00 2001 From: AWSHurneyt Date: Tue, 30 Jul 2024 14:00:34 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20"Enable=20cross-cluster=20mo?= =?UTF-8?q?nitor=20cluster=20setting=20(#1612)=20(#1613)=20=E2=80=A6"=20(#?= =?UTF-8?q?1626)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit c16a34f5e5fc07d60d251db2c3f2c678a3d0f79f. --- .../kotlin/org/opensearch/alerting/settings/AlertingSettings.kt | 2 +- .../opensearch/alerting/transport/GetRemoteIndexesActionIT.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alerting/src/main/kotlin/org/opensearch/alerting/settings/AlertingSettings.kt b/alerting/src/main/kotlin/org/opensearch/alerting/settings/AlertingSettings.kt index cc7df33ae..a0f417fe2 100644 --- a/alerting/src/main/kotlin/org/opensearch/alerting/settings/AlertingSettings.kt +++ b/alerting/src/main/kotlin/org/opensearch/alerting/settings/AlertingSettings.kt @@ -211,7 +211,7 @@ class AlertingSettings { val CROSS_CLUSTER_MONITORING_ENABLED = Setting.boolSetting( "plugins.alerting.cross_cluster_monitoring_enabled", - false, + true, Setting.Property.NodeScope, Setting.Property.Dynamic ) diff --git a/alerting/src/test/kotlin/org/opensearch/alerting/transport/GetRemoteIndexesActionIT.kt b/alerting/src/test/kotlin/org/opensearch/alerting/transport/GetRemoteIndexesActionIT.kt index 83e24332e..aef16d5ae 100644 --- a/alerting/src/test/kotlin/org/opensearch/alerting/transport/GetRemoteIndexesActionIT.kt +++ b/alerting/src/test/kotlin/org/opensearch/alerting/transport/GetRemoteIndexesActionIT.kt @@ -26,7 +26,7 @@ import java.util.* @Suppress("UNCHECKED_CAST") class GetRemoteIndexesActionIT : AlertingRestTestCase() { - private var remoteMonitoringEnabled = false + private var remoteMonitoringEnabled = true private var remoteClusters = listOf() private val mappingFieldToTypePairs1 = listOf(