-
Notifications
You must be signed in to change notification settings - Fork 291
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
Refactor Role Mappings REST API test #4450
Refactor Role Mappings REST API test #4450
Conversation
So far it has a cherry-picked commit from #4433 for roles integration test. With fixes for tests |
ca7acda
to
db811cd
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4450 +/- ##
==========================================
- Coverage 65.27% 65.23% -0.05%
==========================================
Files 313 313
Lines 22057 22061 +4
Branches 3563 3563
==========================================
- Hits 14398 14391 -7
- Misses 5888 5896 +8
- Partials 1771 1774 +3
|
96f35c6
to
a729763
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me @willyborankin. I left 1 clarifying question.
src/main/java/org/opensearch/security/dlic/rest/api/RolesMappingApiAction.java
Show resolved
Hide resolved
@willyborankin Would you take a look at the code-cov failures? |
…ct#4166 Signed-off-by: Andrey Pleskach <[email protected]>
a729763
to
1bf451f
Compare
|
Interesting: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @willyborankin ! LGTM 👍
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/security/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/security/backport-2.x
# Create a new branch
git switch --create backport/backport-4450-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6dedfb455766601b1fdee8e5334cd0905bfe2ed2
# Push it to GitHub
git push --set-upstream origin backport/backport-4450-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/security/backport-2.x Then, create a pull request where the |
Signed-off-by: Andrey Pleskach <[email protected]> (cherry picked from commit 6dedfb4)
Description
Refactor Role Mappings REST API test
Issues Resolved
partial fix #4166
Check List
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.