Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Support integration testing against remote security enabled clustering #213

Merged

Conversation

weicongs-amazon
Copy link
Contributor

@weicongs-amazon weicongs-amazon commented Jun 12, 2020

Issue #, if available:

Description of changes:
This change is to support integration testing against remote security enabled clustering. Currently we only support the integration testing without security plugin. see details here:
https://quip-amazon.com/abtrAOGuqcA1/Investigation-Hooked-Plugin-IT-against-Security-Enabled-Cluster-in-ODFE-Building-Workflow

I just used alerting plugin for the investigation This PR has all the changes of investigation to support IT with admin user. It won't cover the specific security related new cases, but this change enables us to run the existing test cases against security enabled cluster.
Feel free to close this PR :) if this isn't right way for alerting plugin.

And btw, this is my first time to write kotlin codes. pls share our comments for any issue, thanks.

Testing:
run those following commands successfully:

  • ./gradlew build
  • ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername=es-integrationtest -Dhttps=true -Duser=admin -Dpassword=admin
    • this need set up a local odfe cluster with security plugin

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@dbbaughe dbbaughe left a comment

Choose a reason for hiding this comment

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

Thanks!

@weicongs-amazon
Copy link
Contributor Author

Thanks @dbbaughe Another approval is needed. could someone else help to take a look?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing testing related requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants