Commit Graph

648 Commits

Author SHA1 Message Date
JinmingHu
4f1c0850fb
remove batch (#1344) 2021-01-13 12:31:13 +08:00
JinmingHu
8778089305
parse Content-Range in blob service (#1345)
* parse Content-Range

* changelog
2021-01-13 12:30:07 +08:00
JinmingHu
0127ddae91
void specialization of Response<T> (#1331)
* void specialization of Response<T>

* changelog:
2021-01-12 17:35:35 -08:00
Ahson Khan
5de2ca7b3c
Update notice.txt files for storage and move nlohmann json notice content to azure-core. (#1339)
* Update notice.txt files for storage and move nlohmann json notice
content to azure-core.

* Add a new line.
2021-01-12 17:20:40 -08:00
Mitch Denny
ab6ec8ef0b
Initial cut over to 1ES hosted pools. (#1321) 2021-01-13 10:14:59 +11:00
Azure SDK Bot
f8aebf5634
Update pipeline generation tool to support test variant pipelines (#1336)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-12 15:03:03 -08:00
Anton Kolesnyk
c3484c5d4d
DateTime: Add unit tests for comparison operators (#1332)
Add unit tests for the https://github.com/Azure/azure-sdk-for-cpp/pull/1326 fix.
2021-01-12 12:53:08 +00:00
JinmingHu
0643eeba5d
add a bool indicating whether the opration succeeds for CreateIfNotExists/DeleteIfExists (#1313) 2021-01-12 15:36:57 +08:00
JinmingHu
91f95dc19d
Remove batch options (#1325) 2021-01-12 15:35:12 +08:00
JinmingHu
320b60806e
fix comparison bug introduced in #1320 (#1326) 2021-01-12 13:25:42 +08:00
JinmingHu
7d377f5290
change protected to private (#1315) 2021-01-12 11:35:45 +08:00
Anton Kolesnyk
99a6ec5395
DateTime: better integration with chrono, support year 0001+ (#1320) 2021-01-11 17:40:16 -08:00
Azure SDK Bot
ed428a1a52
Add quotes around the parameter (#1318)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-11 16:59:20 -08:00
Azure SDK Bot
7dd0e2409b
Fix condition for test generation in prepare-pipelines (#1316)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-11 10:46:35 -08:00
JinmingHu
4527798bd1
Remove blob batch (#1309) 2021-01-11 15:13:49 +08:00
JinmingHu
967ccae1ff
add "Azure::Core::" prefix for Base64 functions in auto-generator. (#1306) 2021-01-11 14:57:05 +08:00
JinmingHu
abc2ec2943
remove Base64EncodeText (#1307) 2021-01-11 14:34:29 +08:00
JinmingHu
f935477e66
also swallow exception when container doesn't exist for DeleteIfExists (#1304) 2021-01-11 13:10:35 +08:00
Kan Tang
7615a9ee9b
Added support for CreateIfNotExists and DeleteIfExists (#1282)
* Added support for CreateIfNotExists and DeleteIfExists

* Added DataLake

* Refined test cases.

* Resolve review comments.

* Resolve more review comments.
2021-01-11 13:10:17 +08:00
JinmingHu
dc8c9182e1
fix build error introduced in PR #1297 and #1298 (#1303)
# 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-01-11 03:40:48 +00:00
Ahson Khan
fb33402844
Remove Base64 encode and decode methods from Azure::Storage and move the string-based helper to Internal. Update storage call sites. (#1298)
Follow up from https://github.com/Azure/azure-sdk-for-cpp/pull/1297 as the second step to fix #1020
2021-01-09 08:12:06 +00:00
Ahson Khan
1efbfb3056
Add Base64 encoding and decoding utility APIs to the Azure::Core namespace available from azure/core/base64.hpp. (#1297)
* Add Base64 encode and decode APIs to Azure::Core (from Azure::Storage).

* Revert changes to crypt.hpp to leave callsite updates for auto-gen
storage component for later.

* Add entry to changelog.

* Add basic unit tests.

* Remove definition of NOMINMAX since it is unnecessary.

* Include missing header from openssl.

* Include missing open ssl buffer header.

* Address feedback around angle brackets, and move implementation into a
namespace block.

* Remove redundant namespace qualifier in the signature.

* Link openssl to azure-core for non-Windows platforms, to fix the MacOS
linking issue.
2021-01-08 21:20:44 -08:00
Ahson Khan
4753cf64e3
Update cg manifest files and move the declaration of the nlohmann json dependency to core. (#1295) 2021-01-08 19:31:15 -08:00
Anton Kolesnyk
9e94941250
Add copyright and license comments to CONTROL files (#1296)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-01-08 18:15:42 -08:00
Anton Kolesnyk
9fb5e05efd
VcPkg: On Windows, also install WinHTTP by default (#1294)
# 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).

- [ ] [C++ Guidelines](https://azure.github.io/azure-sdk/cpp_introduction.html)
- [ ] Doxygen docs
- [ ] Unit tests
- [ ] No unwanted commits/changes
- [ ] Descriptive title/description
  - [ ] PR is single purpose
  - [ ] Related issue listed
- [ ] Comments in source
- [ ] No typos
- [ ] Update changelog
- [ ] Not work-in-progress
- [ ] External references or docs updated
- [ ] Self review of PR done
- [ ] Any breaking changes?
2021-01-09 01:25:35 +00:00
Victor Vazquez
910731893a
docs for the HTTP transport adapter (#1285)
* docs for the HTTP transport adapter
2021-01-08 16:16:09 -08:00
Azure SDK Bot
ae4b70875f
Revert "Remove old Update-Change-Log.ps1 (#1301)" (#1292)
This reverts commit b967cb62bd8db451a2f02d903f3658cf21f92db1.

Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
2021-01-08 15:05:37 -08:00
Victor Vazquez
57b78dc0ad
Enhance the exception for body stream rewind (#1291) 2021-01-08 15:01:19 -08:00
Azure SDK Bot
31f3a99ce0
allow configuration of a suffix for each config item. (#1290)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-01-08 12:29:22 -08:00
Kan Tang
6b6df8fbdc
Make IsServerEncrypted non-nullable. (#1281)
Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/1202

# 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-01-08 04:10:44 +00:00
JinmingHu
280bad5b42
Fix ut crash issue introduced in PR#1274 (#1286)
# 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-01-08 04:03:11 +00:00
Azure SDK Bot
f2d3befda1
Remove old Update-Change-Log.ps1 (#1279)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-07 09:42:10 -08:00
JinmingHu
0ab1785881
make continuation token nullable (#1274)
* make continuation token nullable

* changelog

* fix
2021-01-07 22:00:00 +08:00
JinmingHu
d6c838e9e0
rename delete blob snapshot options, add delete blob snapshot test cases (#1272)
* rename delete blob snapshot options, add delete blob snapshot test cases

* changelog

* Apply suggestions from code review

* Update sdk/storage/azure-storage-blobs/test/block_blob_client_test.cpp

* Update sdk/storage/azure-storage-blobs/test/block_blob_client_test.cpp
2021-01-07 21:26:12 +08:00
JinmingHu
b212d287ab
Rename SourceConditions->SourceAccessConditions (#1267) 2021-01-07 19:21:26 +08:00
Rick Winter
36fbcd9cee
Version strings (#1276)
Moves package version strings in the details namespace.
Fixes #1249 

# 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-01-07 08:07:46 +00:00
Azure SDK Bot
1897f9ee85
Sync eng/common directory with azure-sdk-tools for PR 1302 (#1280)
* Make the user agent configurable.

* Address comments

* Default to current Chrome version

* Revert the yaml file changes

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-01-06 20:09:40 -08:00
JinmingHu
52658ca733
use datatime conversion provided by Azure::Core (#1268) 2021-01-06 22:38:23 +08:00
Kan Tang
535c77c9ec
Integrate extensible enum (#1275)
* Integrate extensible enum

* Resolve review comments
2021-01-06 21:46:44 +08:00
Kan Tang
a0fded0c56
use bracket instead of quotation mark for header files not in current… (#1271)
… package

Resolves https://github.com/Azure/azure-sdk-for-cpp/issues/1211

# 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-01-06 09:12:33 +00:00
JinmingHu
19d4833ce7
Fix auto-generator bug (#1273)
# 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?


Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/1263
2021-01-06 07:09:28 +00:00
Kan Tang
4513f0a3f5
Resolves typo in Storage Readme (#1270)
Resolves https://github.com/Azure/azure-sdk-for-cpp/issues/1073

# 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-01-06 06:13:02 +00:00
Kan Tang
e49ceabf85
Renamed MaxResult/Segment to be PageSizeHint/SinglePage (#1259) 2021-01-06 13:48:43 +08:00
Kan Tang
a470957606
Http::Range integration for file/datalake (#1258)
* Added support for Core::Http::Range for file/datalake service

* Resolved test issue and added changelog.
2021-01-06 13:10:00 +08:00
Azure SDK Bot
49c81c20be
Sync eng/common directory with azure-sdk-tools for PR 1298 (#1262)
* Update latest folder with one index.html includes the redirect links

* Update the redirect links and remove everything in latest

* Address feedback

* Have the entire copy for latest GA.

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-01-05 19:30:25 -08:00
Victor Vazquez
9d9f1e6f4c
remove cancellation check from retry policies (#1196)
* remove cancellation check from retry policies

* Update BodyStream to do cancellation check on Read
2021-01-05 18:38:06 -08:00
Victor Vazquez
e141cf1a6b
Update canceled to cancelled (#1256)
* rename all `canceled` to `cancelled`

* Adding changelog breaking changes
2021-01-05 16:28:05 -08:00
Azure SDK Bot
e697a7939b
Add Devops Release Item scripts (#1264)
- Add set of helpers to work with devops work items
- Add script to create devops release package items
- Update SemVer to support version type

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-05 15:51:23 -08:00
Azure SDK Bot
bce390946b
Update to Update-Changelog.ps1 (#1257)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-05 12:59:04 -08:00
JinmingHu
5e94ab4054
extensible enum for blob servicve (#1253)
* extensible enum

* changelog

* Update sdk/storage/azure-storage-blobs/CMakeLists.txt
2021-01-06 01:06:38 +08:00