Skip to content

Use wait-for-cluster-setup plugin from core to simplify security testing setup#1111

Draft
cwperks wants to merge 8 commits intoopensearch-project:mainfrom
cwperks:test-with-security
Draft

Use wait-for-cluster-setup plugin from core to simplify security testing setup#1111
cwperks wants to merge 8 commits intoopensearch-project:mainfrom
cwperks:test-with-security

Conversation

@cwperks
Copy link
Member

@cwperks cwperks commented Aug 1, 2025

Description

Companion PR in core: opensearch-project/OpenSearch#18892

This PR follows the previous PR that setup this repo for running integ tests with security: #1110

I am creating a gradle plugin with core that abstracts security setup to remove duplication across the plugins.

For testing do the following:

  • Checkout the PR in core
  • publish to maven local: ./gradlew publishToMavenLocal -Dbuild.snapshot=true
  • run the integ tests in this repo with security: ./gradlew integTest -Dhttps=true -Dtests.opensearch.username=admin -Dtests.opensearch.password=admin -Dusername=admin -Dpassword=admin -Dtests.opensearch.secure=true -Dsecurity.enabled=true -i --tests "ReportDefinitionIT"

Related Issues

Resolves opensearch-project/opensearch-plugins#245

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

cwperks and others added 6 commits July 31, 2025 11:24
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
…ing setup

Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
@cwperks cwperks marked this pull request as draft August 1, 2025 14:07
@cwperks
Copy link
Member Author

cwperks commented Aug 1, 2025

Converting to draft til core PR is merged

Signed-off-by: Craig Perkins <cwperx@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure all plugins in the default distribution have a PR check to run integ tests w/ security

2 participants