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

Register system index descriptors through SystemIndexPlugin.getSystemIndexDescriptors #750

Merged

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Jun 24, 2024

Description

This PR registers the system indices in this plugin through the SystemIndexPlugin extension point in core. These indices will not be functionally different than they are today, its just a formal registration as a system index.

Issues Resolved

Related to opensearch-project/security#4439

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.

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.37%. Comparing base (118f534) to head (aaf1f36).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #750      +/-   ##
============================================
+ Coverage     74.29%   74.37%   +0.08%     
- Complexity      744      745       +1     
============================================
  Files            84       84              
  Lines          3824     3825       +1     
  Branches        333      333              
============================================
+ Hits           2841     2845       +4     
+ Misses          829      825       -4     
- Partials        154      155       +1     

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

Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

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

LGTM but needs a change log entry

Signed-off-by: Craig Perkins <[email protected]>
@cwperks
Copy link
Member Author

cwperks commented Jun 25, 2024

@dbwiddis Added to the CHANGELOG

Signed-off-by: Craig Perkins <[email protected]>
@cwperks
Copy link
Member Author

cwperks commented Jun 26, 2024

Addressed the spotless failure

Signed-off-by: Craig Perkins <[email protected]>
@cwperks
Copy link
Member Author

cwperks commented Jul 1, 2024

Can a maintainer merge this PR?

@joshpalis joshpalis merged commit cf1016f into opensearch-project:main Jul 1, 2024
20 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 1, 2024
…IndexDescriptors (#750)

* Register system index descriptors through SystemIndexPlugin.getSystemIndexDescriptors

Signed-off-by: Craig Perkins <[email protected]>

* Add CHANGELOG entry

Signed-off-by: Craig Perkins <[email protected]>

* Remove extra characters

Signed-off-by: Craig Perkins <[email protected]>

* Address code review comments

Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit cf1016f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
joshpalis pushed a commit that referenced this pull request Jul 1, 2024
…lugin.getSystemIndexDescriptors (#753)

Register system index descriptors through SystemIndexPlugin.getSystemIndexDescriptors (#750)

* Register system index descriptors through SystemIndexPlugin.getSystemIndexDescriptors



* Add CHANGELOG entry



* Remove extra characters



* Address code review comments



---------


(cherry picked from commit cf1016f)

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants