Commit Graph

524 Commits

Author SHA1 Message Date
Anton Kolesnyk
7d6d3dbf8f
Make SDK buildable in VS 2017 (#1078) 2020-12-03 19:16:18 -08:00
Azure SDK Bot
8df6ecf9f9
Sync eng/common directory with azure-sdk-tools for PR 1233 (#1075)
* reformatted parameter arguments to both update-docs scripts. added parameter requirements and renamed CIRepository to DocRepoLocation which is a lot clearer. Added additional CIConfig parameter to update-docs-metadata to support specific write locations per moniker.

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2020-12-03 13:57:11 -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
Anton Kolesnyk
3145ec02c1
Fix MSVC warning D9025 ("overriding '/W3' with '/W4'") (#1072)
See https://stackoverflow.com/questions/58708772/cmake-project-in-visual-studio-gives-flag-override-warnings-command-line-warnin

--
This change was extracted from #1013, in order to isolate some of the changes.
2020-12-03 16:16:40 +00:00
JinmingHu
222967cc89
new field IsHnsEnabled in AccountInfo (#1068) 2020-12-03 05:53:52 +00:00
Kan Tang
72a6ea98a9
Update Readme for nlohmann-json. (#1069) 2020-12-03 04:22:15 +00:00
JinmingHu
9febf43832
CreateIfNotExists and DeleteIfExists (#1059)
* CreateIfNotExists DeleteIfExists for containers

* DeleteIfExists for blobs

* CreateIfNotExists for append blob

* CreateIfNotExists for page blob

* changelog
2020-12-03 11:19:52 +08: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
JinmingHu
46ce66d150
case-insensitive metadata (#1050)
* case-insensitive metadata

* Added support for case insensitive metadata for file/datalake service

Co-authored-by: Tank Tang <kat@microsoft.com>
2020-12-03 09:49:33 +08:00
Sima Zhu
8d1450b855
Delete the redundant files and point to common scripts (#1062) 2020-12-02 17:23:58 -08: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
Anton Kolesnyk
d61e106e89
Remove alternative token usage (#1053) 2020-12-02 16:14:17 -08:00
JinmingHu
31cd0d1e76
sas raw permissions (#1036) 2020-12-02 13:32:28 +08:00
JinmingHu
d0b128049d
Move StoragePerRetryPolicy and SharedKeyPolicy to Details namespace (#1046)
* move some policies to Details namespace

* changelog

* move StorageRetryPolicy to Details namespace

* changelog
2020-12-02 10:19:23 +08:00
Kan Tang
96892d9923
Resolved some API review comments from Arch board on File Share service. (#1033) 2020-12-02 10:18:41 +08:00
JinmingHu
4e38e8961e
fix typo (#1045) 2020-12-02 08:15:18 +08:00
JinmingHu
9b83bec0b4
rename variables for append blob access condition (#1035)
* rename variables for append blob access condition

* changelog
2020-12-01 10:14:18 +08:00
JinmingHu
f378a3a467
block id list now is a vector of strings (#1034)
* block id list now is a vector of strings

* changelog
2020-12-01 09:57:49 +08:00
Victor Vazquez
cc75233a54
Remove curl transport adapter models and private headers form public layer (#1023) 2020-11-30 15:54:21 -08:00
Azure SDK Bot
84b76c30d4
Exclude bypass-local-dns step when a container variable is specified (#1011)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-30 17:39:50 -05:00
JinmingHu
85fb3e3530
Add "Blob" before every "Container" (#1028)
* Add "Blob" before every "Container"

* rename more

* rename more

* more

* more

* changelog
2020-11-26 18:46:21 +08:00
JinmingHu
4de5bcff96
rename SharedKeyCredential -> StorageSharedKeyCredential (#1025)
* rename SharedKeyCredential -> StorageSharedKeyCredential

* fix

* rename
2020-11-26 14:32:58 +08:00
JinmingHu
be601f2cdd
fix parameter name case (#1024)
* fix parameter name case

* more
2020-11-26 14:32:43 +08:00
Kan Tang
50170a062d
Removed client secret credential support for file service. (#1015)
* Removed client secret credential support for file service.

* Removed #include "azure/identity/client_secret_credential.hpp"
2020-11-26 14:06:48 +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
Kan Tang
847e769576
Add more test cases to increase datalake service test coverage. (#1014)
* Add more test cases to increase datalake service test coverage.

* add coverage for download to file.

* Reformat the include files.
2020-11-24 15:51:32 +08:00
Kan Tang
fdc06b978d
Removed Share Lease due to it not supported until STG 76 (#1016)
* Removed Share Lease due to it not supported until STG 76

* Update breaking change.

* Added removed APIs list in change log.
2020-11-24 13:39:02 +08:00
Azure SDK Bot
72019486a1
Fixed the bug of the wrong parameter (#1017)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-11-23 19:28:28 -08:00
Azure SDK Bot
6a2eeb8e83
Sync eng/common directory with azure-sdk-tools for PR 1226 (#1012)
* Fixed the docindex.yml and rename the files

* Reset the mutated changes

* Force checkout as the changes have already copied out

* Minor changes for parameters

* Update Generate-DocIndex.ps1

* Update Generate-DocIndex.ps1

* Update Generate-DocIndex.ps1

* Added function to common

* Update Generate-DocIndex.ps1

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2020-11-23 16:22:18 -08:00
Kan Tang
7c8d40bddf
Resolve protocol layer latest comment proposed changes from review. (#1003)
* Removed c_ in datalake/file's protocol layer

* Changed to use Azure::Core's ToLower
2020-11-23 12:42:34 +08:00
Azure SDK Bot
a09584a925
Sync eng/common directory with azure-sdk-tools for PR 1219 (#1008)
* Move entire docgeneration into common tools

* Move docindex to common

* Added the package replacement logic

* Fixed on parameters

* Fixed param

* Change function to dash

* Added regex on function

* Added display name.

* Update eng/common/docgeneration/Generate-DocIndex.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Deal with js

* Add no new line args

* revert some test changes

* Need to default to the double quotes for JS regex

* Update Generate-DocIndex.ps1

* Added the appTitle

* type

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2020-11-20 08:15:29 -08:00
Gabor Gyimesi
50806328d6
Fix linker error of missing pthread on Linux (#980) 2020-11-20 00:07:59 -08:00
JinmingHu
fadb43e664
remove c_ (#1000)
* remove c_

* remove more c_

* remove more
2020-11-20 12:24:23 +08:00
JinmingHu
2b56b8b026
clients accept TokenCredential as param (#998) 2020-11-20 12:24:04 +08:00
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
Azure SDK Bot
71c5cca9d5
Swtich back to smoke-test before doc publishing error gets fixed. (#1006)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-11-19 18:31:00 -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
Azure SDK Bot
e2bfa85d8b
Sync eng/common directory with azure-sdk-tools for PR 1203 (#999)
* Refactoring artifact-metadata-parsing.ps1, update-docs-metadata.ps1, and create-tags-and-git-release.ps1

* Clean up common imports

* Refactor Update-docs-ci.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-18 21:50:29 -08: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
Azure SDK Bot
c9258ee33f
Sync eng/common directory with azure-sdk-tools for PR 1210 (#984)
* Cache created service principal for iteration

Useful when testing changes over and over again without passing your own -TestApplicationId and -TestApplicationSecret.

* Restore initial AzContext for New-TestResources

* Make sure PSBoundParameters is correct

Fixes #1177

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2020-11-16 13:42:08 -08:00
Chidozie Ononiwu
af8cb73006
Update LanguageSetting.ps1 (#985) 2020-11-16 10:03:09 -08:00
Gabor Gyimesi
a716e094fe
Fix default EndpointSuffix when parsing connection string (#981) 2020-11-16 09:58:01 +08:00
Sima Zhu
8aebd51c22
Add collapsible version on github io. (#982) 2020-11-14 17:13:22 -08:00