Skip to content

Conversation

masseyke
Copy link
Member

This is the first of a handful of PRs that will result in the addition of component template substitutions support to the simulate ingest API. See the draft PR at #112762 for the full idea.
This PR adds two methods to the BulkRequest API that will be used by the component template substitution code -- getComponentTemplateSubstitutions() and shallowClone(). Both will be used in a future update to TransportAbstractBulkAction.
The next PR will add the transport changes to take advantage of these changes, and the final one will add the full documentation and rest-level testing (this PR updates RestSimulateIngestAction to pass the new SimulateBulkRequest constructor arg in order to compile, but there is no actual additional functionality at the rest layer).

@masseyke masseyke added backport v8.16.0 auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Sep 17, 2024
@elasticsearchmachine elasticsearchmachine merged commit e26fe9f into elastic:8.x Sep 19, 2024
15 checks passed
@masseyke masseyke deleted the backport/8.x/pr-112957 branch September 19, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants