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

Fix issue with Get mappings on a Closed index #4685

Merged
merged 7 commits into from
Oct 4, 2024

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Aug 26, 2024

Description

This PR fixes an issue filtering out fields on a GET Mappings request on a closed index. This PR updates the indices options used when getting concrete indices.

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Bug fix

Check List

  • New functionality includes testing
  • New functionality has been documented
  • New Roles/Permissions have a corresponding security dashboards plugin PR
  • API changes companion pull request created
  • Commits are signed 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.

Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
@cwperks cwperks reopened this Aug 26, 2024
Copy link

codecov bot commented Aug 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.97%. Comparing base (830b341) to head (5c52558).
Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4685      +/-   ##
==========================================
- Coverage   67.98%   67.97%   -0.01%     
==========================================
  Files         310      310              
  Lines       20924    20924              
  Branches     3318     3319       +1     
==========================================
- Hits        14225    14224       -1     
  Misses       4951     4951              
- Partials     1748     1749       +1     
Files with missing lines Coverage Δ
...pensearch/security/securityconf/ConfigModelV7.java 67.55% <100.00%> (ø)

... and 1 file with indirect coverage changes

Signed-off-by: Craig Perkins <cwperx@amazon.com>
RyanL1997
RyanL1997 previously approved these changes Aug 29, 2024
Copy link
Contributor

@shikharj05 shikharj05 left a comment

Choose a reason for hiding this comment

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

You might need to remove the commits from a different rebase?

@cwperks
Copy link
Member Author

cwperks commented Sep 3, 2024

You might need to remove the commits from a different rebase?

Done

@cwperks
Copy link
Member Author

cwperks commented Oct 2, 2024

Pushed another commit to resolve conflicts

@cwperks cwperks added the backport 2.x backport to 2.x branch label Oct 4, 2024
@cwperks
Copy link
Member Author

cwperks commented Oct 4, 2024

@nibix @peternied @RyanL1997 @willyborankin Can I get another review on this?

@willyborankin
Copy link
Collaborator

@cwperks LGTM

@cwperks cwperks merged commit 99457b1 into opensearch-project:main Oct 4, 2024
42 of 43 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 4, 2024
Signed-off-by: Craig Perkins <cwperx@amazon.com>
(cherry picked from commit 99457b1)
Signed-off-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 to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants