Commit Graph

575 Commits

Author SHA1 Message Date
Kan Tang
19ea155f45
Refined File service. (#1629) 2021-02-09 10:57:55 +08:00
Ahson Khan
b3497f8c16
Add a Hash base class to Azure::Core and redesign Md5 to derive from it. (#1632)
* Add MD5 hashing APIs to Azure::Core available from azure/core/md5.hpp.

* Add simplified header test for md5 and base64.

* Add changelog entry.

* Remove unnecessary include.

* Address feedback - add back ptr, length APIs.

* Address PR feedback - docs and typo fixes.

* Add a Hash base class and redesign Md5 to derive from it.

* Add test for call to final on empty instance.

* Remove old file which got renamed to hash.hpp.

* Remove md5.hpp file references.

* Address PR feedback - move to crypto, remove virtual, and misc.
2021-02-08 18:31:12 -08:00
Victor Vazquez
1f849ec384
fix docs (#1633) 2021-02-08 17:13:30 -08:00
Ahson Khan
4d3ecf39e7
Use the port defined in the URL when setting up the transport adapter usage. (#1611)
* Use the port defined in the URL when setting up the transport adapter usage.

* Fix typo when getting the request object.
2021-02-08 16:51:27 -08:00
Ahson Khan
568d4bcc4e
Add MD5 hashing APIs to Azure::Core available from azure/core/md5.hpp. (#1617)
* Add MD5 hashing APIs to Azure::Core available from azure/core/md5.hpp.

* Add simplified header test for md5 and base64.

* Add changelog entry.

* Remove unnecessary include.

* Address feedback - add back ptr, length APIs.

* Address PR feedback - docs and typo fixes.
2021-02-08 15:34:41 -08:00
Anton Kolesnyk
281dd37945
Add simplified header test for Identity (#1625)
* Add simplified header test for Identity

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-08 13:01:44 -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
Victor Vazquez
06f7028bad
Use exception from keyvault (#1516) 2021-02-05 18:38:11 -08:00
Anton Kolesnyk
b55063dfac
Use Url::Encode() instead of the own implementation (#1614)
Closes #738.
2021-02-06 00:31:22 +00:00
Anton Kolesnyk
1c26120654
Uncomment temaplte's find_package(core) now that it is released (#1616)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-05 16:23:31 -08:00
Anton Kolesnyk
79864623f0
Tests: DateTime: add TimeRoundtrip test (#1613)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-05 16:21:24 -08:00
Rick Winter
a57cb349eb
Add context tests for ThrowIfCancelled and ApplicationContext (#1602) 2021-02-05 19:12:47 +00:00
Victor Vazquez
43aa7ff7ad
[Perf Framework] (#1528)
perf test infrastructure
2021-02-04 19:51:35 -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
Rick Winter
87cce3910f
Add conditional request support (#1592)
- MatchConditions
- RequestConditions
2021-02-04 19:46:12 +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
Sylvain Joubert
2f250f3968
Fix math for bearer token refresh time (#1593) 2021-02-04 03:29:42 -08:00
Azure SDK Bot
268941b298
Increment package version after release of azure-identity (#1575) 2021-02-03 08:26:19 -08:00
Azure SDK Bot
1c86f14cc8
Increment package version after release of azure-core (#1574) 2021-02-03 08:25:48 -08: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
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