Commit Graph

98 Commits

Author SHA1 Message Date
Victor Vazquez
9fb4119ccb
Memory Stream - File Stream (win/lin) - HTTP Request / Response - Updates (#236)
* make stream use int64_t instead of uint64_t
2020-07-03 22:22:16 -07:00
Chidozie Ononiwu
c22e4f8386
Clean up azure-sdk-tools and reduce dependency on external resources (#228) 2020-07-02 14:20:12 -07:00
Azure SDK Bot
34468b6e46
Sync eng/common directory with azure-sdk-tools repository (#240) 2020-07-02 12:44:58 -07:00
Azure SDK Bot
1c9b932b57
Sync eng/common directory with azure-sdk-tools repository (#234) 2020-07-01 22:53:51 -07:00
JinmingHu
e61c3ff51a
Documentation for BlockBlobClient and Blob options (#235)
* Documentation for blob options

* Rename struct UploadBlobOptions -> UploadBlockBlobOptions

* documentation for BlockBlobClient
2020-07-02 10:01:27 +08:00
JinmingHu
74ce80659b
Documentation for Storage Blob Service, Nullable, signed int, and others (#213)
* use Nullable

* use C++ style cast

* Add documentation

* use signed int instead of unsigned

* disable storage ut

* add timeout in protocol layer

* enable stroage ut

* undelete test case

* Support copy status in properties

* Remove default value for SequenceNumber in CreatePageBlobOptions
2020-06-30 03:03:42 -07:00
Victor Vazquez
2877c959e1
Enable storage unit tests (#227)
* enable core unit tests to be compiled
* Avoid running core unit tests in CI
2020-06-29 14:19:46 -07:00
Azure SDK Bot
cdb5d324ee
Sync eng/common directory with azure-sdk-tools repository (#216) 2020-06-29 12:24:00 -07:00
Victor Vazquez
d58cbad14d
Unique ptr for body stream (#214)
* change bodyStream to unique ptr
2020-06-29 10:33:31 -07:00
Anton Kolesnyk
ad2e63afe1
Remake ClientSecretCredential (#212) 2020-06-27 15:27:11 -07:00
Daniel Jurek
0cfcdca725
Unified Pipelines for storage (#184)
* Add ci.yml for storage

* OSVmImage

* Use correct name for storage

* Update ci.ymls

* Documentation generation

* Fix tabbing

* More tabbing

* Use correct service directory for storage ci.yml

* Add docs assets

* Use cpp for dropdown generation

* Use cmake to generate documentation

* Use CMake to generate doxygen docs

* BuildArgs -> GenerateArgs

* Correct template path

* More CURL options

* Install curl to satisfy minimum build requirements

* use dependency variable name

* Add VCPKG_DEFAULT_TRIPLET

* Always generate documentaion when -DBUILD_DOCUMENTATION=YES

* Build docs at top level

* Change variable names, simplify cmake-build.yml

* -DBUILD_DOCUMENTATION

* Try using MathJax for formula rendering instead of Latex

* Add version.txt for storage

* artifact.Name -> artifact.Path

* Build docs by target

* Remove Doxyfile

* Remove Doxyfile.template

* Remove generate_docs.py, we are using cmake

* Pass CtestRegex to archetype-sdk-client job template)
2020-06-26 10:42:48 -07:00
Rick Winter
078cbc2205
Fix for non-msvc std lib (#222) 2020-06-26 09:45:29 -07:00
Rick Winter
866f4029e8
Update codeowners (#221) 2020-06-25 21:19:14 -07:00
Rick Winter
692cab5651
Nullable type (#204)
* Nullable type
Add Nullable type and tests
2020-06-25 13:58:27 -07:00
Azure SDK Bot
6a4a092c61
Sync eng/common directory with azure-sdk-tools repository (#180) 2020-06-25 09:48:51 -07:00
Kan Tang
1564e5106e
Resolved comments and rewrote StorageError. (#199)
* Resolved comments and rewrote StorageError.

* Changed Upn name, removed ';', refined error output, moved local function to unamed namespace.
2020-06-24 08:54:06 -07:00
JinmingHu
f74011a2e0
Add Unittest for Blob Service, other fixes and enhancements found during validation (#181)
* Give AccessTier a default value to eliminate warning

* Add blob clients conversion functions

* Fix bug in shared key authentication

* Add GetUri().

* make lease-status and lease-state optional

* Check duplicates in metadata

* add tests for blob service

* AppendBlocb doesn't support AccessTier

* fix bug in "RangeFromXml"

* redefine PageRange in convenience layer

* suppress warnings from gtest

* add API AppendBlockFromUri

* connection string parsing

* Add memorystream

* Rename connection string constants

* Adapt to new bodystream, this will be rewritten when bosystream is changed to unique_ptr

* fix compiler errors

* Change MemoryStream interface

* samples framework

* Add newline at the end of file

* fix compiler error
2020-06-24 01:17:09 -07:00
Victor Vazquez
e1e88b3984
Support for requests with no body (#202)
* avoid fail if no body in request

* request with no body

* fix for win86

* Update sdk/samples/http_client/curl/src/azure_core_with_curl_bodyBuffer.cpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2020-06-22 18:38:35 -07:00
Victor Vazquez
90345e090c
fix the number of bytes that are read by stream (#203) 2020-06-22 18:24:09 -07:00
Victor Vazquez
e5e063f88c
support no path request (#201) 2020-06-22 18:23:42 -07:00
Victor Vazquez
614fa143ba
adding host header automatically if missing for libcurl transport (#200) 2020-06-22 18:23:30 -07:00
Kan Tang
a8a200ef26
Added convenience layer for datalake service (#178) 2020-06-20 19:55:41 -07:00
Victor Vazquez
90e57362bf
Victor/http/add streams (#183)
* Adding body Stream for HTTP
* Adding libcurl session with custom send and receive
2020-06-18 21:43:00 -07:00
JinmingHu
5758bedc5c
Export symbols when building dll (#177) 2020-06-16 13:28:37 +08:00
Rick Winter
3a0cf11ef2
Adding the SDK team for notification (#179) 2020-06-15 15:01:37 -07:00
Azure SDK Bot
de6d6431d8
Sync eng/common directory with azure-sdk-tools repository (#170) 2020-06-15 11:37:39 -07:00
JinmingHu
4366159c50
Add more APIs in storage sdk (#169)
* Add xml serializer/deserializer

* Add blob service client, add undelete, set access tier, start copy, abort copy, create snapshot, stage block from uri

* add support for conditional headers

* support range download

* Change the helper functions order to alphabetical

so that we always get the same result in different environemnts.

* use c++ casting

* Add support for append blob and page blob

* remove redundant ; added by auto-generator

* Remove BlobType in BlockBlob::Upload

* Rename blob_client_options.hpp->blob_options.hpp

* Remove API version in request options
2020-06-15 17:31:36 +08:00
Daniel Jurek
f604a1dd00
Replace CMake steps with script steps (#156)
* Replace CMake steps with script steps
* Remove comment, use script tasks to invoke cmake going forward
2020-06-11 11:20:52 -07:00
Kan Tang
18408f848a
Adding ADLS gen2 protocol layer code. (#153)
* Adding test framework for azure storage.

* Adding ADLS gen2 protocol layer code.
2020-06-09 06:31:12 -07:00
JinmingHu
401298577e
Shared Key Authentication Policy (#160)
* Remove Date in request options, assign x-ms-version a default value

* reformat files with clang-format

* Add shared key policy and basic request policy

* Add openssl dependency for linux and macOS

* add some comments, some slight fixes

* Rename CommonRequestPolicy -> CommonHeaderRequestPolicy
2020-06-09 03:38:35 -07:00
Kan Tang
6e01498038
Adding test framework for azure storage. (#152) 2020-06-09 02:45:11 -07:00
JinmingHu
11f842bfbe
Add support for HTTP methods to unblock storage team (#158)
* Support all HTTP methods

* Add const qualifier

* fix compiler error on some platforms
2020-06-04 09:44:40 -07:00
JinmingHu
5fc6fea9f4
Auto-generated protocol layer of Container and BlockBlob (#144)
* add blob service auto generated protocol layer

* Add storage uri builder

* integrate with pipeline

* Add libxml2 dependency

* Fix variables name

* Rename variable and function name

* Move xxx_options.hpp out of internal directory

* Rename FromConnectionString -> CreateFromConnectionString
2020-06-04 13:21:08 +08:00
JinmingHu
502d3f15a9
Use move to initialize the body buffer (#150) 2020-06-03 10:13:26 -07:00
JinmingHu
711fe5f8c6
Add storage team members to code owners (#151)
* Add storage team members to code owners

* add storage team members
2020-06-01 16:20:08 -07:00
Azure SDK Bot
152aabbd83
Sync eng/common directory with azure-sdk-tools repository (#149) 2020-05-29 17:16:58 -07:00
Rick Winter
602f75744a
HttpPipeline and HttpPolicies (#63)
* HttpPipeline
2020-05-29 10:57:10 -07:00
Kan Tang
0b1eb288db
Use move to initialize the body buffer (#148) 2020-05-28 09:18:54 -07:00
JinmingHu
39f7c37e90
Discard the space after colon in HTTP respone headers (#143)
* Discard the space after colon in HTTP respone headers

* also discard tab
2020-05-28 09:11:46 -07:00
Azure SDK Bot
2c058bd053
Sync eng/common directory with azure-sdk-tools repository (#147) 2020-05-27 19:41:53 -07:00
Azure SDK Bot
64e653ac20
Sync eng/common directory with azure-sdk-tools repository (#141) 2020-05-21 06:36:56 -07:00
Victor Vazquez
c19f9e2b05
Adding writing response from curl to buffer (#64)
* write headers and response code to Response
2020-05-20 14:48:26 -07:00
Azure SDK Bot
d3360abf2b
Sync eng/common directory with azure-sdk-tools repository (#140) 2020-05-20 14:03:40 -07:00
Azure SDK Bot
f5f6ff037d
Sync eng/common directory with azure-sdk-tools repository (#108) 2020-05-15 17:26:38 -07:00
Azure SDK Bot
d89efac0ea
Sync eng/common directory with azure-sdk-tools repository (#107) 2020-05-15 16:50:15 -07:00
Azure SDK Bot
be7fdcaf33
Sync eng/common directory with azure-sdk-tools repository (#97) 2020-05-13 10:05:03 -07:00
Rick Winter
60ac28b0af
Update GitHub issue templates (#99) 2020-05-13 09:37:40 -07:00
Rick Winter
5350d1dbf8
Fix namespace case and file formating (#98) 2020-05-12 11:04:59 -07:00
Rick Winter
6b7b428e71
Fix casing on enum (#94)
* Fix casing on enum
* Update tests
2020-05-08 10:49:30 -07:00
Azure SDK Bot
23121835f2
Sync eng/common directory with azure-sdk-tools repository (#88) 2020-05-07 06:35:10 -07:00