Граф коммитов

2179 Коммитов

Автор SHA1 Сообщение Дата
George Arama 313fb0e58f
Move tests to use azure pipeline credentials (#5754)
* test1

* hgdfchg

* remove the remnants of azure client secret

* test KV with federated auth

* UseFederatedAuth

* fdsa

* kv template with managed

* try try again

* retry permissions

* add net acls

* blunt force replace the resource json

* put back stuff

* trey again with new method

* attempt

* missed something

* flip if else

* Temporarily use empty sub config file path for preview cloud

* remove client secret

* try to fix the identity tests

* live skip failing tests and return in samples

* samples for identity fix

* disable failing samples in identity

* fix winhttp failing test

* comment out code

* remove managed identity

* restore version from main

* revert readme changes

* PR comments

* test 2

* clang

* attempt default creds with pipeline chanined

* clangs

* identity test and clangs

* oops

* live

* cleanup

* reter

* test

* revert the DAC change

* missed one

* taking the samples to a farm upstate

* PR comments

* Fix bad merge

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-07-11 17:38:19 -07:00
Ahson Khan aadeca2c5c
Turn federated auth on for Identity tests. (#5785)
* Turn federated auth on for Identity tests.

* Update test resources json.
2024-07-12 00:00:15 +00:00
Anton Kolesnyk 22f5135d4c
Update vcpkg SHA (#5772) 2024-07-11 22:57:06 +00:00
Robert Schulze 8f26ebb8a8
Add missing include (#5766) 2024-07-08 09:17:46 -07:00
Ahson Khan 3e5b7064ec
Add live tests for AzurePipelinesCredential. (#5734)
* Add AzurePipelinesCredential for authenticating an Azure Pipelines service connection with workload identity federation.

* Add unit tests.

* Add comment about not throwing in the ctor, but rather deferring it.

* Order field in order of initialization and fix cspell.

* Fix ambiguous call to EnvironmentOverride in tests.

* Add a live test to AzurePipelinesCredential.

* Add invalid test cases and output response.

* Add access token env var in ci.yml.

* Add identity yml files and EnvVars.

* Fix merge conflicts and print out the oidc response.

* Remove duplicate definition of ServiceDirectory and remove env.

* Revert CI/infra changes.

* Include engsys changes to add federated auth support.

* Update environment variables used.

* Sync recent engsys changes.

* Add invalid tenant id test and re-order them.

* Fail the live test pipeline if a test fails.

* Update tests and revert source changes.

* Debug failing TokenCredentialTest in new live test environment.

* Dont fail test on missing env var.

* Disable federated auth in ci.yml and add back client secret env var.

* Remove test application secret.

* Revert other changes related to infra.
2024-06-26 11:44:01 -07:00
Azure SDK Bot e488093c19
Increment package version after release of azure-identity (#5742) 2024-06-25 21:33:16 -07:00
Ahson Khan dd83659802
Prepare for the June Identity beta release, oob. (#5735) 2024-06-21 14:15:48 -07:00
JinmingHu 3102b7847b
Remove client secrets, Re-make recording (#5725)
---------

Co-authored-by: microzchang <zchang@microsoft.com>
2024-06-21 12:13:38 +08:00
Ahson Khan 9b2c3b337e
Add AzurePipelinesCredential for authenticating an Azure Pipelines service connection with workload identity federation. (#5733)
* Add AzurePipelinesCredential for authenticating an Azure Pipelines service connection with workload identity federation.

* Add unit tests.

* Add comment about not throwing in the ctor, but rather deferring it.

* Order field in order of initialization and fix cspell.

* Fix ambiguous call to EnvironmentOverride in tests.

* Address PR feedback, suppress warning, move oidc fetch in token cache,
and update exception message.

* Address PR feedback, use ID and capitalize Azure Pipelines.

* Revert back to the workaround for the warning, rather than suppressing
it.

* Address PR feedback, move getting an assertion to a helper, and add
const.
2024-06-20 21:09:31 -07:00
Ahson Khan ed933f5dfd
Add a trouble shooting guide for azure-identity, specific to C++. (#5730)
* Add a trouble shooting guide for azure-identity.

* Fix casing.

* Add cspell opt-outs.

* Update section level nesting to 3 instead of 4.
2024-06-19 15:41:08 -07:00
George Arama 0b5b5ac951
Json library update and Xcode15 (#5681)
* Move up macos and xcode version

* first pass

* to trigger builds, some other issue

* rewrwe

* Remove MSVC compiler warning suppressions in KeyVault

The code within the `mocked_transport_adapter_test.hpp` file, specifically within the `Azure::Security::KeyVault::Keys` namespace, has been updated. The `#if defined(_MSC_VER)` preprocessor directive along with its associated `#pragma warning(push)` and `#pragma warning(disable : 4996)` directives have been removed. The corresponding `#pragma warning(pop)` directive has also been removed. The lines of code that were between these preprocessor directives remain unchanged. These changes remove specific compiler warning suppressions for MSVC compilers, but do not alter the functional behavior of the code.

* dassa

* Add UseDotNet@2 where test proxy might run on a macos agent

* test CI

* fsd

* dasdas

* gregre

* gerregr

* ffdsfsd

* fwefew

* fewfwew

* reter

* fewfew

* fwefwe

* rewrw

* rwe

* temp move build step to exec faster

* gdfgd

* fsdfd

* fdsfs

* dgdf

* Roll forward instead of installing .NET 6

* remove manual install

* rewrew

* gfdffg

* rewrwe

* gfdgd

* fdsfs

* gfdgdf

* tertre

* dasda

* try http for test proxy

* revert readmes

* rew

* rew

* fdsfsd

* ewrew

* revert storages

* KV

* opentelemetry

* remove warnbing

* anton comments

* unit tests

* clangs

* clang

* comment out some asserts

* restore originals

* updated tests

* clangs

* restore cmake

* test

* Remove manual workaround (eng/common change fixes this)

* test2

* the fix doesn't work, need to put back

* Remove DOTNET_ROLL_FORWARD

* annotate macro , put back DOTNET_ROLL_FORWARD

* remove leftover files

* reww

* update changelog

* remove left over file

* remove some doxygen comments

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-06-18 08:26:28 -07:00
Ahson Khan 20efadde4c
Add back-ticks around the WWW-Authenticate header name in exception (#5717)
message.
2024-06-13 10:12:05 -07:00
Azure SDK Bot 5264ee4e28
Increment package version after release of azure-identity (#5714) 2024-06-12 08:33:45 -07:00
Azure SDK Bot cee566307b
Increment version for storage releases (#5715)
* 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
2024-06-12 16:43:28 +08:00
microzchang ad744e2a33
Storage June Release (#5702) 2024-06-12 10:14:00 +08:00
Azure SDK Bot 1a81885044
Increment package version after release of azure-messaging-eventhubs (#5713) 2024-06-11 23:09:10 +00:00
Ahson Khan 1e8c9d0c02
Prepare for the June Identity GA release. (#5695)
* Prepare for the June Identity GA release.

* Validate azure arc.

* Update changelog entry.

* Update cspell, fixup gtest skip, and remove unnecessary logging.

* Move gtest_skip call inside the gtest.

* Use system command due to permissions on creating a directory, on linux.

* Pass in a c_str() to system.

* Update permissions to create keys and address pr feedback (rename test
var and method to remove 'valid').

* Address PR feedback - nits.

* Fix remaining rename of local variable.
2024-06-11 15:25:02 -07:00
Azure SDK Bot 4ca2c8f028
Increment package version after release of azure-data-tables (#5710) 2024-06-11 11:58:20 -07:00
Azure SDK Bot 1b78b93274
Increment version for keyvault releases (#5709)
* Increment package version after release of azure-security-keyvault-certificates

* Increment package version after release of azure-security-keyvault-secrets

* Increment package version after release of azure-security-keyvault-keys
2024-06-11 11:43:49 -07:00
Larry Osterman 242162fa48
Prepare for June eventhubs release (#5694) 2024-06-11 10:18:55 -07:00
George Arama 83d3402eb2
Tables 1.0 beta 3 (#5672)
* Tables 1.0 beta 3

* ewrwe
2024-06-11 06:20:25 -07:00
George Arama 7a80e0a594
Keyvault June release (#5673)
* Update release date and modify sections in CHANGELOG.md
 This commit updates the release date for versions 4.3.0-beta.2 and 4.5.0-beta.2 in the CHANGELOG.md file from "Unreleased" to "2024-06-11". It also removes the "Features Added", "Breaking Changes", and "Bugs Fixed" sections for these versions. The "Other Changes" section has been updated to reflect the relocation of samples to the `samples` directory, updates to the `README.md` file, and updates to the samples.

* kashdhjlaks

* rewrwe

* Update sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-06-11 06:20:08 -07:00
Anton Kolesnyk ef9d2a5e18
Remove 'include windows.h' from inc/* (#5691)
* Remove 'include windows.h' from inc/*

* Clang format

* Qualify namespace

* Clean up includes a bit further

* Fix errors

* Clang format

* move out _detail definitions

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-06-07 03:07:10 -07:00
Azure SDK Bot c5d0549cb5
Increment version for core releases (#5700)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-amqp
2024-06-07 00:07:00 +00:00
Anton Kolesnyk b43174a05b
Core June Beta Release (#5696)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-06-06 14:42:09 -07:00
Larry Osterman 803ad17e9a
Prepare for June AMQP release (#5697)
* Prepare for June AMQP release

* 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>
2024-06-06 14:41:42 -07:00
Larry Osterman e1265f716d
Align eventhubs connection property names with Go (#5693)
* Align eventhubs connection property names with Go

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

* Changelog

* Fixed extra value caught by Anton

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-06-05 14:56:25 -07:00
George Arama 6bc4ee3f01
Updated method comments and functionality in `tables_clients.hpp` (#5674)
Updated and expanded comments for several methods in `tables_clients.hpp` to provide more detailed descriptions of their functionality. These methods include `GetAccessPolicy`, `SetAccessPolicy`, `AddEntity`, `UpdateEntity`, `MergeEntity`, `DeleteEntity`, `UpsertEntity`, `QueryEntities`, `QueryEntity`, `CreateTable`, `DeleteTable`, and `QueryTables`.
2024-05-30 11:56:43 -07:00
Ahson Khan f1d95520d1
Update the RetryPolicy and ShouldRetry customization logic to allow loosening the retry condition. (#5656)
* Update the RetryPolicy and ShouldRetry customization logic to allow
loosen the retry condition.

* Add CL entry and update doc comment.

* Move WasLastAttempt check out, and add more tests.

* Address PR feedback, remove use of void and unused params.
2024-05-30 11:08:56 +08:00
Larry Osterman 5b9ea47d6b
Disable playback for several attestation tests that use JWTs (#5665)
* Disable playback tests on test that receive a JWT

* Reduced code coverage numbers due to disabled tests.
2024-05-28 10:15:07 -07:00
microzchang ffbf094b89
Storage/STG94 features (#5667)
* update to stable (#5541)

* Storage/ Merge main to unblock pipeline failure (#5561)

* Sync eng/common directory with azure-sdk-tools for PR 8110 (#5540)

* Show review link in logs and set DevOps project name based on the pipeline run

* Handle the failures when package work item is unassigned (#5551)

Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>

* Revert win2022 image back to latest and add msvc version mitigation (#5539)

* Revert win2022 image back to latest
* Workaround fix for MSVC SxS issue

* Fix Policheck step indention (#5553)

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Sync .github/workflows directory with azure-sdk-tools for PR 8131 (#5555)

* Update to azure/login@v2

* Remove the unnecessary setting of enable-AzPSSession. We don't need it.

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>

* Update sorting algorithm used in storage shared-key signing (#5547)

* Remove Windows upgrade of cmake (windows image now uses working version of cmake) (#5558)

* Revert "Update sorting algorithm used in storage shared-key signing (#5547)" (#5560)

This reverts commit b6e04fd035.

---------

Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* Storage/STG94 Snapshot management support via REST for NFS shares (#5543)

* add nfs support (#5267)

* add test recordinhg

* Storage/STG94 GetAccountInfo() for container and blob (#5550)

* add getaccountinfo

* update record

* Storage/STG94 Add Queues bearer challenge test case (#5556)

* Add test for queue bearer challenge

* update test case

* update var name

* update test case

* fix clang format

* Update sorting algorithm used in storage shared-key signing (#5611)

* Storage/Stg94 Support for authorization ExtendedErrorDetail (#5633)

* Support for authorization ExtendedErrorDetail

* fix clang format

* fix build error

* make tests live only

* Update change log

* remove additional changes

* update changelog

* update error detail liveonly

* Update live test

---------

Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Praveen Kuttappan <prmarott@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2024-05-28 11:21:17 +08:00
Larry Osterman a9526d9375
Minor tweaks to HTTP tests found during Rust HTTP testing (#5658)
* Minor tweaks to HTTP tests found during Rust HTTP testing

* PR feedback
2024-05-23 04:15:05 +00:00
George Arama 1e806a17b8
Keyvault macros deprecate and new names (#5647)
* deprecate macros

* dasda

* need to remove from cpp due to deprecated error

* test

* hgjg

* comments

* definitions

* clangs

* Update sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* move test app to build_testing

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-05-22 22:29:31 +00:00
Larry Osterman 4de01d6ed7
Updated AMQP changelog (#5655)
* Updated AMQP changelog

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-05-22 21:27:09 +00:00
Larry Osterman 4fcf09d4ec
Fixed #5536, fixed a test deadlock discovered while testing the fix for 5536, added some diagnostics for uAMQP to help track the problem. (#5651)
* Fixed 5536, cleaned up a bunch of test bugs found during testing of 5536 fix
2024-05-22 11:39:03 -07:00
George Arama abd34abacf
fix move to next page in paged response (#5625)
* fix move to next page in paged response

* clangs

* query tables continuation

* remove constructors

* fix with constructor

* jgjhghj
2024-05-22 10:17:36 -07:00
George Arama acc98f1b06
Transaction insert replace (#5642)
* fix insertreplace

* rename method

* re

* rere
2024-05-22 09:49:46 -07:00
Ahson Khan 7db4f3ac1c
Remove redundant calls to gtest_discover_tests with default args in AMQP tests (#5644)
* Disable AMQP LinkAttachDetachMultipleOneSession test until it has been investigated.

* Line Coverage is now at 87.8049%.

* Remove redundant calls to gtest_discover_tests with default args in AMQP
tests.

* Revert "Line Coverage is now at 87.8049%."

This reverts commit deb07e74cd.

* Revert "Disable AMQP LinkAttachDetachMultipleOneSession test until it has been investigated."

This reverts commit 89c8096c90.
2024-05-21 18:43:41 +00:00
Anton Kolesnyk fdb8657f41
Add HTTP request version logging, and scope the variables (#5643)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-05-20 14:06:55 -07:00
Anton Kolesnyk 597d12fd6a
Update CHANGELOG acknowledgements with customer contribution (#5640)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-05-20 11:04:35 -07:00
Ahson Khan f517aabb98
Clean-up the HTTP versions check in response parsing, and don't reuse connections on any response other than HTTP/1.1 (#5608)
* Harden the HTTP versions check in response parsing, validating specifically for 1.1 or 1.0, and throwing otherwise.

* Address feedback - comment was confusing.

* Update sdk/core/azure-core/src/http/curl/curl.cpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Clarify the http version check and set keep-alive as false instead of throwing for non-http1.x.

* Address PR feedback - add comment snippet, and update log message.

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-05-20 00:23:48 -07:00
Larry Osterman 260ae116cc
Switched blob checkpoint store to use both connection string and token credentials. (#5632)
* Switched blob checkpoint store to use both connection string and token credentials; re-recorded tests using token credentials

* Added environment variable to ci.yml

* Try a slightly different storage url
2024-05-17 19:51:27 +00:00
Ahson Khan 741a71ceee
Update core changelog with attribution for a curl endless loop bug fix. (#5626)
* Update core changelog with attribution for a curl endless loop bug fix.

* Update cspell for contributor github alias.

* Fix typo in json, add a comma.
2024-05-16 12:02:50 -07:00
Anton Popov 5d3f95535a
fix possible endless loop while polling curl socket (#5589) 2024-05-16 12:02:01 -07:00
Ahson Khan b7ae7b8987
Add retries to DisableCrlValidation test to improve reliability (#5537)
* Add retries to DisableCrlValidation test to improve reliability

* Add some test logging to CurlConnection ctor.

* Fix log level

* Revert changes to curl.cpp

* Reduce attempts to 3 and validate at least one passes.

* Remove unnecessary commented out code to reset CI.

* Remove unnecessary assert that won't fail.

* Remove unused variable.
2024-05-16 18:31:59 +00:00
Ahson Khan d895f82ef8
Add basic tests for GetMajor/Minor HTTP versions in the response. (#5613)
* Add basic tests for GetMajor/Minor HTTP versions in the response.

* Make the tests parameterized.

* Address PR feedback - add more test cases.
2024-05-16 10:51:50 -07:00
Ahson Khan 6b5a8d1e36
Update CURLCode error to the non-obsoleted value. (#5545) 2024-05-16 17:49:09 +00:00
George Arama 3c98d41a8a
Move tables tests to token only for recordings (#5620)
* first take

* clangs
2024-05-16 09:57:53 -07:00
Ahson Khan ab90ef68b0
Add a virtual ShouldRetry method to the RetryPolicy for customization. (#5584)
* Add a virtual ShouldTry method to the RetryPolicy for customization.

* Make test hooks virtual again.

* Add unit test for ShouldRetry.

* Fix typo.

* Address PR feedback.

* Revert making the mock'd functions private for non-test builds.

* Add new line.
2024-05-14 01:09:02 +00:00
Azure SDK Bot 3b9574c610
Increment package version after release of azure-core (#5614) 2024-05-13 15:42:57 -07:00
Azure SDK Bot 52737ee6ae
Increment package version after release of azure-core-amqp (#5602) 2024-05-13 17:23:46 +00:00
Azure SDK Bot ef6b013c98
Increment package version after release of azure-messaging-eventhubs (#5610) 2024-05-10 12:49:35 -07:00
Anton Kolesnyk a0cb5dd55c
Core May GA Release (#5572)
* Core May GA Release

* Add azure-core-amqp to release

* Update date on the core changelog.

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-05-09 20:01:52 +00:00
Azure SDK Bot 43c33d6320
Increment version for storage releases (#5606)
* 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
2024-05-09 12:44:27 +08:00
Larry Osterman 87d9e2719f
Added changelog entry (#5609)
* Added changelog entry

* Update sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md

* Update sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2024-05-08 16:20:42 -07:00
Larry Osterman 8be8a36487
Eventhubs May 2024 release (#5605) 2024-05-08 11:15:57 -07:00
microzchang d1019cfeb1
Storage May GA Release (#5578) 2024-05-08 10:37:18 +08:00
Ahson Khan 9e80a87519
Core AMQP May beta Release (#5601) 2024-05-06 17:30:39 -07:00
George Arama 8db62bf8da
reenable the global cleanup test (#5590) 2024-05-01 14:02:09 -07:00
George Arama a168e0ef0f
Update samples credentials and add notes to crypto client (#5587)
* Update samples credentials and add notes to crypto client

* put back missing urls
2024-05-01 08:19:57 -07:00
George Arama bd08d226e1
relocate kv samples (#5582)
* relocate kv samples

* temp removal of links
2024-04-30 22:09:49 +00:00
George Arama 3c7972b1cc
enable download live only tests (#5586) 2024-04-30 20:58:00 +00:00
George Arama 73e70ea7bd
attemp1 (#5575) 2024-04-30 10:20:07 -07:00
George Arama 6062e0855d
KV live tests failing (#5571)
cert name update
2024-04-30 10:17:05 -07:00
George Arama 340543bb03
samples update for nullable (#5574)
* samples update for nullable

* weqe

* maybe

* key sample
2024-04-29 09:14:10 -07:00
JinmingHu 6390582951
Revert Update sorting algorithm used in storage shared-key signing (#5580) 2024-04-29 07:33:56 +00:00
JinmingHu 04ed4e45b2
fix wrong value in table (#5577) 2024-04-29 05:27:12 +00:00
microzchang 4346e5c4e5
Update Test cases (#5576) 2024-04-28 15:17:50 +08:00
microzchang a64f75bc54
Fix bug (#5573) 2024-04-28 14:36:09 +08:00
George Arama cd1cc41805
negative tests (#5497)
* negative tests

* fix test for live

* regen assets
2024-04-25 11:26:49 -07:00
Larry Osterman ec9ffac6af
Support EventHubs emulator; Added support for both connection string and azure credentials across the entire eventhubs test suite. (#5567)
* Added support for EventHubs Emulator; reworked eventhubs tests to run with ConnectionString and DefaultAzureCredential

* Don't run emulator variants
2024-04-25 10:00:36 -07:00
JinmingHu 59c4fff9ff
Add comments for sort-keys (#5566) 2024-04-25 07:58:25 +08:00
Scott Beddall fd021f468c
Pin Newest Version of test-proxy in CI (#5568)
* pin version to proxy with common sanitizers added
* fixes for keyvault, storage, core, other misc packages to deal with new common proxy version
2024-04-24 15:57:50 -07:00
JinmingHu bbd5da5bcd
Reapply "Update sorting algorithm used in storage shared-key signing (#5547)" (#5560) (#5563)
This reverts commit 886f01def1.
2024-04-23 16:18:32 +08:00
Azure SDK Bot 394b5748dc
Increment version for storage releases (#5562)
* 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
2024-04-23 07:12:34 +00:00
microzchang 886f01def1
Revert "Update sorting algorithm used in storage shared-key signing (#5547)" (#5560)
This reverts commit b6e04fd035.
2024-04-23 12:06:45 +08:00
JinmingHu b6e04fd035
Update sorting algorithm used in storage shared-key signing (#5547) 2024-04-22 11:34:42 +08:00
microzchang 1d50b1283e
Storage April Release (#5531) 2024-04-16 17:21:50 +08:00
microzchang 698490f175
Storage/Enable Test Cases(Resolve Issue #5524) (#5532)
* Enable Test Cases

* Fix Customer provided key
2024-04-16 03:28:01 +00:00
George Arama 9f30ba4a9a
one more set of patterns (#5535)
* one more set of patterns

* tr

* ads

* add signed Oid

* clangs
2024-04-15 13:25:10 -07:00
George Arama 067d6acb3b
fix testName (#5527)
* fix testName

* trigger
2024-04-12 22:57:13 +00:00
Larry Osterman 3f6543d2a9
Fixed test deadlock in processor test (#5513)
* Fixed test deadlock in processor test

* Updated changelog; Changed fatal to error in test logs

* 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>
2024-04-12 13:34:20 -07:00
George Arama e2f0e0a50b
Liveonly tests , the cert was in another form in both of them… (#5520)
* disable download tests , the cert was in another form in both of them, cleanup the recording

* tre

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-12 12:10:03 -07:00
George Arama c7f2767d6a
headers sanitize (#5518)
* headers sanitize

* test-proxy client id

* Liveonly storage tests and a couple of disables

* typo

* cover

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-12 12:09:52 -07:00
WangWeiLin-MV e148d89745
Update sdk vcpkg portfile with VERSION and HEAD_REF (#5516)
* Update vcpkg portfile.cmake of sdk to add parameter HEAD_REF

* Update vcpkg portfile.cmake of sdk to use variable VERSION

* Update eng\scripts\Initialize-VcpkgRelease.ps1 regex for quoted REF

* Re-trigger CI

* Revert unnecessary change

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-12 10:25:19 -07:00
Azure SDK Bot a665523af3
Increment package version after release of azure-data-tables (#5505)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-12 10:22:59 -07:00
Azure SDK Bot cfebe4057e
Increment version for keyvault releases (#5504)
* Increment package version after release of azure-security-keyvault-keys

* Increment package version after release of azure-security-keyvault-secrets

* Increment package version after release of azure-security-keyvault-certificates
2024-04-12 10:22:18 -07:00
WangWeiLin-MV 17c3cb50f1
Fix azure-data-tables Config.cmake.in dependency on WIN32 (#5514) 2024-04-11 11:10:22 -07:00
Azure SDK Bot a74ecaad3d
Increment package version after release of azure-core (#5511) 2024-04-10 15:55:55 -07:00
Azure SDK Bot 26192fbf85
Increment package version after release of azure-messaging-eventhubs (#5506) 2024-04-10 11:20:07 -07:00
Anton Kolesnyk 145f6dbdb6
Fixed libcurl connection pool to use `Connection` response header values (#5473)
* Fixed libcurl connection pool to use `Connection` response header values

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-10 08:01:29 -07:00
microzchang 936f618d3d
Storage/STG93 Features (#5508)
* Storage/STG92 List Handles Include Client Name (#5088) (#5134) (#5236)

* List Handles Include Client Name

* add test reocrd

* update test record

* update record

* Storage/STG93 ACL response header support and UPN request headers (#5245)

* add acl response support

* add user principal name

* test record

* fix comments

* Storage/STG93 Add Rename Support to List Ranges (#5266)

* add rename support

* reset swagger url

* update

* add nfs support (#5267)

* Storage/STG93 Add UserPrincipalName support for GetAccessControlList (#5287)

* add upn support for get acl

* add test record

* Revert "add nfs support (#5267)" (#5288)

This reverts commit fc043e1db7.

* fix archboard review comments (#5367)

* Storage/STG93 Update documents for UPN (#5391)

* update documentation for upn.

* Remove en-us in link.

* update test cases

* update test record

* update test case due to server behavior change.

* format
2024-04-10 15:52:18 +08:00
Azure SDK Bot 7f2f593b30
Increment version for core releases (#5503)
* Increment package version after release of azure-core-amqp

* Increment package version after release of azure-core
2024-04-09 14:39:30 -07:00
Larry Osterman 4092c2ee6f
April 2024 Eventhubs Release. (#5500)
* Updated changelog after release

* Added dependency on azure core and updated amqp dependency

* Added azure core find_package to config.cmake.in

* Removed explicit core dependency for now
2024-04-09 13:22:48 -07:00
Anton Kolesnyk b1d1763d91
Update more dependency versions (#5502)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-09 12:27:33 -07:00
Larry Osterman 68d88eb80a
Updated azure core dependency to the new 1.11.3 version (#5501) 2024-04-09 18:58:17 +00:00
George Arama bd8c5f81ed
Tables April Release (#5489)
* quick update

* sdfsds

* Update sdk/tables/azure-data-tables/CHANGELOG.md

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-04-09 11:11:03 -07:00
George Arama f9b65ac9c8
Key Vault April Release (#5488)
* Kv changelogs

* changelogs
2024-04-09 11:08:08 -07:00
Ahson Khan 0bdec1e3c9
Core April GA Release (#5491)
* Azure Core 1.12.0 April Release

* Update Core's CHANGELOG.md

* Update Core's package_version.hpp

* Update AMQPCHANGELOG.md

* Update ci.tests.yml

* Re-enable coverage checks

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-04-09 10:45:25 -07:00
George Arama abeb4e797b
tables transactions samples (#5496)
* transactions samples

* cleanup sample, update readme
2024-04-08 12:28:04 -07:00
Ahson Khan da1513977a
Rename the TESTING_BUILD macro to be _azure_TESTING_BUILD to highlight this is internal only and reduce chances of collision. (#5419)
* Remove the use of ifdef for TESTING_BUILD in KeyVault clients, where they are not needed.

* Rename the TESTING_BUILD macro to be _azure_TESTING_BUILD to highlight this is internal only and reduce chances of collision.

* Update remaining macro names and add comments.

* Revert rename change which was using BUILD_TESTING cmake flag in source.
2024-04-05 12:05:04 -07:00
George Arama 8c34ec83ab
Api comments (#5481)
* transactions and some other comments

* accouunt sas resource type

* ghf

* Get/set part/row key

* accessors

* jyugdg

* done, need add samples

* typo

* clangs, typo

* fsd

* assets

* no keys, need investigate test recordings

* doc fix

* data types reflected in properties

* dswa

* wqeq

* remove shared key policy and switch to secondary

* dsdsa

* PR comments

* das

* clang
2024-04-05 09:48:59 -07:00
Larry Osterman acb6d97f7c
Disable otel warnings in shared_functions.hpp (#5494) 2024-04-04 17:20:38 -07:00
Ahson Khan ce6b3bd124
Strengthen the client_secret sanitizer regex (#5474)
* Strengthen the client_secret sanitizer regex

* clang-format update
2024-04-04 15:04:15 -07:00
Anton Kolesnyk d62b0d6669
Revert "Move the connection back to the connection pool when HTTP error 404 was received (#5308)" (#5472)
* Revert "Move the connection back to the connection pool when HTTP error 404 was received (#5308)"

This reverts commit 79cc06d004.

* Changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-04-02 17:08:34 -07:00
Scott Addie aa2e83cac5
Update Azure AD Learn links in Identity (#5469) 2024-03-27 12:54:14 -05:00
George Arama 7cf80b5cf7
HSM Tests to run from recordings only (#5463)
* mroe quotes

* dssf

* qweqeqw

* record only

* remove HSM from live platform

* clangs

* weqw

* spellcheck

* oopsie daisy

* trigger storage

* undo changes

* part 2

* update tests

* ffds

* gfdg

* fgdgd

* skip tests

* clangs
2024-03-25 15:35:56 -07:00
George Arama 8973c6c9fb
Get entity (#5461)
* mroe quotes

* dssf

* getentity

* tests

* re

* assets working now

* re

* fgf

* clang

* url encode

* update comment
2024-03-20 13:09:03 -07:00
George Arama ebe61a5982
Get entity api (#5456)
* mroe quotes

* dssf

* getentity

* tests

* re

* assets working now

* re

* fgf

* clang

* url encode
2024-03-19 12:27:44 -07:00
George Arama 84e4a81947
Api view comments (#5408)
* mroe quotes

* dssf

* listTables -> queryTables

* move create/delete to the tableservice

* one more batch

* small refactor, added default data types

* oops

* clangs

* table sas builder

* sas test

* cspell

* add more test

* cspell

* hjhjh

* clang

* rename table-> tables

* clang

* partition and row key

* clang why?

* constructors, update tests

* IT WORKSSSSS

* PR comments

* wqe

* ewr

* enum operator

* clang

* dsaada

* sada

* assets.json

* clang

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/enum_operators.hpp

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

* Update sdk/core/azure-core/test/ut/string_test.cpp

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

* the = enums

* assert and remove empty

* compact string tests

* clangs

* complement

* azureSasCredentials

* PR cpmments

* some extra

* clang 11

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-03-15 14:30:45 -07:00
Rick Winter 9fbfd5784c
Match doc comments to method names (#5440)
* Match doc comments to method names

Fixes #4683
2024-03-15 20:42:28 +00:00
George Arama caa7ad7652
Troublesooting guides 4742 (#5448)
* mroe quotes

* dssf

* troubleshooting guides

* PR comments
2024-03-15 11:36:24 -07:00
George Arama a733518306
Keyvault regen (#5445)
* mroe quotes

* dssf

* update to api version 7.5 , added field to key properties , regen tests

* update hsm location

* fds
2024-03-15 11:00:41 -07:00
microzchang fdacc99cb7
update records (#5447) 2024-03-14 14:01:50 +08:00
Larry Osterman d7bd238560
Added blocking Open for message sender (#5374)
* Added blocking Open for message sender

* Blocking message sender open; added AZURE_NODISCARD to help ensure APIs that are likely to fail have their returns checked

* Update eventhubs stress test to use DefaultAzureCredential instead of ClientSecretCredential; Fixed stress test to correctly request client parameters; Removed hard coded resource name from producer client test

* Pull request feedback with link events; renamed AZURE_NODISCARD to _azure_NODISCARD

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-03-13 12:44:41 -07:00
Rick Winter cdff274e14
Update README.md (#5439)
* Update README.md

Fixes #4636
2024-03-12 22:21:11 +00:00
Scott Beddall 3658df22db
`1ES Template` Refactor (#5441)
* All eng/ folder changes necessary to enable 1es-templates for the azure-sdk-for-cpp
* Includes updates to all ci.yml files to reflect new syntax requirements from 1es-template changes to archetype-sdk-client
2024-03-12 15:20:45 -07:00
Ronnie Geraghty a0559c53f7
Fixing links in Event Hubs README.md (#5393)
* Fixing links in Event Hubs README.md

Came across these links pointing to material for the Go libraries and updated them to the C++ materials.

* Updating links for event hubs checkpoint library
2024-03-08 16:14:50 -08:00
Ahson Khan 7025e232bd
Remove the use of ifdef for TESTING_BUILD in KeyVault clients, where they are not needed. (#5418) 2024-03-07 16:56:06 -08:00
Anton Kolesnyk aad2299dcd
Revert commits related to `_azure_BUILD_FOR_TESTING` and `_azure_*_FOR_TESTS` (#5416)
* Revert "Remove the use of ifdef for TESTING_BUILD in KeyVault clients, where (#5406)"

This reverts commit 2d8c940f55.

* Revert "Rename the TESTING_BUILD macro to be _azure_TESTING_BUILD to highlight (#5390)"

This reverts commit 256c2df8b5.

* Revert "Use new macros in existing surface area, so that classes marked as final don't have virtual methods. (#5389)"

This reverts commit 3d7eaddb9d.

* Revert "For new surface area, classes marked as final should not have virtual methods. (#5331)"

This reverts commit ddd0f4bd07.

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-03-07 04:03:35 +00:00
Anton Kolesnyk e4002aeff7
Fix warnings that block the Live CI pipeline (#5398)
* Fix warnings that block the Live CI pipeline

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-03-05 08:17:56 +00:00
Ahson Khan 2d8c940f55
Remove the use of ifdef for TESTING_BUILD in KeyVault clients, where (#5406)
they are not needed.
2024-03-01 07:09:54 +00:00
Ahson Khan 256c2df8b5
Rename the TESTING_BUILD macro to be _azure_TESTING_BUILD to highlight (#5390)
this is internal only and reduce chances of collision.
2024-03-01 05:45:36 +00:00
Ahson Khan 3d7eaddb9d
Use new macros in existing surface area, so that classes marked as final don't have virtual methods. (#5389)
* Use new macros in existing surface area, so that classes marked as final don't have virtual methods.

* Update doc comments.

* Use DOXYGEN_PREDEFINED to expand only the macros we want expanded.

* Add the compile definition for more projects.

* Address PR feedback.

* Make TestableTokenCache a friend class of TokenCache.
2024-02-29 20:48:12 -08:00
Morten Ofstad 93d8c12e4c
Fix use of namespace qualifiers that have not been explicitly introduced (#5371)
* Fix use of namespace qualifiers that have not been explicitly introduced.

* Format (sort usings alphabetically)

* Update CHANGELOG.md

* Update cspell.json

---------

Co-authored-by: Morten Ofstad <morten.ofstad@bluware.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-02-29 02:51:42 +00:00
Larry Osterman c707769604
Updated tests to support -UserAuth test resources switch to enable non-corpnet access. (#5387)
* Updated tests to support -UserAuth test resources switch to enable non-corpnet access.

* Try setting sample environment variables in sample script pipeline
2024-02-28 01:36:54 +00:00
Richard Park b655b0bd6d
Updating to use the common image (#5385) 2024-02-27 13:10:55 -08:00
George Arama 093db5a49c
QFE Identity playback (#5377)
* mroe quotes

* dssf

* pipeline first take

* 2 out of 3

* clangs

* newline

* shoot

* cache 0/1
2024-02-26 11:50:04 -08:00
JinmingHu a448c94052
Parse storage error code for HEAD requests (#5372)
* Error code for HEAD requests

* clang-format

* Recording
2024-02-26 10:11:12 +08:00
Anton Kolesnyk 00b30e3d86
AMQP: do not use scope.MinimumExpiration when getting SAS Token (#5376)
* AMQP: do not use scope.MinimumExpiration when getting SAS Token

* Remove unused parameters

* Match style

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-23 15:11:40 -08:00
George Arama 300e518eed
Identity perf tests part 1 (#5373)
* mroe quotes

* dssf

* pipeline first take

* 2 out of 3

* clangs

* newline
2024-02-23 13:03:12 -08:00
Larry Osterman aadd25dcd1
Reworked EventHubs Stress test to export information to OpenTelemetry (#5370)
# Significant rewrite of Eventhubs stress test.

## Cleaned up implementation of EventHubs stress/reliability test

* Reworked stress test layout to isolate stress test implementation from stress deployment elements.
* Added ability of stress test scenarios to be independently configured.
* Rewrote stress test app to be closer to the Go equivalent app.
* added apparg.hpp for command line parsing
* added scope_guard to test for scope_guard implementation.

## Added close methods to Consumer client and Producer client.

They don't do much currently, but will eventually.

## AI Generated summary of pull request

This pull request primarily focuses on the `azure-core-amqp` and `azure-messaging-eventhubs` packages, introducing changes to improve code efficiency and maintainability. The most significant changes include the removal of unnecessary `#include` directives in various files in the `azure-core-amqp` package, the addition of `Close` methods in `consumer_client.hpp` and `producer_client.hpp` in the `azure-messaging-eventhubs` package, and modifications to the `cgmanifest.json` files in the `azure-messaging-eventhubs-checkpointstore-blob` and `azure-messaging-eventhubs` directories.

Removal of unnecessary `#include` directives:

* [`sdk/core/azure-core-amqp/src/amqp/claim_based_security.cpp`](diffhunk://#diff-5acd7049cef5955540cc4253f264207e5a7d2701612e148c736ca5781e69d224L12-L14): Removed unnecessary `#include` directives for `iostream` and `sstream`.
* [`sdk/core/azure-core-amqp/src/amqp/connection.cpp`](diffhunk://#diff-fc3a6e5b11f1254c4fd344bcd1846c83ad4ca8e2a8a23b7db0657c2846f43937L18): Removed unnecessary `#include` directive for `azure/core/url.hpp`.
* [`sdk/core/azure-core-amqp/src/amqp/connection_string_credential.cpp`](diffhunk://#diff-14cf130dc5f0b51f698cca57724b733591d48fad0e5beb4745fc1cd78cbdaa72L7-L20): Removed unnecessary `#include` directives for `azure/core/amqp/internal/models/amqp_protocol.hpp`, `azure_c_shared_utility/azure_base64.h`, `azure_c_shared_utility/buffer_.h`, and `iostream`.
* [`sdk/core/azure-core-amqp/src/amqp/link.cpp`](diffhunk://#diff-249643f29ca2c0b1226e9d22ce90be83c77105f55221a1092fb605a5c7ead356L10-L21): Removed unnecessary `#include` directives for `azure/core/amqp/internal/message_receiver.hpp`, `azure/core/amqp/internal/message_sender.hpp`, `azure/core/amqp/internal/models/messaging_values.hpp`, and `azure_uamqp_c/amqp_definitions_sequence_no.h`.
* [`sdk/core/azure-core-amqp/src/amqp/management.cpp`](diffhunk://#diff-b03544340ff264961e045648c2c274dde9fa7ceb33b07b0c41a708128e28d40fL6-L16): Removed unnecessary `#include` directives for `azure/core/amqp/internal/connection.hpp`, `azure/core/amqp/internal/session.hpp`, and `azure_uamqp_c/amqp_management.h`.

Addition of `Close` methods:

* [`sdk/eventhubs/azure-messaging-eventhubs/inc/azure/messaging/eventhubs/consumer_client.hpp`](diffhunk://#diff-fad00d7bec0f12ef5e7d36387e866ab5291c6f5f57568845dfabe3f23320c899R152-R159): Added a `Close` method to the `ConsumerClient` class.
* [`sdk/eventhubs/azure-messaging-eventhubs/inc/azure/messaging/eventhubs/producer_client.hpp`](diffhunk://#diff-cba1fbd1d786b763c27123a2284476e1cc8093753abe6e3a6af9ca78aae4d594R96-R113): Added a `Close` method to the `ProducerClient` class.

Modification of `cgmanifest.json` files:

* [`sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/cgmanifest.json`](diffhunk://#diff-465b096c14ed240a8f14180f16e0924e3df69bd1c95934dca435c0b3c97468a0R1-R37): Added a new `cgmanifest.json` file specifying development dependencies.
* [`sdk/eventhubs/azure-messaging-eventhubs/cgmanifest.json`](diffhunk://#diff-f3e86a1f7be148625ac80b2151504461f3faff4d0564db588c6df9d0d9eb0986R1-R48): Added a new `cgmanifest.json` file specifying development dependencies.
* 

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-02-22 20:41:18 -08:00
George Arama 1bb65192d4
Identity perf tests (#5329)
* mroe quotes

* dssf

* azure identity tests

* comments

* comments
2024-02-21 12:05:43 -08:00
George Arama 8ef815dc6a
Install test proxy and enable all tests (#5365)
* mroe quotes

* dssf

* compact the tests in the proper folder

* 2 more tests

* eqwq

* enabled all except http

* endline

* fhg

* oops

* new teests

* update

* update defaults

* hdg
2024-02-21 10:58:35 -08:00
Azure SDK Bot c0c7f88e65
Increment package version after release of azure-core (#5366) 2024-02-16 17:13:53 -08:00
George Arama 2a9934a596
Core perf tests consolidation (#5363)
* mroe quotes

* dssf

* compact the tests in the proper folder

* 2 more tests

* eqwq

* enabled all except http

* endline
2024-02-16 15:15:36 -08:00
Anton Kolesnyk 46fe50212c
Azure Core 1.11.2 Release (#5360)
* Azure Core 1.11.2 Release

* Update release date to 2/16

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-16 15:14:13 -08:00
George Arama 73bb6c63c1
Winhttp flaky test (#5356)
* mroe quotes

* dssf

* attempt 2

* updated test and logs

* clang

* update PR

* changelog update

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

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>

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

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

---------

Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-02-15 15:55:03 -08:00
Anton Kolesnyk 9271d13542
Guard against Windows' min/max macros (#5348)
* Guard against Windows' min/max macros

* Add NOMINMAX and LEAN_AND_MEAN + clang-format

* clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-13 13:41:34 -08:00
Azure SDK Bot 31692518fe
Increment package version after release of azure-identity (#5343) 2024-02-12 19:37:18 +00:00
Ahson Khan ddd0f4bd07
For new surface area, classes marked as final should not have virtual methods. (#5331)
* Classes marked as final should not have virtual methods.

(cherry picked from commit 7413384c111b73be448f78527a08a544fd1f6ec6)

* Update changelog.

* Address PR feedback and use named-macro.

* Only use the macro for testing_build final classes.

* Add a new compile definition _azure_TESTING_BUILD.

* Add test as a friend class and put the test in a Identity specific test
namespace.

* Remove the macro for final expansion since doxygen struggles with it.

* Address PR feedback, add ifdef guard around _azure_VIRTUAL_FOR_TESTS.
2024-02-09 17:46:04 -08:00
Ahson Khan 78a3239006
Azure Identity February Release (#5307)
* Azure Identity February Release

* Update CHANGELOG.md release date to Thurs

* Update release date.

* Remove empty CL sections.
2024-02-10 00:40:38 +00:00
Ahson Khan 3b231e5850
Enable proactive renewal of Managed Identity tokens. (#5336)
* Enable proactive renewal of Managed Identity tokens.

* Address PR feedback - move helpers to anonymous namespace and renames.

* Address local variable rename suggestion.
2024-02-09 16:01:44 -08:00
Larry Osterman 0229d0a3b3
Multithreaded support for Eventhubs management family of APIs (#5315)
* Enabled multithreaded calls to eventhubs management APIs

* Added partition client properties tests, removed unused variables in consumer client tests

* Restructured properties APIs in eventhubs to simplify producer client and consumer client implementations

* Fixed test crash in LinkAttachDetach AMQP test

* Added test cases for management authn failures

* Don't emit body contents in AmqpMessage insertion operator

* Don't take numeric value parameters by value to ostream insertion operators

* Updated eventhubs dependency to match reality

* Added value based tests for enumeration stream inserters
2024-02-09 14:22:28 -08:00
George Arama 50cc742865
Json test (#5324)
* mroe quotes

* dssf

* sqa

* Json test p1

* qw

* re

* pr build

* cast part 2

* ew

* jj
2024-02-07 12:20:52 -08:00
Azure SDK Bot 43f6c1d5a7
Increment package version after release of azure-messaging-eventhubs (#5327) 2024-02-06 20:34:56 +00:00
Larry Osterman 44cb7df563
Eventhubs February Release (#5305) 2024-02-06 09:04:33 -08:00
Anton Kolesnyk 025c06715c
Retroactively update AMQP's changelog (#5321)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-03 04:34:45 +00:00
Anton Kolesnyk 111ec80478
Update Azure Core changelog after #5308 (#5317)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-02 23:32:07 +00:00
Mykhailo Chelnokov 79cc06d004
Move the connection back to the connection pool when HTTP error 404 was received (#5308)
* Move the connection back to the connection pool when HTTP error 404 was received

* Use symbolic name for 404 status code
2024-02-02 14:10:58 -08:00
Azure SDK Bot 807b6c946a
Increment version for core releases (#5316)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-amqp
2024-02-02 22:06:37 +00:00
George Arama 1689a00df9
Pipeline tests (#5310)
* mroe quotes

* dssf

* sqa

* pipeline and policies

* PR comments

* cast int
2024-02-02 13:03:38 -08:00
George Arama 4f6cc88004
Http Transport perf test (#5309)
* mroe quotes

* dssf

* sqa

* first identity test no caching

* cache no cache

* cleanup cache shortcircuit

* some cleanup

* http test 1

* Update sdk/core/perf/src/base_test.cpp

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

* PR comments

* remove cache option

* wqq

* dsd

* saa

* wqq

* dfs

* clang

* http get post curl winhttp

* Update sdk/core/perf/inc/azure/perf/dynamic_test_options.hpp

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

* rtter

* PR comments

* PT comments

* clang

* http transport test

* Update sdk/core/perf/src/base_test.cpp

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

* PR comments

* remove cache option

* wqq

* dsd

* saa

* wqq

* dfs

* clang

* http get post curl winhttp

* rtter

* PR comments

* PT comments

* clang

* http transport test

* PR comments

* clangs

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-02-02 11:28:26 -08:00
Anton Kolesnyk 901bd298e4
Azure Core February Releases (#5312)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-02 10:23:58 -08:00
Larry Osterman 092d6bcc3b
Fixed nightly CI pipeline build error (#5311)
* Fixed nightly CI pipeline build error

* printf format string errors
2024-02-02 10:10:09 -08:00
Anton Kolesnyk 9b79205b68
Azure Core February Releases (#5304)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-01 12:54:29 -08:00
George Arama 070c7e94db
Step 1 in adding (more)perf tests for Core and Identity. (#5300)
* mroe quotes

* dssf

* sqa

* first identity test no caching

* cache no cache

* cleanup cache shortcircuit

* some cleanup

* Update sdk/core/perf/src/base_test.cpp

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

* PR comments

* remove cache option

* wqq

* dsd

* saa

* wqq

* clang

* Update sdk/core/perf/inc/azure/perf/dynamic_test_options.hpp

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

* PR comments

* PT comments

* clang

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2024-02-01 10:47:02 -08:00
Larry Osterman c2f189695c
Removed dead script (#5306) 2024-01-31 23:13:08 +00:00
Larry Osterman 27aab786c2
AMQP Session related fixes. (#5299)
* Implemented connection handle table to fix half closed session problem

* Correctly handle session begin after connection is open

* Split out amqp settle mode to separate header; added test coverage for AMQP Transfer and Detach performatives

* Use absolute path for settle mode header
2024-01-30 15:32:58 -08:00
Larry Osterman 47bf038701
Ported uAMQP bug fix to C++ repo (#5291) 2024-01-24 13:34:11 -08:00
Larry Osterman 76c82f0b9e
Fixed bug in Eventhubs live tests (#5290)
* Fixed bug in Eventhubs live tests

* switched back to DAC for tests
2024-01-24 21:33:40 +00:00
Larry Osterman f109f63f4e
Synchronous AMQP Close (#5281)
* First cut at blocking close

* Removed synchronous ifdefs
2024-01-18 12:54:23 -08:00
Larry Osterman 32e774f2ed
Changelog entry for winhttp bug fix (#5277)
* Changelog entry for winhttp bug fix

* Updated changelog with further suggestions
2024-01-17 13:21:13 -08:00
Larry Osterman 3bff843704
Attempt to diagnose WinHTTP CI pipeline errors. (#5259)
* Fixes for CVE-2024-21646

* Added note about this fix to CHANGELOG.md

* Tweaks to investigate CI pipeline error
2024-01-17 12:02:42 -08:00
Azure SDK Bot 4383383283
Increment version for keyvault releases (#5276)
* Increment package version after release of azure-security-keyvault-keys

* Increment package version after release of azure-security-keyvault-certificates

* Increment package version after release of azure-security-keyvault-secrets

* Increment package version after release of azure-security-keyvault-administration
2024-01-17 01:20:46 +00:00
Azure SDK Bot 2a4292f3ac
Increment package version after release of azure-data-tables (#5274) 2024-01-16 23:20:21 +00:00
Anton Kolesnyk 1d22b9bc57
Fix broken link (#5273)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-16 22:27:05 +00:00
Anton Kolesnyk 09b3f81ff2
Tables January Release (#5239)
* Tables January Release

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-16 13:10:25 -08:00
Anton Kolesnyk 68644be709
Key Vault January Releases (#5241)
* Key Vault January Releases

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-16 13:09:48 -08:00
George Arama 0f73c3958c
last quotes (#5271)
* mroe quotes

* dssf

* sqa
2024-01-16 12:31:47 -08:00
George Arama b43d53bb23
fix export (#5270)
* fix export

* naming

* quotes

* more quotes
2024-01-16 12:01:31 -08:00
George Arama 677d54aff3
Larry's comments (#5261)
* Larry's comments

* clang

* revenge of the clang
2024-01-12 17:21:13 -08:00
Anton Kolesnyk b0217106e4
Remove 'using namespace' from header files (#5260)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-12 14:42:30 -08:00
George Arama 20d9364a3d
Storage tables implementation (#5137)
* dss

* first pass at a client and tests

* constructors work

* working request, need to fix the response parsing

* basic tests working for service client

* refactored the constructors

* testproxy and tests

* format file

* got client and one API working

* list working

* all apis recorded

* new assets.json

* assets.json regen

* format json

* adding word to cspell

* fix build issues

* fix one more break

* typo

* clangs

* one more issue

* more fixezez

* regen recordings

* try again

* clangs

* clangs again

* new assets

* new test proxy

* regen tests based on new merge

* hmmm

* restore

* add debug env for test proxy

* resync cmake presets from main

* gor get and set working

* get stats

* table client and create

* delete

* get/set acls

* list tables

* some cleanup

* Create /update/merge/delete

* upsert

* query entities

* generated tests

* clangs

* some fixes

* some more errors

* cspells

* got transaction API working

* transactions working , need to parse response

* get data out of the response

* clangs

* batch1

* regen tests

* part 2

* batch3

* batch4

* clangs

* regen tests

* regen tests

* try again

* live only

* added some more tests for the transaction body

* small refactor for tests

* oops

* some oter update

* darn includes

* sddfsd

* erorr fix

* key clients

* sas

* small cleanup

* All tests passing

* test recordings

* clangs

* missing ENV for test

* attempt1

* retry

* couple recordings

* regen some tests

* clangs

* again

* again

* comments

* comments

* headers and footers

* some cleanjup

* Move folders step1

* revert assets and test resources in storage

* revert to main

* cspell

* readme

* comments

* revert ci.yml

* liveonly test

* clangs

* camke

* ci2

* try again

* fdssfs

* fdsfsd

* some cleanup

* dasda

* dsdsds

* asda

* assets

* comments

* a few more bits and pieces

* some other updates for cspell

* typo

* more docs

* spell

* another doc error

* clangs docs

* docs

* test cov

* dasdas

* hg

* stress test

* cspell

* Update sdk/storage/azure-storage-common/test/ut/CMakeLists.txt

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

* Update sdk/storage/azure-storage-common/test/ut/shared_key_policy_lite_test.cpp

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

* Update sdk/tables/azure-data-tables/CHANGELOG.md

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

* Update sdk/tables/azure-data-tables/CMakeLists.txt

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

* Update sdk/tables/azure-data-tables/test/stress/scenarios-matrix.yaml

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

* Update sdk/tables/azure-data-tables/test/stress/Dockerfile

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

* PR comments

* respurces cleanup

* cleanup 2

* respurce fix

* revddrt

* weqq

* oops

* try again

* Update sdk/tables/azure-data-tables/vcpkg/vcpkg.json

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

* try

* test fix

* samples

* readmes

* readmes

* readmes

* api view settings

* qualify friends

* try

* moving usings

* refactor for API View tool

* some more

* clangs

* Update sdk/tables/README.md

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

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

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* Update sdk/core/azure-core/src/http/transport_policy.cpp

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

* Update sdk/tables/azure-data-tables/inc/azure/data/tables/rest_client.hpp

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

* Update sdk/tables/azure-data-tables/CHANGELOG.md

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

* Update sdk/tables/azure-data-tables/test/ut/CMakeLists.txt

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

* Update sdk/tables/azure-data-tables/src/rest_client.cpp

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

* some comments

* comments

* comments part N

* clang

* try now

* clang

* comments

* update file names

* update test to check for the final signature

* ccc

* rename shared key policy lite

* cleanup some includes

* add a couple more tests

* small update

* clang

* increase test limits

* xml transition

* service_version_policy

* shared creds and key policy lite

* switch to secondary policy

* code done

* remove last storage vestiges

* put back some code

* readme/changelog

* Update sdk/tables/azure-data-tables/src/serializers.cpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Add the shared key policy for Larry

* Larry comments

* curlybracify the initializers

* Update sdk/core/azure-core-xml/inc/azure/core/xml/dll_import_export.hpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Update sdk/core/azure-core-xml/vcpkg.json

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Update sdk/tables/azure-data-tables/inc/azure/data/tables.hpp

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Rick's comments one more namespace change for serializers

* whiteline

* typo

* oops

* includes and clangs

* cleanup

* jhfjdhjfd

* hjkjdhf

* daas

* Anton's comments

* clang

* revert some changes

* fdss

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

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

* everything works

* clangs and vcpkg test

* test remove azure-core-xml

* vcpkg json

* remove the code

* merge main

* saa

* wqw

* last comments

* clang

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2024-01-12 11:04:43 -08:00
Azure SDK Bot 9d3870fe8d
Increment package version after release of azure-identity (#5257) 2024-01-11 15:47:56 -08:00
Azure SDK Bot 01e3e05efa
Increment package version after release of azure-messaging-eventhubs (#5256) 2024-01-11 15:44:54 -08:00
Azure SDK Bot 2e343802cd
Increment version for core releases (#5255)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-amqp
2024-01-11 15:43:19 -08:00
Anton Kolesnyk 23af33186e
Identity January Release (#5242)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-11 13:31:07 -08:00
Anton Kolesnyk 03de1fbaa4
Core-Core (GA) + Core-AMQP (Beta) + Event Hubs (Beta) January Releases (#5243)
* Core-Core + Core-AMQP + Event Hubs January Releases

* Update CHANGELOG.md

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-01-11 13:30:42 -08:00
Larry Osterman 23ecf87ecb
Fixes for CVE-2024-21646 (#5251)
* Fixes for CVE-2024-21646

* Added note about this fix to CHANGELOG.md
2024-01-11 11:33:25 -08:00
Ahson Khan dece333752
Add a remark in CAInfo doc comment mentioning it is Linux only. (#5248) 2024-01-11 19:23:35 +00:00
George Arama e69559f45e
Options UT (#5249)
* Options Http Enum add

* spaces

* options UT

* remove Options

* Revert "remove Options"

This reverts commit 0da5d2c1f5.
2024-01-11 10:11:01 -08:00
Ahson Khan 88242f3cf1
Make the CAPath option available on all OSes and change to throw on runtime on non-linux. (#5207)
* Make the CAPath option available on all OSes and change to throw on
runtime on non-linux.

* Address PR feedback, update test, and let curl fail on unsupported
platforms.
2024-01-10 17:16:50 -08:00
George Arama 7eeb60960c
Options Http Enum add to Core (#5246)
* Options Http Enum add

* spaces
2024-01-10 12:26:37 -08:00
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