Commit Graph

332 Commits

Author SHA1 Message Date
Azure SDK Bot
2ca2aad77d
Sync eng/common directory with azure-sdk-tools for PR 1081 (#751)
Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1081
 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/master/eng/common/README.md#workflow)
2020-10-12 23:07:54 +00:00
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
Ahson Khan
fc3ee11622
Update code owners to better manage default notifications. (#728) 2020-10-09 15:34:52 -07:00
Azure SDK Bot
e3503f8575
Support env vars with hyphens when printing output (#720)
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
2020-10-09 11:56:41 -07: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
Azure SDK Bot
453545afd6
Sync eng/common directory with azure-sdk-tools for PR 1077 (#711)
* Simplify Net-TestResources usage

* docs and windows check

* Update eng/common/TestResources/New-TestResources.ps1

Co-authored-by: Heath Stewart <heaths@outlook.com>

* update markdown

* make service directory the default parameter

* Fix links

* Doc change

Co-authored-by: Pavel Krymets <pavel@krymets.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2020-10-08 10:53:54 -07:00
Azure SDK Bot
326d8f8ddb
Sync eng/common directory with azure-sdk-tools for PR 1066 (#713)
* Update cache-control for newly created blobs

* remove extra

* remove extra space

* Added the cache control for existing blobs as well

* Update copy-docs-to-blobstorage.ps1

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2020-10-08 09:09:03 -07:00
Victor Vazquez
400ca5ae29
Adding retry policy to unit tests (#707) 2020-10-07 14:10:11 -07:00
Azure SDK Bot
91de5a1bf3
Sync eng/common directory with azure-sdk-tools for PR 1052 (#705)
* Update location of patch files

* Add some changes in eng/common to test things

* Switch to pushing to upstream

* Change workflow to use upstream branches

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-06 20:20:03 -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
ku-sourav
a4588240e9
Add build instruction for running tests (#690)
Added build arguments to pass to cmake  for running tests. If these
options are not passed during cmake build and someone tries to run test,
it will throw error "No tests were found!!!"
2020-10-02 17:47:02 +00:00
Azure SDK Bot
b976b5b3b1
Sync eng/common directory with azure-sdk-tools repository for Tools PR 1031 (#678) 2020-10-01 11:45:44 -07:00
Azure SDK Bot
9c0620c5a9
Sync eng/common directory with azure-sdk-tools repository for Tools PR 1061 (#699) 2020-09-30 12:54:42 -07:00
Azure SDK Bot
50376590d9
Sync eng/common directory with azure-sdk-tools repository for Tools PR 1032 (#675) 2020-09-30 11:42:51 -07:00
Azure SDK Bot
a5b733b3a9
Sync eng/common directory with azure-sdk-tools repository for Tools PR 1059 (#695) 2020-09-30 09:29:21 -07:00
Azure SDK Bot
e551d6addf
Sync eng/common directory with azure-sdk-tools repository for Tools PR 1056 (#694) 2020-09-30 09:12:13 -07: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
bac7f28570
Pin package version (#688) 2020-09-25 13:46:53 -07: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
Azure SDK Bot
1490f38953
Sync eng/common directory with azure-sdk-tools repository for Tools PR 1029 (#674) 2020-09-24 16:37:21 -07:00
Rick Winter
f73f61119b
Add cgmanifest and NOTICE file to template project (#682) 2020-09-24 18:31:55 +00:00
Azure SDK Bot
ec79604e3c
Sync eng/common directory with azure-sdk-tools repository for Tools PR 1041 (#680) 2020-09-24 05:14:58 -07:00
Azure SDK Bot
7d9fd0de57
Sync eng/common directory with azure-sdk-tools repository for Tools PR 989 (#647) 2020-09-23 18:12:39 -07: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
Azure SDK Bot
94e0f7747b
Sync eng/common directory with azure-sdk-tools repository for Tools PR 1022 (#670) 2020-09-22 16:08:45 -07:00
ku-sourav
d3c437947a
Mention VCPKG_DEFAULT_TRIPLET in Build instruction (#673)
Cmake fails to find packages(curl, etc) if VCPKG_DEFAULT_TRIPLET is not set to x64-windows-static. If not set, cmake sets VCPKG_TARGET_TRIPLET to x64-windows instead of x64-windows-static. Since curl was installed using x64-windows-static in vcpkg, cmake fails to find the package. Adding set VCPKG_DEFAULT_TRIPLET to x64-windows-static explicitly in build instructions so that it is helpful to avoid cmake error(could not find CURL)
2020-09-21 11:10:39 -07:00
Sima Zhu
8fed524b96
Replaced relative link with absolute links and remove locale (#668) 2020-09-17 22:28:36 -07:00
Daniel Jurek
5ddeaabab9
Use vcpkg cache (#646) 2020-09-17 21:16:09 -07:00
Sima Zhu
caf9fbc7d6
Enable master link replacement feature for cpp (#632) 2020-09-17 17:51:27 -07:00
Jeffrey Richter
0138fad17b
Update CODEOWNERS (#667) 2020-09-17 16:03:19 -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
Azure SDK Bot
928b0a2da2
Sync eng/common directory with azure-sdk-tools repository for Tools PR 895 (#619) 2020-09-16 12:00:28 -07:00
Azure SDK Bot
0f262cd0e0
Sync eng/common directory with azure-sdk-tools repository for Tools PR 974 (#620) 2020-09-16 10:02:19 -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