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

Remove deprecated endpoints of hot threads API #55109

Merged
merged 5 commits into from
Apr 14, 2020

Conversation

muachilin
Copy link
Contributor

This PR proceeds to remove deprecated endpoints in hot threads action.

[issue: #52640]

Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@nik9000 nik9000 added the :Core/Infra/REST API REST infrastructure and utilities label Apr 13, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/REST API)

@nik9000 nik9000 added the v8.0.0 label Apr 13, 2020
@nik9000
Copy link
Member

nik9000 commented Apr 13, 2020

@elasticmachine, test this please.

@jasontedor, do you think this is worth a line in the breaking changes list? We never documented these in the first place but it'd be a kind thing to do I think.

@jasontedor
Copy link
Member

Yes, we should add a note to the breaking changes docs. While these endpoints were not documented in the reference docs, they are in the REST spec. Also, we try to document when we break other things we don’t document, for example, the recent removal of the undocumented node.local_storage setting.

@nik9000
Copy link
Member

nik9000 commented Apr 13, 2020

Yes, we should add a note to the breaking changes docs. While these endpoints were not documented in the reference docs, they are in the REST spec. Also, we try to document when we break other things we don’t document, for example, the recent removal of the undocumented node.local_storage setting.

+1

@muachilin, would you like to add an update to docs/reference/release-notes/8.0.0-alpha1.asciidoc for the breaking change? I'd be happy to do it if you don't find it obvious what to add.

Also, it looks like there is a checkstyle error. Could you fix it?

RestNodesHotThreadsAction.java:37:8: Unused import - java.util.Locale. [UnusedImports]

Somthing like:

./gradlew -p server precommit && ./gradlew -p server check

would probably be worth doing on this locally.

@muachilin
Copy link
Contributor Author

@elasticmachine update branch

@nik9000
Copy link
Member

nik9000 commented Apr 14, 2020

@elasticmachine, test this please.

@nik9000
Copy link
Member

nik9000 commented Apr 14, 2020

I think this is good! I'm going to merge.

@nik9000 nik9000 merged commit db1236c into elastic:master Apr 14, 2020
@nik9000
Copy link
Member

nik9000 commented Apr 14, 2020

Thanks @muachilin !

@muachilin
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>breaking :Core/Infra/REST API REST infrastructure and utilities v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants