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] Add support for share soft delete. #10792

Merged
merged 6 commits into from
Aug 25, 2020

Conversation

jiacfan
Copy link
Member

@jiacfan jiacfan commented Aug 24, 2020

Added share soft delete support. Added undeleteShare to ShareServiceClient. listShares now can return deleted shares. Note: share soft delete only take effect on accounts with share soft delete feature enabled.

For design, as align to .Net and Java, undeleteShare is added under ShareServiceClient, while not involving undelete under 'ShareClient'. This is due to undelete doesn't support restore deleted share to a different share name in service side yet.

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Aug 24, 2020
@jiacfan jiacfan changed the title Add support for share soft delete. [Storage] Add support for share soft delete. Aug 24, 2020
@jiacfan jiacfan added the Client This issue points to a problem in the data-plane of the library. label Aug 24, 2020
@ljian3377
Copy link
Member

ljian3377 commented Aug 24, 2020

Do we have any API changes? Need to re-generate the review file with npm run build. #Resolved

@jiacfan
Copy link
Member Author

jiacfan commented Aug 24, 2020

Extracted API for review.


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

Copy link
Member

@bterlson bterlson left a comment

Choose a reason for hiding this comment

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

API changes look good so far.

@ljian3377
Copy link
Member

ljian3377 commented Aug 25, 2020

LGTM. Agree with @sadasant on grouping the test cases as they have same logic for skipping. #Resolved

@jiacfan jiacfan merged commit 0af53fb into Azure:master Aug 25, 2020
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.

4 participants