Commit Graph

1559 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
microzchang
2850c5d32c
Storage March Release (#4410)
* Storage March Release
2023-03-07 14:25:33 +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
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
JinmingHu
5059347098
decrease request count to avoid throttling errors for storage tests (#4385) 2023-02-24 17:19:08 +08:00
microzchang
71a7cfb0c1
Fix Share Client failure #4377 (#4381)
* Fix Share Client failure #4377
2023-02-24 10:14:41 +08:00
JinmingHu
8cd4ecbb79
show headers and query parameters in storage CI pipeline (#4379) 2023-02-23 14:57:49 +08:00
JinmingHu
737037d1af
Storage tests improvement (#4382) 2023-02-23 11:10:27 +08:00
JinmingHu
395e9a0640
Test proxy & storage tests improvements (#4241) 2023-02-22 09:37:49 +08:00
George Arama
1849597580
Fix pipelines path (#4358)
* test path

* qwq

* dsda

* asas

* dsada

* sdsds

* Update sdk/keyvault/azure-security-keyvault-certificates/perf-tests.yml

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

* Update sdk/keyvault/azure-security-keyvault-certificates/perf-tests.yml

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

* remove warmup

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-21 17:21:17 -08:00
Praven Kuttappan
7da07d5072
Generate API review for C++ using new parser (#4302) 2023-02-21 17:35:41 -05:00
Scott Beddall
5058f15594
Triggerkeyvault on proxy changes (#4343)
* autotrigger the keyvault and storage CI when a testproxy file is changed
2023-02-21 13:32:30 -08:00
George Arama
9572608a5d
Docker comment (#4375)
* update comment

* add comment about vcpkg

* dsfs
2023-02-21 19:50:55 +00:00
George Arama
889e0255a2
update comment (#4364)
* update comment

* jghjg

* update broken link

* Update sdk/keyvault/tools/cleanup/src/cleanup.cpp

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-02-21 10:52:20 -08:00
George Arama
30afd1eb89
reworked docker file (#4344)
* reworked docker file

* removed unnecessary su

* update docker file

* qwq

* Update sdk/core/azure-core/test/libcurl-stress-test/Dockerfile

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

* url

---------

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2023-02-17 11:40:54 -08:00
Anton Kolesnyk
326ec44db8
Update changelog to reflect community contribution (#4355)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-02-13 17:13:49 -08:00
Jørgen Lind
4d894adc51
Fix compilation on Visual Studio 2017 (#4352)
Co-authored-by: Jørgen Lind <jorgen.lind@bluware.com>
2023-02-13 16:00:52 -08:00
George Arama
c8b97561f3
changelog (#4350) 2023-02-11 00:24:50 +00:00
Mike Harder
fd1695ebba
[Perf] Refactor tests.yml into one file per package per language (#4270) 2023-02-09 21:18:03 -08:00
Azure SDK Bot
5ac3f00d58
Increment version for storage releases (#4346)
* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-shares
2023-02-08 12:49:29 +08:00