-
Notifications
You must be signed in to change notification settings - Fork 644
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
Azure Storage: Azure storage support #3253 #3254
Conversation
It parses the returned XML and populate StorageException
1. Populates required date and version header 2. Reads current request and create authorization token as per AWS requirements 3. Populates authorization header
Current implementation only supports Blob and File services. Currently supported functions: 1. Get blob and file 2. Put blob 3. Create file 3. Put range 4. Clear range 5. Delete blob and file 6. Get blob and file properties
1. Create query string with SAS token 2. Initialize query string
Co-authored-by: Shubham Girdhar <girdharshubham@hotmail.com>
…/StorageAttributes.scala Co-authored-by: Shubham Girdhar <girdharshubham@hotmail.com>
…/impl/AzureStorageStream.scala Co-authored-by: Shubham Girdhar <girdharshubham@hotmail.com>
…/models.scala Co-authored-by: Shubham Girdhar <girdharshubham@hotmail.com>
azure-storage/src/main/scala/akka/stream/alpakka/azure/storage/StorageAttributes.scala
Show resolved
Hide resolved
azure-storage/src/main/scala/akka/stream/alpakka/azure/storage/StorageAttributes.scala
Show resolved
Hide resolved
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.
Looking good so far.
…/StorageAttributes.scala Co-authored-by: Shubham Girdhar <girdharshubham@hotmail.com>
…/StorageAttributes.scala Co-authored-by: Shubham Girdhar <girdharshubham@hotmail.com>
1. Make sure we don't emit empty string 2. correct configuration
1. Request builder for delete container 2. Implementation of delete container and Scala and Java API 3. Tests for delete container 4. Documentation
1. Request builder for create & delete directories 2. Implementation of create & delete directories and Scala and Java API 3. Tests for create & delete directories 4. Documentation
Issue with Java API was misconfiguration, not sure why |
Hi @sfali |
Hi @sfali, can you share and update on this PR? Do you want to see your contribution merged for the next release? |
What do you want me to share @sebastian-alfers? The PR is failing due to |
We fixed both in |
@sebastian-alfers Now scaaldoc and jms connector failed. Can pin point what's going? Can you please take a look and let me know what's going on. Thanks |
Thank you for bringing this to our attention. The scaladoc failure can be ignored for now, and the jms was something we just fixed in main, so please rebase again. |
Thanks @sebastian-alfers , Everything is passing other than scaaldoc |
Please let me know once you want to merge it. |
This can be merge anytime. It needs to be approved. |
It seems scaladoc pipeline needs to be successful before it can be merged. @sebastian-alfers |
objectPath = objectPath, | ||
requestBuilder = requestBuilder) | ||
|
||
private[storage] def putBlob(objectPath: String, |
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.
@sfali one question for large files may be of > 5-10Gb .. S3 has multipartUploadAPI for azure blob how are we going to achieve it ?
splitting in chunks?
adding some UTs would have been helpful..
References #3253
Work in progress, still needs to add more tests and documentations.
Code style is copied from AWS S3 connector.