Rename template V2 classes to ComposableTemplate (#57183)

This PR changes the name of the Index Template V2 classes to "Composable Templates", it also ensures there are no mentions of "V2" in the documentation or error/warning messages. V1 templates are referred to as "legacy" templates.

Resolves #56609
This commit is contained in:
Lee Hinman 2020-05-27 09:32:10 -06:00 committed by GitHub
parent aed2119fed
commit 4dc32611fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 598 additions and 561 deletions

View file

@ -5,12 +5,12 @@
--
[id="{upid}-{api}"]
=== Delete Index Template V2 API
=== Delete Composable Index Template API
[id="{upid}-{api}-request"]
==== Request
The Delete Index Template V2 API allows you to delete an index template.
The Delete Composable Index Template API allows you to delete an index template.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------

View file

@ -5,12 +5,12 @@
--
[id="{upid}-{api}"]
=== Get Index Templates V2 API
=== Get Composable Index Templates API
The Get Index Templates API allows to retrieve information about one or more index templates.
[id="{upid}-{api}-request"]
==== Get Index Templates V2 Request
==== Get Composable Index Templates Request
A +{request}+ specifies one, or a wildcard expression of index template names
to get. To return all index templates, omit the name altogether or use a value of `*`.

View file

@ -5,10 +5,10 @@
--
[id="{upid}-{api}"]
=== Put Index Template V2 API
=== Put Composable Index Template API
[id="{upid}-{api}-request"]
==== Put Index Template V2 Request
==== Put Composable Index Template Request
A +{request}+ specifies the `name` of a template and the index template configuration
which consists of the `patterns` that control whether the template should be applied
@ -108,7 +108,7 @@ include-tagged::{doc-tests-file}[{api}-request-masterTimeout]
include::../execution.asciidoc[]
[id="{upid}-{api}-response"]
==== Put Index Template V2 Response
==== Put Composable Index Template Response
The returned +{response}+ allows to retrieve information about the
executed operation as follows:

View file

@ -28,7 +28,7 @@ include::../execution.asciidoc[]
The returned +{response}+ includes a resolved `Template` object containing
the resolved settings, mappings and aliases of the index template that matched
and would be applied to the index with the provided name (if any). It will
also return a `Map` of index templates (both V1 and V2) names and their
also return a `Map` of index templates (both legacy and composable) names and their
corresponding index patterns:
["source","java",subs="attributes,callouts,macros"]