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
Victor Vazquez
f699e25ab8
Add unit test for simplified core.hpp header ( #824 )
...
* Add unit test for simplified core.hpp header
2020-10-21 17:10:34 -07:00
Victor Vazquez
9c96688b6e
rename RequestCancelException to OperationCanceledException ( #825 )
2020-10-21 01:31:26 -07:00
Victor Vazquez
9d47db1d4a
Add RequestFailedException ( #717 )
...
* Add RequestFailedException
2020-10-20 22:22:02 -07:00
Rick Winter
e88274f33f
Remove reference to removed header ( #821 )
2020-10-20 23:42:42 +00:00
Victor Vazquez
eec298d16a
Prevent zero length pipeline ( #813 )
...
fixes: https://github.com/azure/azure-sdk-for-cpp/issues/726
2020-10-20 20:01:26 +00:00
Victor Vazquez
e1dddce239
remove azure hpp ( #809 )
...
Remove Azure.hpp
Make Azure/Core/Strings.hpp public
Move ToLower and InvariantIsEqual to Strings.hpp
Also removing `AZURE_UNREFERENCED_PARAMETER`
fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/811
2020-10-20 18:08:58 +00:00
Victor Vazquez
90387b3c5d
Add core.hpp general header ( #807 )
...
General header for all public Core headers.
This header will be used for API review tool.
https://github.com/Azure/azure-sdk-for-cpp/issues/812
2020-10-20 17:49:09 +00:00
Anton Kolesnyk
a1385518a2
DateTime: Allow dates from 1601 to 1900 ( #799 )
...
Closes #769 .
2020-10-17 02:05:05 +00:00
Victor Vazquez
d79d95e5b7
Add prefix for Azure Core Tests - Fix CI test run ( #801 )
...
* Add prefix for Azure Core Tests
2020-10-16 17:39:02 -07:00
Kan Tang
8f1ab29a6d
Added breaking change documentation for behavior change in Core. ( #798 )
2020-10-16 15:25:13 -07:00
Victor Vazquez
fda43987e4
removing log member from curl session ( #789 )
...
Remove the m_logger member from curl session and use logger directly from static logger in application
2020-10-16 00:45:52 +00:00
Victor Vazquez
854bd834cc
Adding tests to verify that request can be canceled while waiting for socket ( #782 )
...
* adding tests for cancel
2020-10-15 10:13:29 -07:00
Victor Vazquez
d4ff61919f
Prevent transport adapter to keep pulling for data on a closed connection ( #780 )
...
* thow if connection is closed when reading response
* improve comment
* format
2020-10-14 19:18:43 -07:00
Victor Vazquez
724e6ca512
Make waiting for socket cancelable ( #719 )
...
* Make waiting for socket cancelable
2020-10-14 16:55:04 -07:00
Anton Kolesnyk
a38de03e7b
Extract part of credentials to Identity module ( #748 )
2020-10-13 07:33:18 -07:00
Ahson Khan
c44d9b4f3b
Make sure CI pipelines legs get triggered when cmake modules are modified. ( #755 )
...
Certain PRs, like this - https://github.com/Azure/azure-sdk-for-cpp/pull/753 weren't triggering any CI pipelines to run, when they should.
Following suggestion from Wes: https://github.com/Azure/azure-sdk-for-cpp/pull/728#issuecomment-707251860
@Jinming-Hu, @katmsft - I think we should make a similar change to the storage ci.yml file.
2020-10-13 02:57:35 +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
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
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
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
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
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
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
Azure SDK Bot
9fa18c4174
Increment package version after release of azure-core ( #630 )
2020-09-09 21:41:10 -07:00