Commit Graph

553 Commits

Author SHA1 Message Date
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
Victor Vazquez
9b7849c155
changelog for release Core Beta 5 and Identity Beta 3 (#1572)
* changelog for release

* missing changelog entries
2021-02-02 18:15:33 -08:00
Anton Kolesnyk
06d66492eb
Add TokenRequestOptions and ClientSecretCredentialOptions (#1527)
* Add GetTokenOptions
2021-02-02 17:09:33 -08:00
Anton Kolesnyk
6b9b57815e
Follow suggestions for improving azure-core CMake files (#1534)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-02 15:03:19 -08:00
Anton Kolesnyk
4f0ee2eaa2
Update changelog for the 'retry-after' fix (#1535) 2021-02-02 14:11:17 -08:00
Anton Kolesnyk
376cca6acd
Changelog: add () after function names. (#1569)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-02 13:57:18 -08:00
JinmingHu
fab5c1139b
Refine DownloadBlobResult and DownloadBlobToResult (#1564)
* blob result

* rename

* fix

* fix
2021-02-02 19:25:22 +08:00
Victor Vazquez
c6b919ac2a
release mode test for Linux with test (#1560)
* release mode test for Linux with test

* Fix GCC warning when building in Release configuration

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-01 21:43:40 -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
Rick Winter
72253e0957
CMakeLists for each Service (#1524)
* Add service level CMakeLists
* Fix CMake minimum version
2021-01-29 21:53:16 -08:00
Sylvain Joubert
8684be0970
Fix Retry-After header check (#1522)
This failed to be triggered because the response has all its headers as lower case
2021-01-29 12:51:26 -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
a858a77ac0
make defaultNonUrlEncodeChars const (#1502) 2021-01-29 09:55:04 +08:00
Victor Vazquez
3b9a465a4f
[Keyvault] CreateKey API (#1459)
* mandatory data for create

* createKey API added with partial serialize/de-serialize
2021-01-28 10:46:07 -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
Victor Vazquez
9eca962628
Enable keyvault live tests (#1496)
Expecting to see the GetKey api passing on live test
2021-01-27 23:21:11 +00:00
Ahson Khan
af844a1272
Do not pass a placeholder user-agent string as a fallback when using WinHttp (#1495)
Verified the behavior is now as expected when telemetry policy is turned off.

**Before:**
![image](https://user-images.githubusercontent.com/6527137/106042018-65d64e00-6091-11eb-8741-c6c42cb028d3.png)

**After:**
![image](https://user-images.githubusercontent.com/6527137/106042157-86060d00-6091-11eb-9699-929128eb6ea1.png)
2021-01-27 20:31:53 +00:00
Rick Winter
453d39c577
Fix const naming in Core to follow Guidelines (#1481)
* Fix grammar in doxygen comments

* Update constants to follow the Guidelines
  Remove 'c_' prefixes
2021-01-27 11:56:30 -08:00
Anton Kolesnyk
a2bfa7acf1
Move ValuePolicy from Details namespace to Internal (#1494)
Follow up on #1458.
2021-01-27 19:29:20 +00:00
Anton Kolesnyk
aeb386f286
Add ValuePolicy (#1458) 2021-01-27 10:51:53 -08:00
Victor Vazquez
6c3aeed35c
Json unit tests (#1464)
Adding json unit tests
2021-01-27 10:07:12 -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
Victor Vazquez
5f20767a4b
Setting up keyvault live test (#1465)
* Setting up keyvault live test
2021-01-26 15:44:59 -08:00
Daniel Jurek
583120d3ef
Add timeout parameter to live test job (#1478) 2021-01-26 15:04:37 -08:00
Rick Winter
50a4186d96
Add support for HTTP Etag to Azure::Core (#1428)
* Add ETag class
2021-01-26 12:04:34 -08:00
Victor Vazquez
ccccd115f8
Adding missing comments in curl source (#1440)
fixes: #1416
2021-01-26 08:19:09 +00: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