Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] Add ComponentTemplate to MetaData (#53290) #53489

Merged
merged 3 commits into from
Mar 12, 2020

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Mar 12, 2020

Backports the following commits to 7.x:

* Add ComponentTemplate to MetaData

This adds a `ComponentTemplate` datastructure that will be used as part of elastic#53101 (Index Templates
v2) to the `MetaData` class. Currently there are no APIs for interacting with this class, so it will
always be an empty map (other than in tests). This infrastructure will be built upon to add APIs in
a subsequent commit.

A `ComponentTemplate` is made up of a `Template`, a version, and a MetaData.Custom class. The
`Template` contains similar information to an `IndexTemplateMetaData` object— settings, mappings,
and alias configuration.
@dakrone dakrone added backport :Data Management/Indices APIs APIs to create and manage indices and templates v7.7.0 labels Mar 12, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Indices APIs)

@dakrone
Copy link
Member Author

dakrone commented Mar 12, 2020

@elasticmachine update branch

dakrone added a commit to dakrone/elasticsearch that referenced this pull request Mar 12, 2020
dakrone added a commit to dakrone/elasticsearch that referenced this pull request Mar 12, 2020
This disables the BWC tests for the ComponentTemplateMetadata class added in elastic#53290 and elastic#53489
dakrone added a commit that referenced this pull request Mar 12, 2020
This disables the BWC tests for the ComponentTemplateMetadata class added in #53290 and #53489
@dakrone dakrone merged commit 2789fe4 into elastic:7.x Mar 12, 2020
@dakrone dakrone deleted the backport/7.x/pr-53290 branch March 12, 2020 21:33
dakrone added a commit that referenced this pull request Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Data Management/Indices APIs APIs to create and manage indices and templates v7.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants