Commit Graph

2751 Commits

Author SHA1 Message Date
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
Azure SDK Bot
a6956c7639
Use sparse-checkout to do a faster, shallow clone (#5146)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-10 00:17:34 +00: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
Azure SDK Bot
0ca8a1d9d5
Set WorkingDirectory so the dotnet tools install works on non-windows (#5144)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-09 11:40:57 -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
Azure SDK Bot
a6ea41e717
properly name the file (#5127)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-11-08 12:23:13 -08: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
682851f749
Sync eng/common directory with azure-sdk-tools for PR 7251 (#5125)
* Add CODEOWNERS linter yml file to eng/common/pipelines

* Add filter baseline option to run command line

* Update version of linter to 1.0.0-dev.20231107.2 which will install correctly

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2023-11-07 15:51:18 -08:00
Azure SDK Bot
902f8a1651
Increment package version after release of azure-messaging-eventhubs (#5121) 2023-11-07 19:20:47 +00:00
Azure SDK Bot
a5bce7ede3
Increment package version after release of azure-core-amqp (#5120) 2023-11-07 18:36:50 +00:00
Anton Kolesnyk
52831a833a
Azure Messaging EventHubs November Release (#5101)
* Azure Messaging EventHubs November Release

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-07 03:02:03 -08:00
Anton Kolesnyk
722ce7c1d5
Azure Core AMQP November Release (#5100)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-07 03:01:37 -08:00
Anton Kolesnyk
ab0c28a42f
Accurate vcpkg feature availability for winhttp (#5114)
* Accurate vcpkg feature availability for winhttp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-03 12:42:52 -07:00
JinmingHu
f534decbf3
Update faq.md (#5113) 2023-11-03 12:47:30 +08:00
Anton Kolesnyk
edf7ab18c7
Add a note to vcpkg manifest files that all changes made in the vcpkg repo alone might be lost. (#5110)
* Add a note to vcpkg manifest files that all changes made in the vcpkg repo alone might be lost.

* may => will

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-02 20:57:51 -07:00
Anton Kolesnyk
986bbb3a59
Remove old warning suppression from Storage (#5109)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-02 20:25:40 -07:00
Azure SDK Bot
830a60e6c6
Increment package version after release of azure-core (#5108) 2023-11-02 19:24:33 +00:00
Anton Kolesnyk
2f14209e2b
Azure Core November Release (#5099)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-02 10:20:59 -07:00
Ahson Khan
82de63902d
Create separate lists of characters that are allowed within a tenant id vs scopes in AzureCliCredential. (#5086)
* Create separate lists of characters that are allowed within a tenant id vs scopes in AzureCliCredential.

* Update test to catch the particular exception we expect to be thrown for
tenant id but not for scopes.

* Address PR feedback.
2023-11-02 02:41:50 +00:00
Ahson Khan
677a1da61e
Disallow space character when validating tenant id and scopes as input for AzureCliCredential. (#5085)
* Disallow space character when validating tenant id and scopes as input
for AzureCliCredential.

* Address PR feedback.
2023-11-01 19:04:26 -07:00
Ben Broderick Phillips
bc2bb8da0b
Bump min tls version to 1.2 for storage live test storage account (#5098) 2023-11-01 20:14:39 +00:00
JinmingHu
acf8926bb3
Update faq.md (#5103) 2023-11-01 03:03:09 +00:00
JinmingHu
747e38fc7b
Add storage FAQ (#5067) 2023-11-01 10:26:04 +08:00
Azure SDK Bot
3e311672ca
Sync eng/common directory with azure-sdk-tools for PR 7193 (#5063)
* update proxy version to 20231030.1
* update test-proxy-tool.yml to record both stderr and stdout to the proxy log

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-10-31 17:23:54 -07:00
Anton Kolesnyk
c9329cb34b
Fix vcpkg install for the vendored uamqp (#5095)
* Fix vcpkg install for the vendored uamqp

* Make changes mergeable to upstream

* Update CMakeLists.txt

* Update CMakeLists.txt

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-31 17:12:28 -07:00
Azure SDK Bot
df8f9ddf1a
Use sparse checkout for pipeline generator (#5097)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-10-31 12:36:00 -07:00
Azure SDK Bot
e5a9ff95ec
ensure that empty package properties are not honored when dumping them to json (#5081)
Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
2023-10-30 12:22:51 -07:00
Larry Osterman
9d14632f1c
Isolate headers for AMQP internal types into an internal-only header directory. Fixes #5069 (#5079)
* Moved internal AMQP types to internal header directory

* Updated consumers of AMQP headers to match moved headers

* Updated changelog to reflect breaking change in AMQP

* Made includes explicit in event_data.hpp

* Reference non-package headers with angle braces not quotes
2023-10-30 18:04:24 +00:00
Anton Kolesnyk
7d94094255
Fix AMQP vcpkg depndencies (#5084)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-30 08:51:27 -07:00
Anton Kolesnyk
6979126ad8
Small cleanup around AMQP dependencies (#5083)
* Small cleanup around AMQP dependencies

* Update cfgmanifest.json to remove uamqp, and add umock, csharedutil, and macro-utils-c

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-28 22:28:51 +00:00
Azure SDK Bot
6aec2a3807
Update to using new azcopy auto-login (#5080)
azcopy login is going to be deprecated soon in version 10.22 so
we need to move to the new auto-login model that is documented at
https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-authorize-azure-active-directory#authorize-a-service-principal-by-using-a-client-secret

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-10-27 14:12:31 -07:00
Azure SDK Bot
71416d73b1
Sync eng/common directory with azure-sdk-tools for PR 7181 (#5057)
* Update branch deletion code

- Update to use the gh cli for github operations
- Switch to using graphql for pulling branches as the rest api
  starts to fail after a certain number of branches and we can
  also pull back all the associated data like pull request info
  and commit date all in one query.
- switc to running on ubuntu 1ES pool

Improve query error handling

Fix condition

Fix slash escaping on the command line

clean-up pipeline

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

* Update eng/common/scripts/Delete-RemoteBranches.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2023-10-27 13:48:04 -07:00
Larry Osterman
590502c92e
Added Powershell script to auto-generate the merged headers for a client SDK (#5078)
* Added Powershell script to auto-generate the merged headers for a client SDK

* Removed tracing unified header
2023-10-27 13:37:54 -07:00
Larry Osterman
102c6f3d95
Port uAMQPPython fixes to uAMQP to vendored uAMQP (#5059)
* Port uAMQPPython fixes to uAMQP to vendored uAMQP

* Fixed unit test failures

* Diff ported fixes against python codebase
2023-10-27 09:17:26 -07:00
Larry Osterman
2337ee796e
Split out curl and winhttp testing on WS2022 to work around CURL bias in test proxy tests (#5071)
* Split out curl an winhttp testing on WS2022 to work around CURL bias in test proxy tests

* Minor change to storage to trigger CI pipeline

* On testing builds, send a 0 length Content-Length header on Patch verbs if the caller has not provided a Content-Length header.

* Update sdk/core/azure-core/inc/azure/core/http/http.hpp

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-10-27 09:16:46 -07:00
JinmingHu
2c8143a702
Fix the regex to match client secret in OAuth requests, ignore Cookie when matching requests (#5070)
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: microzchang <zchang@microsoft.com>
2023-10-27 10:12:03 +08:00
Anton Kolesnyk
50c18516df
Ensure CMakeLists don't miss any files (#5065)
* Ensure CMakeLists don't miss any files

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-26 18:15:03 -07:00
Anton Kolesnyk
81e23e00aa
Ensure all-inclusive headers do include all public API headers (#5068)
* Ensure all-inclusive headers do include all public API headers

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-26 18:02:34 -07:00
Anton Kolesnyk
a12232d200
Drop Get-ApiViewCommandLine.ps1 (a script that was used for the old ApiView process) (#5074)
* Drop Get-ApiViewCommandLine.ps1

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-26 17:30:01 -07:00
Anton Kolesnyk
15d8133a21
Prefix interal macros with _azure_ to 'remove' them from the public area (#5064)
* Prefix interal macros with _azure_ to 'remove' them from the public area

* PR feedback

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-25 22:55:21 -07:00