OpenSearch/docs/reference/cluster
Nik Everett 4b1c116461 Generate and run tests from the docs
Adds infrastructure so `gradle :docs:check` will extract tests from
snippets in the documentation and execute the tests. This is included
in `gradle check` so it should happen on CI and during a normal build.

By default each `// AUTOSENSE` snippet creates a unique REST test. These
tests are executed in a random order and the cluster is wiped between
each one. If multiple snippets chain together into a test you can annotate
all snippets after the first with `// TEST[continued]` to have the
generated tests for both snippets joined.

Snippets marked as `// TESTRESPONSE` are checked against the response
of the last action.

See docs/README.asciidoc for lots more.

Closes #12583. That issue is about catching bugs in the docs during build.
This catches *some* bugs in the docs during build which is a good start.
2016-05-05 13:58:03 -04:00
..
allocation-explain.asciidoc Add documentation for shard store output in allocation explain API 2016-05-03 09:51:15 -06:00
health.asciidoc Added desc for parameter <local> 2015-12-11 22:26:33 -02:00
nodes-hot-threads.asciidoc Core: ignore known idle threads by default in /_nodes/hot_threads 2014-12-17 11:59:31 -05:00
nodes-info.asciidoc Added ingest info to node info API, which contains a list of available processors. 2016-03-07 14:44:50 +01:00
nodes-stats.asciidoc Added ingest statistics to node stats API 2016-03-10 13:21:43 +01:00
pending.asciidoc Update task management docs to reflect the latest changes in the interface 2016-03-29 12:26:37 -04:00
reroute.asciidoc Extend reroute with an option to force assign stale primary shard copies 2016-01-19 12:07:01 +01:00
state.asciidoc Cluster State API: Remove index template filtering 2014-05-05 14:54:14 +02:00
stats.asciidoc Add up-to-date example of cluster stats API output 2016-03-31 14:41:37 +02:00
tasks.asciidoc Generate and run tests from the docs 2016-05-05 13:58:03 -04:00
update-settings.asciidoc Clarification about precedence of settings 2016-03-10 14:29:51 +01:00