Skip to content
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

SNOW-1651983: Upgrade azure storage sdk v8 to v12, fix authenticated proxy issue #1895

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

sfc-gh-mkubik
Copy link
Contributor

@sfc-gh-mkubik sfc-gh-mkubik commented Sep 16, 2024

Overview

The azure-storage sdk aka v8 is on the retirement path (retirement notice). At the same time it seems that it's causing problems with accessing stages via authenticated proxy.

This PR addresses both issues by migrating the azure-storage sdk (v8) to azure-storage-blob sdk (v12)

SNOW-1651983

TODO

  • Introduce new unit/integ tests as not all of the introduced changes are covered by existing tests.
  • Test in different enviroments (currently only local dev-tests were preformed)

Testing

  • Repo's unit, integ tests
  • Manual PUT/GET test using locally set up authenticated proxy

Pre-review self checklist

  • PR branch is updated with all the changes from master branch
  • The code is correctly formatted (run mvn -P check-style validate)
  • New public API is not unnecessary exposed (run mvn verify and inspect target/japicmp/japicmp.html)
  • The pull request name is prefixed with SNOW-XXXX:
  • Code is in compliance with internal logging requirements

sfc-gh-mhofman and others added 6 commits September 5, 2024 21:00
Migrates the azure storage interactions to the V12 api. Still WIP, requires additional error handling, a bit of refactoring and new unit tests
@@ -25,7 +25,9 @@
<avro.version>1.8.1</avro.version>
<awaitility.version>4.2.0</awaitility.version>
<awssdk.version>1.12.655</awssdk.version>
<azure.storage.version>5.0.0</azure.storage.version>
<azure.storage.blob.version>12.26.1</azure.storage.blob.version>
<azure.storage.version>8.0.0</azure.storage.version>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the newest is 8.6.6 - can we use it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I haven't noticed the newer version but it'll be rather no-op anyway

@sfc-gh-dprzybysz sfc-gh-dprzybysz changed the title [DRAFT] Snow 1651983 upgrade azure storage sdk v8 to v12, fix authenticated proxy issue Snow 1651983 upgrade azure storage sdk v8 to v12, fix authenticated proxy issue Nov 19, 2024
@sfc-gh-dprzybysz sfc-gh-dprzybysz changed the title Snow 1651983 upgrade azure storage sdk v8 to v12, fix authenticated proxy issue SNOW-1651983: Upgrade azure storage sdk v8 to v12, fix authenticated proxy issue Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants