Skip to content

Port DLM permissions test to internal REST test style #96434

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

Merged
merged 10 commits into from
May 31, 2023

Conversation

n1v0lg
Copy link
Contributor

@n1v0lg n1v0lg commented May 30, 2023

Porting the DLM permissions REST test to the new style of cluster tests. This has the usual nice perks, and also allows us to remove the separate qa/with-security package.

No functional or test logic changes.

I didn't suggest this as part of the PR review for #95512 so as not to block that PR further, and also because I wasn't sure about the overhead of making this change (it did end up taking some battling with gradle).

@n1v0lg n1v0lg added >test Issues or PRs that are addressing/adding tests :Data Management/DLM v8.9.0 labels May 30, 2023
@n1v0lg n1v0lg self-assigned this May 30, 2023
@@ -0,0 +1,37 @@
= Keystore Details
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This and the other files under /ssl are copy and paste from another test, so that we have valid certificate material ssl settings. The ssl settings are not strictly necessary for the REST test, but nice to have. AFAIK, we don't currently have a good way to re-use the certs across multiple tests packages, so copying these from another test.

@@ -23,8 +24,6 @@ dependencies {
testImplementation project(':modules:data-streams')
}

addQaCheckDependencies(project)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not needed anymore since we can remove qa entirely.

@n1v0lg
Copy link
Contributor Author

n1v0lg commented May 30, 2023

@elasticmachine update branch

@n1v0lg n1v0lg marked this pull request as ready for review May 30, 2023 18:16
@n1v0lg n1v0lg requested a review from masseyke May 30, 2023 18:16
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label May 30, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@n1v0lg n1v0lg requested review from andreidan and removed request for masseyke May 31, 2023 07:48
@n1v0lg
Copy link
Contributor Author

n1v0lg commented May 31, 2023

Just realized Keith is in vacation, so re-assigning reviewers.

@n1v0lg
Copy link
Contributor Author

n1v0lg commented May 31, 2023

@elasticmachine update branch

Copy link
Contributor

@andreidan andreidan left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Nikolaj

@n1v0lg
Copy link
Contributor Author

n1v0lg commented May 31, 2023

@elasticmachine update branch

@n1v0lg n1v0lg added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label May 31, 2023
@elasticsearchmachine elasticsearchmachine merged commit e6031d8 into elastic:main May 31, 2023
@n1v0lg n1v0lg deleted the port-dlm-test-to-new-style branch May 31, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants