Commit Graph

217 Commits

Author SHA1 Message Date
Azure SDK Bot
c4f09c6894
Increment package version after release of azure-core (#734) 2020-10-12 11:15:38 -07:00
Victor Vazquez
9eb132249b
Url use url encoded queries (#730)
* keep url-encoded queries
2020-10-12 09:39:46 -07:00
Kan Tang
966b7892b2
Avoid test case throw meaningless exception when sys env is not set. (#723)
* Avoid test case throw meaningless exception when sys env is not set.

* Update sdk/storage/azure-storage-common/test/test_base.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* Update sdk/storage/azure-storage-common/test/test_base.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* Update sdk/storage/azure-storage-common/test/test_base.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* Apply clang format

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2020-10-12 14:49:30 +08:00
Kan Tang
582377fc1d
Fixed multichannel bug. (#737)
* Fixed multichannel bug.

* Resolved some comments.
2020-10-12 11:48:48 +08:00
Anton Kolesnyk
6ae0c0daac
Add DateTime: supporting standardized string date and time representations. (#718) 2020-10-09 19:13:48 -07:00
Victor Vazquez
cd2a8a3812
cmake updates for building transport adapters (#706)
Adding CMake module to enable/disable transport adapters

TRANSPORT ADAPTER BUILD  
Default: If no option is explicitly added, curl will be used for POSIX and WIN HTTP for WIndows 
 Windows: Both CURL and WIN_HTTP can be build to be used.                                        
POSIX: Only CURL is acceptable. If WIN_HTTP is set, generate step will fail for user            

Defines `BUILD_WIN_HTTP_TRANSPORT_ADAPTER` and `BUILD_CURL_HTTP_TRANSPORT_ADAPTER` for source code
 
Fixes #350
2020-10-10 00:08:57 +00:00
Victor Vazquez
2cc4ecdea8
Validate invalid HTTP headers (#703)
Creating new function to insert headers by validating characters on it are accepted chars for header name
fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/191
2020-10-09 23:35:58 +00:00
Victor Vazquez
dc9d3b0595
update CMake min version to 3.15 (#710)
Storage is using CMake version 3.15 and it is currently required for generating without errors
2020-10-09 23:26:01 +00:00
Rick Winter
82079de190
Added release notes for C++ (#714) 2020-10-09 17:06:52 +00:00
Kan Tang
f59ab214a6
Integrate storage retry policy. (#722)
* Integrate storage retry policy.

* Removed the logic to make URL empty when '.blob.' is not found in URL.
2020-10-09 14:30:35 +08:00
Kan Tang
1b351de2d8
Added 2020-02-10 features. (#692)
* Added 2020-02-10 features.

* Resolved comments.
2020-10-09 11:05:24 +08:00
Victor Vazquez
400ca5ae29
Adding retry policy to unit tests (#707) 2020-10-07 14:10:11 -07:00
Victor Vazquez
190a0e80b1
fixing typos from #686 (#704)
Follow up from #686 to address PR comments about typos
2020-10-06 23:10:42 +00:00
Kan Tang
a898fd819a
Added SetExpiry DataLake convenience layer. (#696) 2020-09-30 16:13:37 +08:00
JinmingHu
e238e28b0d
[Storage Common] Storage Retry Policy (#588)
* storage retry policy

* revert changes to azure core

* refactor storage retry policy

* fix typo

* change the logic a little bit

* adapt storage retry policy in blob batch client

* fix build error

* Add StorageRetryWithSecondaryOptions
2020-09-30 13:14:28 +08:00
JinmingHu
8c4c4e75a9
[Storage Blobs Service] STG 74 features (#652)
* SetExpiry protocol layer

* add test

* last access time

* upgrade blob sas to 2020-02-10

* datalake sas

* fix build error

* tag count

* enable tag test

* fix build error

* enable container soft delete test
2020-09-30 11:38:25 +08:00
Victor Vazquez
7c32578798
Perf fix windows (#686)
* sample for repro

* adding repro app

* reset win socket for perf windows
2020-09-29 11:37:31 -07:00
Casey Carter
21d4e4c5b4
Response<T> stores Nullable<T> (#654)
* Response<T> stores Nullable<T>

Drive-by: Replace `Nullable(const T&)` with `Nullable(T)` to avoid extra copy when initialized with an rvalue.

* Update sdk/core/azure-core/inc/azure/core/response.hpp

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

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2020-09-29 10:01:00 -07:00
JinmingHu
fbe95f36c5
fix variable casing (#689) 2020-09-28 11:10:32 +08:00
Rick Winter
8b22d3f478
Add Notice and cgmanifest for Core (#687)
* Add Notice and cgmanifest for Core
2020-09-25 10:57:06 -07:00
Rick Winter
d867d7e8ad
Standardize header includes (#685)
* Standardize header includes

Update sources to match guidelines

- `#include ""` when file is relative to the project
- `#include <>` when file is external to the project

Updated tests to mirror how a customer will include the header

- `#include <>`
2020-09-25 10:56:06 -07:00
Rick Winter
f73f61119b
Add cgmanifest and NOTICE file to template project (#682) 2020-09-24 18:31:55 +00:00
Victor Vazquez
fdcb150621
Replace select for epoll (#676)
* adding poll instead of select

* Windows support for polling

* fix for define check
2020-09-22 16:24:26 -07:00
Sima Zhu
8fed524b96
Replaced relative link with absolute links and remove locale (#668) 2020-09-17 22:28:36 -07:00
Sima Zhu
caf9fbc7d6
Enable master link replacement feature for cpp (#632) 2020-09-17 17:51:27 -07:00
Daniel Jurek
39e8dfd6e7
Vcpkg publish framework (#645)
* Add vcpkg artifact creation and port template copying
* Skip staging if vcpkg port directory doesn't exist
2020-09-17 15:45:43 -07:00
Kan Tang
34944552ad
Resolved an issue where path is not encoded. (#657) 2020-09-16 11:13:12 +08:00
JinmingHu
7584c208ab
Fix bug: encode blob name (#655) 2020-09-16 11:08:59 +08:00
JinmingHu
95f4034490
fix bug in blob tags (#653) 2020-09-15 10:52:23 +08:00
Victor Vazquez
9c9b2c242a
throw transport exception when getting new connection fails (#640)
* throw transport exception when getting new connection fails

* use function instead of macro

* Update function to PascalCase
2020-09-14 13:44:04 -07:00
JinmingHu
73ba0029bc
Add date in Changelog (#637)
* Add date in Changelog

* Update changelog

* Update changelog
2020-09-10 13:51:31 +08:00
Daniel Jurek
01cb68f763
Fix release tagging (#636)
* add ReleaseTag
* pkgId -> pkgName
* pkgId -> pkgName
* beta.2
2020-09-09 22:27:49 -07:00
Azure SDK Bot
9fa18c4174
Increment package version after release of azure-core (#630) 2020-09-09 21:41:10 -07:00
Rick Winter
6b1043fc3f
Update the repo readmes and changelog (#627)
* Update the repo readmes and changelog

* Lowercase beta

* Fix a couple instances of `preview`
2020-09-09 16:55:57 -07:00
Victor Vazquez
db4f318ffa
throw transport error when write error (#623) 2020-09-09 09:26:34 -07:00
JinmingHu
29c58ca4bf
[Storage Blobs Service] update changelog (#615)
* update changelog

* Add changelog

* Update changelog
2020-09-09 10:32:35 +08:00
JinmingHu
a5d09b5f47
disable blob tags ut (#613)
* disable blob tags ut

* fix ut

* disable tags in sas
2020-09-09 09:04:44 +08:00
Anton Kolesnyk
949d143284
Add doxygen comments (#611) 2020-09-08 11:00:06 -07:00
Ahson Khan
40121dd78a
Fix typo in comment. (#610) 2020-09-04 17:55:15 -07:00
Victor Vazquez
864582b10e
fix the url init in credentials (#599)
* fix the url init in credentials

* do not encode tenantId
2020-09-04 16:13:17 -07:00
Victor Vazquez
0dce4de5a1
throw runtime error if response is shorter than expected or gets closed (#577)
* throw runtime error if response is shorter than expected or gets closed

* trhow Azure::Core::Http::TransportException
2020-09-04 14:51:12 -07:00
Victor Vazquez
9eb4d41bfc
fix format and remove inline (#601) 2020-09-04 14:21:44 -07:00
Victor Vazquez
68ee875fca
Legal/adding notice for libcurl sample (#372)
* Adding libcurl sample usage to Notice
2020-09-04 14:15:35 -07:00
JinmingHu
c949400dba
fix bug in file sas (#597) 2020-09-04 17:30:07 +08:00
JinmingHu
bcdeeb1434
[Storage Blobs Service] Blob Tags (#416)
* blob tags

* add TagConditions for CreateSnapshot and GetBlockList

* update tags ut

* remove unsupported conditional headers from PutBlockFromUriOptions

* sas permission ut for tags

* add comment
2020-09-04 14:47:34 +08:00
JinmingHu
911a879a00
[Storage Blobs Service] Blob Batch (#582)
* blob batch

* fix build error

* Update sdk/storage/azure-storage-blobs/test/blob_batch_client_test.cpp
2020-09-04 14:47:11 +08:00
JinmingHu
07208d1720
[Storage Files Service] File sas (#568)
* File sas

* rebase on lastest master
2020-09-04 14:46:24 +08:00
Victor Vazquez
caf705c863
reuse code from tolower char (#583)
* reuse code from tolower char

* c_LocaleInvariant table to do tolower instead of toUpper
2020-09-03 22:46:28 -07:00
Kan Tang
d12db7f413
Added ChangeLog/Readme for file service. (#573) 2020-09-04 04:31:07 +08:00
Kan Tang
d9b58fd935
Resolved breaking change introduced by URL. (#584) 2020-09-04 04:18:48 +08:00