2727public class RestTestLegacyFeatures implements FeatureSpecification {
2828 public static final NodeFeature ML_STATE_RESET_FALLBACK_ON_DISABLED = new NodeFeature ("ml.state_reset_fallback_on_disabled" );
2929 @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
30- public static final NodeFeature FEATURE_STATE_RESET_SUPPORTED = new NodeFeature ("system_indices.feature_state_reset_supported" );
31- public static final NodeFeature SYSTEM_INDICES_REST_ACCESS_ENFORCED = new NodeFeature ("system_indices.rest_access_enforced" );
32- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
33- public static final NodeFeature SYSTEM_INDICES_REST_ACCESS_DEPRECATED = new NodeFeature ("system_indices.rest_access_deprecated" );
34- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
35- public static final NodeFeature HIDDEN_INDICES_SUPPORTED = new NodeFeature ("indices.hidden_supported" );
36- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
3730 public static final NodeFeature COMPONENT_TEMPLATE_SUPPORTED = new NodeFeature ("indices.component_template_supported" );
38- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
39- public static final NodeFeature DELETE_TEMPLATE_MULTIPLE_NAMES_SUPPORTED = new NodeFeature (
40- "indices.delete_template_multiple_names_supported"
41- );
4231 public static final NodeFeature ML_NEW_MEMORY_FORMAT = new NodeFeature ("ml.new_memory_format" );
43- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
44- public static final NodeFeature SUPPORTS_VENDOR_XCONTENT_TYPES = new NodeFeature ("rest.supports_vendor_xcontent_types" );
45- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
46- public static final NodeFeature SUPPORTS_TRUE_BINARY_RESPONSES = new NodeFeature ("rest.supports_true_binary_responses" );
4732
4833 /** These are "pure test" features: normally we would not need them, and test for TransportVersion/fallback to Version (see for example
4934 * {@code ESRestTestCase#minimumTransportVersion()}. However, some tests explicitly check and validate the content of a response, so
@@ -61,21 +46,6 @@ public class RestTestLegacyFeatures implements FeatureSpecification {
6146 public static final NodeFeature DESIRED_NODE_API_SUPPORTED = new NodeFeature ("desired_node_supported" );
6247 public static final NodeFeature SECURITY_UPDATE_API_KEY = new NodeFeature ("security.api_key_update" );
6348 public static final NodeFeature SECURITY_BULK_UPDATE_API_KEY = new NodeFeature ("security.api_key_bulk_update" );
64- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
65- public static final NodeFeature WATCHES_VERSION_IN_META = new NodeFeature ("watcher.version_in_meta" );
66- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
67- public static final NodeFeature SECURITY_ROLE_DESCRIPTORS_OPTIONAL = new NodeFeature ("security.role_descriptors_optional" );
68- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
69- public static final NodeFeature SEARCH_AGGREGATIONS_FORCE_INTERVAL_SELECTION_DATE_HISTOGRAM = new NodeFeature (
70- "search.aggregations.force_interval_selection_on_date_histogram"
71- );
72- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
73- public static final NodeFeature TRANSFORM_NEW_API_ENDPOINT = new NodeFeature ("transform.new_api_endpoint" );
74- // Ref: https://github.com/elastic/elasticsearch/pull/65205
75- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
76- public static final NodeFeature ML_INDICES_HIDDEN = new NodeFeature ("ml.indices_hidden" );
77- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
78- public static final NodeFeature ML_ANALYTICS_MAPPINGS = new NodeFeature ("ml.analytics_mappings" );
7949
8050 public static final NodeFeature TSDB_NEW_INDEX_FORMAT = new NodeFeature ("indices.tsdb_new_format" );
8151 public static final NodeFeature TSDB_GENERALLY_AVAILABLE = new NodeFeature ("indices.tsdb_supported" );
@@ -104,14 +74,10 @@ public class RestTestLegacyFeatures implements FeatureSpecification {
10474 @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
10575 public static final NodeFeature REPLICATION_OF_CLOSED_INDICES = new NodeFeature ("indices.closed_replication_supported" );
10676 @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
107- public static final NodeFeature TASK_INDEX_SYSTEM_INDEX = new NodeFeature ("tasks.moved_to_system_index" );
108- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
10977 public static final NodeFeature SOFT_DELETES_ENFORCED = new NodeFeature ("indices.soft_deletes_enforced" );
11078 @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
11179 public static final NodeFeature NEW_TRANSPORT_COMPRESSED_SETTING = new NodeFeature ("transport.new_compressed_setting" );
11280 @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
113- public static final NodeFeature SHUTDOWN_SUPPORTED = new NodeFeature ("shutdown.supported" );
114- @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
11581 public static final NodeFeature SERVICE_ACCOUNTS_SUPPORTED = new NodeFeature ("auth.service_accounts_supported" );
11682 @ UpdateForV9 (owner = UpdateForV9 .Owner .CORE_INFRA )
11783 public static final NodeFeature TRANSFORM_SUPPORTED = new NodeFeature ("transform.supported" );
@@ -140,27 +106,14 @@ public class RestTestLegacyFeatures implements FeatureSpecification {
140106 @ Override
141107 public Map <NodeFeature , Version > getHistoricalFeatures () {
142108 return Map .ofEntries (
143- entry (FEATURE_STATE_RESET_SUPPORTED , Version .V_7_13_0 ),
144- entry (SYSTEM_INDICES_REST_ACCESS_ENFORCED , Version .V_8_0_0 ),
145- entry (SYSTEM_INDICES_REST_ACCESS_DEPRECATED , Version .V_7_10_0 ),
146- entry (HIDDEN_INDICES_SUPPORTED , Version .V_7_7_0 ),
147109 entry (COMPONENT_TEMPLATE_SUPPORTED , Version .V_7_8_0 ),
148- entry (DELETE_TEMPLATE_MULTIPLE_NAMES_SUPPORTED , Version .V_7_13_0 ),
149110 entry (ML_STATE_RESET_FALLBACK_ON_DISABLED , Version .V_8_7_0 ),
150111 entry (SECURITY_UPDATE_API_KEY , Version .V_8_4_0 ),
151112 entry (SECURITY_BULK_UPDATE_API_KEY , Version .V_8_5_0 ),
152113 entry (ML_NEW_MEMORY_FORMAT , Version .V_8_11_0 ),
153- entry (SUPPORTS_VENDOR_XCONTENT_TYPES , Version .V_7_11_0 ),
154- entry (SUPPORTS_TRUE_BINARY_RESPONSES , Version .V_7_7_0 ),
155114 entry (TRANSPORT_VERSION_SUPPORTED , VERSION_INTRODUCING_TRANSPORT_VERSIONS ),
156115 entry (STATE_REPLACED_TRANSPORT_VERSION_WITH_NODES_VERSION , Version .V_8_11_0 ),
157116 entry (ML_MEMORY_OVERHEAD_FIXED , Version .V_8_2_1 ),
158- entry (WATCHES_VERSION_IN_META , Version .V_7_13_0 ),
159- entry (SECURITY_ROLE_DESCRIPTORS_OPTIONAL , Version .V_7_3_0 ),
160- entry (SEARCH_AGGREGATIONS_FORCE_INTERVAL_SELECTION_DATE_HISTOGRAM , Version .V_7_2_0 ),
161- entry (TRANSFORM_NEW_API_ENDPOINT , Version .V_7_5_0 ),
162- entry (ML_INDICES_HIDDEN , Version .V_7_7_0 ),
163- entry (ML_ANALYTICS_MAPPINGS , Version .V_7_3_0 ),
164117 entry (REST_ELASTIC_PRODUCT_HEADER_PRESENT , Version .V_8_0_1 ),
165118 entry (DESIRED_NODE_API_SUPPORTED , Version .V_8_1_0 ),
166119 entry (TSDB_NEW_INDEX_FORMAT , Version .V_8_2_0 ),
@@ -173,10 +126,8 @@ public Map<NodeFeature, Version> getHistoricalFeatures() {
173126 entry (INDEXING_SLOWLOG_LEVEL_SETTING_REMOVED , Version .V_8_0_0 ),
174127 entry (DEPRECATION_WARNINGS_LEAK_FIXED , Version .V_7_17_9 ),
175128 entry (REPLICATION_OF_CLOSED_INDICES , Version .V_7_2_0 ),
176- entry (TASK_INDEX_SYSTEM_INDEX , Version .V_7_10_0 ),
177129 entry (SOFT_DELETES_ENFORCED , Version .V_8_0_0 ),
178130 entry (NEW_TRANSPORT_COMPRESSED_SETTING , Version .V_7_14_0 ),
179- entry (SHUTDOWN_SUPPORTED , Version .V_7_15_0 ),
180131 entry (SERVICE_ACCOUNTS_SUPPORTED , Version .V_7_13_0 ),
181132 entry (TRANSFORM_SUPPORTED , Version .V_7_2_0 ),
182133 entry (SLM_SUPPORTED , Version .V_7_4_0 ),
0 commit comments