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 xpack setting deprecations to deprecation API #56290

Conversation

williamrandolph
Copy link
Contributor

@williamrandolph williamrandolph commented May 6, 2020

The deprecated settings showed up in the deprecation log file by default, but I did not add them to the deprecation API. This commit fixes that. Now if you use one of the deprecated basic feature enablement settings, calling _monitoring/deprecations will inform you of that fact.

I believe that this takes care of hooking these changes into the upgrade assistant in Kibana. That is, I verified that the upgrade assistant flags these deprecated settings. But if there is more that I need to do, please let me know.

Meta issue: #54745

EDIT: We are considering this small, targeted change to be a bugfix for the purposes of the 7.8.0 release

The deprecated settings showed up in the deprecation log file by
default, but I did not add them to the deprecation API. This commit
fixes that. Now if you use one of the deprecated basic feature
enablement settings, calling _monitoring/deprecations will inform you of
that fact.
@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label May 6, 2020
@rjernst rjernst requested a review from gwbrown May 6, 2020 17:27
It seems that I backported these docs to the wrong place in elastic#56061,
in elastic#55980, and in elastic#56167. I hope they're in the right place now.
Copy link
Contributor

@gwbrown gwbrown left a comment

Choose a reason for hiding this comment

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

LGTM once the docs issue already raised has been fixed.

Co-authored-by: debadair <debadair@elastic.co>
@williamrandolph williamrandolph merged commit 691044e into elastic:7.x May 7, 2020
@williamrandolph williamrandolph deleted the deprecation-api-warnings-for-deprecated-xpack-settings branch May 7, 2020 14:28
williamrandolph added a commit that referenced this pull request May 7, 2020
* Add xpack setting deprecations to deprecation API

The deprecated settings showed up in the deprecation log file by
default, but I did not add them to the deprecation API. This commit
fixes that. Now if you use one of the deprecated basic feature
enablement settings, calling _monitoring/deprecations will inform you of
that fact.

* Remove incorrectly backported settings documents

It seems that I backported these docs to the wrong place in #56061,
in #55980, and in #56167. I hope they're in the right place now.

Co-authored-by: debadair <debadair@elastic.co>
@williamrandolph
Copy link
Contributor Author

Backport to 7.8: 91837fe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Plugins Plugin API and infrastructure >deprecation Team:Core/Infra Meta label for core/infra team v7.8.0 v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants