Граф коммитов

3427 Коммитов

Автор SHA1 Сообщение Дата
Kan Tang 62dd39c1be
Resolved review comments. (#544)
* Fixed review comments.

* Resolved some review comments
2020-08-27 16:54:35 +08:00
JinmingHu 3a4e1f3b49
Restructure storage directory (#536)
* Restructure azure storage directory

* Add tests and sample

* reformat with clang-format

* Reorder files in CMake

* load versions from version.txt

* fix crash

* Update README.md

* Use relative links

* fix CI

* Fix CI

* Try to fix CI

* Move option to the top of the file
2020-08-27 16:16:08 +08:00
Kan Tang 53bd00034b
Added samples and more test cases to file service and resolved some issues. (#539) 2020-08-26 19:56:15 -07:00
Azure SDK Bot 66641c377c
Sync eng/common directory with azure-sdk-tools repository for Tools PR 915 (#537) 2020-08-26 19:47:47 -07:00
Victor Vazquez 1f0da6fcc4
Clean routine (#530)
* adding cleaner routine
2020-08-26 16:51:24 -07:00
Kan Tang 2c84e3f094
Resolve some casing issue (#534) 2020-08-26 12:09:06 +08:00
Rick Winter c5438d623b
Restructure the azure inc folder (#514)
* Restructure the azure inc folder
2020-08-25 20:08:34 -07:00
Kan Tang ae6ada5cfb
Added lease support for DataLake's Path (#521) 2020-08-26 07:43:29 +08:00
Kan Tang b87bd0816c
Added GetSubDirectory. (#524) 2020-08-26 07:43:08 +08:00
Kan Tang 9c9e631c0d
Fixed datalake/file service protocol layer remaining issues. (#523)
* Fixed datalake build warnings on linux

* Pass context by reference instead.

* Added metadata key case check

* Fixed acronym casing.

* Fixes more acronym casing.
2020-08-26 07:42:46 +08:00
Victor Vazquez 760c645af0
remove double checking mutex (#528) 2020-08-25 15:52:02 -07:00
Victor Vazquez 80f2c2f407
Reuse connection when calling ReadToCount() (#518)
* change EOF for IsEOF function to avoid setting EOF after checking read everytime

* fix setting size to read

* move IsEOF to be private

* Update comment about not moving a connection back to the pool
2020-08-25 10:06:47 -07:00
JinmingHu cf08d39d14
Remove context from StorageError::CreateFromResponse (#511)
* Remove context from StorageError::CreateFromResponse

* Resolved issues in datalake/file protocol layer

Co-authored-by: Tank Tang <kat@microsoft.com>
2020-08-25 14:38:18 +08:00
Kan Tang 38241bb152
Added support for directory/file client for file service. (#510)
* Added support for directory/file client for file service.

* Resolve multiple comments

* Resolved some further comments

* Removed ShareSnapshot

* Fixed protocol layer and integrated refined concurrent download test from blob service.

* Fixed CI issue on Linux/Mac

* Adapted to change of Storage per-retry policy.

* Removed inconsistency comparing towards other SDKs.
2020-08-25 12:17:21 +08:00
JinmingHu f0ece5fd7a
[Storage Blobs] Optimize blob ut (#513) 2020-08-25 10:14:20 +08:00
JinmingHu b2dfbabd04
StoragePerRetryPolicy (#512) 2020-08-25 09:52:11 +08:00
Azure SDK Bot 1340539897
Sync eng/common directory with azure-sdk-tools repository for Tools PR https://github.com/Azure/azure-sdk-tools/pull/857 (#492) 2020-08-24 14:30:16 -07:00
Azure SDK Bot 4e9efce5f4
Sync eng/common directory with azure-sdk-tools repository for Tools PR https://github.com/Azure/azure-sdk-tools/pull/850 (#490) 2020-08-24 14:11:57 -07:00
Azure SDK Bot d2e2c8db1b
Sync eng/common directory with azure-sdk-tools repository for Tools PR https://github.com/Azure/azure-sdk-tools/pull/881 (#484) 2020-08-24 14:09:51 -07:00
Azure SDK Bot 20039198a4
Sync eng/common directory with azure-sdk-tools repository for Tools PR https://github.com/Azure/azure-sdk-tools/pull/903 (#494) 2020-08-24 13:35:30 -07:00
Victor Vazquez 70eeec5984
Connection pool for keep alive (#500)
* keep-alive. reuse same connection based on host
2020-08-21 15:41:45 -07:00
JinmingHu 755085f25d
GetBlobServiceStatistics (#496) 2020-08-21 09:29:26 +08:00
Victor Vazquez 67abbb3728
fix clang warnings on e2e tests (#495) 2020-08-20 00:07:44 -07:00
JinmingHu b9299478ee
[Storage Blob Service] Concurrent upload for Page Blob (#486) 2020-08-20 10:54:28 +08:00
JinmingHu 070772e7c5
Remove Content-MD5 and ContentCRC64 from Create{PageBlob|AppendBlob}Result (#487) 2020-08-20 10:52:21 +08:00
Azure SDK Bot 995d58d305
Sync eng/common directory with azure-sdk-tools repository for Tools PR https://github.com/Azure/azure-sdk-tools/pull/870 (#489) 2020-08-19 18:39:57 -07:00
Azure SDK Bot 44aa04cd88
Sync eng/common directory with azure-sdk-tools repository for Tools PR https://github.com/Azure/azure-sdk-tools/pull/902 (#493) 2020-08-19 17:05:11 -07:00
Azure SDK Bot 8c7f570b55
Sync eng/common directory with azure-sdk-tools repository for Tools PR https://github.com/Azure/azure-sdk-tools/pull/899 (#491) 2020-08-19 11:16:19 -07:00
Azure SDK Bot 848606fe5c
Sync eng/common directory with azure-sdk-tools repository for Tools PR https://github.com/Azure/azure-sdk-tools/pull/899 (#485) 2020-08-18 21:51:36 -07:00
Mitch Denny 420a72a9d5
Adjust CI YAML headers (#448) 2020-08-19 13:49:45 +10:00
JinmingHu 4c5286803b
[Storage Blob Service] ORS (#467) 2020-08-19 09:13:13 +08:00
Victor Vazquez 5cb3a644a4
Thow runtime error if reading fails at FileStream (#481)
* Handle non eof errors on Windows

* trhow on pread error for linux

* adding errno.h to fix macOS
2020-08-18 15:16:47 -07:00
Azure SDK Bot f649bf717a
Sync eng/common directory with azure-sdk-tools repository (#480) 2020-08-18 12:04:46 -07:00
Kan Tang e0bb037cdd
Fixed test failure due to network latency too low. (#466) 2020-08-18 11:13:39 +08:00
JinmingHu 42ffbc853e
[Storage Blobs Service] Seal Append Blob (#465)
* seal append blob

* copy seal append blob
2020-08-18 09:55:12 +08:00
Kan Tang 3042f69d5b
Rename return types for Datalake and file services. (#464) 2020-08-18 09:28:31 +08:00
JinmingHu 1dce74c642
[Storage Blobs Service] Undelete Container (#462)
* Undelete Container
2020-08-18 09:11:59 +08:00
Azure SDK Bot 9067d8ac5d
Sync eng/common directory with azure-sdk-tools repository (#377) 2020-08-17 15:09:40 -07:00
JinmingHu 24959f30da
[Storage Blobs Service] Rename Results and Options (#460)
* rename UploadFrom

* Rename CommitBlockListResult/Options GetBlockListResult/Options

* Rename DownloadBlobTo{Options/Result} UploadBlockBlobFrom{Options/Result}
2020-08-17 10:06:58 +08:00
JinmingHu 86a22901e9
[Storage Blobs Service] Transactional MD5 and CRC64 (#456)
* MD5

* Crc64

* crc64 concatenate
2020-08-16 00:30:49 +08:00
Rick Winter 0b2b688e72
Context improvements (#457)
* Expose the ContextValueType so callers can use it to get at key values.

* Add a const char * overload for construction

* Remove explicit conversion which adds an extra move construction.
const char* implicitly converts to std::string
2020-08-14 13:02:16 -07:00
Victor Vazquez e031696bce
handle size 0 chunked response (#451) 2020-08-14 09:57:42 -07:00
Victor Vazquez 311902fe25
Fix waitforsocket usage when receiving from socket (#453) 2020-08-14 09:03:54 -07:00
JinmingHu 069e359562
Rename return types and option types (#449)
* rename return types and option types

* define ConcurrentUploadBlockBlobFromBufferOptions and ConcurrentUploadBlockBlobFromFileOptions

* use std::move

* Rename DownloadTo

* update doc

* Resolved datalake build issues.

* Resolved some cmake issue when linking

Co-authored-by: Tank Tang <kat@microsoft.com>
2020-08-14 13:02:10 +08:00
Kan Tang d77ecf7917
Added support for share service (#450) 2020-08-14 13:01:51 +08:00
Anton Kolesnyk cc78776bcb
EnvironmentCredential with ClientSecretCredential support (#442) 2020-08-13 14:28:08 -07:00
Rick Winter e3394ec3f5
Null out the union for the Undefined type (#444) 2020-08-13 13:11:17 -07:00
Jason Yang a7f17cee5a
Change from CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR on top-level cmake list allow cmake reference from client side (#305) 2020-08-13 09:37:55 -07:00
JinmingHu 698c4f5848
Replace old RFC1123 impl which cannot be built until GCC 5 (#440) 2020-08-13 08:17:27 +08:00
JinmingHu a848c65933
x-ms-client-request-id header (#439) 2020-08-13 08:16:52 +08:00