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

Move API Key related classes into apikey package #82047

Merged
merged 5 commits into from
Jan 27, 2022

Conversation

ywangd
Copy link
Member

@ywangd ywangd commented Dec 23, 2021

API key related classes, including rest actions, request, response,
transport actions are scattered in different places. Some of them are in
a apikey package. But many of them are not. This PR moves all these
classes and associated test classes into the relevant apikey packages.

API key related classes, including rest actions, request, response,
transport actions are scattered in different places. Some of them are in
a apikey package. But many of them are not. This PR moves all these
classes into the relevant apikey packages.
@ywangd ywangd added >refactoring :Security/Security Security issues without another label v8.1.0 labels Dec 23, 2021
@ywangd ywangd requested a review from tvernum December 23, 2021 04:54
@elasticmachine elasticmachine added the Team:Security Meta label for security team label Dec 23, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

Copy link
Contributor

@tvernum tvernum left a comment

Choose a reason for hiding this comment

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

LGTM, but let's leave it open for a few days in case someone else has concerns.

@@ -14,6 +14,7 @@
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.common.io.stream.Writeable;
import org.elasticsearch.common.settings.SecureString;
import org.elasticsearch.xpack.core.security.action.apikey.CreateApiKeyRequest;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this import is redundant

Copy link
Member Author

Choose a reason for hiding this comment

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

You are very right. Spotless caught me as well 🤦

@ywangd
Copy link
Member Author

ywangd commented Jan 14, 2022

@elastic/es-security I am going to merge this PR if no objection is raised till next Monday. Thanks!

@ywangd ywangd merged commit 15de797 into elastic:master Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>refactoring :Security/Security Security issues without another label Team:Security Meta label for security team v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants