-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Move Specialized BlobClients to Specialized Package #5399
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
Move Specialized BlobClients to Specialized Package #5399
Conversation
JonathanGiles
left a comment
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.
initial feedback
sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobAsyncClient.java
Outdated
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/PostProcessor.java
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/URLParser.java
Outdated
Show resolved
Hide resolved
...azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java
Show resolved
Hide resolved
...rage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobClientBase.java
Show resolved
Hide resolved
| */ | ||
|
|
||
| final class BlobServiceSASSignatureValues { | ||
| public final class BlobServiceSASSignatureValues { |
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.
Another public API
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.
Not entirely certain if this should be moved into an implementation package or maintain becoming public API given all the documentation and methods in the class make it seem that it should be usable by a consumer of the library.
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.
It might be best to make this all internal, the only way we want users to make a SAS is by calling the generateSAS methods on the clients.
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.
There is immediate work that needs to be done in regards to SAS token generation, will handle in that PR.
...b/src/main/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobPartitionManager.java
Outdated
Show resolved
Hide resolved
...b/src/main/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobPartitionManager.java
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobAsyncClient.java
Outdated
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobClientBuilder.java
Outdated
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobClientBuilder.java
Outdated
Show resolved
Hide resolved
sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobURLParts.java
Outdated
Show resolved
Hide resolved
| */ | ||
|
|
||
| final class BlobServiceSASSignatureValues { | ||
| public final class BlobServiceSASSignatureValues { |
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.
It might be best to make this all internal, the only way we want users to make a SAS is by calling the generateSAS methods on the clients.
…cialized package in test
Fixes #5381
Moves the specialized BlobClients, AppendBlobClient, BlockBlobClient, and PageBlobClient, into the specialized package within Azure Storage Blobs. Additionally, move any model classes that are tied to a specific specialized client.
Adds a BlobClientBase which is now the super class for BlobClient, AppendBlobClient, BlockBlobClient, and PageBlobClient instead of using BlobClient as the base as it had additional convenience methods that weren't needed in the specialized clients.