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

HLRC support for Component Templates APIs #54635

Merged
merged 20 commits into from
Apr 6, 2020

Conversation

probakowski
Copy link
Contributor

This change adds High Level Rest Client support for Component Templates.

Relates to #53101

Added >non-issue label as component templates are still behind feature flag

@probakowski probakowski added >non-issue :Data Management/Indices APIs APIs to create and manage indices and templates v8.0.0 v7.8.0 labels Apr 2, 2020
@probakowski probakowski requested review from dakrone and martijnvg April 2, 2020 11:21
@elasticmachine
Copy link
Collaborator

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

@martijnvg martijnvg mentioned this pull request Apr 2, 2020
39 tasks
@probakowski
Copy link
Contributor Author

@elasticmachine update branch

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @probakowski, I left some comments, in particular, I'm curious why we have some many different types of parsing options for ComponentTemplate (the source methods), I think maybe instead it would be better to stick with providing a fully-built ComponentTemplate object, and optionally providing a builder for a ComponentTemplate (in the ComponentTemplate class itself) if we want to be friendlier

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I left one more minor comment about which class to implement for the request

@probakowski
Copy link
Contributor Author

@elasticmachine update branch

@probakowski
Copy link
Contributor Author

@elasticmachine update branch

@probakowski probakowski merged commit ad8590e into elastic:master Apr 6, 2020
@probakowski probakowski deleted the hlrc-component-template branch April 6, 2020 16:52
probakowski added a commit to probakowski/elasticsearch that referenced this pull request Apr 6, 2020
* HLRC support for Component Templates

* hlrc

* hlrc

* merge fix

* removed unused import

* checkstyle fixes

* metaData -> metadata

* move to ClusterClient

* checkstyle fixes

* checkstyle fixes

* checkstyle fixes

* method in spec fixed

* PR comments

* PR comments

* PR comments

* unused imports fixed

* review comment

Co-authored-by: Elastic Machine <[email protected]>
probakowski added a commit that referenced this pull request Apr 6, 2020
* HLRC support for Component Templates APIs (#54635)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Indices APIs APIs to create and manage indices and templates >non-issue v7.8.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants