Rick Winter
bcb684f95e
Add Operation<T> ( #1186 )
...
* Add Operation<T>
2020-12-17 14:47:20 -08:00
Victor Vazquez
20954d5dba
unify fileBodyStream in one single definition for Win and Lin ( #1198 )
...
* unify fileBodyStream in one single definition for Win and Lin
2020-12-17 11:23:01 -08:00
Victor Vazquez
1bfbaf7330
use gtest_discover_tests for creating tests ( #1195 )
2020-12-16 15:00:01 -08:00
Victor Vazquez
dacd6aa6c1
Added HTTP Range ( #1188 )
...
* Added HTTP Rangeom>
2020-12-16 14:27:17 -08:00
Victor Vazquez
fc7d52926a
init fields to avoid MSVC warning ( #1172 )
...
Fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/922
2020-12-15 22:21:24 +00:00
Victor Vazquez
8cd93803c4
Remove libcurl non required options ( #1153 )
...
Fixes: https://github.com/azure/azure-sdk-for-cpp/issues/931
2020-12-15 22:08:48 +00:00
Victor Vazquez
0b9befe13d
update default value to true for the SDK CurlTransportSSLOptions -> NoRevoke ( #1181 )
...
fixes : #1101
2020-12-15 01:01:12 +00: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
c22392e943
Add context.IsCanceled to provide a non-throwing alternative to ThrowIfCanceled. ( #1106 )
2020-12-10 23:01:12 +00: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
Anton Kolesnyk
828bb4098a
Make changes towards making libraries individually buildable ( #1108 )
2020-12-09 04:02:29 -08:00
Anton Kolesnyk
035ba8509c
Move BearerTokenAuthenticationPolicy to Http namespace/policy.hpp ( #1104 )
2020-12-08 17:04:03 -08:00
Anton Kolesnyk
bbe4b54528
Do not use ${TARGET_NAME} unless necessary ( #1094 )
2020-12-07 20:20:06 -08:00
Anton Kolesnyk
d1f162f9e3
Fix typo ( #1091 )
...
This change was extracted from #1013 , in order to isolate some of the changes.
2020-12-08 03:56:21 +00:00
Anton Kolesnyk
46419412c3
Use CONFIG QUIET when looking for packages ( #1092 )
...
This change was extracted from #1013 , in order to isolate some of the changes.
2020-12-08 03:55:21 +00:00
Victor Vazquez
4cc1754b63
fix warning while building master ( #1083 )
2020-12-04 16:08:18 -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
Victor Vazquez
3ca1104e91
use INCLUDE_DISABLED_TESTS for disabling tests ( #1077 )
...
* use INCLUDE_DISABLED_TESTS for disabling tests
2020-12-04 10:58:52 -08:00
Anton Kolesnyk
7d6d3dbf8f
Make SDK buildable in VS 2017 ( #1078 )
2020-12-03 19:16:18 -08:00
Victor Vazquez
34146cc7af
disable problematic test until it gets fixed ( #1065 )
...
Temporal patch for https://github.com/azure/azure-sdk-for-cpp/issues/1060 .
2020-12-03 20:05:11 +00:00
Victor Vazquez
c3afb7798f
Remove CMake nlohmann module ( #1042 )
...
fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/1041
Make nlohmann a 3rd party required lib. Do not fetch it with CMake if it is not found
2020-12-03 01:52:56 +00:00
Victor Vazquez
3822ca8729
use private as suffix for private headers ( #1040 )
...
fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/1039
Adding `private` suffix for private headers.
Updating core test CMake script to include the /src folder from CORE to expose the private headers to the tests. Then tests don't need to do relative-path includes.
2020-12-03 01:16:46 +00:00
Victor Vazquez
cc75233a54
Remove curl transport adapter models and private headers form public layer ( #1023 )
2020-11-30 15:54:21 -08:00
Victor Vazquez
c9c12e27aa
let azure core provide json interface ( #1004 )
...
* let azure core provide json interface
2020-11-24 15:55:46 -08:00
Gabor Gyimesi
50806328d6
Fix linker error of missing pthread on Linux ( #980 )
2020-11-20 00:07:59 -08:00
Victor Vazquez
ac09ee6f44
Fix coverage report for template and core pipelines ( #1002 )
...
Root Cause:
Storage project generates coverage files in a different location (sdk/*/*cov_xml.xml) from where Core and Template (sdk/*/*/*cov_xml.xml). Basically one level up.
When I added the coverage for Storage, I didn’t know we were also running live tests for Core and Template pipelines. It failed on them because the xml files were not found.
In the PR, I add a new parameter to pipelines to change the default path, and also I am disabling LiveTests from Core and Template, since it only runs the same thing that we run on CI pipelines (We can enable it if we ever have some live tests)
fix : #1001
2020-11-19 20:19:57 +00:00
Victor Vazquez
b8d9d42e5a
Update Notice and add cgmanifest.json ( #839 )
...
* Update Notice and add cgmanifest.json
2020-11-18 11:44:22 -08:00
Anton Kolesnyk
bbfffc5e46
Remove DateTime::operator Duration() ( #967 )
...
No need for it, other than the unit tests, which still can get it by subtracting epoch.
(https://github.com/Azure/azure-sdk-for-cpp/pull/938/files#r522344899 )
2020-11-12 20:09:00 +00:00
Anton Kolesnyk
78e34a2189
Update/correct DateTime exception documentation ( #950 )
2020-11-12 01:59:14 -08:00
Azure SDK Bot
04439563bf
Increment version for core releases ( #951 )
...
Increment package version after release of azure-core
2020-11-12 04:34:51 +00:00
Victor Vazquez
1df5cfac9c
changelog updated for Releasing 1.0.0-beta.3 ( #941 )
2020-11-11 18:30:38 -08:00
Anton Kolesnyk
56475b003a
DateTime: API review feedback ( #938 )
2020-11-12 01:48:00 +00:00
Victor Vazquez
eb509cebb8
maka transport adapter base class for any transport to add its own implementation ( #928 )
2020-11-10 15:42:09 -08:00
Victor Vazquez
4b4e8ba7ea
Adding datetime format decimal and no decimal ( #936 )
...
* revert change to xmlsoft link
* remove link
* Add DateFormat::Iso8601WithDecimals and DateFormat::Iso8601WithNoDecimals
* changelog
* add ToISO8601String with TimeFractionFormat
* update the name and add extra test
2020-11-09 17:50:05 -08:00
Victor Vazquez
c0ad020856
remove commented code ( #933 )
...
fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/930
2020-11-10 00:12:12 +00:00
Victor Vazquez
742e385350
Adding options for telemetry and transport policy ( #889 )
...
Fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/819
2020-11-07 01:01:03 +00:00
Victor Vazquez
c48bb033af
Test that a connection won't be moved to the connection pool if uploading fails ( #910 )
...
Fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/905
2020-11-06 20:36:27 +00:00
Victor Vazquez
7510c58c6a
remove space from header ( #907 )
2020-11-06 12:03:19 -08:00
Victor Vazquez
b1e08f713b
create error string only if there is an error and not before ( #912 )
2020-11-06 11:57:11 -08:00
Victor Vazquez
4b2e335d35
Add GetPort to URL ( #904 )
...
* Add GetPort to URL
2020-11-05 16:01:08 -08:00
Daniel Jurek
20349daf11
Live test framework ( #608 )
...
- Add live test framework
- Enable storage live tests
2020-11-05 14:59:05 -08:00
Victor Vazquez
7962546009
curl transport adapter options ( #885 )
2020-11-04 18:06:09 -08:00
Victor Vazquez
0676f788c3
remove throw from NextPolicy ( #877 )
...
Update NextPolicy to that a reference instead of a pointer to the policies vector.
This way we don't need to check if the pointer is null.
Then, handle the case were no transport adapter was found
fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/874
2020-11-04 17:03:35 +00:00
Rick Winter
e099942e25
Create a more random approach to uuid generation ( #868 )
...
* Create a more random approach to uuid generation
* Add two additional test cases for Uuid
2020-11-02 08:49:41 -08:00
Victor Vazquez
75c3f85ca6
handle server chunked response without number ( #881 )
2020-10-30 01:11:41 -07:00
Victor Vazquez
1fa314f19e
Refactor curl connection for mocking ( #869 )
...
* split curl headers
* curl transport refactoring for curl mocking support tests
2020-10-29 23:44:06 -07:00
Victor Vazquez
36ea25db7f
Do not reuse a connection that fail while uploading ( #863 )
2020-10-28 01:27:23 -07:00
Victor Vazquez
c764052e7c
Add Code coverage ( #830 )
...
* Add code coverage scripts
2020-10-27 15:35:15 -07:00
Victor Vazquez
5d0e7734c4
update exceptions to be a class instead of an struct ( #833 )
...
Fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/828
2020-10-22 02:53:46 +00:00