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

Beats licenser should query the _license endpoint instead of the xpack/_license. #15090

Closed
ph opened this issue Dec 12, 2019 · 0 comments · Fixed by #15091
Closed

Beats licenser should query the _license endpoint instead of the xpack/_license. #15090

ph opened this issue Dec 12, 2019 · 0 comments · Fixed by #15091
Assignees
Labels
bug Team:Integrations Label for the Integrations team

Comments

@ph
Copy link
Contributor

ph commented Dec 12, 2019

The licenser code is still querying the old API endpoint located at _xpack/license instead of querying the new endpoint located at _license and that endpoint doesn't return the features anymore so we can remove that parsing from the code.

https://www.elastic.co/guide/en/elasticsearch/reference/current/get-license.html

To retrieve the features we need to do another call to the server on _xpack/ but we are not currently using it so I think we can remove it for now to reduce the number of calls.

https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants