Skip to content

[8.19] Fix cluster.put_component_template API (#5370)#5833

Merged
pquentin merged 2 commits into8.19from
backport/8.19/pr-5370
Jan 5, 2026
Merged

[8.19] Fix cluster.put_component_template API (#5370)#5833
pquentin merged 2 commits into8.19from
backport/8.19/pr-5370

Conversation

@pquentin
Copy link
Member

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

* Fix cluster.put_component_template API

* Revert "Fix cluster.put_component_template API"

This reverts commit 69c9eee.

* Properly use `DataStreamOptions` and fix `cluster.put_component_template`

* Also use `IndexTemplateMapping` in `IndicesSimulateIndexTemplateRequest`

* Allow `null` for `data_stream_options`

* Revert "Also use `IndexTemplateMapping` in `IndicesSimulateIndexTemplateRequest`"

This reverts commit 85a3def.

---------

Co-authored-by: Niels Bauman <nielsbauman@gmail.com>
Co-authored-by: Mary Gouseti <mary.gouseti@elastic.co>
(cherry picked from commit 1cd36d6)

# Conflicts:
#	output/openapi/elasticsearch-openapi.json
#	output/openapi/elasticsearch-serverless-openapi.json
#	output/schema/schema.json
@github-actions
Copy link
Contributor

Following you can find the validation changes against the target branch for the APIs.

API Status Request Response
cluster.put_component_template 🔴 22/30 → 26/30 30/30
indices.put_index_template 🔴 110/138 → 131/138 138/138

You can validate these APIs yourself by using the make validate target.

@pquentin pquentin merged commit 2bef580 into 8.19 Jan 5, 2026
9 checks passed
@pquentin pquentin deleted the backport/8.19/pr-5370 branch January 5, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant