Skip to content

HLRC support for Component Templates APIs#54635

Merged
probakowski merged 20 commits intoelastic:masterfrom
probakowski:hlrc-component-template
Apr 6, 2020
Merged

HLRC support for Component Templates APIs#54635
probakowski merged 20 commits intoelastic:masterfrom
probakowski:hlrc-component-template

Conversation

@probakowski
Copy link
Copy Markdown
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 DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. 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
Copy Markdown
Collaborator

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

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

@elasticmachine update branch

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@elasticmachine update branch

@probakowski
Copy link
Copy Markdown
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 <elasticmachine@users.noreply.github.com>
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 DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. >non-issue v7.8.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants