OpenSearch/rest-api-spec/test/delete
Simon Willnauer 15d58d91f1 [REST] Render REST errors in a structural way
This commit adds support for structural errors / failures / exceptions
on the elasticsearch REST layer. Exceptions are rendering with at least
a `type` and a `reason` corresponding to the exception name and the message.
Some expcetions like the ones associated with an index or a shard will have
additional information about the index the exception was triggered on or the
shard respectivly.

Each rendered response will also contain a list of root causes which is a list
of distinct shard level errors returned for the request. Root causes are the lowest
level elasticsearch exception found per shard response and are intended to be displayed
to the user to indicate the soruce of the exception.

Shard level response are by-default grouped by their type and reason to reduce the amount
of duplicates retunred. Yet, the same exception retunred from different indices will not be
grouped.

Closes #3303
2015-04-24 09:36:10 +02:00
..
10_basic.yaml Remove hard-coded "ok": true from REST responses 2014-01-07 09:27:07 -07:00
11_shard_header.yaml Core: Added `_shards` header to all write responses. 2015-01-08 18:10:08 +01:00
20_internal_version.yaml Renamed "ok" and "not_ok" to "is_true" and "is_false" 2013-07-01 15:58:23 +02:00
25_external_version.yaml Renamed "ok" and "not_ok" to "is_true" and "is_false" 2013-07-01 15:58:23 +02:00
26_external_gte_version.yaml Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
27_force_version.yaml Introduced VersionType.FORCE & VersionType.EXTERNAL_GTE 2014-03-10 21:07:17 +01:00
30_routing.yaml [TEST] Replaced RestTestSuiteRunner with parametrized test that uses RandomizedRunner directly 2014-04-07 17:08:05 +02:00
40_parent.yaml [TEST] Replaced RestTestSuiteRunner with parametrized test that uses RandomizedRunner directly 2014-04-07 17:08:05 +02:00
42_missing_parent.yml [REST] Render REST errors in a structural way 2015-04-24 09:36:10 +02:00
45_parent_with_routing.yaml [TEST] Replaced RestTestSuiteRunner with parametrized test that uses RandomizedRunner directly 2014-04-07 17:08:05 +02:00
50_refresh.yaml Switch to murmurhash3 to route documents to shards. 2014-11-04 16:32:42 +01:00
60_missing.yaml Changed the `ignore_missing` client parameter to `ignore: 404` 2013-09-09 23:36:45 +02:00
TODO.txt Remove async replication from the docs and REST spec 2015-03-19 15:34:12 +01:00