-
Notifications
You must be signed in to change notification settings - Fork 25k
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
HLRC support for Component Templates APIs #54635
Conversation
Pinging @elastic/es-core-features (:Core/Features/Indices APIs) |
@elasticmachine update branch |
There was a problem hiding this 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
client/rest-high-level/src/main/java/org/elasticsearch/client/ClusterClient.java
Outdated
Show resolved
Hide resolved
...igh-level/src/main/java/org/elasticsearch/client/indices/ComponentTemplatesExistRequest.java
Outdated
Show resolved
Hide resolved
...high-level/src/main/java/org/elasticsearch/client/indices/GetComponentTemplatesResponse.java
Show resolved
Hide resolved
...high-level/src/main/java/org/elasticsearch/client/indices/GetComponentTemplatesResponse.java
Outdated
Show resolved
Hide resolved
...t-high-level/src/main/java/org/elasticsearch/client/indices/PutComponentTemplateRequest.java
Outdated
Show resolved
Hide resolved
...t-high-level/src/main/java/org/elasticsearch/client/indices/PutComponentTemplateRequest.java
Outdated
Show resolved
Hide resolved
...t-high-level/src/main/java/org/elasticsearch/client/indices/PutComponentTemplateRequest.java
Outdated
Show resolved
Hide resolved
...t-high-level/src/main/java/org/elasticsearch/client/indices/PutComponentTemplateRequest.java
Outdated
Show resolved
Hide resolved
...t-high-level/src/main/java/org/elasticsearch/client/indices/PutComponentTemplateRequest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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
...t-high-level/src/main/java/org/elasticsearch/client/indices/PutComponentTemplateRequest.java
Outdated
Show resolved
Hide resolved
@elasticmachine update branch |
@elasticmachine update branch |
* 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]>
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