opensearch-project / opensearch-project/flow-framework
[FEATURE] Run same tests for security enabled or disabled cluster
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 62
- Forks
- 66
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 20
Description
Is your feature request related to a problem?
Currently, we run different test suites for security enabled tests here, which is mostly checking for the roles and not actually testing the APIs with the response. Whereas our integ tests does that.
What solution would you like?
We should run the same integ tests suite for the plugin with security-enabled or disabled cluster with just changing the local cluster url to pick either https or http protocol based on the flag security-enabled=true or security-enabled=false.
What alternatives have you considered?
The current test suite which just checks for the role based access for security enabled cluster.
Do you have any additional context?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/test/java/org/opensearch/flowframework/rest/FlowFrameworkSecureRestApiIT.java and the integration tests in src/test/java/org/opensearch/flowframework/rest. Review how the cluster URL and security-enabled=true or security-enabled=false are selected. Done means the same integration test suite runs against both security-enabled and security-disabled clusters, using https or http as appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- security, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100