-
Notifications
You must be signed in to change notification settings - Fork 292
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 tests after Apache HttpClient5 / HttpCore5 update since those use deprecated APIs #5035
Conversation
src/test/java/org/opensearch/security/InitializationIntegrationTests.java
Show resolved
Hide resolved
Not sure if backport is necessary on this if its specific to apache httpcore5/httpclient5 |
No, it is only 3.x line |
Unfortunately there are still failing tests in |
6d16c0a
Sadly may need more work, too many clients in too many places :( |
I would offer to help, but I'm not exactly sure what needs to change. I'm currently looking at the failing tests in I've got some homework to do to read up more on the Apache HttpCore/HttpClient5 docs. The deprecation messages in that library don't indicate what the replacements are. |
Thanks a lot @cwperks , for these failures I actually don't know the cause yet, I would need to do a debug session sadly ... |
Ah, @cwperks we do have to accommodate |
The SAMLHTTPMetadataResolver is still using httpcomponents v4 (via OpenSAML 4.3.2). Would this be a blocker from fully upgrading to Apache httpcomponents v5? #2932 |
No, v4 and v5 are independent and could be used at the same time. |
fce7be0
to
bfe2520
Compare
… deprecated APIs Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5035 +/- ##
==========================================
- Coverage 71.50% 71.36% -0.15%
==========================================
Files 336 336
Lines 22625 22617 -8
Branches 3598 3599 +1
==========================================
- Hits 16178 16140 -38
- Misses 4648 4685 +37
+ Partials 1799 1792 -7
|
@cwperks @willyborankin @DarshitChanpura we should be set for now, I will continue to chase #5035 (comment) to understand why it is needed, thanks folks! |
Description
See please opensearch-project/OpenSearch#16757
Issues Resolved
See please https://github.com/opensearch-project/security/actions/runs/12813953884/job/35729309491?pr=5034
Is this a backport? If so, please add backport PR # and/or commits #, and remove
backport-failed
label from the original PR.Do these changes introduce new permission(s) to be displayed in the static dropdown on the front-end? If so, please open a draft PR in the security dashboards plugin and link the draft PR here
Testing
N/A
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.