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

Resurrect _xpack/ssl/certificates routes #75950

Merged
merged 8 commits into from
Aug 9, 2021

Conversation

joegallo
Copy link
Contributor

@joegallo joegallo commented Aug 2, 2021

Related to #51816 / #68905.

Adds back the _xpack/ssl routes when using rest compatibility for a request.

@joegallo joegallo force-pushed the resurrect-xpack-ssl-routes branch from ffdbb9d to 4a7ae8a Compare August 4, 2021 20:56
@joegallo joegallo requested review from jakelandis and pgomulka August 4, 2021 20:57
@joegallo joegallo marked this pull request as ready for review August 4, 2021 20:57
@joegallo joegallo added the Team:Clients Meta label for clients team label Aug 4, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/clients-team (Team:Clients)

@joegallo
Copy link
Contributor Author

joegallo commented Aug 4, 2021

See #73930 (comment) re: Team:Clients -- I don't think there's anything the clients team needs to do here.

Copy link
Contributor

@pgomulka pgomulka left a 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

@@ -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.*")
Copy link
Contributor

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

Copy link
Contributor Author

@joegallo joegallo Aug 5, 2021

Choose a reason for hiding this comment

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

👍, added the ability to do that in e2af786 and then used it in 7d254d8.

Copy link
Contributor

@jakelandis jakelandis left a 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 ?

@joegallo joegallo requested a review from jakelandis August 9, 2021 17:02
Copy link
Contributor

@jakelandis jakelandis left a comment

Choose a reason for hiding this comment

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

LGTM

@joegallo joegallo merged commit c7516b3 into elastic:master Aug 9, 2021
@joegallo joegallo deleted the resurrect-xpack-ssl-routes branch August 9, 2021 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants