Commit Graph

587 Commits

Author SHA1 Message Date
Rick Winter
fcd64f7bd2
Split RequestConditions into MatchCondtions and ModifiedConditions (#1644)
* Split the inheritance on the RequestConditions
Rename RequestConditions to ModifiedConditions
2021-02-10 11:24:15 -08:00
Ahson Khan
9edae4f792
Add Operation<T>, OperationStatus, Exception, and Platform headers to (#1659)
the simplified core header.
2021-02-10 11:06:26 -08:00
JinmingHu
572208baac
update release date (#1660) 2021-02-10 17:49:29 +08:00
JinmingHu
66ce129f80
move context out of options bag (#1658)
* move context out of options bag for blob service

* Changelog

* fix build warnings

* datalake

* file service

* small bug fix, I'll just put it in this PR hopefully no one will ever find out
2021-02-10 17:48:07 +08:00
Azure SDK Bot
c478f175ed
Increment package version after release of azure-core (#1657) 2021-02-10 00:17:04 -08:00
Ahson Khan
b40603dc40
Renamed Crc64 to Crc64Hash and change it to derive from the Azure::Core::Cryptography::Hash class. (#1646)
* Renamed `Crc64` to `Crc64Hash` and change it to derive from the `Azure::Core::Cryptography::Hash` class.

* Add default dtor
2021-02-09 22:06:11 -08:00
Daniel Jurek
2d4d766c6d
Publishing automation for vcpkg x-add-version (#1649)
* Add azure-template2 to validate publishing multiple packages to vcpkg

* Update versions to avoid release conflict

* Add custom port naming logic

* fix changelogs

* compute path

* Add azure-core-cpp dependency back in

* package name in control file

* Add changes to support vcpkg x-add-version

* Add azure-sdk identity to commit

* Remove old conditions/comments and use -am for commit

* remove -c parameters

* Use --author

* git config local

* space

* work around HasChanges=false

* Bump versions for verification

* Bump versions, update portfile to use azure-template2-cpp ref

* Add PackageVersion

* Revert template2

* Finish reverting template2

* Revert "Finish reverting template2"

This reverts commit aa1461facbdb7ebd1e0ad2d90f8fe5a7c9db9473.

* Revert "Revert template2"

This reverts commit 3a91e82e01e2d1610da0747c2c84e24f52105625.

* Commit without setting user.name and user.email

* bump version

* git commands on same line

* Revert "Revert "Revert template2""

This reverts commit 1721a626e3c2e2b8c43dfe4a2fedf5a891c58793.

* Revert "Revert "Finish reverting template2""

This reverts commit 461a57c14aee97c9b6f83c79fe3a74122c890fb2.

* Finish reverting template2
2021-02-09 14:56:00 -08:00
Ahson Khan
cda5d62b83
Add details to the Azure Core beta 6 changelog (#1645)
Reviewed the commits since the last release: 9b7849c155...3e543f9a73
2021-02-09 19:44:41 +00:00
Victor Vazquez
3e543f9a73
changelog (#1635) 2021-02-09 10:39:55 -08:00
Anton Kolesnyk
84ffcd7168
Simplify logging (#1568)
Closes #1180.
2021-02-09 04:37:08 +00:00
Ahson Khan
5359e2793a
Remove Storage::Md5 and replace it with the one from Azure::Core. (#1618)
* 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.

* Remove Storage::Md5 and replace it with the one from Azure::Core.

* Fix clang formatting.

* Add required cstdint include directive.

* Update storage based on recent changes to Md5 hash APIs.
2021-02-08 20:04:25 -08:00
Kan Tang
306913ff1b
Refined DataLake APIs (#1627) 2021-02-09 10:58:11 +08:00
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