Commit Graph

582 Commits

Author SHA1 Message Date
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
Victor Vazquez
8cd93803c4
Remove libcurl non required options (#1153)
Fixes: https://github.com/azure/azure-sdk-for-cpp/issues/931
2020-12-15 22:08:48 +00:00
Victor Vazquez
0b9befe13d
update default value to true for the SDK CurlTransportSSLOptions -> NoRevoke (#1181)
fixes: #1101
2020-12-15 01:01:12 +00:00
Ahson Khan
ca9b28f53b
Move the PR template up a directory so that it shows up by default. (#1182)
Following up to match with the initial intent of https://github.com/Azure/azure-sdk-for-cpp/pull/735

https://github.community/t/our-pull-request-templates-arent-showing-up-for-any-prs/1975/2
https://stackoverflow.com/a/52139815/12509023
2020-12-14 22:21:42 +00:00
Azure SDK Bot
1699bb72d5
Sync eng/common directory with azure-sdk-tools for PR 1273 (#1152)
* Support alpha and azure pipeline build version formats for SemVer parsing and sorting

* Minor build number fixes

* Support zero-padding of build versions more generically in SemVer script

* Fix pre-release label conditional for HasValidPrereleaseLabel in semver script

* Set default convention for build number separator in semver script

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-12-11 16:51:07 -08:00
Azure SDK Bot
4c269ed610
Sync eng/common directory with azure-sdk-tools for PR 1274 (#1149)
* Added a step of skipping package json update for spring boot packages

* Added skip package json config

* Update the indentation

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-11 15:10:53 -08:00
Ahson Khan
f2394ddb02
Following the guidelines, use quotes for files within the same project, and angle brackets for external dependencies. (#1150) 2020-12-11 14:04:59 -08:00
Azure SDK Bot
a706396571
Sync eng/common directory with azure-sdk-tools for PR 1270 (#1151)
* resolve git longpath error when applying documentation updates


Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2020-12-11 12:45:14 -08:00
Anton Kolesnyk
3eae7c130c
Add VcPkg support (#1013) 2020-12-11 11:53:37 -08:00
Ahson Khan
c22392e943
Add context.IsCanceled to provide a non-throwing alternative to ThrowIfCanceled. (#1106) 2020-12-10 23:01:12 +00:00
Ahson Khan
0f854ffa9b
Add WinHTTP Transport support to the SDK for windows clients as another HTTP Transport. (#897)
Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/354
2020-12-10 22:00:52 +00:00
Azure SDK Bot
2f09ce7c7b
Create PR to target against master (#1145)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-10 13:52:59 -08:00
Victor Vazquez
8f03807101
Use the default coverage report path (#1118) 2020-12-09 14:42:55 -08:00
Azure SDK Bot
fc7d82f6c7
Clean up modules direcotry in eng/common since they are no longer being used. (#1067)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-12-09 12:53:47 -08:00
Anton Kolesnyk
828bb4098a
Make changes towards making libraries individually buildable (#1108) 2020-12-09 04:02:29 -08:00
Kan Tang
414a5769f1
Resolved a test error hidden by connection reuse. (#1095) 2020-12-09 20:01:46 +08:00
JinmingHu
5e04553a31
disable unstable test (#1109) 2020-12-09 17:54:51 +08:00
JinmingHu
09e174865a
replace * with - (#1110) 2020-12-09 16:15:25 +08:00
Anton Kolesnyk
035ba8509c
Move BearerTokenAuthenticationPolicy to Http namespace/policy.hpp (#1104) 2020-12-08 17:04:03 -08:00
Azure SDK Bot
6ff9b7b605
Sync eng/common directory with azure-sdk-tools for PR 1257 (#1100)
* Make up the css using for .net sdk github io pages

* Remove index.html

* Make changes to js

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-08 13:43:41 -08:00
Anton Kolesnyk
d20d5eb139
Check for BUILD_TESTING and BUILD_SAMPLES inside Storage's cmakefiles (#1071) 2020-12-08 12:34:14 -08:00
JinmingHu
24c0e72601
GetPageRangesDiff and GetManagedDiskRangesDiff (#1090)
* GetPageRangesDiff GetManagedDiskRangesDiff
2020-12-08 13:35:05 +08:00