-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Resurrect _xpack/migration/deprecations routes #75947
Resurrect _xpack/migration/deprecations routes #75947
Conversation
463808b
to
99bcaf9
Compare
See #73930 (comment) re: |
Pinging @elastic/clients-team (Team:Clients) |
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,
left one question
@@ -99,6 +99,9 @@ tasks.named("transformV7RestTests").configure({ task -> | |||
task.replaceKeyInDo("license.post_start_trial", "xpack-license.post_start_trial") | |||
task.addAllowedWarningRegex(".*_xpack/license.* is deprecated.*") | |||
|
|||
task.replaceKeyInDo("migration.deprecations", "xpack-migration.deprecations") | |||
task.addAllowedWarningRegex(".*_xpack/migration.* is deprecated.*") |
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.
maybe we could apply to the test that is using it?
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.
With #75950, there's only one test that's using the change ("Test get SSL certificates"
) so it's straightforward to limit ourselves to just the one test. Here, though, there's two ("Test Deprecations"
and "Test ml"
) so I don't think it's worth the additional lines of code to limit ourselves.
I'm going to merge this as is, but if you disagree strongly we can always tweak change it as a new PR against master
.
Related to #51816 / #68905.
Adds back the
_xpack/migration
routes when using rest compatibility for a request.