Skip to content

Conversation

@sima-zhu
Copy link
Contributor

@sima-zhu sima-zhu commented Jul 24, 2019

Minor fix for signature name
Minor fix for javadoc indentation
Added REST API link for file

gapra-msft and others added 11 commits July 12, 2019 11:57
* SAS implementation

* Fixed some minor formatting issues

* Fixed checkstyle problems and test issue
Removes RawClients from Storage Blobs
…to ContainerClient (Azure#4376)

* Removed raw clients

* Added deleteContainer to StorageClient

* Added getAppendBlob with snapshot to ContainerClient
* Finished the restructure, refactor builder. Added sleep in record feature. Linting
Merges AppendBlobClientBuilder, BlobClientBuilder, BlockBlobClientBuilder, and PageBlobClientBuilder into a single builder class BlobClientBuilder. Additionally, JavaDoc comments for the other builder classes, ContainerClientBuilder and StorageAccountClientBuilder, were cleaned up and the way the endpoint is handled in builders was changed.
@sima-zhu sima-zhu changed the base branch from storage-post-review1-dev to master July 26, 2019 18:55
@sima-zhu sima-zhu self-assigned this Jul 29, 2019
@sima-zhu sima-zhu requested a review from jaschrep-msft as a code owner July 29, 2019 22:24
@kurtzeborn kurtzeborn added Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files) labels Jul 30, 2019
@sima-zhu
Copy link
Contributor Author

@alzimmermsft Could you take a look at again and leave comments for what you have done for the queue PR? I would like to keep consistent with Queue. Thanks!

@sima-zhu sima-zhu requested a review from alzimmermsft July 31, 2019 18:49
@rickle-msft
Copy link
Contributor

rickle-msft commented Jul 31, 2019

public Flux<HandleItem> getHandles(Integer maxResult, boolean recursive) {

This name doesn't seem right. I thought we didn't use "get" for apis that make service calls. Unless there's some reason why we deviated here, can we open an item to change this name? #Resolved


Refers to: sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java:298 in ed97215. [](commit_id = ed97215, deletion_comment = False)

* {@codesnippet com.azure.storage.file.directoryClient.createDirectory}
*
* <p>For more information, see the
* <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/list-directories-and-files">Azure Docs</a>.</p>
Copy link
Contributor

@rickle-msft rickle-msft Jul 31, 2019

Choose a reason for hiding this comment

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

/list-directories-and-files" [](start = 73, length = 28)

Incorrect link #Resolved

Copy link
Contributor Author

@sima-zhu sima-zhu Jul 31, 2019

Choose a reason for hiding this comment

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

Done with the checking for the entire file. #Resolved

* {@codesnippet com.azure.storage.file.directoryClient.create#map}
*
* <p>For more information, see the
* <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/list-directories-and-files">Azure Docs</a>.</p>
Copy link
Contributor

@rickle-msft rickle-msft Jul 31, 2019

Choose a reason for hiding this comment

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

list-directories-and-files [](start = 74, length = 26)

Incorrect link #Resolved

Copy link
Contributor Author

@sima-zhu sima-zhu Jul 31, 2019

Choose a reason for hiding this comment

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

Done. #Resolved

* {@codesnippet com.azure.storage.file.directoryClient.createSubDirectory#string}
*
* <p>For more information, see the
* <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/list-directories-and-files">Azure Docs</a>.</p>
Copy link
Contributor

@rickle-msft rickle-msft Jul 31, 2019

Choose a reason for hiding this comment

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

list-directories-and-files [](start = 74, length = 26)

Incorrect link #Resolved

Copy link
Contributor Author

@sima-zhu sima-zhu Jul 31, 2019

Choose a reason for hiding this comment

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

Done. #Resolved

* {@codesnippet com.azure.storage.file.directoryClient.createSubDirectory#string-map}
*
* <p>For more information, see the
* <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/list-directories-and-files">Azure Docs</a>.</p>
Copy link
Contributor

@rickle-msft rickle-msft Jul 31, 2019

Choose a reason for hiding this comment

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

list-directories-and-files [](start = 74, length = 26)

incorrect link #Resolved

Copy link
Contributor Author

@sima-zhu sima-zhu Jul 31, 2019

Choose a reason for hiding this comment

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

Done. #Resolved

@rickle-msft
Copy link
Contributor

rickle-msft commented Jul 31, 2019

 * {@codesnippet com.azure.storage.file.fileClient.downloadWithProperties}

Why no link here? It looks like there are a couple methods that don't have docs #Resolved


Refers to: sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileClient.java:189 in ed97215. [](commit_id = ed97215, deletion_comment = False)

@sima-zhu
Copy link
Contributor Author

sima-zhu commented Jul 31, 2019

 * {@codesnippet com.azure.storage.file.fileClient.downloadWithProperties}

Why no link here? It looks like there are a couple methods that don't have docs

Refers to: sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileClient.java:189 in ed97215. [](commit_id = ed97215, deletion_comment = False)

I do not find the appropriate link for this API, same applies to others which leave blank.
@rickle-msft

@rickle-msft
Copy link
Contributor

Should just be the download api


In reply to: 517047843 [](ancestors = 517047843)

@rickle-msft
Copy link
Contributor

rickle-msft commented Jul 31, 2019

The description says you bumped the version number, but I only see edits to Java files? #Resolved

@sima-zhu
Copy link
Contributor Author

sima-zhu commented Jul 31, 2019

The description says you bumped the version number, but I only see edits to Java files?

That has been done by other PR. Will remove the description. @rickle-msft #Resolved

@sima-zhu
Copy link
Contributor Author

sima-zhu commented Jul 31, 2019

Should just be the download api

In reply to: 517047843 [](ancestors = 517047843)

I only saw the getFile which is corresponding to downloadToFile. It does not provide properties for download. @rickle-msft

@sima-zhu
Copy link
Contributor Author

public Flux<HandleItem> getHandles(Integer maxResult, boolean recursive) {

This name doesn't seem right. I thought we didn't use "get" for apis that make service calls. Unless there's some reason why we deviated here, can we open an item to change this name?

Refers to: sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java:298 in ed97215. [](commit_id = ed97215, deletion_comment = False)

@rickle-msft I had the method name from design doc. I do not have the background of why it names like this. I can create an issue for this. #4754

@sima-zhu sima-zhu requested a review from rickle-msft July 31, 2019 23:06
Copy link
Contributor

@rickle-msft rickle-msft left a comment

Choose a reason for hiding this comment

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

:shipit:

@sima-zhu sima-zhu merged commit 885bf9c into Azure:master Aug 2, 2019
srnagar pushed a commit to srnagar/azure-sdk-for-java that referenced this pull request Aug 5, 2019
@sima-zhu sima-zhu deleted the storage-javadoc branch February 23, 2021 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants