Commit Graph

1845 Commits

Author SHA1 Message Date
Ben Broderick Phillips
e5e675440b
Move squid image to registry mirror (#5218)
* Move squid image to registry mirror

* Add comments regarding private registry
2023-12-19 18:32:01 +00:00
Anton Kolesnyk
e328665588
Update cspell words and exclusions (#5231)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-12-15 17:41:11 -08:00
Anton Kolesnyk
a419a63bc0
AzureCliCredential to treat datetime without TZ info as local time. (#5179)
* AzureCliCredential to treat datetime without TZ info as local time.

* Fix spelling

* CLang-format

* Parse as local by appending TimeZoneOffsetAsString()

* Fix bad merge

* PR Feedback

* Merge

* Merge

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-12-15 17:39:58 -08:00
Anton Kolesnyk
15716714a4
Fix spelling errors (#5230)
* Fix spelling errors

* Exclusion list

* More updates for the exclusion list

* Even more updates for the exclusion list

* And even more updates for the exclusion list

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-12-15 14:17:59 -08:00
Anton Kolesnyk
eba15a9ff4
AzureCliCredential: add support for expires_on field. (#5180)
* AzureCliCredential: add support for xpires_on field.

* Remove unused variables

* Remove unused variables

* Clang-format

* Update changelog

* PR feedback

* Update unit test expectation

* PR Feedback

* Add comment

* Remove extra line

* PR feedback

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-12-15 01:13:09 +00:00
Theodore Tsirpanis
2dbaa8a37d
Disable default features in libxml2. (#5221)
* Disable default features in libxml2.
We don't seem to make use of any of them in `xml_wrapper.cpp`.

* Update changelog.

* Added "Acknowledgments" section to the Storage Changelog.

* "Identity" => "Storage" (my bad)

* Apply suggestions from code review

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-12-12 10:02:29 -08:00
JinmingHu
af6d5dcd07
fix typo in storage (#5220) 2023-12-05 12:50:11 +08:00
Larry Osterman
faeb832f8a
Initial cut at snippet generation tool. Also updated KeyVault Secrets readme to use snippets as a working proof of concept. (#5213)
* First cut at snippet generation - markdown files only for now.

* Removed trailing blank lines in updated file

* Use snippet generator for keyvault snippets
2023-11-30 19:40:30 +00:00
JinmingHu
a82d25302c
Revert "Storage/STG92 List Handles Include Client Name (#5088) (#5134)" (#5204)
This reverts commit 761f2586ad.
2023-11-30 12:47:21 +08:00
Anton Kolesnyk
c6fecca8e7
Remove unnecessary condition (#5210)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-29 12:52:45 -08:00
Anton Kolesnyk
79022a36ec
Identity changelog update - PR feedback (#5211)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-29 12:52:22 -08:00
Anton Kolesnyk
1b3b872b10
Move Azure::Core::_internal::UniqueHandleHelper to _detail (#5177)
* Move Azure::Core::_internal::UniqueHandleHelper to _detail

* Linux build fix

* More Linux fixes and clang-format

* Get back the @cond

* Revert one more @cond removal

* Linux fix: include necessary header

* Undo unnecessary clang-format

* Clang-format, again

* Trigger CI

* Trigger CI

* amqps, amqpvalue

* Update cspell.json

* Update curl.cpp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-29 08:39:04 -08:00
Anton Kolesnyk
73399d7325
Change samples to use DefaultAzureCredential (#5183)
* Change samples to use `DefaultAzureCredential`

* Missed instance

* Oaep

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-29 16:07:40 +00:00
Anton Kolesnyk
217b3cd8a5
Add thread safety for KeyVaultChallengeBasedAuthenticationPolicy (#5189)
* Add thread safety for `KeyVaultChallengeBasedAuthenticationPolicy`

* Copy constructor

* Add comment

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-29 07:37:15 +00:00
JinmingHu
d3a252db11
Use the same client-request-id for retry requests (#5182) 2023-11-29 06:21:10 +00:00
JinmingHu
71cee91d1b
fix typos in storage SDK (#5208) 2023-11-29 12:39:22 +08:00
Anton Kolesnyk
135e746243
BearerTokenAuthenticationPolicy to use shared_lock in case no refresh is needed (#5188)
* `BearerTokenAuthenticationPolicy` to use shared_lock in case no refresh is needed

* Copy constructor

* Update bearer_token_authentication_policy.cpp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 21:29:54 +00:00
Anton Kolesnyk
b997e76e0d
ClientCertificateCredential: better exception message for unsupported file extensions (#5197)
* Cert Cred: better exception message for unsupported file extensions

* fix spelling

* Make it better

* Empty path case

* adfs

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 12:19:05 -08:00
Anton Kolesnyk
bce301a841
Include error details into Identity exceptions (#5184)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 11:20:44 -08:00
Anton Kolesnyk
24ecd16308
Fix some spelling errors (for some PRs that are currently in review) (#5202)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 10:49:58 -08:00
Anton Kolesnyk
2da2d0d8cc
Remove some usages of internal APIs in samples (#5186)
* Remove some usages of internal APIs in samples

* std::cerr => std::cout

* Two errors would actually go to stderr

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 01:15:14 -08:00
Anton Kolesnyk
fbf58139f7
Nullable::Emplace() to set HasValue() (#5178)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 08:10:52 +00:00
Anton Kolesnyk
ee4be19b3f
URL: avoid double slash at the start of the path (#5187)
* URL: avoid double slash at the start of the path

* Remove unnecessary change

* More test coverage

* Changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-27 23:03:27 -08:00
Larry Osterman
a318d3756f
Make cspell checks case sensitive. Fixes #5198. (#5199)
* Make cspell checks case sensitive

* Add .vscode to path filter for CI pipeline

* Fixed some spelling errors
2023-11-27 22:04:25 +00:00
Anton Kolesnyk
6da4d9649d
FIx typos (#5185)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-27 13:55:27 -08:00
JinmingHu
74f6896a4f
replace internal functions in storage sample code (#5196) 2023-11-27 12:50:23 +08:00
JinmingHu
4a32d7266c
update storage NOTICE.txt (#5159) 2023-11-22 09:50:04 +08:00
Anton Kolesnyk
05d1f5455c
Make vcpkg.json comment multiline (#5175)
* Make vcpkg.json comment multiline

* Update core-opentelemetry tests to be able to compile with opentelemetry-cpp version 1.12.0

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-21 17:06:37 -08:00
Larry Osterman
1b2e58f743
Moved all uAMQP types out of public headers into _impl headers (#5171)
* Moved all uAMQP types out of public headers into _impl headers

* SocketListener is now in _detail
2023-11-17 09:32:06 -08:00
microzchang
761f2586ad
Storage/STG92 List Handles Include Client Name (#5088) (#5134)
* List Handles Include Client Name

* add test reocrd

* update test record

* update record
2023-11-17 10:50:58 +08:00
Larry Osterman
37e1952f71
Fixed Linux AMQP crash and many other fixes. (#5166)
* Return pointer to message rather than message; cleaned up API surface to remove uAMQP details

* ASAN configuration via CMAKE preset, not environment variable

* clang-tidy fixes
2023-11-14 23:45:24 +00:00
microzchang
2aafab4605
fix ci failure (#5160) 2023-11-13 03:47:31 +00:00
JinmingHu
61f2f836dc
update storage cgmanifest.json (#5136) 2023-11-13 09:52:44 +08:00
Azure SDK Bot
4db4630ee2
Increment package version after release of azure-identity (#5157) 2023-11-11 06:54:30 +00:00
Anton Kolesnyk
41b3df3dd3
Azure Identity November Release (#5102)
* Azure Identity November Release

* Re-order and move fix to new feature.

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-11-10 21:32:38 -08:00
Ahson Khan
f2bd22794d
Incapsulate all the defaults for options values such as authority host in a helper class and add authority host url validation. (#5155)
* Incapsulate all the defaults for options values such as authority host
in a helper class and add authority host url validation.

* Address PR feedback.
2023-11-11 05:00:14 +00:00
Ahson Khan
3b3795f3df
Revert order of credentials used within the DefaultAzureCredential (#5156)
back to what it was at previous GA.
2023-11-10 20:15:31 -08:00
Ahson Khan
d2419de28d
Add logging to WorkloadIdentityCredential to help with debugging. (#5153)
* Add logging to  to help with debugging.

* Fixup tests.

* Address PR feedback and fix up log messages to be more accurate.
2023-11-10 19:32:49 -08:00
Ahson Khan
083d52aefc
Fix typo in storage faq.md (#5139) 2023-11-10 04:42:13 +00:00
Ahson Khan
b082d54656
Update perf test secret_credential_test.hpp to be more generic to make modifications easier (#5150) 2023-11-10 03:54:05 +00:00
Ahson Khan
7632d67584
Re-use the selected credential that works for each subsequent request in DefaultAzureCredential by caching the chosen credential per instance. (#5142)
* Re-use the selected credential that works for each subsequent request in
DefaultAzureCredential by caching the chosen credential per instance.

* Update test to include per-instance caching validation.

* Addresss PR feedback and fix clang error on atomic assignment.

* Fix typo in CL and drop ifdef testing_build to investigate clang build
issue.

* Add double-colon in front of friend class.
2023-11-09 19:33:26 -08:00
Larry Osterman
7b8d324540
Fixed AMQP Link Credits hang; fixed several AMQP memory leaks. (#5119)
* Add link pollable; Fixed several memory leaks

* Rule of 5 fixes for AMQP and EventHubs types; moved message handle type to _detail namespace.

* Update sdk/core/azure-core-amqp/CHANGELOG.md

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-11-09 15:55:54 -08:00
Anton Kolesnyk
4997ec8a9f
Drop non-essential line from Storage FAQ (#5140)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-08 20:43:17 -08:00
Anton Kolesnyk
030ad9a6ca
Unify all markup C++ code sections to use 'cpp' (#5138)
* Unify all markup C++ code sections to use 'cpp'

* Update broken link

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-08 20:42:59 -08:00
Ahson Khan
f816bb194b
Harden checks for the tenant ID across all inputs. (#5106)
* Harden checks for the tenant ID across all inputs.

* Fix clang formatting.

* Fixup unit tests.

* Fixup test comments.
2023-11-09 01:57:00 +00:00
Heath Stewart
a9c492a8b3
Move MHSM to region with more availability (#5122)
* Move MHSM to region with more availability

Resolves #4613

* Trigger CI re-run

* Undo the trigger

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-11-08 11:44:57 -08:00
Azure SDK Bot
e94719131d
Increment version for storage releases (#5135)
* 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

* Increment package version after release of azure-storage-queues
2023-11-08 05:35:18 +00:00
Anton Kolesnyk
37060211b5
Fix malformed URL in KeyVault (#5129)
* Fix malformed URL in KeyVault

* Update changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-07 21:33:05 -08:00
microzchang
6cae0c71fa
Storage November Release (#5096)
* Storage November Release

* update queue version
2023-11-08 10:16:47 +08:00
Azure SDK Bot
902f8a1651
Increment package version after release of azure-messaging-eventhubs (#5121) 2023-11-07 19:20:47 +00:00