Commit Graph

2400 Commits

Author SHA1 Message Date
Larry Osterman
f318a00dcf
Transparent Uuid part 2. (#4540)
* Created transparent form of Azure::Core::Uuid

* clang-format

* clang-format

* Made constructor and operator std::array explicit

* Pull request feedback

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

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

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

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

* Renamed methods as per Anton's suggestion

* Renamed FromArray to CreateFromArray as per Ahson's suggestion

---------

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2023-04-11 12:54:16 -07:00
Anton Kolesnyk
e7995c0fc0
Key Vault April Beta Releases (#4518)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-11 11:54:55 -07:00
James Suplizio
16c248e7bb
Enable GitHub Event Processor for CPP (#4533) 2023-04-11 08:09:57 -07:00
Azure SDK Bot
1c317218da
Increment version for storage releases (#4538)
* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares
2023-04-11 06:02:49 +00:00
microzchang
c9ccc78f4b
Storage April Release (#4532)
* storage-april-release

* update release date
2023-04-11 10:08:46 +08:00
Larry Osterman
99a17a8263
Created transparent form of Azure::Core::Uuid (#4534)
* Created transparent form of Azure::Core::Uuid

* Pull request feedback

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

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

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

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>

---------

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2023-04-11 01:03:37 +00:00
Anton Kolesnyk
fe7c7f971f
Move bug fix to the right place in changelog (#4531) 2023-04-08 04:58:26 -07:00
Rick Winter
369f86ce6d
[Azure.Core] Disable TCP_FAST_OPEN to avoid a WinHttp issue (#4530)
* Disable TCP_FAST_OPEN to avoid a WinHttp issue

* Add Changelog entry
2023-04-07 15:52:58 -07:00
Azure SDK Bot
b9e09760e5
Increment package version after release of azure-identity (#4529) 2023-04-07 00:44:21 +00:00
Anton Kolesnyk
42efcebcbf
Identity April Beta Release (#4517)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-06 16:47:10 -07:00
Azure SDK Bot
58b4854734
Increment package version after release of azure-core (#4528) 2023-04-06 23:36:26 +00:00
Anton Kolesnyk
2e267bbac2
Core April Beta Release (#4516)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-06 15:10:14 -07:00
Anton Kolesnyk
93c3a62986
Remove duplicated comment (#4524)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-06 13:48:26 -07:00
Ahson Khan
dd0fbec560
Update README.md to fix markdown linter errors (#4494)
* Update README.md to fix markdown linter errors

* Re-apply changes to filter out whitespace artifacts

* Add a single space after a period at the end of the sentence.

* Update datetime.cpp

Make a cosmetic change to a src file to trigger CI.
2023-04-06 11:40:25 -07:00
Larry Osterman
b4be76fec8
Fixed AV in attestation tests (#4480)
* Fixed AV in attestation tests

* Fixed another test AV
2023-04-06 18:03:39 +00:00
Larry Osterman
779c268a7f
Use new ApiView parser (#4521) 2023-04-06 02:27:10 +00:00
microzchang
58bfb483c6
Storage April Release (#4513)
* Stg87 protocol layer (#4374)

* storage stg87 protocol layer

* Storage/feature/stg87-hns encryption context (#4383)

* hns_encryption_context

* Storage/feature/stg87-trailing dot (#4389)

 trailing dot

* Storage/feature/stg87-File OAuth (#4413)

* file oauth

* enable some stg87 tests
2023-04-06 10:12:49 +08:00
Azure SDK Bot
92886eec94
Fix regression - base name overrides in CI (#4520)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-04-05 14:58:34 -07:00
Azure SDK Bot
d55e290607
Bump credscan to 2.3.12.23 (#4519)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-04-05 14:33:29 -04:00
Larry Osterman
3cb4993423
Removed 'using namespace' directive from public header (#4514)
* Removed 'using namespace' directive from public header

* Shortened namespace names (Thanks Antkmsft)

* Update sdk/keyvault/azure-security-keyvault-administration/inc/azure/keyvault/administration/settings_client.hpp

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-04-04 18:31:37 +00:00
Anton Kolesnyk
fd687c32fa
Add support for challenge-based and multi-tenant authentication (#4506)
* Add support for challenge-based and multi-tenant authentication

* Clang-format

* cspell

* clang-format

* gcc warning

* clang warning

* Remove debug message

* clang-format

* update version>= in vcpkg manifests

* unpublic copy ctor in polymorphic class

* KeyVault::_internal::ChallengeBasedAuthenticationPolicy => KeyVault::_internal::KeyVaultChallengeBasedAuthenticationPolicy

* keyvault/shared/challenge_based_authentication_policy.hpp => keyvault/shared/keyvault_challenge_based_authentication_policy.hpp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-04 11:00:05 -07:00
Daniel Jurek
02bb09aac1
Add support for Ubuntu 22 to Get-BinarySzies.ps1 (#4511) 2023-04-03 14:47:38 -07:00
Daniel Jurek
c2e845266b
Migrate Ubuntu 18 to 22 directly in the matricses (#4442)
* First cut at migrating Ubuntu 18 to 22 directly in the matricses

* Try 20.04

* Remove azure.list from apt configuration on 22.04

* Parens

* gpp-8 on Ubuntu 20.04

* Remove g++-5

* Move config changes to steps/

* Remove g++-5 from live tests

* Update eng/pipelines/templates/steps/fix-linux-1es-configs.yml

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

* Review feedback

* Finish renaming

* Setting line coverage target to 91%

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-03-31 12:07:25 -07:00
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