Commit Graph

1940 Commits

Author SHA1 Message Date
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 fc043e1db752fc0c60260d9f7a6807a563e6caa0.

* 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