-
Notifications
You must be signed in to change notification settings - Fork 4.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
Storage API Changes (Part 2 - Simplify the Storage user experience) #6749
Conversation
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.
Question about commented methods.
- Move shared code into folders - Remove unused constants
- Move HttpRange into Common - Rename ID to Id - Rename cancellation to cancellationToken - Move access conditions into .Models - Move remaining options into .Models - Change Enqueue to return a single item instead of an array
pushd $EnlistmentRoot $projects = "Common", "Blobs", "Queues", "Files" foreach ($project in $projects) { $source = ".\artifacts\bin\Azure.Storage.$($project).Tests\Debug\netcoreapp2.1\SessionRecords\" $dest = ".\sdk\storage\Azure.Storage.$($project)\tests\SessionRecords\" robocopy /xc /xn /xo /s $source $dest } popd
"RequestBody": [ | ||
"\u003cStorageServiceProperties\u003e\r\n", | ||
" \u003cLogging\u003e\r\n", | ||
" \u003cVersion\u003e1.0\u003c/Version\u003e\r\n", |
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.
I've noticed that the request body is pretty-printed, is it worth disabling the pretty-printing to save bandwidth?
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.
These are data for recorded tests, correct? If so, I don't think we are actually using any bandwidth.
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.
Recorded tests store exact thing that was sent over the wire during the Live test.
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.
Yes - filed #6806.
I'm adding this on top of the existing Storage API changes, so please only look at the last commit (see #6718 for Part 1):
BlobClient
=>Specialized.BlobBaseClient
BlobClient : BlobBaseClient
with anUpload
method for block blobsBlobBaseClient.Download