-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add SLM Start/Stop/Status APIs #4245
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
Conversation
…ctly in generator.
src/CodeGeneration/ApiGenerator/RestSpecification/XPack/slm.get_status.json
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.
Looks like there are some failing integration tests
|
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've left some comments.
I think the Slm
in type names should be expanded out to SnapshotLifecycle
, to match the other existing SLM APIs released. I think the shortened method names are fine, as they are namespaced and reflect the names in the spec.
src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.SnapshotLifecycleManagement.cs
Outdated
Show resolved
Hide resolved
src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.SnapshotLifecycleManagement.cs
Outdated
Show resolved
Hide resolved
src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.SnapshotLifecycleManagement.cs
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.
We had a conversation about whether the types should be SnapshotLifecycle*
or SnapshotLifecycleManagement*
for start, stop and status APIs. We agreed that including Management
was probably a good idea in this instance, as the APIs relate to the plugin as a whole.
(cherry picked from commit d4c6b80)
Ported to |
No description provided.