You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "ankamde (via GitHub)" <gi...@apache.org> on 2025/08/12 09:55:24 UTC
[PR] Issue 8033 correct credential lookup logic in supports credentials.java [gravitino]
ankamde opened a new pull request, #8042:
URL: https://github.com/apache/gravitino/pull/8042
<!--
1. Title: [#<issue>] <type>(<scope>): <subject>
Examples:
- "[#123] feat(operator): support xxx"
- "[#233] fix: check null before access result in xxx"
- "[MINOR] refactor: fix typo in variable name"
- "[MINOR] docs: fix typo in README"
- "[#255] test: fix flaky test NameOfTheTest"
Reference: https://www.conventionalcommits.org/en/v1.0.0/
2. If the PR is unfinished, please mark this PR as draft.
-->
### What changes were proposed in this pull request?
In api/src/main/java/org/apache/gravitino/credential/SupportsCredentials.java SupportsCredentials#getCredential should only flag duplicates among credentials of the requested type, avoiding false positives when multiple credential types exist.
### Why are the changes needed?
Check the filteredCredentials length not the credential length.
Fix: #8033
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
By adding new unit test to test this change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#8033] fix: correct credential lookup logic in SupportsCredentials.java [gravitino]
Posted by "ankamde (via GitHub)" <gi...@apache.org>.
ankamde commented on PR #8042:
URL: https://github.com/apache/gravitino/pull/8042#issuecomment-3178711353
@jerryshao Done, hope it is OK now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Issue 8033 correct credential lookup logic in supports credentials.java [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #8042:
URL: https://github.com/apache/gravitino/pull/8042#issuecomment-3178703829
Please fix the PR title like others.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#8033] fix: correct credential lookup logic in SupportsCredentials.java [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean merged PR #8042:
URL: https://github.com/apache/gravitino/pull/8042
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Issue 8033 correct credential lookup logic in supports credentials.java [gravitino]
Posted by "ankamde (via GitHub)" <gi...@apache.org>.
ankamde commented on PR #8042:
URL: https://github.com/apache/gravitino/pull/8042#issuecomment-3178640614
@justinmclean Please review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org