-
Notifications
You must be signed in to change notification settings - Fork 25.2k
HLRC: Add ILM Retry #33990
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: Add ILM Retry #33990
Conversation
* Relates elastic#33100
Pinging @elastic/es-core-infra |
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.
I dont see any docs or request converter tests. I understand that you wouldn't need to do response tests since there is no response. Other than that, it looks good.
@@ -690,6 +692,19 @@ static Request explainLifecycle(ExplainLifecycleRequest explainLifecycleRequest) | |||
return request; | |||
} | |||
|
|||
static Request retryLifecycle(RetryLifecyclePolicyRequest retryLifecyclePolicyRequest) { |
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.
These should be in some IndexLifecycleRequestConverters class. i dont think it exists yet.
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.
Yeah, ILM stuff hasn't been moved to a separate RequestConverters class yet. I'd say this is okay for this PR since we'll do a mass move at some point before merging anyway.
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.
works for me
@@ -1075,6 +1090,11 @@ EndpointBuilder addCommaSeparatedPathParts(String[] parts) { | |||
return this; | |||
} | |||
|
|||
EndpointBuilder addCommaSeparatedPathParts(List<String> parts) { |
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.
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.
I just added this to save a toArray()
call here, seemed cleaner to just add that API, but I don't have a strong opinion here :)
@hub-cap added request converter test :) |
@original-brownbear have a look at the other PRs. They add a asciidoc page as well as a DocumentationIT test to back the asciidoc for the API. |
@hub-cap got it thanks, will add docs shortly :) |
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
@hub-cap I agree with you re docs, but ILM is lacking on that front in general, and I have a task to fix that. So, I will continue with HLRC ILM docs outside of this PR
as long as yall do it, im fine not blocking this. |
thanks @original-brownbear, we're looking into it |
@talevy seems you guys fixed it thanks green now after merging in |
* HLRC: Add ILM Retry * Relates #33100
Uh oh!
There was an error while loading. Please reload this page.