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

Add node id to _cat apis #10246

Closed
wants to merge 4 commits into from
Closed

Conversation

lmenezes
Copy link
Contributor

this addresses #10226 and also adds node id to _cat/segments and _cat/plugins.

/cc @drewr @javanna

@lmenezes
Copy link
Contributor Author

new CLA?

type .+ \n
url .+ \n
description .+ \n
$/
Copy link
Member

Choose a reason for hiding this comment

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

thanks!!!

@javanna javanna self-assigned this Mar 25, 2015
@@ -77,6 +77,7 @@ public RestResponse buildResponse(final NodesInfoResponse nodesInfoResponse) thr
Table getTableWithHeader(final RestRequest request) {
Table table = new Table();
table.startHeaders();
table.addCell("id", "alias:i;default:false;desc:unique node id");
Copy link
Member

Choose a reason for hiding this comment

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

maybe we want to drop the i alias here and be consistent with the other cat apis? id seems short enough already no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sounds good :)

@javanna
Copy link
Member

javanna commented Mar 25, 2015

looks good @lmenezes I left a small comment, if you can address that I will get this in.

@lmenezes
Copy link
Contributor Author

@javanna done. if you want me to rebase and squash it, let me know :)

@javanna
Copy link
Member

javanna commented Mar 25, 2015

Thanks @lmenezes merged!

@javanna javanna closed this Mar 25, 2015
@lmenezes
Copy link
Contributor Author

@javanna great, thanks :)

@clintongormley clintongormley changed the title add node id to _cat apis Add node id to _cat apis Jun 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants