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

Storage API Changes (Part 2 - Simplify the Storage user experience) #6749

Merged
merged 9 commits into from
Jul 2, 2019

Conversation

tg-msft
Copy link
Member

@tg-msft tg-msft commented Jun 28, 2019

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):

  • Rename BlobClient => Specialized.BlobBaseClient
  • Add BlobClient : BlobBaseClient with an Upload method for block blobs
  • Add overloads to ease parameter choice for BlobBaseClient.Download

Copy link
Contributor

@kfarmer-msft kfarmer-msft left a 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.

tg-msft added 9 commits July 2, 2019 14:56
- 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",
Copy link
Contributor

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?

Copy link
Member

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.

Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes - filed #6806.

@tg-msft tg-msft merged commit 96877bd into Azure:master Jul 2, 2019
@tg-msft tg-msft deleted the simple-client branch July 9, 2019 23:34
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.

5 participants