Commit Graph

350 Commits

Author SHA1 Message Date
Kan Tang
19ea155f45
Refined File service. (#1629) 2021-02-09 10:57:55 +08:00
JinmingHu
90430040d5
Many changes to File service and DataLake service (#1623)
* changes

* UploadRangeFromUri

* fileattributes

* test case for file attributes

* add new lines

* changelog

* clang-format

* fix build error

* uri->url

* changes to datalake

* Remove BreakResult::LeaseTime
2021-02-08 19:57:30 +08:00
Anton Kolesnyk
8389e86567
Add VcPkg OpenSSL dependency for Azure::Core (#1620)
* Add VcPkg OpenSSL dependency for Azure::Core

* OpenSSL is not required on UWP either

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-06 18:55:59 -08:00
Azure SDK Bot
c247b22e28
Increment version for storage releases (#1582)
Increment package version after release of azure-storage-common
2021-02-05 02:48:00 +00:00
Kan Tang
12cdf64152
Added release date for File's changelog (#1595)
# Pull Request Checklist

Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:

See the detailed list in the [contributing guide](https://github.com/Azure/azure-sdk-for-cpp/blob/master/CONTRIBUTING.md#pull-requests).

- [x] [C++ Guidelines](https://azure.github.io/azure-sdk/cpp_introduction.html)
- [x] Doxygen docs
- [x] Unit tests
- [x] No unwanted commits/changes
- [x] Descriptive title/description
  - [x] PR is single purpose
  - [x] Related issue listed
- [x] Comments in source
- [x] No typos
- [x] Update changelog
- [x] Not work-in-progress
- [x] External references or docs updated
- [x] Self review of PR done
- [x] Any breaking changes?
2021-02-04 13:30:20 +00:00
JinmingHu
a59e635915
release beta.7 (#1581) 2021-02-03 19:52:53 +08:00
Kan Tang
60cf8733cf
Refined list/download returned properties (#1579)
* Refined list/download returned properties

* align with blob/datalake

* Resolve clang format issue.
2021-02-03 18:23:50 +08:00
Kan Tang
d0a6f7e8f8
Refined returned properties for list/download API in DataLake. (#1580)
* Refined returned properties for list/download API in DataLake.

* Refine readme

* Resolve review comments
2021-02-03 18:23:37 +08:00
JinmingHu
d26e148c86
refine list return types for blob service (#1578)
* refine return type of listblob and listblobcontainers

* changelog
2021-02-03 16:14:14 +08:00
JinmingHu
c8da53d544
Change ChangeLease return type (#1573)
* ChangeLease return type

* file client

* Add comment

* return Result rather than Client

* fix

* fix
2021-02-03 14:49:24 +08:00
Anton Kolesnyk
06d66492eb
Add TokenRequestOptions and ClientSecretCredentialOptions (#1527)
* Add GetTokenOptions
2021-02-02 17:09:33 -08:00
JinmingHu
fab5c1139b
Refine DownloadBlobResult and DownloadBlobToResult (#1564)
* blob result

* rename

* fix

* fix
2021-02-02 19:25:22 +08:00
JinmingHu
ce189c1d99
Add BlobContainerClient::UploadBlob (#1532)
* Add BlobContainerClient::UploadBlob

* changelog
2021-02-01 17:50:25 +08:00
Kan Tang
721473a568
Adding missing fields in DataLake service (#1520) 2021-02-01 14:30:32 +08:00
Kan Tang
517b8e6245
PutRangeFromUrl support in file service. (#1530)
* PutRangeFromUrl support

* Update share_file_client.cpp
2021-02-01 14:05:59 +08:00
Kan Tang
942bbeee38
Supported file tier and removed unwanted functions. (#1529)
* Supported file tier and removed unwanted functions.

* Resolve test issues.
2021-02-01 13:22:06 +08:00
JinmingHu
e84b9eac50
add missing properties in blob download result (#1521)
* rename ContentLength->BlobSize
add missing properties in DownloadBlobToResult

* range hash algorithm

* changelog

* fix ut error
2021-02-01 12:04:28 +08:00
JinmingHu
5e2e84cdbc
add missing properties in BlobClient::GetProperties (#1512)
* add missing properties in BlobClient::GetProperties

* changelog

* fix test case bug

* Add more properties in download blob result
2021-01-29 11:39:00 +08:00
Kan Tang
34fcca36ea
Remove request ID from file/share's concurrent API. (#1518) 2021-01-29 11:23:44 +08:00
Kan Tang
648a98b38e
Delete related changes. (#1506)
* Delete related changes.

* DeleteEmpty instead of DeleteIfEmpty

* Remove using and refine doc

* doc
2021-01-29 11:11:12 +08:00
JinmingHu
ee156b6505
add TransferOptions into download and upload options (#1503)
* tansfer options

* changelog

* fix build error

* clang-format

* fix typo

* fix crash
2021-01-28 23:46:15 +08:00
JinmingHu
836a8a591a
Removed BlobPrefix struct, use std::string instead (#1508)
* blob prefix is std::vector<std::string>

* changelog
2021-01-28 21:48:47 +08:00
Kan Tang
d3996e7824
Renamed ListDataLakeFileSystemsIncludeItem to ListDataLakeFileSystemsIncludeFlags. (#1507) 2021-01-28 21:45:47 +08:00
JinmingHu
f49dc280df
use Azure::Core::ETag for ETag type (#1489)
* etag

* ETag for DataLake/File service

Co-authored-by: Tank Tang <kat@microsoft.com>
2021-01-28 19:36:48 +08:00
Kan Tang
d99f3ab8e6
Refine rename functions in datalake (#1493)
* Refine rename functions in datalake

* Changed default mode to Legacy

* remove mode.

* Make rename return clients.

* Remove continuation token

* Resolve merge issue.
2021-01-28 17:21:59 +08:00
JinmingHu
ec9d35ae8c
remove some items from filter blob result (#1504) 2021-01-28 16:32:51 +08:00
Kan Tang
98b15b820e
Refine on Recursive ACL. (#1501)
* SetRecursiveAcl refinement.

* Added UT for remove/update acl recursively

* Resolve test issues.

* Refine changelog

* Move SetAclRecursive to path

* Update readme

* Access Control List
2021-01-28 16:25:46 +08:00
JinmingHu
9c2d02244e
rename bitwise enum variables, following the pattern XxxFlags (#1466)
* XxxItems->XxxFlags

* changelog
2021-01-28 12:54:42 +08:00
Victor Vazquez
60a4792a0f
Make cmake modules consistent names (#1498)
* AzureVersion

* Vcpkg

* coverage

* missing renames

* missing renames
2021-01-27 18:55:46 -08:00
Kan Tang
d1f6d13d1f
Remove PreviousContinuationToken (#1490) 2021-01-28 00:12:29 +08:00
Kan Tang
ecbead7761
Remove c_ for constants. (#1491)
* Remove c_ for constants.

* Update CHANGELOG.md
2021-01-27 23:03:29 +08:00
JinmingHu
288d1c7652
fix typo Expiries -> Expires (#1485)
* fix typo

* changelog
2021-01-27 21:50:10 +08:00
JinmingHu
1c6148c497
Remove PreviousContinuationToken (#1488)
* Remove PreviousContinuationToken

* changelog
2021-01-27 21:48:18 +08:00
Kan Tang
878bd3bf9a
Renamed DataLakePathClient::GetAccessControls to DataLakePathClient::GetAccessControlList. (#1448)
* Renamed DataLakePathClient::GetAccessControls to DataLakePathClient::GetAccessControl.

* Changing to GetAccessControlList
2021-01-27 20:55:32 +08:00
JinmingHu
3522c4967f
throw exception Azure::Core::RequestFailedException or those inherit from that (#1463)
* throw exception Azure::Core::RequestFailedException or those inherits from that

* changelog
2021-01-27 15:31:36 +08:00
Kan Tang
b3cdb2790c
Uses std::abort() instead of abort() or exception for precondition. (#1474) 2021-01-27 09:43:22 +08:00
JinmingHu
ae53a38c7a
Support poll operations in blob service (#1461)
* operation<T>

* add test cases

* changelog

* fix build error

* add virtual destructor

* fix build error

* use Azure::Core::RequestFailedException
2021-01-26 16:00:20 +08:00
JinmingHu
d2f29afb1d
Added additional information in StorageException, fixed a bug where ClientRequestId wasn't filled in StorageException. (#1455)
* additional info in storage exception

* changelog

* clang-format
2021-01-25 22:22:27 +08:00
Kan Tang
a60fff1d6e
Removed unused parameters, options, results and functions in protocol layer. (#1454) 2021-01-25 15:37:33 +08:00
JinmingHu
84f7445302
PublicAccessType::Private was renamed to PublicAccessType::None (#1453)
* rename PublicAccessType::Private to None

* changelog

* fix
2021-01-25 15:35:56 +08:00
JinmingHu
4c8232e9cf
startsOn parameter for GetUserDelegationKey was changed to optional. (#1451)
* GetUserDelegationKey startsOn is optional

* changelog

* clang-format
2021-01-25 14:49:11 +08:00
Kan Tang
0df1cfa90f
Changed DataLakeFileClient::Flush's endingOffset parameter's name to position. (#1449)
* Changed DataLakeFileClient::Flush's endingOffset parameter's name to position.

* Update CHANGELOG.md
2021-01-25 12:28:34 +08:00
Kan Tang
ad54405b9d
Added request ID. (#1452)
* Added request ID.

* Update sdk/storage/azure-storage-files-datalake/CHANGELOG.md

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-01-25 12:25:18 +08:00
Kan Tang
6f6c3c9cde
Added support for specifying public access type when creating a file system. (#1447) 2021-01-25 10:37:34 +08:00
Kan Tang
6b71b5416d
Refined ListPathsSinglePage (#1446) 2021-01-25 10:17:29 +08:00
Kan Tang
f27c5770d1
Refined list related APIs and make LeaseDuration an enum. (#1445)
* Refined list related APIs

* Update CHANGELOG.md
2021-01-25 10:14:33 +08:00
Kan Tang
23df72519b
Moved lease related operations to DataLakeLeaseClient/ShareLeaseClient. (#1444)
* Moved lease related operations to DataLakeLeaseClient/ShareLeaseClient.

* Adds lease duration change to changelog

* Update sdk/storage/azure-storage-files-datalake/src/datalake_lease_client.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* Hide Share Lease again since it seems to be still not ready.

* Move renew to private as it is not for file lease.

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2021-01-24 20:55:09 +08:00
Kan Tang
46d4af45b6
Refined protocol layer. (#1443)
* Refined protocol layer.

* Resolves review comments.

* Move more un-used things into details.
2021-01-23 23:10:41 +08:00
Victor Vazquez
4455ac577c
Move clang-format check to include tests (#1438)
* Move clang-format check to include tests
2021-01-22 13:35:59 -08:00
Victor Vazquez
385a7887a2
Moving json to internal (#1378)
Wrap nlohmann json lib inside core internal api
2021-01-22 11:12:27 -08:00