You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecate /_xpack/monitoring/* in favor of /monitoring/*
This commit is part of our plan to deprecate and ultimately remove the
use of _xpack in the REST APIs.
* Add deprecation for /_xpack/monitoring/* in favor of /monitoring/*
* Removed xpack from the rest-api-spec and tests
* Removed xpack from the Action name
* Removed MonitoringRestHandler as an unnecessary abstraction
* Minor corrections to comments
Relates elastic#35958
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/monitoring/exporter/MonitoringTemplateUtils.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ public final class MonitoringTemplateUtils {
35
35
*/
36
36
publicstaticfinalStringTEMPLATE_VERSION = "6";
37
37
/**
38
-
* The previous version of templates, which we still support via the REST _xpack/monitoring/_bulk endpoint because
38
+
* The previous version of templates, which we still support via the REST /monitoring/_bulk endpoint because
Copy file name to clipboardExpand all lines: x-pack/plugin/monitoring/src/main/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkAction.java
Copy file name to clipboardExpand all lines: x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/cleaner/AbstractIndicesCleanerTestCase.java
+1-2
Original file line number
Diff line number
Diff line change
@@ -74,8 +74,7 @@ public void testDoesNotIgnoreIndicesInOtherVersions() throws Exception {
Copy file name to clipboardExpand all lines: x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/exporter/local/LocalExporterIntegTests.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ public void testExport() throws Exception {
84
84
indexRandom(true, indexRequestBuilders);
85
85
}
86
86
87
-
// start the monitoring service so that _xpack/monitoring/_bulk is not ignored
87
+
// start the monitoring service so that /monitoring/_bulk is not ignored
Copy file name to clipboardExpand all lines: x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/rest/action/RestMonitoringBulkActionTests.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ public class RestMonitoringBulkActionTests extends ESTestCase {
0 commit comments