-
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
[repository-azure] plugin should use Azure Storage SDK v12 for Java #1302
Conversation
✅ Gradle Wrapper Validation success 06504d73caed2de2aafa2cb210b8fb58c89aff71 |
✅ DCO Check Passed 06504d73caed2de2aafa2cb210b8fb58c89aff71 |
✅ Gradle Precommit success 06504d73caed2de2aafa2cb210b8fb58c89aff71 |
Can one of the admins verify this patch? |
✅ Gradle Wrapper Validation success 4c2c951b862748ccb164eb4a73b5a76831dca6ab |
✅ DCO Check Passed 4c2c951b862748ccb164eb4a73b5a76831dca6ab |
✅ Gradle Precommit success 4c2c951b862748ccb164eb4a73b5a76831dca6ab |
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
4c2c951
to
4c53cdd
Compare
✅ Gradle Wrapper Validation success 4c53cdd |
✅ DCO Check Passed 4c53cdd |
✅ Gradle Precommit success 4c53cdd |
start gradle check |
Backport to 1.x? |
Yes, will do, thanks a lot! I think the build will fail, the c7f5c90 went in with updated |
Did this cause #1381 (comment)? |
@dblock Yes, the `Execution failed for task ':plugins:repository-azure:thirdPartyAudit' but should be fixed by #1384 |
…pensearch-project#1302) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Andriy Redko andriy.redko@aiven.io
Description
Unfortunately, the
repository-azure
uses Legacy Storage SDK v8 for Java [1] which is not supported and not maintained anymore [2], [3]. The PR updates Azure Repository plugin to use latest Azure Storage SDK v12 for Java [4].Although v8 and v12 APIs are completely different, it is possible to mimic the existing behaviour so the plugin users should not see the difference (notably,
LocationMode
andOperationContext
, which are gone).Right now only
Netty
client is being supported (the Azure Storage SDK v12 also supportsOkHttp
).Issues Resolved
Closes #1225
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.
[1] https://github.com/Azure/azure-storage-java
[2] https://github.com/Azure/azure-storage-java/blob/master/V12%20Upgrade%20Story.md
[3] https://azure.microsoft.com/en-us/blog/previewing-azure-sdks-following-new-azure-sdk-api-standards/
[4] https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/storage