Commit Graph

2377 Commits

Author SHA1 Message Date
Victor Vazquez
3d17447cce
update doctest lib to 2.4.11 (#4501) 2023-03-31 11:59:08 -07:00
Larry Osterman
6e810750be
First attempt at fixing nlohmann doctest compilation error (#4499)
* First attempt at fixing nlohmann doctest compilation error

* fixed compilation issue

* Fixed ApiView generation for azure core
2023-03-31 09:36:06 -07:00
Azure SDK Bot
6999572809
Sync eng/common directory with azure-sdk-tools for PR 5608 (#4411)
* ongoing

* Move get-codeowners scripts and tests to their own dirs

* address PR remarks

* Fix CodeOwnerFileLocation path, fix casing, and dedup param defaults

* fix param names

* add todos on needed changes in cpp repo

* Add CodeownersFileLocation to Get-Codeowners and use $null for default param values

* move get-codeowners back to scripts/ and rename -functions to .lib

* fix: use empty string as defaults instead of $nulls, to fix invocation

* fix bug with invocation of Get-Codeowners + add support for passing IncludeNonUserAliases as switch

* fix path iin Metadata-Helpers.ps1

* fix typo

* Update archetype-cpp-release.yml

---------

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-03-30 23:55:52 -07:00
Ahson Khan
cef3d3144b
Temporarily update platform-matrix.json to remove openssl_111n configuration (#4493) 2023-03-30 11:58:58 -07:00
Ahson Khan
57a4f8de9a
Fixed the user-agent string sent to the service to include the "keys" suffix in the value, when using CryptographyClient. (#4467)
* Fixed the user-agent string sent to the service to include the "keys"
suffix in the value, when using `CryptographyClient`.

* Fix clang format.
2023-03-29 17:36:44 -07:00
Azure SDK Bot
97c7630c2d
Sync eng/common directory with azure-sdk-tools for PR 5726 (#4488)
* rerun flag

* rerun failed stress test

* naming & commenting

* update

* function and var renaming for better readability

* readability & exit on error

---------

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2023-03-28 09:37:59 -07:00
JinmingHu
42017bf69e
fix concurrent upload failures (#4484) 2023-03-27 09:04:44 +08:00
JinmingHu
ef5aec8b4c
Fix unmatched parenthesis in doc (#4482) 2023-03-25 00:47:55 +00:00
Azure SDK Bot
e9f900f7d2
Explicitly set PSNativeCommandArgumentPassing to Legacy for git push script (#4481)
https://learn.microsoft.com/en-us/powershell/scripting/learn/experimental-features?view=powershell-7.3#psnativecommandargumentpassing
Do to that breaking change in PS 7.3 we need to opt into the legacy arg parsing.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-03-24 11:12:14 -07:00
Anton Kolesnyk
2a39a3422b
Organize applying Identity log prefix (#4459)
* Organize applying Identity log prefix

* logLevel

* Cosmetic changes

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-22 14:46:32 -07:00
Rick Winter
a91ff6345e
Update CODEOWNERS (#4461)
Fixup an invalid user
2023-03-22 13:09:42 -07:00
Azure SDK Bot
bd98ee06ec
Sync eng/common directory with azure-sdk-tools for PR 5742 (#4465)
* add some default output to see about minimizing any occurrence of the task failing for no reason. perhaps having some output will allow devops to have an easier time with the invocation

* update message

* Update eng/common/scripts/trust-proxy-certificate.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2023-03-21 16:14:28 -07:00
Rick Winter
c457e91373
Ensure the comparison is unsigned to unsigned (#4464)
* Ensure the comparison is unsigned to unsigned

* Remove cast
2023-03-21 13:57:07 -07:00
Anton Kolesnyk
ba086576be
Fix potentially high CPU usage on Windows (#4448)
* Fix potentially high CPU usage on Windows

* Undo unnecessary formatting

* Undo unnecessary changelog

* Undo unnecessary formatting

* Undo unnecessary formatting

* Uninclude locale

* Add issue link to changelog

* EXPECT_TRUE(a == b) => EXPECT_EQ(a, b)

* Update second changelog with link as well

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-20 13:06:11 -07:00
Azure SDK Bot
a08730142c
Revert "[check-spelling] Temporarily pin Node 18 to 18.13.0 (#5537)" (#4456)
This reverts commit 8a02e02adfc0d213509fce2764132afa74bd4ba4.

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-03-17 14:00:00 -07:00
Anton Kolesnyk
43632ebce8
Tests: replace most EXPECT_TRUE(a OP b) with EXPECT_OP(a, b) (#4457)
* Tests: replace most `EXPECT_TRUE(a OP b)` with `EXPECT_OP(a, b)`

* Undo unnecessary change

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-17 03:55:14 -07:00
Anton Kolesnyk
ade505d087
Update changelog with issue link (#4458)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-16 17:20:32 -07:00
Ronnie Geraghty
d5e4a5c48b
3rd Party Libs in Samples (#4408)
Adding guidance on the proper usage of 3rd Party Libraries in our samples.
2023-03-16 16:16:57 -07:00
Anton Kolesnyk
83f736d8ad
Simpler identity logging (#4455)
* Simpler identity logging

* Even simpler

* Remove refactoring artifact

* Cosmetic change

* foreach

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-16 12:50:15 -07:00
George Arama
14677e92be
fix cspell for readme.ms in libcurl sterss test (#4441)
* fix cspell

* capitalize Valgrind and ubuntu

* sdada

* fix2
2023-03-16 11:03:09 -07:00
Azure SDK Bot
f8ae5d9d8b
Sync eng/common directory with azure-sdk-tools for PR 5691 (#4450)
* typespec renaming

* add back scripts for cadl

* support .cadl and .tsp

* rename

* add newline at the end of file

---------

Co-authored-by: FAREAST\chunyu <chunyu@microsoft.com>
2023-03-16 11:21:39 +08:00
Anton Kolesnyk
acb8e3b9e6
Undocument ChainedCred usage by DefaultAzCred & remove friend and private ctor (#4447)
* Undocument ChainedCred usage by DefaultAzCred & remove friend and private ctor

* Clang warning fix

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-15 17:00:01 -07:00
Anton Kolesnyk
9f19a28af3
Use aka.ms link to Identity troubleshooting (#4449)
* Use aka.ms link to Identity troubleshooting

* Update default_azure_credential.cpp

* Update default_azure_credential.cpp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-15 16:18:51 -07:00
Azure SDK Bot
6f2e39a5c5
Sync eng/common directory with azure-sdk-tools for PR 5702 (#4453)
* add healthinsights to Test-SampleMetadata script

* spacing

* update productSlug to azure-health-insights

---------

Co-authored-by: Asaf Levi <asaflevi@microsoft.com>
2023-03-15 11:31:48 -07:00
Anton Kolesnyk
ef24dfda2e
Add GetCredentialName() (#4428)
* Add GetCredentialName()

* Update

* Undo accidental change

* Clang-format

* Call GetCredentialName() instead of using constant; Return in-place constructed name; Explicit tests for GetCredentialName()

* PR feedback

* constructor parameter + non-virtual GetCredentialName()

* Update sdk/core/azure-core/CMakeLists.txt

* Update sdk/identity/azure-identity/test/ut/client_secret_credential_test.cpp

* Update sdk/identity/azure-identity/test/ut/client_certificate_credential_test.cpp

* GCC and Clang warnings

* Promote ThrowIfNotSafeCmdLineInput() to private member; avoid copies when calling GetCredentialName()

* Spelling

* Fix deprecated usage

* Fix iteration

* Clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-14 16:46:10 -07:00
Azure SDK Bot
f0a26fd4ad
enable true version override so that other tools also have a shot at picking up the replaced version (#4440)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-03-13 15:25:27 -07:00
Larry Osterman
61003a921e
Create CMakePresets.json as an alternative to cmakesettings.json (#4429)
* Create CMakePresets.json as an alternative to cmakesettings.json

* Added (void)
2023-03-13 20:33:18 +00:00
Anton Kolesnyk
c673e9550c
Update vcpkg release manifest templates per vcpkg team recommendation (#4425)
* Update vcpkg release manifest templates per vcpkg team recommendation

* Forgotten change

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-08 21:00:59 -08:00
Larry Osterman
562ca4c69c
Fixed credscan error (#4417)
* Fixed credscan error

* Try removing credscan placeholder suppression

* Refactored credentials into their own source file

* Pull request feedback
2023-03-08 15:15:45 -08:00
George Arama
5e91f5584e
Enable profiling in perf piplines. (#4398)
* profiling

* dsadsada

* Update eng/pipelines/templates/jobs/perf.yml

Co-authored-by: Mike Harder <mharder@microsoft.com>

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-03-08 12:28:13 -08:00
George Arama
7946b83b9b
separate hsm tests from keys, and regen the tests (#4392)
* separate hsm tests from keys, and regen the tests

* adding assets

* cleanup includes

* clang and map

* hgghg
2023-03-08 11:19:50 -08:00
Azure SDK Bot
d114e4d58d
Increment package version after release of azure-identity (#4426) 2023-03-07 22:04:26 -08:00
Azure SDK Bot
b46ee09627
Increment package version after release of azure-security-keyvault-administration (#4423) 2023-03-07 22:03:50 -08:00
Anton Kolesnyk
fc61bb4848
Add DefaultAzureCredential (#4409)
* Added DefaultAzureCredential

* Improved Llgging

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-03-07 20:24:44 -08:00
Azure SDK Bot
2c64e3e83c
Increment version for storage releases (#4412)
* 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-shares
2023-03-08 01:43:25 +00:00
JinmingHu
7159ad3e75
Update CHANGELOG.md (#4414) 2023-03-08 01:39:28 +00:00
George Arama
3bebe6ff99
Kv admin march release (#4402)
* Changelog update

* merch changelog
2023-03-07 16:26:11 -08:00
Larry Osterman
d8f6aa9d27
First cut at removing proxy tests (#4416)
* FIrst cut at removing proxy tests

Changed the proxy tests from opt-out to opt-in so they're disabled by default. Removed lines enabling proxy from ci.yml file.
2023-03-07 23:46:25 +00:00
Azure SDK Bot
6706c20b26
Add product slug for Web PubSub (#4415)
To make sample script use correct product slug.

Related PR: https://github.com/Azure/azure-sdk-for-net/pull/34618

Co-authored-by: JialinXin <jixin@microsoft.com>
2023-03-07 16:34:17 -05:00
microzchang
2850c5d32c
Storage March Release (#4410)
* Storage March Release
2023-03-07 14:25:33 +08:00
Daniel Jurek
50589d65b5
Always release to vcpkg when doing Daily Release (#4334)
* Always release to vcpkg when doing Daily Release

* Add ability to skip live tests via variable

* Use 1ES agents instead of Azure Pipelines
2023-03-06 11:47:15 -08:00
Azure SDK Bot
ab7b238197
Sync eng/common directory with azure-sdk-tools for PR 5595 (#4400)
* Use "npm ci" to install cspell and respect package-lock.json

* Review feedback

* Pipe npm ci output to Write-Host

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2023-03-03 07:28:46 -08:00
Azure SDK Bot
ecb5f3db1c
logging api post request body (#4404)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2023-03-02 14:21:41 -08:00
Ahson Khan
c8b028dce0
Follow-up to update changelog to reflect community contribution (#4393)
* Follow-up to update changelog to reflect community contribution

* Upgrade cspell version from 0.1 to 0.2
2023-03-02 12:06:00 -08:00
Azure SDK Bot
4c22ce6ab0
Sync eng/common directory with azure-sdk-tools for PR 5540 (#4396)
* add parameter to set cadl emitter options

* remove emitter name in the additional parameter

---------

Co-authored-by: chunyu3 <chunyu@microsoft.com>
2023-03-01 11:54:03 +08:00
Azure SDK Bot
4ab6a41cf1
update proxy version to include Info/Active against individual sessions + allow delayed response (#4391)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-02-28 16:28:22 -08:00
George Arama
e48cf92704
update to version 7.4 for admin. update tests (#4388) 2023-02-27 12:03:57 -08:00
JinmingHu
e2a1b99a06
Add support to ignore invalid cert common name (#4361) 2023-02-25 11:12:08 +08:00
Azure SDK Bot
127073119c
Sync eng/common directory with azure-sdk-tools for PR 5568 (#4387)
* we encourage folks to place their assets.jsons at the package level

* update generate-assets-json.ps1 to only include src/**/session-records so as to avoid picking up the duplicated 'target' sessionrecords

---------

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-02-24 13:36:00 -08:00
JinmingHu
5059347098
decrease request count to avoid throttling errors for storage tests (#4385) 2023-02-24 17:19:08 +08:00