OpenSearch/modules
Gordon Brown 5c8b0662df
Deprecate REST access to System Indices (#63274) (Original #60945)
This PR adds deprecation warnings when accessing System Indices via the REST layer. At this time, these warnings are only enabled for Snapshot builds by default, to allow projects external to Elasticsearch additional time to adjust their access patterns.

Deprecation warnings will be triggered by all REST requests which access registered System Indices, except for purpose-specific APIs which access System Indices as an implementation detail a few specific APIs which will continue to allow access to system indices by default:

- `GET _cluster/health`
- `GET {index}/_recovery`
- `GET _cluster/allocation/explain`
- `GET _cluster/state`
- `POST _cluster/reroute`
- `GET {index}/_stats`
- `GET {index}/_segments`
- `GET {index}/_shard_stores`
- `GET _cat/[indices,aliases,health,recovery,shards,segments]`

Deprecation warnings for accessing system indices take the form:
```
this request accesses system indices: [.some_system_index], but in a future major version, direct access to system indices will be prevented by default
```
2020-10-06 13:41:40 -06:00
..
aggs-matrix-stats Only call reduce on a single InternalAggregation when needed (#62525) (#62594) 2020-09-18 08:43:58 +02:00
analysis-common Do not create two loggers for DeprecationLogger backport(#58435) (#61530) 2020-08-26 16:04:02 +02:00
geo Add search `fields` parameter to support high-level field retrieval. (#60258) 2020-07-28 10:58:20 -07:00
ingest-common [7.x] Allow_duplicates option for append processor (#61916) (#63257) 2020-10-06 09:03:47 -05:00
ingest-geoip [7.x] Add network from MaxMind Geo ASN database (#61676) (#62898) 2020-10-01 11:01:44 -05:00
ingest-user-agent Do not create two loggers for DeprecationLogger backport(#58435) (#61530) 2020-08-26 16:04:02 +02:00
kibana Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
lang-expression Upgrade to Lucene-8.7.0-snapshot-77396dbf339 (#63222) 2020-10-05 14:39:30 -04:00
lang-mustache Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
lang-painless Scripting: enable regular expressions by default (#63029) (#63272) 2020-10-05 13:17:47 -05:00
mapper-extras Remove MapperService argument from IndexFieldData.Builder#build (#63197) (#63311) 2020-10-06 15:04:23 +02:00
parent-join Move FieldMapper#valueFetcher to MappedFieldType (#62974) (#63220) 2020-10-04 14:54:59 +01:00
percolator Remove MapperService argument from IndexFieldData.Builder#build (#63197) (#63311) 2020-10-06 15:04:23 +02:00
rank-eval Optimize XContentParserUtils.ensureExpectedToken (#62691) (#63253) 2020-10-05 19:08:32 +02:00
reindex Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
repository-url [7.x] Introduce javaRestTest source set/task and convert modules (#59939) (#60026) 2020-07-28 08:39:11 -05:00
systemd [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
transport-netty4 Transfer network bytes to smaller buffer (#62673) 2020-10-01 10:39:24 -06:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00