OpenSearch/qa
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
..
ccs-unavailable-clusters Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
die-with-dignity [7.x] Fix projects that failed to build within Intellij (#62258) (#62408) 2020-09-17 17:45:12 -05:00
evil-tests Add data.path fast path for FilePermission (#61302) 2020-09-01 12:03:22 -06:00
full-cluster-restart Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
logging-config Implement deprecation logging using log4j (#61629) 2020-08-31 12:42:04 +01:00
mixed-cluster Use services for archive and file operations in tasks (#62968) (#63201) 2020-10-05 15:52:15 +02:00
multi-cluster-search Merge test runner task into RestIntegTest (7.x backport) (#60600) 2020-08-04 14:46:32 +02:00
no-bootstrap-tests Prevent unexpected native controller output hanging the process (#56685) 2020-05-13 22:57:00 +01:00
os Switch bundled jdk back to Oracle JDK (#63288) (#63290) 2020-10-05 16:31:10 -07:00
remote-clusters Replace immediate task creations by using task avoidance api (#60071) (#60504) 2020-07-31 13:09:04 +02:00
repository-multi-version Use services for archive and file operations in tasks (#62968) (#63201) 2020-10-05 15:52:15 +02:00
rolling-upgrade Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
smoke-test-client Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
smoke-test-http Deprecate REST access to System Indices (#63274) (Original #60945) 2020-10-06 13:41:40 -06:00
smoke-test-ingest-disabled 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
smoke-test-ingest-with-all-dependencies 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
smoke-test-multinode Merge test runner task into RestIntegTest (7.x backport) (#60600) 2020-08-04 14:46:32 +02:00
smoke-test-plugins Simplify adding plugins and modules to testclusters (#61886) 2020-09-03 19:37:46 -07:00
translog-policy Merge test runner task into RestIntegTest (7.x backport) (#60600) 2020-08-04 14:46:32 +02:00
unconfigured-node-name Merge test runner task into RestIntegTest (7.x backport) (#60600) 2020-08-04 14:46:32 +02:00
verify-version-constants Merge test runner task into RestIntegTest (7.x backport) (#60600) 2020-08-04 14:46:32 +02:00
wildfly Replace immediate task creations by using task avoidance api (#60071) (#60504) 2020-07-31 13:09:04 +02:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00