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] Install security plugin from individual artifacts #1369

Merged

Conversation

jmazanec15
Copy link
Member

Description

Backport #1307 to 2.x manually

Check List

  • Commits are signed as per the DCO using --signoff

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.

@jmazanec15 jmazanec15 changed the title Install security plugin from individual artifacts [Backport 2.x] Install security plugin from individual artifacts Jan 3, 2024
…#1307)

Changes how security tests are executed. Instead of setting up docker
container with security enabled, we now can directly spin up a gradle
local cluster with security which we can use to run tests against. To
enable this option, we just have to pass `-Dsecurity.enabled=true` as a
flag.

Along with this, some refactoring was done for the ODFERestTestCase for
configuring the client and cleaning up.

Signed-off-by: John Mazanec <[email protected]>
@jmazanec15 jmazanec15 force-pushed the backport/backport-1307-to-2.x branch from 8fda66e to 64cdcdb Compare January 3, 2024 17:37
Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (77d5da1) 85.07% compared to head (64cdcdb) 85.13%.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #1369      +/-   ##
============================================
+ Coverage     85.07%   85.13%   +0.05%     
  Complexity     1229     1229              
============================================
  Files           157      157              
  Lines          5046     5046              
  Branches        479      479              
============================================
+ Hits           4293     4296       +3     
+ Misses          547      544       -3     
  Partials        206      206              

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

Copy link
Member

@vamshin vamshin 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

@jmazanec15 jmazanec15 merged commit 46d001d into opensearch-project:2.x Jan 3, 2024
74 of 76 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.

4 participants