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

[Backport 2.x] Adding security enabled integration tests (#400) #403

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

joshpalis
Copy link
Member

Description

Manual Backport of #400

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.

* Adding intiial security integration tests, addin test security workflow

Signed-off-by: Joshua Palis <[email protected]>

* updating set up to v4

Signed-off-by: Joshua Palis <[email protected]>

* Fixing run docker image task

Signed-off-by: Joshua Palis <[email protected]>

* Fixing pull and run docket

Signed-off-by: Joshua Palis <[email protected]>

* Fixing pull and run docket

Signed-off-by: Joshua Palis <[email protected]>

* Testing integ test if security is not available

Signed-off-by: Joshua Palis <[email protected]>

* Removing non-security integ test from workflow

Signed-off-by: Joshua Palis <[email protected]>

* test

Signed-off-by: Joshua Palis <[email protected]>

* test

Signed-off-by: Joshua Palis <[email protected]>

* Removing docker -ps

Signed-off-by: Joshua Palis <[email protected]>

* Pulling in secuirty as a zipArchive dependency, installed and configured only for security y enabled clusters

Signed-off-by: Joshua Palis <[email protected]>

* fixing ci

Signed-off-by: Joshua Palis <[email protected]>

* using v1

Signed-off-by: Joshua Palis <[email protected]>

* Addressing PR comments, using security.emabled system property instead

Signed-off-by: Joshua Palis <[email protected]>

* Adding remaining read access role tests

Signed-off-by: Joshua Palis <[email protected]>

* spotless

Signed-off-by: Joshua Palis <[email protected]>

* Addressing PR comments, adding full access tests, fixing create workflow bug

Signed-off-by: Joshua Palis <[email protected]>

* Added more APIs to full access client test

Signed-off-by: Joshua Palis <[email protected]>

* updating DEVELOPER_GUIDE

Signed-off-by: Joshua Palis <[email protected]>

* Updating developer guide, adding back ML Commons security system indices to security plugin configuration

Signed-off-by: Joshua Palis <[email protected]>

---------

Signed-off-by: Joshua Palis <[email protected]>
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (a37e83b) 72.17% compared to head (42c085e) 71.79%.
Report is 1 commits behind head on 2.x.

Files Patch % Lines
...ework/transport/CreateWorkflowTransportAction.java 36.36% 6 Missing and 1 partial ⚠️
...h/flowframework/rest/RestCreateWorkflowAction.java 0.00% 5 Missing ⚠️
...arch/flowframework/workflow/RegisterAgentStep.java 28.57% 2 Missing and 3 partials ⚠️
...lowframework/rest/RestProvisionWorkflowAction.java 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #403      +/-   ##
============================================
- Coverage     72.17%   71.79%   -0.38%     
+ Complexity      613      612       -1     
============================================
  Files            79       79              
  Lines          3069     3081      +12     
  Branches        237      238       +1     
============================================
- Hits           2215     2212       -3     
- Misses          752      764      +12     
- Partials        102      105       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joshpalis joshpalis merged commit 9e5b25f into opensearch-project:2.x Jan 13, 2024
18 of 19 checks passed
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.

3 participants