Commit Graph

317 Commits

Author SHA1 Message Date
JinmingHu
9fae36a4f7
rename uri->url (#997) 2020-11-20 10:55:10 +08:00
JinmingHu
980f858676
AccessConditions as a member (#996) 2020-11-20 10:54:27 +08:00
JinmingHu
c6da8da8c7
Rename Get{Block/Append/Page}BlobClient -> As{Block/Append/Page}BlobClient (#995) 2020-11-20 10:46:13 +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
JinmingHu
91c6116ead
fix (#994) 2020-11-19 09:34:44 +08: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
Victor Vazquez
84f690e968
Allow exclude for codecoverage (#939)
* Add support for EXCLUDE path from code coverage

* code coverage for live tests
2020-11-18 09:57:56 -08:00
Kan Tang
d906a89310
Updated Readme to reflect the change of default triplet. (#986) 2020-11-18 15:38:17 +08:00
JinmingHu
801e072e42
Blob test enhancements (#987) 2020-11-17 14:36:43 +08:00
JinmingHu
485b526a26
unify blob client options (#989)
* unify blob client options

* Unified client options is datalake/files and adapt blob breaking change.

Co-authored-by: Tank Tang <kat@microsoft.com>
2020-11-17 14:35:27 +08:00
Gabor Gyimesi
a716e094fe
Fix default EndpointSuffix when parsing connection string (#981) 2020-11-16 09:58:01 +08:00
Azure SDK Bot
e0ddcfec89
Increment version for storage releases (#979)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares
2020-11-13 13:15:48 -08:00
Ahson Khan
498d8429df
Add a simplified identity header. (#971)
* Add a simplified identity header.

* Update the CL.
2020-11-13 13:14:57 -08:00
Kan Tang
a96f4c6f7d
Changelog update for file/datalake service for beta.5 (#978)
* Changelog update for file/datalake service for beta.5

* Resolved review comments and refined the documentation.

* Add full stops.

* Moved bug fix below the features/breaking change section.
2020-11-13 14:55:21 +08:00
Kan Tang
206c8fb2d8
Changed version string for beta.5 release. (#973) 2020-11-13 13:15:16 +08:00
JinmingHu
c32f9b0cb2
changelog for storage common and blob (#974) 2020-11-13 13:13:31 +08:00
Kan Tang
97af13d7e6
Moved model types in file share service into Models namespace. (#965) 2020-11-13 10:52:00 +08:00
Kan Tang
216c88483a
Moved model types in datalake service into Models namespace. (#966) 2020-11-13 10:51:43 +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
JinmingHu
2eff3aa1b1
rename ToSasQueryParameters->GenerateSasToken (#958) 2020-11-12 08:30:04 +00:00
JinmingHu
43cc2e547c
customers cannot change sas version anymore (#957) 2020-11-12 08:29:24 +00:00
JinmingHu
3838944ab9
rename SetAccountKey->UpdateAccountKey (#955)
* rename SetAccountKey->UpdateAccountKey

* add doc
2020-11-12 14:05:56 +08:00
JinmingHu
b5005d910c
default concurrency from 1 to 5 (#952) 2020-11-12 14:04:38 +08:00
Azure SDK Bot
83e4efbf60
Increment version for identity releases (#956)
Increment package version after release of azure-identity
2020-11-12 05:02:21 +00: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
Ahson Khan
3390505745
Move the identity changelog to the directory expected by the pipeline. (#953)
See release pipeline failing: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=616379&view=logs&j=630dead4-e82d-55e1-e443-1204aff8eed9&t=a860a438-9be2-5317-d14b-bab172a8d9b6

This makes it consistent with all the other libraries, like core and storage:
https://github.com/Azure/azure-sdk-for-cpp/blob/master/sdk/core/azure-core/CHANGELOG.md
2020-11-12 03:48:37 +00:00
JinmingHu
9462201d9a
move stuff to Models (#945)
* move stuff to Models

* fix build errors

* fix build error

* Resolve datalake build issue

* fix build errors

* fix build errors

* reformat

Co-authored-by: Tank Tang <kat@microsoft.com>
2020-11-12 11:40:32 +08: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
JinmingHu
20a20d058b
customized http client (#864)
* customized http client
2020-11-11 08:25:19 -08:00
Kan Tang
927542cc6e
Resolve review comments from Core team. (#946) 2020-11-11 18:03:34 +08:00
JinmingHu
8e46bbaacd
API review change (#942)
* make SharedKeyCredential a class

* move xml stuff to Details namespace

* Rename LastModifiedTimeAccessConditions -> ModifiedTimeConditions

* remove {Block/Append/Page}BlobClientOptions

* file -> fileName

* rename StorageError->StorageException

* rename storage_error.hpp -> storage_exception.hpp

* fix build error

* Adapted name/namespace change

* fix typo

* Removed Azure in Azure::Storage

Co-authored-by: Tank Tang <kat@microsoft.com>
2020-11-11 17:05:46 +08:00
Kan Tang
8c45574292
Move protocol layer options and methods to details namespace. (#923)
* Move protocol layer options and methods to details namespace.

* Moved FromJson, FromString, ToString to details namespace.
2020-11-11 15:44:10 +08:00
JinmingHu
f99e4a57c7
move stuff to Details namespace (#921) 2020-11-11 09:41:19 +08: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
06f37eafc7
revert change to xmlsoft link (#935)
* revert change to xmlsoft link

* remove link
2020-11-09 15:37:48 -08:00
Ahson Khan
35c78c3e30
Disabling BlobContainerClientTest.BlobSasTest since it is failing live test (#925) 2020-11-09 15:17:06 -08:00
Kan Tang
6bb5cd788c
Removed IPv6 not compatible SAS test cases. (#920) 2020-11-09 21:07:48 +08:00
JinmingHu
344e778177
Storage uses Core::Encode (#855)
* use Core::Encode

* fix bug

* remove %
2020-11-09 14:59:14 +08: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