Commit Graph

2906 Commits

Author SHA1 Message Date
Azure SDK Bot
ebfb16d10b
Allow relative EmitterPackageJsonPath in New-EmitterPackageLock.ps1 (#5380)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-02-27 14:22:44 -08:00
George Arama
a8fcb87073
Perf doc update (#5386)
* mroe quotes

* dssf

* doc update

* spelling
2024-02-27 14:21:08 -08:00
Richard Park
b655b0bd6d
Updating to use the common image (#5385) 2024-02-27 13:10:55 -08:00
James Suplizio
ca03668fff
Add EnforceMaxLifeOfIssues to event-processor.config set to Off (#5384) 2024-02-27 12:03:47 -08:00
Azure SDK Bot
e178a716a4
Updates to tools for CodeownerUtils updates (#5383)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-27 10:43:23 -08:00
Azure SDK Bot
3fbad41d49
Update version of github-event-processor (#5382)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-27 10:08:05 -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
Azure SDK Bot
8d756c1481
Update github-event-processor version (#5375)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-23 11:43:18 -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
Rick Winter
6519a2c685
Fix up codeowner syntax (#5364) 2024-02-16 12:55:56 -08:00
Azure SDK Bot
15dab12036
Updates to tools for the CodeownersUtils updates (#5362)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-16 11:48:24 -08:00
Azure SDK Bot
ac023d1cf2
Update GitHubEventProcessorVersion (#5361)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-16 10:56:51 -08:00
Anton Kolesnyk
39392a8181
Publishing to vcpkg-betas syncs vcpkg baseline to our repo (#5330)
* Publishing to vcpkg-betas syncs vcpkg baseline to our repo

* PR Feedback

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-15 16:31:00 -08:00
Rick Winter
12fb2f8235
Update CodeOwners (#5359)
* Update CodeOwners

* Remove the package that doesn't exist

* Add more individuals to Tables
2024-02-16 00:03:26 +00: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
Rick Winter
6297347d75
Update CodeOwners (#5357) 2024-02-15 13:43:44 -08:00
Ronnie Geraghty
1d09c535b2
Install Docs Updates (#5339)
* initial update

* moving instructions on using betas to integration samples

* added requirements section, more options for addition install and config methods, build and run instructions and removed old install and config instructions

* spell check fixes

* fixes for broken links

* removing sample project repo option until ready

* Adding C++ compiler to the prereqs section

* removed un-needed parts of vcpkg.json example
2024-02-14 15:01:33 -08:00
Azure SDK Bot
213f0a722e
Move emitter-package.json scripts to eng/common (#5353)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-02-14 11:27:26 -08:00
Azure SDK Bot
29ac633ae3
Fix case-sensitive spelling in scripts that get deployed to C++ repo (#5349)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-13 17:01:17 -08:00
Anton Kolesnyk
735da80bf8
Update vcpkg SHA (#5347)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-13 17:00:12 -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
Anton Kolesnyk
0f7d02b999
Fix case-sensitive spelling in non-common /eng (#5346)
* PR Feedback

* Remove unnecessary instance

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-12 14:19:59 -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
Azure SDK Bot
f348242546
Add stress test arm/bicep template prefix to New-TestResources ResourceType set (#5340)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-02-09 18:11:07 -05: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
Azure SDK Bot
faea43abe1
Pin azure/login action step to v1.5.1 (#5333)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-02-08 15:17:03 -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
Daniel Jurek
ce4f25da23
Upload logs on cmake generate/build failure (#5293)
* Upload logs on cmake generate/build failure

* Copy relevant files to staging location, clean up after publishing

* Update cspell words

* Test: break cmake generate in a way that'll produce SOME log files.

* Revert "Test: break cmake generate in a way that'll produce SOME log files."

This reverts commit d5a300587b3359ed3f2bf7be5abea40868f958a7.

* Show failure logs instead of uploading artifacts. Only show log files for vcpkg at this time

* Reapply "Test: break cmake generate in a way that'll produce SOME log files."

This reverts commit 582629ad587f3c9b652ac1f8a7eda5e12d46843a.

* Revert "Reapply "Test: break cmake generate in a way that'll produce SOME log files.""

This reverts commit 7a35250c7e598fc6e1c060f896cbc952704e40bf.

* Another type of test

* Revert inadvertent whitespace changes

* Revert "Another type of test"

This reverts commit e38013f95b152e4e2a3b9d27ccf1eb9b63fa1817.

* More logging
2024-02-07 06:36:36 +00:00
Anton Kolesnyk
5a70fcabce
Workaround for vcpkg-tool regression bug (#5328)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-06 14:12:06 -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
Azure SDK Bot
1497f919a8
Sync eng/common directory with azure-sdk-tools for PR 7630 (#5325)
* Add ContentType header to Update-GitHubIssue

* replaced application/json

* Update eng/common/scripts/Invoke-GitHubAPI.ps1

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

---------

Co-authored-by: Peng Jiahui <804873052@qq.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-02-06 00:34:20 -08:00
Azure SDK Bot
dcc15a63a0
Sync eng/common directory with azure-sdk-tools for PR 7634 (#5323)
* Fix sparse-checkout git command line behavior

* Use command arg parsing behavior in sparse-checkout.yml

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-02-05 20:18:36 -08:00
Daniel Jurek
7c751a503b
Domain-specific changes to fix docindex (#5319)
* Add domains-specific changes needed for updated Generate-DocIndex.ps1 to work

* Spelling
2024-02-05 16:28:38 -08:00
Azure SDK Bot
0b01dc6614
Fix BOM issue Generate-DocIndex.ps1 (#5318)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-02-05 15:34:41 -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