Commit Graph

603 Commits

Author SHA1 Message Date
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
Kan Tang
fb869f10af
Resolves the leap year last day calculation issue. (#1254) 2021-01-05 09:45:21 +08:00
JinmingHu
da86ed7ec5
rename WinHTTP CMake target (#1240)
# 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-04 16:59:46 +00:00
JinmingHu
e6a072e7b6
Integrate Http::Range into blob service (#1247)
# 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?
2020-12-29 06:50:49 +00:00
JinmingHu
3a29494989
Remove libxml internal impl details from header file to avoid expose them to end users. (#1250) 2020-12-29 14:25:47 +08:00
JinmingHu
987931430b
Move version strings into Details namespace (#1248) 2020-12-29 14:25:00 +08:00
JinmingHu
b8e5c95d21
Integrate Core::DateTime into storage (#1246)
* blob package can build

* test can build

* changelog

* datatime for datalake sas

* fix test error

* user delegation key doesn't support time fractional part

* add comments

* Added DateTime for DataLake and many other refinements.

* Resolved review comments.

* Added changelog

Co-authored-by: Tank Tang <kat@microsoft.com>
2020-12-28 16:00:18 +08:00
Kan Tang
9abe10b228
Some refinement in File's protocol layer. (#1244) 2020-12-24 10:27:16 +08:00
JinmingHu
527a2babca
use #include <> instead of #include "" for header files not in current package (#1243)
* use #include <>
2020-12-23 22:03:17 +08:00
JinmingHu
63afecab38
Use SinglePage suffix for list APIs. (#1242)
* Use SinglePage suffix for list APIs.

* changelog

* more
2020-12-23 09:39:15 +08:00
ku-sourav
14e947ff03
Throw exception if curl_easy_init returns Null (#1239) 2020-12-22 14:23:29 -08:00
Kan Tang
e23e9333c8
Integrate DateTime into Storage's file service. (#1154) 2020-12-22 15:38:46 +08:00
JinmingHu
37b55c1e11
HttpHeaders.ContentMd5 is changed to Contenthash (#1241)
* HttpHeaders.ContentMd5 is changed to Contenthash

* changelog
2020-12-22 15:13:20 +08:00
Kan Tang
d9c65ac445
ContentHash integration for File/DataLake (#1236)
* Integrate content hash for file/datalake

* Changelog update for content hash in file/datalake

* Resolve minor build error/warning.

* Resolved review comments
2020-12-22 11:30:31 +08:00
JinmingHu
9a59445888
rename some bool variables, make IsServerEncrypted non-nullable (#1238)
* rename some bool variables, make IsServerEncrypted non-nullable
* remove encryption stuff from ClearPages response, since this API never returns these stuff
2020-12-22 10:02:29 +08:00
JinmingHu
763f38549b
Fix build error caused by storage-common CMakeFile (#1233)
# 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?
2020-12-19 07:26:06 +00:00
Victor Vazquez
606dd98ea2
Adding missing lib for building tests with Ninja from command prompt (#1230)
fixes: #1228
2020-12-19 04:45:51 +00:00
Anton Kolesnyk
bdc2931855
Token: use DateTime (#1221) 2020-12-18 19:10:54 -08:00
Anton Kolesnyk
d40b4fb642
DateTime: add default constructor (#1220) 2020-12-18 18:21:24 -08:00
Anton Kolesnyk
e3d8719281
Fix gtest and related warnings (#1224) 2020-12-18 18:20:02 -08:00
Victor Vazquez
1502468dba
Reuse connection pool depending on host and connection options (#1189)
* Reuse connection pool depending on host and connection options
2020-12-18 17:27:47 -08:00
Victor Vazquez
5525d68a15
Fix main ut tests when not using libcurl (#1227)
* Fix for test cases when not using libcurl
2020-12-18 17:18:35 -08:00
Anton Kolesnyk
89351e4484
AuthenticationException: derives from std::exception (#1222)
Closes #1178
2020-12-19 00:42:00 +00:00
Victor Vazquez
c783998bef
update link to sdk guidelines (#1225) 2020-12-18 15:56:17 -08:00
Marcelo Juchem
2443e7cfcb
fix curl dependency on non-standard install prefix (#1218)
* fix curl dependency on non-standard install prefix

When `libcurl` is installed to a non-standard install prefix `azure-core` will configure include/lib directories correctly (as long as `CMAKE_FIND_ROOT_PATH` is set appropriately) for its dependencies (`INTERFACE`) but not for itself (`PRIVATE`), thus failing the build.
2020-12-18 15:25:55 -08:00
Victor Vazquez
62949025b1
Merge param-tests for the transport adapter (#1217)
fixes: #1216 
fixes: #1087
2020-12-18 22:21:40 +00:00
Anton Kolesnyk
324c0955f0
List all possible environment variables EnvironmentCredential reads, or may ever read from (#1219) 2020-12-18 11:13:54 -08:00
Victor Vazquez
78df96ab6c
removed e2e core tests (#1215) 2020-12-18 11:02:10 -08:00
Victor Vazquez
0d312028ce
Check if error during test after opening a file (#1205)
fixes: #1074
2020-12-18 18:42:16 +00:00
JinmingHu
b59b65bb87
Add ContentHash struct, replace TransactionalContentMD5 and TransactionContentCrc64 with TransactionalContentHash (#1212)
* use std::vector<uint8_t> for binary input/output

* struct ContentHash

* ContentHash in Blob Service

* Update sdk/storage/azure-storage-common/src/crypt.cpp

* Update sdk/storage/azure-storage-common/src/crypt.cpp

* add doc

* changelog

* EncryptionKeySha256 and ContentMd5 are changed to binary

* changelog

* fix build error

* fix crash issue

* FIX BUILD ERROR on linux

* Fix bug on Linux

* fix bug
2020-12-18 16:09:35 +08:00
Rick Winter
60e70a3695
Fix doxygen comments for Operation<T> (#1210) 2020-12-18 02:39:55 +00:00
Victor Vazquez
8aac9091c2
Mention min clang format version and format all cpp and hpp files with clang-format version 9.0 (#1208)
* Add info about clang-format version

* updates for cpp and hpp format

* special cases
2020-12-17 18:34:23 -08:00
Victor Vazquez
6a317e8b87
Move the default transport adapter assignation to the source (#1206)
fixes: #1169
2020-12-18 02:13:03 +00:00
JinmingHu
7d2cc26553
improve CMake (#1167) 2020-12-18 09:20:27 +08:00
Victor Vazquez
674a8b623a
Auto release notes (#1197)
fixes: #671
2020-12-17 23:29:51 +00:00
Victor Vazquez
942c6aaffa
replace ifdef for if defined (#1199)
fixes: #1057
2020-12-17 22:57:40 +00:00
Rick Winter
bcb684f95e
Add Operation<T> (#1186)
* Add Operation<T>
2020-12-17 14:47:20 -08:00
Azure SDK Bot
60a18e3c3f
Sync eng/common directory with azure-sdk-tools for PR 1287 (#1204)
* Move common code to create API review into eng common in tools
2020-12-17 13:53:36 -08:00
Victor Vazquez
20954d5dba
unify fileBodyStream in one single definition for Win and Lin (#1198)
* unify fileBodyStream in one single definition for Win and Lin
2020-12-17 11:23:01 -08:00
JinmingHu
d9c05e3d06
replace #ifdef/#ifndef with #if defined() in storage (#1203) 2020-12-17 18:51:01 +08:00
JinmingHu
e1a9ba9b4d
move sas stuff into Sas namespace (#1192)
* move sas stuff into Sas namespace

* changelog

* Update sdk/storage/azure-storage-blobs/CHANGELOG.md

* Update sdk/storage/azure-storage-common/CHANGELOG.md

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

* Update sdk/storage/azure-storage-files-shares/CHANGELOG.md
2020-12-17 09:51:59 +08:00
Victor Vazquez
1bfbaf7330
use gtest_discover_tests for creating tests (#1195) 2020-12-16 15:00:01 -08:00
Victor Vazquez
dacd6aa6c1
Added HTTP Range (#1188)
* Added HTTP Rangeom>
2020-12-16 14:27:17 -08:00
Azure SDK Bot
ed1908efa1
Fixed the bug of replacing img src with href text (#1193)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-16 10:36:22 -08:00
Victor Vazquez
5e7dc42df8
add verbose to windows builds and use 4 parallel jobs (#1183)
* add verbose to windows build and use 4 parallel jobs
2020-12-15 14:54:49 -08:00
Victor Vazquez
fc7d52926a
init fields to avoid MSVC warning (#1172)
Fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/922
2020-12-15 22:21:24 +00:00