Commit Graph

810 Commits

Author SHA1 Message Date
Anton Kolesnyk
84ffcd7168
Simplify logging (#1568)
Closes #1180.
2021-02-09 04:37:08 +00:00
Ahson Khan
5359e2793a
Remove Storage::Md5 and replace it with the one from Azure::Core. (#1618)
* Add MD5 hashing APIs to Azure::Core available from azure/core/md5.hpp.

* Add simplified header test for md5 and base64.

* Add changelog entry.

* Remove unnecessary include.

* Remove Storage::Md5 and replace it with the one from Azure::Core.

* Fix clang formatting.

* Add required cstdint include directive.

* Update storage based on recent changes to Md5 hash APIs.
2021-02-08 20:04:25 -08:00
Kan Tang
306913ff1b
Refined DataLake APIs (#1627) 2021-02-09 10:58:11 +08:00
Kan Tang
19ea155f45
Refined File service. (#1629) 2021-02-09 10:57:55 +08:00
Ahson Khan
b3497f8c16
Add a Hash base class to Azure::Core and redesign Md5 to derive from it. (#1632)
* Add MD5 hashing APIs to Azure::Core available from azure/core/md5.hpp.

* Add simplified header test for md5 and base64.

* Add changelog entry.

* Remove unnecessary include.

* Address feedback - add back ptr, length APIs.

* Address PR feedback - docs and typo fixes.

* Add a Hash base class and redesign Md5 to derive from it.

* Add test for call to final on empty instance.

* Remove old file which got renamed to hash.hpp.

* Remove md5.hpp file references.

* Address PR feedback - move to crypto, remove virtual, and misc.
2021-02-08 18:31:12 -08:00
Victor Vazquez
1f849ec384
fix docs (#1633) 2021-02-08 17:13:30 -08:00
Ahson Khan
4d3ecf39e7
Use the port defined in the URL when setting up the transport adapter usage. (#1611)
* Use the port defined in the URL when setting up the transport adapter usage.

* Fix typo when getting the request object.
2021-02-08 16:51:27 -08:00
Ahson Khan
568d4bcc4e
Add MD5 hashing APIs to Azure::Core available from azure/core/md5.hpp. (#1617)
* Add MD5 hashing APIs to Azure::Core available from azure/core/md5.hpp.

* Add simplified header test for md5 and base64.

* Add changelog entry.

* Remove unnecessary include.

* Address feedback - add back ptr, length APIs.

* Address PR feedback - docs and typo fixes.
2021-02-08 15:34:41 -08:00
Victor Vazquez
d9ae3cf5fd
skip not wished files from docs (#1630)
fixes: #1621
2021-02-08 22:24:06 +00:00
Anton Kolesnyk
281dd37945
Add simplified header test for Identity (#1625)
* Add simplified header test for Identity

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-08 13:01:44 -08:00
Azure SDK Bot
234a0eff28
Update devops helper script based on changes in azure-sdk repo (#1628)
- Sync devops helper script changes
- Fix issue in SemVer script when using strict mode with Language not set

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-02-08 12:45:38 -08:00
JinmingHu
90430040d5
Many changes to File service and DataLake service (#1623)
* changes

* UploadRangeFromUri

* fileattributes

* test case for file attributes

* add new lines

* changelog

* clang-format

* fix build error

* uri->url

* changes to datalake

* Remove BreakResult::LeaseTime
2021-02-08 19:57:30 +08:00
Anton Kolesnyk
8389e86567
Add VcPkg OpenSSL dependency for Azure::Core (#1620)
* Add VcPkg OpenSSL dependency for Azure::Core

* OpenSSL is not required on UWP either

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-06 18:55:59 -08:00
Anton Kolesnyk
b4c190b285
Remove vcpkg integration snippet duplication for the root cmakefile (#1612)
* Remove vcpkg integration for the root cmakefile

* az_vcpkg_integrate()

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-05 21:19:28 -08:00
Victor Vazquez
06f7028bad
Use exception from keyvault (#1516) 2021-02-05 18:38:11 -08:00
Anton Kolesnyk
b55063dfac
Use Url::Encode() instead of the own implementation (#1614)
Closes #738.
2021-02-06 00:31:22 +00:00
Anton Kolesnyk
1c26120654
Uncomment temaplte's find_package(core) now that it is released (#1616)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-05 16:23:31 -08:00
Anton Kolesnyk
79864623f0
Tests: DateTime: add TimeRoundtrip test (#1613)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-05 16:21:24 -08:00
Ahson Khan
9ed77d8b06
Add WinHttp cmake option to the contributing guide (#1610)
Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/1300
2021-02-05 19:49:22 +00:00
Rick Winter
a57cb349eb
Add context tests for ThrowIfCancelled and ApplicationContext (#1602) 2021-02-05 19:12:47 +00:00
Daniel Jurek
d92e88415b
Add succeeded() condition to dependent jobs (#1605)
Without checking for succeeded() these jobs will run regardless of the success or failure of the TagRepository step.
2021-02-05 16:28:16 +00:00
Victor Vazquez
43aa7ff7ad
[Perf Framework] (#1528)
perf test infrastructure
2021-02-04 19:51:35 -08:00
Azure SDK Bot
c247b22e28
Increment version for storage releases (#1582)
Increment package version after release of azure-storage-common
2021-02-05 02:48:00 +00:00
Rick Winter
87cce3910f
Add conditional request support (#1592)
- MatchConditions
- RequestConditions
2021-02-04 19:46:12 +00:00
Kan Tang
12cdf64152
Added release date for File's changelog (#1595)
# Pull Request Checklist

Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:

See the detailed list in the [contributing guide](https://github.com/Azure/azure-sdk-for-cpp/blob/master/CONTRIBUTING.md#pull-requests).

- [x] [C++ Guidelines](https://azure.github.io/azure-sdk/cpp_introduction.html)
- [x] Doxygen docs
- [x] Unit tests
- [x] No unwanted commits/changes
- [x] Descriptive title/description
  - [x] PR is single purpose
  - [x] Related issue listed
- [x] Comments in source
- [x] No typos
- [x] Update changelog
- [x] Not work-in-progress
- [x] External references or docs updated
- [x] Self review of PR done
- [x] Any breaking changes?
2021-02-04 13:30:20 +00:00
Sylvain Joubert
2f250f3968
Fix math for bearer token refresh time (#1593) 2021-02-04 03:29:42 -08:00
Azure SDK Bot
4f7e8c03bf
Sync eng/common directory with azure-sdk-tools for PR 1366 (#1588)
* Scan all duplicate artifacts which set hide to true

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

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

* Update Generate-DocIndex.ps1

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>
2021-02-03 23:06:00 -08:00
Azure SDK Bot
6fc06e80f3
Sync eng/common directory with azure-sdk-tools for PR 1365 (#1587)
* Updated cosmos emulator yml script to remove the existing installation, install latest version and run emulator with latest version

* Added default emulator start arguments if none provided

* Updated default start params

* Updated default start params in PS script

* Updated default start params in PS script

Co-authored-by: Kushagra Thapar <kuthapar@microsoft.com>
2021-02-03 14:19:41 -08:00
Azure SDK Bot
30938091ff
Sync eng/common directory with azure-sdk-tools for PR 1364 (#1586)
* Support sub directory for artifact location

* Fix as per review comment to avoid artifact sub path

* Package property file is not created for track1 and management pacakges.

* Fix property name case

* Fix as per review comments

* Fix as per review comments

* Use Config File param value as is

* Change to make path joineasily readable

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2021-02-03 13:29:43 -08:00
Azure SDK Bot
268941b298
Increment package version after release of azure-identity (#1575) 2021-02-03 08:26:19 -08:00
Azure SDK Bot
1c86f14cc8
Increment package version after release of azure-core (#1574) 2021-02-03 08:25:48 -08:00
JinmingHu
a59e635915
release beta.7 (#1581) 2021-02-03 19:52:53 +08:00
Kan Tang
60cf8733cf
Refined list/download returned properties (#1579)
* Refined list/download returned properties

* align with blob/datalake

* Resolve clang format issue.
2021-02-03 18:23:50 +08:00
Kan Tang
d0a6f7e8f8
Refined returned properties for list/download API in DataLake. (#1580)
* Refined returned properties for list/download API in DataLake.

* Refine readme

* Resolve review comments
2021-02-03 18:23:37 +08:00
JinmingHu
d26e148c86
refine list return types for blob service (#1578)
* refine return type of listblob and listblobcontainers

* changelog
2021-02-03 16:14:14 +08:00
JinmingHu
c8da53d544
Change ChangeLease return type (#1573)
* ChangeLease return type

* file client

* Add comment

* return Result rather than Client

* fix

* fix
2021-02-03 14:49:24 +08:00
Victor Vazquez
9b7849c155
changelog for release Core Beta 5 and Identity Beta 3 (#1572)
* changelog for release

* missing changelog entries
2021-02-02 18:15:33 -08:00
Anton Kolesnyk
06d66492eb
Add TokenRequestOptions and ClientSecretCredentialOptions (#1527)
* Add GetTokenOptions
2021-02-02 17:09:33 -08:00
Anton Kolesnyk
6b9b57815e
Follow suggestions for improving azure-core CMake files (#1534)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-02 15:03:19 -08:00
Anton Kolesnyk
4f0ee2eaa2
Update changelog for the 'retry-after' fix (#1535) 2021-02-02 14:11:17 -08:00
Anton Kolesnyk
376cca6acd
Changelog: add () after function names. (#1569)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-02 13:57:18 -08:00
Daniel Jurek
dbd9c62a78
Add TagRepository dependency (#1567)
* Add TagRepository dependency

* Remove extra CPP
2021-02-02 09:55:07 -08:00
JinmingHu
fab5c1139b
Refine DownloadBlobResult and DownloadBlobToResult (#1564)
* blob result

* rename

* fix

* fix
2021-02-02 19:25:22 +08:00
Daniel Jurek
2cc9099e1a
Add bypass-local-dns.yml to CI and test jobs (#1497)
* Add bypass-local-dns.yml to CI and test jobs

* Remove from client builds. Use of pools does not set variables needed for this to run. The fix may belong in another change.
2021-02-01 21:48:36 -08:00
Victor Vazquez
c6b919ac2a
release mode test for Linux with test (#1560)
* release mode test for Linux with test

* Fix GCC warning when building in Release configuration

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-02-01 21:43:40 -08:00
Azure SDK Bot
75255c2247
Sync eng/common directory with azure-sdk-tools for PR 1353 (#1562)
* Use a helper function to normalize the package name for readme

* Get the readme name from artifact-metadata-parsing

* Change to the readme

* Update eng/common/scripts/artifact-metadata-parsing.ps1

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

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>
2021-02-01 18:56:20 -08:00
Azure SDK Bot
67472249de
Fix DateTime bug (#1538)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-02-01 14:52:43 -08:00
Mitch Denny
d30408becd
Move live tests over to 1ES pools. (#1531) 2021-02-02 08:53:54 +11:00
Azure SDK Bot
3d668eeccf
Sync eng/common directory with azure-sdk-tools for PR 1351 (#1533)
* tweaks to New-TestResources readme
2021-02-01 09:36:50 -06:00
JinmingHu
ce189c1d99
Add BlobContainerClient::UploadBlob (#1532)
* Add BlobContainerClient::UploadBlob

* changelog
2021-02-01 17:50:25 +08:00