Commit Graph

245 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
JinmingHu
7d2cc26553
improve CMake (#1167) 2020-12-18 09:20:27 +08:00
Victor Vazquez
942c6aaffa
replace ifdef for if defined (#1199)
fixes: #1057
2020-12-17 22:57:40 +00: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
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
Anton Kolesnyk
3eae7c130c
Add VcPkg support (#1013) 2020-12-11 11:53:37 -08: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
Victor Vazquez
8f03807101
Use the default coverage report path (#1118) 2020-12-09 14:42:55 -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
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
Anton Kolesnyk
ce98087f7e
Don't use WINDOWS/POSIX/NOMINMAX macros defined in cmake, move them to source code instead (#1070) 2020-12-04 11:55:59 -08:00
Anton Kolesnyk
9d3b488524
Remove last pieces of Storage libs dependency on Identity (#1079) 2020-12-03 22:21:47 -08:00
JinmingHu
222967cc89
new field IsHnsEnabled in AccountInfo (#1068) 2020-12-03 05:53:52 +00:00
Kan Tang
72a6ea98a9
Update Readme for nlohmann-json. (#1069) 2020-12-03 04:22:15 +00:00
JinmingHu
9febf43832
CreateIfNotExists and DeleteIfExists (#1059)
* CreateIfNotExists DeleteIfExists for containers

* DeleteIfExists for blobs

* CreateIfNotExists for append blob

* CreateIfNotExists for page blob

* changelog
2020-12-03 11:19:52 +08:00
JinmingHu
46ce66d150
case-insensitive metadata (#1050)
* case-insensitive metadata

* Added support for case insensitive metadata for file/datalake service

Co-authored-by: Tank Tang <kat@microsoft.com>
2020-12-03 09:49:33 +08:00
Anton Kolesnyk
d61e106e89
Remove alternative token usage (#1053) 2020-12-02 16:14:17 -08:00
JinmingHu
31cd0d1e76
sas raw permissions (#1036) 2020-12-02 13:32:28 +08:00
JinmingHu
d0b128049d
Move StoragePerRetryPolicy and SharedKeyPolicy to Details namespace (#1046)
* move some policies to Details namespace

* changelog

* move StorageRetryPolicy to Details namespace

* changelog
2020-12-02 10:19:23 +08:00
Kan Tang
96892d9923
Resolved some API review comments from Arch board on File Share service. (#1033) 2020-12-02 10:18:41 +08:00
JinmingHu
4e38e8961e
fix typo (#1045) 2020-12-02 08:15:18 +08:00
JinmingHu
9b83bec0b4
rename variables for append blob access condition (#1035)
* rename variables for append blob access condition

* changelog
2020-12-01 10:14:18 +08:00
JinmingHu
f378a3a467
block id list now is a vector of strings (#1034)
* block id list now is a vector of strings

* changelog
2020-12-01 09:57:49 +08:00