-
Notifications
You must be signed in to change notification settings - Fork 25k
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/ssl/certificates routes #75950
Conversation
ffdbb9d
to
4a7ae8a
Compare
Pinging @elastic/clients-team (Team:Clients) |
See #73930 (comment) re: |
x-pack/plugin/src/yamlRestCompatTest/resources/rest-api-spec/api/xpack-ssl.certificates.json
Show resolved
Hide resolved
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,
I left one question, but no need for another review
x-pack/plugin/build.gradle
Outdated
@@ -107,6 +107,9 @@ tasks.named("transformV7RestTests").configure({ task -> | |||
task.replaceKeyInDo("rollup.start_job", "xpack-rollup.start_job") | |||
task.replaceKeyInDo("rollup.stop_job", "xpack-rollup.stop_job") | |||
task.addAllowedWarningRegex(".*_xpack/rollup.* is deprecated.*") | |||
|
|||
task.replaceKeyInDo("ssl.certificates", "xpack-ssl.certificates") | |||
task.addAllowedWarningRegex(".*_xpack/ssl.* 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.
I guess these are only used in "Test get SSL certificates"
? Maybe it would be worth applying them to that test only?
with addAllowedWarningRegexForTest
and replaceKeyInDo with a test name
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.
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.
Can you add to this test with replaceKeyInDo
with a replacement that is only for a single test ?
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
Related to #51816 / #68905.
Adds back the
_xpack/ssl
routes when using rest compatibility for a request.