-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Replacing the exclusionary words whitelist and blacklist that won't impact the compatibility. #1970
Conversation
Can one of the admins verify this patch? |
Thx @aponb.. looks like a legit comparison failure. I could repro locally:
|
Exception e = expectThrows( | ||
IllegalArgumentException.class, | ||
() -> checkRemoteWhitelist(buildRemoteWhitelist(whitelist), newRemoteInfo("not in list", port)) | ||
() -> checkRemoteAllowlist(buildRemoteAllowlist(allowlist), newRemoteInfo("not in list", port)) | ||
); | ||
assertEquals("[not in list:" + port + "] not whitelisted in reindex.remote.whitelist", e.getMessage()); |
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.
Thank @nknize pointing out the reason to the test failure, seems the whitelisted
is missed.
I really appreciate you for taking the time in this PR! 🏆 Especially in picking out the non-inclusive terms that doesn't break any compatibility at all. |
Ah, please use |
Sorry my bad. Thanks for your help. |
Have done it. Hope it worked! |
About test log 2097, the format check failure is a known issue in current Update:
Thank you! 😁 |
Done. Hope that was ok! |
Thanks @aponb ! The DCO check is fine now. Only the unit test failure left. |
Hi @aponb, when you get a time, could you resolve the remaining small issues in the Pull Request? So that it can be merged.
Feel free to tell us if you need any help. Thank you! 👍 |
Hi @aponb , To fix the DCO sign-off check, I'd like to provide a solution:
In addition, I suggest use a new branch other than the default
(source: https://blog.jasonmeridth.com/posts/do-not-issue-pull-requests-from-your-master-branch/) |
Another small test failure:
@aponb Thanks a lot for your rapid response! 👍 |
✅ Gradle Check success 32c6db0d37d4f7ffbabc21355dc641660b52e3e5 |
Thanks! This is fixed now. |
✅ Gradle Check success 842bb8be598fdcc17a3ac43c88d28916be085802 |
I followed your suggestion. It seems it worked now. Thanks for your help and patience! |
❌ Gradle Check failure 3282447349b617c58cb8d49b9deab81f3cd32445 |
Hi @aponb, you are very welcome! Thanks to your patience as well. Please keep your backup branch (https://github.com/aponb/OpenSearch/tree/backup_whitelist_blacklist3), let me find a way to deal with it. |
Hi @aponb, finally I got a solution to our current situation 😁.
Thanks for your time! |
Thanks for your effort. Please see #2178 |
Hi @aponb, I'm so glad that we finally made it! 🎉 🤝 |
Thanks for your help and your cooperation. I learned a lot, which will be hopefully helpful in future! |
Description
Replacing the exclusionary words whitelist and blacklist that won't impact the compatibility. Changes just in code comments, internal variables, methods and class names.
Issues Resolved
This Pull request replaces Pull request #744
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: Andreas Pre [email protected]