Commit Graph

2206 Commits

Author SHA1 Message Date
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 0da5d2c1f57133c22723208d6feb2c925e7f8103.
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
Anton Kolesnyk
135e746243
BearerTokenAuthenticationPolicy to use shared_lock in case no refresh is needed (#5188)
* `BearerTokenAuthenticationPolicy` to use shared_lock in case no refresh is needed

* Copy constructor

* Update bearer_token_authentication_policy.cpp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 21:29:54 +00:00
Anton Kolesnyk
b997e76e0d
ClientCertificateCredential: better exception message for unsupported file extensions (#5197)
* Cert Cred: better exception message for unsupported file extensions

* fix spelling

* Make it better

* Empty path case

* adfs

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 12:19:05 -08:00
Anton Kolesnyk
bce301a841
Include error details into Identity exceptions (#5184)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 11:20:44 -08:00
Anton Kolesnyk
24ecd16308
Fix some spelling errors (for some PRs that are currently in review) (#5202)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 10:49:58 -08:00
Anton Kolesnyk
2da2d0d8cc
Remove some usages of internal APIs in samples (#5186)
* Remove some usages of internal APIs in samples

* std::cerr => std::cout

* Two errors would actually go to stderr

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 01:15:14 -08:00
Anton Kolesnyk
fbf58139f7
Nullable::Emplace() to set HasValue() (#5178)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-28 08:10:52 +00:00
Anton Kolesnyk
ee4be19b3f
URL: avoid double slash at the start of the path (#5187)
* URL: avoid double slash at the start of the path

* Remove unnecessary change

* More test coverage

* Changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-27 23:03:27 -08:00
Larry Osterman
a318d3756f
Make cspell checks case sensitive. Fixes #5198. (#5199)
* Make cspell checks case sensitive

* Add .vscode to path filter for CI pipeline

* Fixed some spelling errors
2023-11-27 22:04:25 +00:00
Anton Kolesnyk
6da4d9649d
FIx typos (#5185)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-27 13:55:27 -08:00
JinmingHu
74f6896a4f
replace internal functions in storage sample code (#5196) 2023-11-27 12:50:23 +08:00
JinmingHu
4a32d7266c
update storage NOTICE.txt (#5159) 2023-11-22 09:50:04 +08:00
Anton Kolesnyk
05d1f5455c
Make vcpkg.json comment multiline (#5175)
* Make vcpkg.json comment multiline

* Update core-opentelemetry tests to be able to compile with opentelemetry-cpp version 1.12.0

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-21 17:06:37 -08:00
Larry Osterman
1b2e58f743
Moved all uAMQP types out of public headers into _impl headers (#5171)
* Moved all uAMQP types out of public headers into _impl headers

* SocketListener is now in _detail
2023-11-17 09:32:06 -08:00
microzchang
761f2586ad
Storage/STG92 List Handles Include Client Name (#5088) (#5134)
* List Handles Include Client Name

* add test reocrd

* update test record

* update record
2023-11-17 10:50:58 +08:00
Larry Osterman
37e1952f71
Fixed Linux AMQP crash and many other fixes. (#5166)
* Return pointer to message rather than message; cleaned up API surface to remove uAMQP details

* ASAN configuration via CMAKE preset, not environment variable

* clang-tidy fixes
2023-11-14 23:45:24 +00:00
microzchang
2aafab4605
fix ci failure (#5160) 2023-11-13 03:47:31 +00:00
JinmingHu
61f2f836dc
update storage cgmanifest.json (#5136) 2023-11-13 09:52:44 +08:00
Azure SDK Bot
4db4630ee2
Increment package version after release of azure-identity (#5157) 2023-11-11 06:54:30 +00:00
Anton Kolesnyk
41b3df3dd3
Azure Identity November Release (#5102)
* Azure Identity November Release

* Re-order and move fix to new feature.

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-11-10 21:32:38 -08:00
Ahson Khan
f2bd22794d
Incapsulate all the defaults for options values such as authority host in a helper class and add authority host url validation. (#5155)
* Incapsulate all the defaults for options values such as authority host
in a helper class and add authority host url validation.

* Address PR feedback.
2023-11-11 05:00:14 +00:00
Ahson Khan
3b3795f3df
Revert order of credentials used within the DefaultAzureCredential (#5156)
back to what it was at previous GA.
2023-11-10 20:15:31 -08:00
Ahson Khan
d2419de28d
Add logging to WorkloadIdentityCredential to help with debugging. (#5153)
* Add logging to  to help with debugging.

* Fixup tests.

* Address PR feedback and fix up log messages to be more accurate.
2023-11-10 19:32:49 -08:00
Ahson Khan
083d52aefc
Fix typo in storage faq.md (#5139) 2023-11-10 04:42:13 +00:00
Ahson Khan
b082d54656
Update perf test secret_credential_test.hpp to be more generic to make modifications easier (#5150) 2023-11-10 03:54:05 +00:00
Ahson Khan
7632d67584
Re-use the selected credential that works for each subsequent request in DefaultAzureCredential by caching the chosen credential per instance. (#5142)
* Re-use the selected credential that works for each subsequent request in
DefaultAzureCredential by caching the chosen credential per instance.

* Update test to include per-instance caching validation.

* Addresss PR feedback and fix clang error on atomic assignment.

* Fix typo in CL and drop ifdef testing_build to investigate clang build
issue.

* Add double-colon in front of friend class.
2023-11-09 19:33:26 -08:00
Larry Osterman
7b8d324540
Fixed AMQP Link Credits hang; fixed several AMQP memory leaks. (#5119)
* Add link pollable; Fixed several memory leaks

* Rule of 5 fixes for AMQP and EventHubs types; moved message handle type to _detail namespace.

* 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>
2023-11-09 15:55:54 -08:00
Anton Kolesnyk
4997ec8a9f
Drop non-essential line from Storage FAQ (#5140)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-08 20:43:17 -08:00
Anton Kolesnyk
030ad9a6ca
Unify all markup C++ code sections to use 'cpp' (#5138)
* Unify all markup C++ code sections to use 'cpp'

* Update broken link

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-08 20:42:59 -08:00
Ahson Khan
f816bb194b
Harden checks for the tenant ID across all inputs. (#5106)
* Harden checks for the tenant ID across all inputs.

* Fix clang formatting.

* Fixup unit tests.

* Fixup test comments.
2023-11-09 01:57:00 +00:00
Heath Stewart
a9c492a8b3
Move MHSM to region with more availability (#5122)
* Move MHSM to region with more availability

Resolves #4613

* Trigger CI re-run

* Undo the trigger

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-11-08 11:44:57 -08:00
Azure SDK Bot
e94719131d
Increment version for storage releases (#5135)
* 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
2023-11-08 05:35:18 +00:00
Anton Kolesnyk
37060211b5
Fix malformed URL in KeyVault (#5129)
* Fix malformed URL in KeyVault

* Update changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-07 21:33:05 -08:00
microzchang
6cae0c71fa
Storage November Release (#5096)
* Storage November Release

* update queue version
2023-11-08 10:16:47 +08:00
Azure SDK Bot
902f8a1651
Increment package version after release of azure-messaging-eventhubs (#5121) 2023-11-07 19:20:47 +00:00
Azure SDK Bot
a5bce7ede3
Increment package version after release of azure-core-amqp (#5120) 2023-11-07 18:36:50 +00:00
Anton Kolesnyk
52831a833a
Azure Messaging EventHubs November Release (#5101)
* Azure Messaging EventHubs November Release

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-07 03:02:03 -08:00
Anton Kolesnyk
722ce7c1d5
Azure Core AMQP November Release (#5100)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-07 03:01:37 -08:00
Anton Kolesnyk
ab0c28a42f
Accurate vcpkg feature availability for winhttp (#5114)
* Accurate vcpkg feature availability for winhttp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-03 12:42:52 -07:00
JinmingHu
f534decbf3
Update faq.md (#5113) 2023-11-03 12:47:30 +08:00
Anton Kolesnyk
edf7ab18c7
Add a note to vcpkg manifest files that all changes made in the vcpkg repo alone might be lost. (#5110)
* Add a note to vcpkg manifest files that all changes made in the vcpkg repo alone might be lost.

* may => will

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-02 20:57:51 -07:00
Anton Kolesnyk
986bbb3a59
Remove old warning suppression from Storage (#5109)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-02 20:25:40 -07:00
Azure SDK Bot
830a60e6c6
Increment package version after release of azure-core (#5108) 2023-11-02 19:24:33 +00:00
Anton Kolesnyk
2f14209e2b
Azure Core November Release (#5099)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-11-02 10:20:59 -07:00
Ahson Khan
82de63902d
Create separate lists of characters that are allowed within a tenant id vs scopes in AzureCliCredential. (#5086)
* Create separate lists of characters that are allowed within a tenant id vs scopes in AzureCliCredential.

* Update test to catch the particular exception we expect to be thrown for
tenant id but not for scopes.

* Address PR feedback.
2023-11-02 02:41:50 +00:00
Ahson Khan
677a1da61e
Disallow space character when validating tenant id and scopes as input for AzureCliCredential. (#5085)
* Disallow space character when validating tenant id and scopes as input
for AzureCliCredential.

* Address PR feedback.
2023-11-01 19:04:26 -07:00
Ben Broderick Phillips
bc2bb8da0b
Bump min tls version to 1.2 for storage live test storage account (#5098) 2023-11-01 20:14:39 +00:00
JinmingHu
acf8926bb3
Update faq.md (#5103) 2023-11-01 03:03:09 +00:00
JinmingHu
747e38fc7b
Add storage FAQ (#5067) 2023-11-01 10:26:04 +08:00
Anton Kolesnyk
c9329cb34b
Fix vcpkg install for the vendored uamqp (#5095)
* Fix vcpkg install for the vendored uamqp

* Make changes mergeable to upstream

* Update CMakeLists.txt

* Update CMakeLists.txt

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-31 17:12:28 -07:00
Larry Osterman
9d14632f1c
Isolate headers for AMQP internal types into an internal-only header directory. Fixes #5069 (#5079)
* Moved internal AMQP types to internal header directory

* Updated consumers of AMQP headers to match moved headers

* Updated changelog to reflect breaking change in AMQP

* Made includes explicit in event_data.hpp

* Reference non-package headers with angle braces not quotes
2023-10-30 18:04:24 +00:00
Anton Kolesnyk
7d94094255
Fix AMQP vcpkg depndencies (#5084)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-30 08:51:27 -07:00
Anton Kolesnyk
6979126ad8
Small cleanup around AMQP dependencies (#5083)
* Small cleanup around AMQP dependencies

* Update cfgmanifest.json to remove uamqp, and add umock, csharedutil, and macro-utils-c

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-28 22:28:51 +00:00
Larry Osterman
102c6f3d95
Port uAMQPPython fixes to uAMQP to vendored uAMQP (#5059)
* Port uAMQPPython fixes to uAMQP to vendored uAMQP

* Fixed unit test failures

* Diff ported fixes against python codebase
2023-10-27 09:17:26 -07:00
Larry Osterman
2337ee796e
Split out curl and winhttp testing on WS2022 to work around CURL bias in test proxy tests (#5071)
* Split out curl an winhttp testing on WS2022 to work around CURL bias in test proxy tests

* Minor change to storage to trigger CI pipeline

* On testing builds, send a 0 length Content-Length header on Patch verbs if the caller has not provided a Content-Length header.

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

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-10-27 09:16:46 -07:00
JinmingHu
2c8143a702
Fix the regex to match client secret in OAuth requests, ignore Cookie when matching requests (#5070)
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: microzchang <zchang@microsoft.com>
2023-10-27 10:12:03 +08:00
Anton Kolesnyk
50c18516df
Ensure CMakeLists don't miss any files (#5065)
* Ensure CMakeLists don't miss any files

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-26 18:15:03 -07:00
Anton Kolesnyk
81e23e00aa
Ensure all-inclusive headers do include all public API headers (#5068)
* Ensure all-inclusive headers do include all public API headers

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-26 18:02:34 -07:00
Anton Kolesnyk
15d8133a21
Prefix interal macros with _azure_ to 'remove' them from the public area (#5064)
* Prefix interal macros with _azure_ to 'remove' them from the public area

* PR feedback

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-25 22:55:21 -07:00
Anton Kolesnyk
2b66182185
Add issue link for the fixed bug in the changelog (#5062) 2023-10-25 19:18:58 -07:00
Larry Osterman
d4b225c138
Updated changelog for azure core; azure core amqp; and eventhubs. (#5060) 2023-10-25 15:16:52 -07:00
Larry Osterman
51c8955d85
Vendor AMQP at commit 52942afb1a4b48a1d8af7a3ac37d3211661e3423 (#5049)
* Vendored version of uamqp

* Exclude vendored modules from cspell

* Code coverage

* Code coverage improvements

* Removed more coverage exclusions
2023-10-25 11:19:20 -07:00
Larry Osterman
a6de66df02
Remove code coverage exclusions from Azure SDK for C++ (#5055)
* Try to see what happens without coverage exclusions

* Reset coverage limits

* Mark ThrowParseError as [[noreturn]] to ensure compiler knows that code after it is dead code

* Added tests for the Azure assert macro

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-10-25 10:30:02 -07:00
Larry Osterman
490250646f
Reworked TLS 1.3 change; add WS2019 test coverage (#5051)
* Reworked TLS 1.3 change; add WS2019 test coverage

* Enable static MSVC lib support on WS2019

* Fall back to TLS 1.2 if TLS 1.3 doesn't work
2023-10-24 22:55:40 +00:00
Larry Osterman
ccddc7f3ed
Fully functioning eventhubs processor. (#5018)
* Functioning processor; reliability changes to azure core

* Eventhubs test fixes

* Functioning processor; cleaned up some memory leaks

* 

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-10-24 10:45:43 -07:00
Larry Osterman
92364dcee1
Enable TLS 1.3 support (#5047)
* Enable TLS 1.3 support

* Updated error message
2023-10-20 18:39:09 +00:00
microzchang
1acf0ba6df
Storage/Added x-ms-file-request-intent to PutRangeFromUrl (#5042)
* Added x-ms-file-request-itent to PutRangeFromUrl

* update test

* update test case
2023-10-20 15:05:50 +08:00
George Arama
860240fec9
Add retry for the restore operation in sample (#5036)
* just to checkup

* try again

* bvj

* fudge brownies

* added retry for restore

* clang
2023-10-19 11:55:28 -07:00
Larry Osterman
903136098f
Added code annotations around proxy information scheme for winhttp to work around clang parsing issue (#5045) 2023-10-19 08:45:27 -07:00
Scott Addie
1fc481b5cc
Replace AAD references in azure-identity (#5041)
* Replace AAD references in azure-identity

* Update cspell config

* Update cspell config again

* Fix code formatting

* Replace one more occurrence
2023-10-18 11:26:16 -05:00
Larry Osterman
fbec02365b
clang-13 version of cstdlib doesn't define integer types in global na… (#5031)
* clang-13 version of cstdlib doesn't define integer types in global namespace

* Added clang-13 and clang-15 variants to mix

* Pull request feedback

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

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

---------

Co-authored-by: Larry Osterman <larryo@LOTHAIR-HOME.ntdev.corp.microsoft.com>
2023-10-17 18:55:54 +00:00
Azure SDK Bot
e7b9b0aaaf
Increment version for storage releases (#5040)
* 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
2023-10-17 04:54:17 +00:00
microzchang
6b66a9d189
Storage October release (#5038)
* Storage October release

* fix spell

* update release date

* update changelog
2023-10-17 02:45:48 +00:00
microzchang
1e013e5fe9
Storage/STG91 Move audience out of models namespace and add help function for audience (#5026)
* move audience out of models namespace

* Update sdk/storage/azure-storage-queues/inc/azure/storage/queues/queue_options.hpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* Update sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* Update sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

* add help func

---------

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2023-10-16 12:12:09 +08:00
Azure SDK Bot
50e3a0e8fb
Increment package version after release of azure-identity (#5034) 2023-10-12 20:43:08 +00:00
Anton Kolesnyk
e89625e85c
Azure Identity October Release (#5010)
* Azure Identity October Releases

* Change release to beta.3.

* Update the identity CL.`

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-10-12 12:44:03 -07:00
George Arama
25dc8ca24d
Implement purge check intead of blind timeout (#5021)
* implement purge check intead of blind timeput

* typo

* timeout
2023-10-11 08:38:29 -07:00
Azure SDK Bot
426abfe530
Increment version for eventhubs releases (#5024)
* Increment package version after release of azure-messaging-eventhubs

* Increment package version after release of azure-messaging-eventhubs-checkpointstore-blob
2023-10-10 20:31:11 +00:00
Anton Kolesnyk
60a805770d
Azure Event Hubs October Releases (#5005)
* Azure Event Hubs October Releases

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

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

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

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

* Update CHANGELOG.md

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
2023-10-10 11:33:09 -07:00
microzchang
a4a24fbd39
change test record tenant id (#5023) 2023-10-10 12:23:50 +08:00
microzchang
f0b4b948cb
Storage/STG91 Renamed PublicAudience to DefaultAudience (#5022)
* Change Audience

* change PublicAudience to DefaultAudience
2023-10-10 12:23:33 +08:00
microzchang
504d9f2753
Storage/STG91 Audience remove scope (#5019)
* Audience remove scope

* update record

* update test

* Update sdk/storage/azure-storage-common/src/storage_credential.cpp

Co-authored-by: JinmingHu <jinmhu@microsoft.com>

---------

Co-authored-by: JinmingHu <jinmhu@microsoft.com>
2023-10-08 22:56:04 +08:00
Azure SDK Bot
a2ef29aa93
Increment version for core releases (#5013)
* Increment package version after release of azure-core-amqp

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-10-05 23:28:01 +00:00
Azure SDK Bot
dbbcd0dc93
Increment package version after release of azure-core (#5012) 2023-10-05 22:26:46 +00:00
Anton Kolesnyk
9d88aeb651
Azure Core October Beta Releases (#5003)
* Azure Core October Beta Releases

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-10-05 13:41:51 -07:00
Ahson Khan
b5c3c4971d
Do not throw an exception during AzureCliCredential construction, but rather delay it on GetToken() call. (#4979)
* Do not throw an exception during `AzureCliCredential` construction, but rather delay it on GetToken() call.

* Update az cli unsafe chars test.
2023-10-05 20:31:29 +00:00
Ahson Khan
9a2c2e1257
Remove OPENSSL_VERSION_NUMBER version check for the CAPath option in libcurl (#5009)
* Remove OPENSSL_VERSION_NUMBER version check for the CAPath option in
libcurl.

* Revert unit test change that caused an intentional error.

* Remove the openssl header.
2023-10-05 20:30:46 +00:00
Ahson Khan
81d95c951f
Change the default value for the authority host option to be read from the environment variable first. (#4980)
* Change the default option for authority host to be read from the environment first.

* Update changelog.

* Update doc comment and refer to the env var correctly.

* Update doc comments and add unit tests.
2023-10-05 11:14:22 -07:00
Anton Kolesnyk
be478542fb
Vcpkg-related fixes for checkpointstore-blob (#4998)
* checkpointstore-blob vcpkg dependency fix

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update FolderList.cmake
2023-10-03 00:35:16 +00:00
Anton Kolesnyk
7bf42a30c3
Fix azure-messaging-eventhubscheckpointstore-blob build manifest (#4996)
* Fix azure-messaging-eventhubscheckpointstore-blob build manifest

* Update vcpkg.json
2023-09-29 20:52:43 +00:00
Anton Kolesnyk
6c2e3628fa
Fix vcpkg features for azure-core-cpp (#4934)
* Fix vcpkg features for azure-core-cpp

* Rearrange conditions

* EOL@EOF

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-29 19:16:53 +00:00
Anton Kolesnyk
c26fbb03ea
Acknowledge community contribution in the changelog (#4995)
* Acknowledge community contribution in the changelog

* Update cspell.json

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-29 17:14:03 +00:00
Phoebus Mak
bf652dcd47
Add support of setting CAPath and relevant test (#4982)
* Add support of setting CAPath and relevant test

* Renaming macro and update when will it get define
2023-09-29 09:32:47 -07:00
Larry Osterman
daa36f1650
Renamed blob checkpointstore to long name (#4990)
* Renamed blob checkpointstore to long name

* Moved unit tests into ut directory

* Re-ran recordings
2023-09-27 10:16:15 -07:00
Anton Kolesnyk
ebf958df23
Shorten the names of some long name headers (#4987)
* Shorten the names of some long name headers

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-26 09:29:27 -07:00
Anton Kolesnyk
ec220be784
Shorten build-time paths when building in vcpkg (#4977)
* Shorten build-time paths when building in vcpkg

* if-guard

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-25 09:30:00 -07:00
Larry Osterman
9d3fb20bb7
Added ApiView for blob checkpoint store (#4981) 2023-09-22 10:25:59 -07:00
Larry Osterman
336c8c02fb
Removed storage dependency from eventhubs (#4954)
* Removed storage dependency from eventhubs

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-09-22 08:06:58 -07:00
Larry Osterman
5f579513c2
Enable partial reads on EventHubs. (#4950)
* Added eventhubs test collateral to create and destroy eventhubs namespaces and eventhubs; Added peek message functionality to AMQP

* Use HTTP to talk to management APIs instead of az cli
2023-09-21 15:36:54 -07:00
Larry Osterman
f561b97ddb
Disable dockerfile scanning in CI (#4967) 2023-09-19 16:53:34 -07:00
microzchang
04a7477d2e
Storage/Storage Client Options Support Audiences (#4957) (#4966)
Storage Client Options Support Audiences.
2023-09-19 03:28:42 +00:00
Azure SDK Bot
ec33085d59
Increment package version after release of azure-identity (#4953) 2023-09-14 14:25:12 -07:00
Ahson Khan
13f1759acc
Do not throw an exception during Credential construction, but rather delay it on GetToken call. (#4951) 2023-09-13 16:57:24 -07:00
Anton Kolesnyk
d4bdf29ef2
Azure Identity September Release (#4930)
* Azure Identity September Release

* Update release date in CHANGELOG.md

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-09-13 22:39:23 +00:00
Ahson Khan
33dc61bbf8
Modify the order of the credentials used within the DefaultAzureCredential to be consistent with other languages. (#4946)
* Modify the order of the credentials used within the  to be consistent with other languages.

* Update LogMessages test since the order of credentials has changed.

* Fix the order for the rest of the log messages within the test.

* Update svg and clang format.
2023-09-13 15:02:25 -07:00
Larry Osterman
165eace629
AMQP Stack polls for operations in a background thread. (#4914)
There are two significant parts to this fix. The first is that the Connection object now has a method EnableAsyncOperation which registers the connection with a background thread which polls the connection. The EnableAsyncOperation needs to be callable from outside the connection because in normal client operation, the calls to open the connection are all internal to uAMQP. That means that the message sender and receiver need to call it when they're opened (and closed).

The other major part of this change is that the AsyncOperationQueue now has a WaitForRequest API which does not normally poll (there is a test hook which enables polling but that is not normally used in most scenarios).

The other part of this change fixes some concurrency issues associated with the Log::Stream functionality.

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

* Update sdk/core/azure-core/src/logger.cpp

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

* Update sdk/core/azure-core/test/ut/CMakeLists.txt

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

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

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

* Added ASAN as an option, converted transports to be bases to ensure consistancy

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-09-13 11:12:46 -07:00
Ahson Khan
e0bda0b406
Add WorkloadIdentityCredential to the DefaultAzureCredential. (#4940)
* Add WorkloadIdentityCredential to the DefaultAzureCredential.

* Clang format and update the CL.

* Address PR feedback - update CL, and SVG

* Define the required AZURE_FEDERATED_TOKEN_FILE env variable in the test.

* Update DAC unit test to include WIC in the log messages.
2023-09-13 01:15:25 -07:00
Ahson Khan
79737f1473
Make several params to WorkloadIdentityCredential optional and read them from the environment instead. (#4893)
* Make several params to WorkloadIdentityCredential optional and read them from the environment instead.

* Fix typo in calling the ClientCredentialCore ctor

* Add changelog entry.

* Address PR feedback, avoid creating many WIC options instances.

* Update ctor impl and add options test.

* Set locals if the options are non-empty, and void unused variable in tests.

* Fixup the sample since the customer no longer needs to explicitly pass in those params.
2023-09-12 23:18:05 -07:00
JinmingHu
ad28d10ee0
Memorize filesystemUrl in directoryClient so that ListPaths knows the correct endpoint without guessing (#4923) 2023-09-13 13:06:14 +08:00
Azure SDK Bot
59af02e52a
Increment version for storage releases (#4945)
* 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
2023-09-13 13:05:11 +08:00
microzchang
224332197d
storage-september-release (#4935)
* upgrade package version

* add features added title
2023-09-13 10:33:23 +08:00
Azure SDK Bot
517f1e61c8
Increment package version after release of azure-messaging-eventhubs (#4944) 2023-09-13 00:09:40 +00:00
Anton Kolesnyk
308c5a7ac8
Azure Eventhubs September Release (#4929)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-12 14:23:46 -07:00
microzchang
5afc901bef
Storage/TestProxy playback mode ignore storage sas version (#4941)
* Playback ignore storage sas version

* remove space
2023-09-12 05:00:21 +00:00
Azure SDK Bot
329eda3114
Increment package version after release of azure-core-amqp (#4933) 2023-09-07 16:05:12 -07:00
Anton Kolesnyk
2f7728794d
Better cmake UWP detection condition (use the same definition as vcpkg) (#4932)
* Better cmake UWP detection condition (use the same definition as vcpkg)

* Update Config.cmake.in

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-07 13:04:50 -07:00
Anton Kolesnyk
93a0942c6a
Azure Core AMQP September Release (#4928)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-07 12:18:42 -07:00
Anton Kolesnyk
a8dd2b021b
Fix Identity compilation (WinAPI crypto API) on UWP (#4931)
* Fix Identity compilation (WinAPI crypto API) on UWP

* Clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-07 10:28:37 -07:00
Ahson Khan
f7452cc233
Update the workload identity credential sample to work with required environment variables that need to be set. (#4924)
* Update the workload identity credential sample to work with required environment variables that need to be set.

* Fix clang format.
2023-09-06 10:25:26 -07:00
Larry Osterman
0ad52a028c
Ignore compiler and STL version mismatch on published packages to unblock ApiView (#4925) 2023-09-06 10:22:52 -07:00
Anton Kolesnyk
146460ec5a
Acknowledge community contributions in the changelogs (#4919)
* Acknowledge customer contributions in the changelogs

* cspell

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-09-05 14:05:19 -07:00
microzchang
06c0159137
Storage/Add instruction for setting up storage accounts (#4917)
* update readme.md

* update

* fxi spell

* update link

* update link

* update

---------

Co-authored-by: Jinming Hu <jinmhu@microsoft.com>
2023-09-05 14:01:49 +08:00
JinmingHu
85af81f0a6
Update storage coverage target (#4922) 2023-09-05 09:52:52 +08:00
microzchang
99567fa14d
Storage/Fix live test failure (#4920) 2023-09-01 01:20:04 +08:00
Larry Osterman
1177548540
WIL headers and C++ static analysis don't always get along (#4918)
* WIL headers and C++ static analysis don't always get along

* Accidentally removed a header
2023-08-29 13:41:52 -07:00
Theodore Tsirpanis
b7afe2faf1
[identity] Remove OpenSSL dependency on Windows. (#4747)
* Add dependency to WIL in azure-identity-cpp when on WIndows.

* Use Win32 APIs to get the thumbprint and private key of a certificate.

* Don't use `out_param_ptr` in `GetPrivateKey`.

`NCRYPT_KEY_HANDLE` is not a pointer but a uintptr and using `out_param_ptr` with it causes compiler errors.

* Use Win32 APIs to sign messages with a private key.

* Remove the OpenSSL dependency from azure-identity-cpp on Windows.

We can't remove it from the root vcpkg.json that gets used for development, because an attestation example uses OpenSSL for certificate code.

* Update the changelog.

* Fix compile errors.

We can't use WIL in the public headers; we will use instead the same approach with the OpenSSL handles.

* Fix more compile errors.

* Use `AZ_PLATFORM_WINDOWS`.

* clang-format

* Update cspell.json

* Update CHANGELOG.md

* Update cspell.json

* Update cspell.json

* Attempt to make spell checker happy with minimum changes

* Ignore `CMakeUserPresets.json`.

* Move to the BCrypt APIs in anticipation of the rewrite.

* Use Windows APIs to read the certificate and the private key in PEM format.

* Move decoding the PEM string to its own function.

* Remove redundant error messages from some checks.

WIL does not recommend them if they do not provide additional information, and it already captures the source location.

* Support opening raw RSA and ECC private keys.

* Stop using pseudo-handles.

They are not supported in Windows Server 2012 R2, which is still supported.

* Fix CI.

* Refactor the ClientCertificateCredential tests and test more certificates.

Thanks to googletest's parameterized tests, duplicate code was eliminated and we test twelve cases with only two test methods.

* Improve code sharing across OpenSSL and CNG.

* Fix error checks when signing.

* Remove ECC certificate support.

Turns out Microsoft identity platform itself does not support them.

* Replace `#ifdef` with `#if defined`.

* Move some CryptoAPI-related terms to a `cspell.json` file local to `azure-identity`.

* Exclude the root `cspell.json` file from gitignore.

* Clean-up `cspell.json`.

* Fix linked libraries of `azure-identity`.
We don't use ncrypt anymore.

* Move `platform.hpp` to `client_certificate_credential.cpp`.

* Clean-up `UniquePrivateKey` and reduce mentions of `pkey`.

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-08-28 10:55:49 -07:00
microzchang
be8c89123b
Storage/Update Queue API Version (#4903)
* update queue api version

* update version

* update sas version

* update test reocrd

* update test records
2023-08-23 09:31:16 +08:00
adamdebreceni
69fe21f7b0
Address gcc13 compilation issue (#4857) 2023-08-22 13:49:35 -07:00
Ahson Khan
384c1ae01e
Update core ci.yml so that some CI pipeline runs when modifying markdown files at the root of the repo (#4900)
* Update core ci.yml so that some CI pipeline runs when modifying markdown files at the root of the repo

* Update ci.yml for PRs.

* Update README.md to test that CI triggers.

* Check why wildcard isn't working as expected

* Try wrapping wildcard in quotes since it is at the start of the path to trigger
2023-08-18 14:51:46 -07:00
Ahson Khan
66e36b0399
Add a sample on how to use Workload Identity Credential. (#4894) 2023-08-18 12:44:35 -07:00
microzchang
653d7dfecd
Storage/File Share test coverage improvement (#4895)
* add share tests

* Add accessRights test

* update tests

* update test records

* change
2023-08-18 16:31:05 +08:00
JinmingHu
f6f2617201
Add some test cases for blob service (#4890) 2023-08-18 03:58:31 +00:00
microzchang
678d08072b
Storage/Datalake test coverage improvement (#4889)
* update test cases

* fix spell and conversation

* remove live only

* update test records
2023-08-18 09:24:50 +08:00
Larry Osterman
85d1a669e9
Removed version>= dependency for curl (#4892)
* Removed version>= dependency for curl

* removed another curl version check
2023-08-17 18:28:58 +00:00
Larry Osterman
b108bf6235
Post-release updates (#4871)
* Added link credit support to message sender and receiver; reworked message receiver creation to move to the partition client object

* Added round trip test, including filters; fixed a hang with the consumer client caused by no messages; fixed checkpoint store storage names.

* EventDataBatch is created from EventProducer. Fixes #4868

* SendEventDataBatch renamed to Send; pass in Context on methods which require a context

* Added producer client send APIs without requiring an explicit event data batch

* close message receiver in destructor if it is open

* Consumer client and producer client only create message sender and receiver when needed
2023-08-17 09:52:54 -07:00
microzchang
0a4d7009f4
Storage/Fix Files Shares ShareServiceClient::SetProperties 400 Error (#4887)
* fix bug

* update record

* udpate record

* test

* update test record
2023-08-17 06:35:40 +00:00
JinmingHu
7c10104461
Improve storage blob & queue coverage (#4888) 2023-08-17 10:15:56 +08:00
Ahson Khan
25f33e9800
Update azure-core dependency on curl to 7.48 from 7.44 since that's the minimum available on vcpkg. (#4882)
* Update azure-core dependency on curl to 7.48 from 7.44 since that's the minimum available on vcpkg.

* Update nested vcpkg.json to 7.48
2023-08-16 15:13:23 -07:00
Ahson Khan
e3a5a44e46
Update amqp dependency on core that isn't a beta (#4881)
As far as I know, this is the minimum version of core that's needed. If we need a newer version that we amqp needs, we can bump up this dependency.
2023-08-16 15:12:58 -07:00
JinmingHu
bbf6c9c3ee
Add test cases for simplified storage headers (#4880) 2023-08-16 20:09:30 +08:00
microzchang
9ef9483d92
Storage/File Share test improvement (#4885)
* update sas test

* update fileshare test cases
2023-08-16 06:04:28 +00:00
microzchang
efc0d8930a
Storage/Datalake test improvement (#4884)
* Update sas test

* add test case and test records

* fix import file

* fix import files

* update record

* fix test name

* fix conversations

* update test

* fix clang format
2023-08-15 14:17:39 +08:00
JinmingHu
3b91ee9c9a
add sanitizer for cookie and set-cookie headers (#4870) 2023-08-15 00:47:33 +08:00
Azure SDK Bot
d75e140049
Increment version for storage releases (#4878)
* 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
2023-08-12 05:58:05 +00:00
JinmingHu
00db04eb76
Storage August Release 2 (#4877) 2023-08-12 12:02:32 +08:00
Azure SDK Bot
5590c3bfbd
Increment package version after release of azure-identity (#4876) 2023-08-11 19:31:51 -07:00
Anton Kolesnyk
d6294aaa9f
Azure Identity August Release (#4839)
* Azure Identity August Release

* Update CL

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-08-12 01:18:04 +00:00
Ahson Khan
e43c34c90a
Add support for Workload Identity Credential for Kubernetes. (#4872)
* Add support for Workload Identity Credential for Kubernetes.

* Fix order of initialization for member fields.
2023-08-11 17:43:02 -07:00
microzchang
69e5f1a627
Storage/feature parity (#4869)
* add content type support on rename file. (#4712)

* Storage/STG74 Bearer Challenge (#4743)

* bearer challenge

* Storage/STG78 OAuth Copy (#4831)

* OAuth Copy

* add test for oauth copy

* add test

* fix conversation

* fix conversation

* update clang format

* update test record

* update test case

* fix unit test cases

* update recordings

* recordings

* fff

* fix doc

* CL

* recording

* fix typo

* CL

* recording

* revert debug code

---------

Co-authored-by: Jinming Hu <jinmhu@microsoft.com>
2023-08-11 20:47:53 +08:00
Azure SDK Bot
b8d2301931
Increment package version after release of azure-messaging-eventhubs (#4861) 2023-08-09 21:05:58 -07:00
Richard Park
3e5af5508f
Readme spelling mistake: bahavior -> behavior (#4863)
* bahavior -> behavior

* Update transport_adapter_base_test.hpp to fix the typo

* Update blob_base_test.hpp to fix the typo

* Update cspell.json to exclude bahavior is a valid word in the dictionary

---------

Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
2023-08-09 15:36:13 -07:00
Azure SDK Bot
eb3074d5c0
Increment package version after release of azure-storage-files-shares (#4862) 2023-08-09 15:26:26 +08:00
JinmingHu
98c2e319dc
add sanitizer for x-ms-copy-source-authorization header (#4851) 2023-08-09 11:29:37 +08:00
JinmingHu
950a39e3f1
Enable some storage test cases (#4856)
* fix container name

* test last access time

* recording

* playback only test cases

* legalhold
2023-08-09 11:28:51 +08:00
Azure SDK Bot
56c9f47c16
Increment version for storage releases (#4855)
* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake
2023-08-09 10:18:00 +08:00
Anton Kolesnyk
4428baf59e
Azure Event Hubs August Release (#4838)
* Azure Event Hubs August Release

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-08-08 16:30:57 -07:00
Larry Osterman
4d580a7fe3
Added azure_test resources to test-resources.json (#4858)
* Added azure_test resources to test-resources.json

* Add RBAC roles to created eventhubs instances

* Eventhubs samples read from the start of the partition, not the end.
2023-08-08 23:29:56 +00:00
Larry Osterman
15a8a7b0da
Updated test-resources to add eventhubs host name (#4854) 2023-08-08 11:35:56 -07:00
microzchang
0d26f247ec
Update GA Package Version (#4849) 2023-08-08 11:02:38 +08:00
microzchang
6375570d62
Update Beta Package Version (#4848) 2023-08-08 09:32:57 +08:00
Azure SDK Bot
660180ffd2
Increment version for core releases (#4846)
* Increment package version after release of azure-core-amqp

* Increment package version after release of azure-core
2023-08-04 16:06:59 -07:00
Anton Kolesnyk
3391610edb
Fix EventHubs samples warnings (#4844)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-08-04 14:25:17 -07:00
Anton Kolesnyk
35ee073d91
Azure Core August Releases (#4837)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-08-04 12:22:22 -07:00
Larry Osterman
9fbc3856ad
Create EventHubs stress and performance test basics. (#4818)
* Scaffolding for eventhubs perf test

* Added eventhubs 'stress' test, which is really a totally broken perf test'

* Added stress test skeleton

* EventHubs Stress test is an actual eventhubs test now

* EventHubs throws exceptions on producer client failure. Rationalized error reporting from AMQP - message sender and receiver generate the same errors.

* Rationalize AMQP error results; throw exceptions on eventhubs errors

* Fixed amqp management test; added HTTP status code for management triggered exceptions

* Event Data binary no longer takes an AMQP binary; Preliminary readme.md for eventhubs (still many go constructs in the readme)

* Created the first eventhubs samples - they don't do much but they work

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

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

* API Review feedback

* Added isTransient flag to eventhubs exception based on Java implementation

* Updated AMQP changelog to reflect recent changes

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-08-04 11:40:30 -07:00
JinmingHu
f206df6b66
Fix bugs in List operations (#4830) 2023-08-02 19:11:40 +08:00
microzchang
5f3fe6fa5e
Storage/STG90 features (#4827)
* Storage/STG90-Data Lake Pagination Delete (#4816)

* add pagination delete

* remove id and secret

* fix spell

* add clientConfiguartion to all clients

* fix doxygen doc

* fix conversation

* add unit tests

* fix cspell

* fix clang format

* update test code

* update test case

* update record

* Storage/Archive to Cold Tier Rehydration (#4825)

* add RehydratePendingToCold

* add unit test

* update changelog.md

* update record
2023-07-31 21:21:53 +08:00
JinmingHu
1634d5825e
Add test cases to cover paged response APIs (#4828)
* add more test case for paged response APIs

* recordings
2023-07-31 07:12:51 +00:00
JinmingHu
c8693fe8b3
fix list files and dirs bug (#4826)
* fix list files and dirs bug

* test case

* recording
2023-07-31 13:19:54 +08:00
Rick Winter
db328891d5
Support root cert validation on CURL (#4821)
* Only CURL >= 7.44 supports root cert validation

* Update Changelog
2023-07-28 09:39:05 -07:00
JinmingHu
e77eff6ab4
Storage test cases improvements (#4819)
* soft delete test

* enable setTierCold

* IsConnectionReuse in record-playback mode

* DISABLED_UploadPagesFromUriCrc64AccessCondition

* update recording assets

* ClientSecretCredentialWorks works in record-playback mode

* ServiceContainerSasPermissions and ServiceBlobSasPermissions work in record-playback mode

* BlobServiceClientTest.UserDelegationKey works in record-playback mode

* update recordings

* f
2023-07-27 11:25:21 +08:00
JinmingHu
ce85f6f12c
improve test proxy sanitizers (#4796) 2023-07-25 12:52:50 +08:00
JinmingHu
9293a6da77
blob test cases improvements (#4806)
* move not-working test assertion to a separate case

* enable AppendBlobClientTest.HighThroughputAppendBlob_LIVEONLY_

* remove incorrect comment
2023-07-24 11:20:37 +08:00
Anton Kolesnyk
0a175f2c83
Clean up version requirements (#4814)
* Clean up version requirements

* Revert curl back to 7.44

* Update vcpkg.json

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-20 16:03:57 -07:00
Anton Kolesnyk
7d52c01d18
Fix eventhubs manifest (#4812)
* Move eventhubs under messaging

* Update cmakefile

* cspell

* Do it the other way

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-20 12:27:23 -07:00
Anton Kolesnyk
909d08cdb7
Update changelog for the next release of AMQP (#4813)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-20 11:40:19 -07:00
Ahson Khan
107a30e558
Update managed_identity_credential doc to avoid copy/paste error from client secret credential. (#4809)
* Update managed_identity_credential doc to avoid copy/paste error from client secret credential.

* Fix clang formatting.
2023-07-20 11:11:55 -07:00
Larry Osterman
4ccdf2f822
x86 fixes part 2 (#4802)
* x86 fixes part 2
2023-07-19 11:19:09 -07:00
microzchang
7bbf780875
fix live test failure (#4800) 2023-07-19 10:13:04 +08:00
microzchang
86612b57fa
fix datalake patch (#4799) 2023-07-18 06:17:56 +00:00
Ahson Khan
c85e9bd11f
Disable libcurl globalCleanUp test until it has been investigated (#4797)
* Disable libcurl globalCleanUp test until it has been investigated

* Update curl_connection_pool_private.hpp friend class name for the disabled test

* Update curl_session_private.hpp friend class name for the disabled test
2023-07-17 16:04:11 -07:00
Larry Osterman
d1544744bf
Fixed eventhubs build break (#4798)
* Fixed eventhubs build break

* Morebuild breaks
2023-07-17 14:17:51 -07:00
Anton Kolesnyk
fd073360cf
Fix Eventhubs vcpkg manifest (#4794)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-17 13:44:05 -07:00
microzchang
972c3d8c76
Storage/Update swagger patch files for doxygen doc (#4771)
* update blob patch files

* update datalake, shares, queue.
2023-07-17 14:37:53 +08:00
JinmingHu
9af264c316
Add sanitizer for test-proxy to scrub client secrets from recording files (#4769)
* Add sanitizer for test-proxy
2023-07-15 11:44:20 +08:00
JinmingHu
c2834b3ff4
Define CMakeTestOptions in Storage's ci.yml file (#4781)
* Define CMakeTestOptions in Storage's ci.yml file

* Update vcpkg.json

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-07-15 11:43:54 +08:00
Larry Osterman
a627ab3f22
Initial creation of EventHubs service by @gearama (#4755) 2023-07-13 12:39:18 -07:00
Ahson Khan
5ea89474e7
Verify that the nlohmann json library gracefully handles UTF-8 BOM at the start of the payload (#4775) 2023-07-13 11:46:18 -07:00
Rick Winter
b54d509c72
Use standard syntax for MIT license (#4786)
* Use standard syntax for MIT license

* Stop appending "All rights reserved"
2023-07-12 22:37:36 -07:00
Azure SDK Bot
894873c423
Increment version for storage releases (#4783)
* 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
2023-07-12 12:39:58 -07:00
microzchang
1c89b58178
Storage July GA Release (#4757)
* update to stg88 version
2023-07-11 10:18:12 +08:00
Anton Kolesnyk
8776e31e66
Format vcpkg manifest (#4767)
* Format vcpkg manifest

* 1.9.0-beta.1

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-10 18:21:01 -07:00
Anton Kolesnyk
7da5a4568c
Update vcpkg baseline (#4772)
* Update vcpkg baseline

* Update in another place as well

* Remove default-features requirement for telemetry and amqp in manifest mode

* Also remove default-features for storage

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-10 14:22:40 -07:00
Ahson Khan
cf1c01e089
Codifying the behavior of json.contains with nested properties, in the unit test. (#4763) 2023-07-10 11:48:09 -07:00
Anton Kolesnyk
2f3e5de931
Fix dependencies for azure-core-amqp-cpp (#4770)
* Fix dependencies for azure-core-amqp-cpp

* Update sdk/core/azure-core-amqp/CMakeLists.txt

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-07 12:23:12 -07:00
Azure SDK Bot
e5ea1007ec
Increment version for core releases (#4760)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-amqp
2023-07-06 14:59:45 -07:00
Azure SDK Bot
0e36ac0585
Increment version for identity releases (#4759)
* Increment package version after release of azure-identity

* Update CHANGELOG.md

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

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

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-07-06 14:59:32 -07:00
Ahson Khan
e82dd8dcb4
Update core CHANGELOG.md wording to be more accurate (#4758) 2023-07-06 11:56:32 -07:00
Anton Kolesnyk
c2b2d56579
Azure Identity July Release (#4753)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-06 06:00:19 -07:00
Anton Kolesnyk
0dffddb160
Azure Core July Release (#4752)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-06 05:59:52 -07:00
Anton Kolesnyk
8c748719d4
Enable phasing out a breaking change in Core in a step-by-step manner (#4749)
* Enable phasing out a breaking change in Code in a step-by-step manner

* Update messages

* Fully qualify namespace in Changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-07-05 15:39:57 -07:00
Anton Kolesnyk
68be8b4568
Identity: Improve diagnosability (#4744)
* Identity: Improve diagnosability

* Update sdk/identity/azure-identity/src/azure_cli_credential.cpp

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

* GCC fix

* Mac fix

* More agressive sanitizing

* cspell

* minor CI fixes

* Improve

* More tests

* min/max values test

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
2023-07-05 13:34:47 -07:00
JinmingHu
b77518067e
Refactor blob SAS tests and queue SAS test (#4748)
* Refactor blob sas tests and queue sas test

* fix build errors

* fix failed cases
2023-07-05 13:38:14 +08:00
Anton Kolesnyk
f22eafad30
Identity: Credentials to accept a wider variety of token responses (#4740)
* Identity: Credentials to accept a wider variety of token responses

* Restructure code

* GCC warning

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-06-28 15:05:47 -07:00
Larry Osterman
743a20fd5b
Prepare for AMQP Release (#4739) 2023-06-28 09:15:47 -07:00
Ahson Khan
804be39699
Update key_client_create_test_live.cpp to remove dependency on attestation headers (#4727)
* Update key_client_create_test_live.cpp to remove dependency on attestation headers

* Update CMakeLists.txt to remove linking to azure-security-attestation

* Update CMakeLists.txt in hsm unit tests to remove linking to azure-security-attestation
2023-06-23 13:14:04 -07:00
Larry Osterman
fba91e34c9
Enabled doxygen validation in CI pipeline. (#4715)
* doxygen fixes

* enable doxygen errors now that doxygen is updated.

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-06-22 18:26:07 -07:00
Ahson Khan
b2f92f3513
Fix typos in KeyVault Keys and Secrets sources. (#4716) 2023-06-15 15:09:26 -07:00
Larry Osterman
0b59e5a94c
Documented log class (#4711)
* Documented log class

* cspell
2023-06-12 16:59:28 -07:00
Larry Osterman
5a9106f2a5
Convert AMQP Management APIs to use MessageSender and MessageReceiver instead of uAMQP version. (#4706)
* Switched management implementation to use message sender and receiver instead of uAMQP implementation.

* Made value conversion to AmqpValue explicit to work around what appears to be a gcc9 bug

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

* pull request feedback

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-06-12 13:57:54 -07:00
Rick Winter
fb1b439ddc
Remove a private internal method that is not used. (#4667) 2023-06-09 13:55:32 -07:00
George Arama
c45dff4c9f
Fix for the flaky curl test (#4670)
* Fix for the flaky curl test

* Larry's comment

* clang format applied

* updated comment

* clang-format-11 -i
2023-06-08 11:47:08 -07:00
Larry Osterman
9bc784050e
Moved logger back to cerr (#4702)
* Moved logger back to cerr

* Simplified stream logger experience; removed need for std::endl
2023-06-07 20:41:24 +00:00
Larry Osterman
0dd8882462
Add the ability to log diagnostics using an ostream. Fixes #4696 (#4700)
* Fixes #4696 - Added support to Log::Write to use insertion operators for logging

* EnvironmentLogger writes to stderr on errors, stdout for non-errors; Also don't double insert crlf in messages

---------

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-06-06 22:20:20 +00:00
Ahson Khan
2f7a3eec8b
Fix casing typo in a doc comment within amqp_error.hpp (#4701) 2023-06-06 19:08:36 +00:00
Larry Osterman
0516518265
Hopefully final AMQP shape changes. (#4690)
* Added amqp_definitions_fields to list of 'special' uAMQP headers

* Tidy up x64-static-debug-perftests preset

* Moved test functions to private and use friend functions for tests; Renamed Management to ManagementClient and made it constructable from Session.

---------

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2023-06-06 09:10:39 -07:00
microzchang
5223dc9467
Connection Reuse Test (#4664)
* Connection Reuse Test
2023-06-06 10:46:26 +08:00
Larry Osterman
184303a893
Manually disable tests in all vcpkg portfile.cmake files (#4697) 2023-06-05 11:52:21 -07:00
Azure SDK Bot
e05c92c484
Increment package version after release of azure-core (#4687) 2023-06-02 10:19:19 -07:00
Anton Kolesnyk
16a64ab3e9
Fix live tests CI compilation (unused variable warning - gets treated as error) (#4685)
* Fix live tests CI compilation (unused variable warning - gets treated as error)

* A warning popped up in opentelemetry due to header reordering

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-06-01 17:52:44 -07:00
Larry Osterman
b303a70eaa
Stop disabling security warnings in get_env.hpp; Fixed all incorrect … (#4655)
* Disable deprecation warnings in cmakelists.txt to avoid introducing new concepts; removed unnecessary uses of get_env.hpp

* Removed use of GetEnvHelper from AMQP samples

* Removed special case for get_env.hpp
2023-06-01 12:50:45 -07:00
Anton Kolesnyk
46dd5674a6
Azure Core June Release (#4671)
* Azure Core June Release

* clang-format

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

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

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-06-01 12:40:09 -07:00
Azure SDK Bot
e89459666d
Increment version for storage releases (#4676)
* 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
2023-05-31 20:41:49 +00:00
Scott Addie
8cc316191c
Fix DefaultAzureCredential image syntax (#4678) 2023-05-31 18:24:37 +00:00
Ahson Khan
10c37ab035
Fix clang format issue with multiple gtest includes in etag_test due to (#4673)
merge conflict resolution.
2023-05-31 15:55:28 +08:00
microzchang
93f8dcbf26
Storage May Beta Release (#4661)
Storage May Beta Release
2023-05-31 14:51:09 +08:00
JinmingHu
43d6642161
Improve storage test coverage (#4663) 2023-05-31 11:34:23 +08:00
Scott Addie
822063c838
Add DefaultAzureCredential auth flow SVG to Identity README (#4658) 2023-05-30 11:46:04 -07:00
Anton Kolesnyk
b4236bd0f3
Acknowledge community contribution in changelog (#4656)
* Acknowledge community contribution in changelog

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-05-30 11:41:37 -07:00
JinmingHu
b8551b9ae8
fix flaky storage testcase (#4660) 2023-05-30 12:16:02 +08:00
Larry Osterman
fb240a4b25
Define a standardized header ordering for Azure SDK for C++ (#4632)
* Standardized header ordering for C++ repo

* Reordered categories to move private headers above public headers; added space between categories to enable future flexibility
2023-05-26 14:32:45 -07:00
Larry Osterman
99b1ef5500
Convert most AMQP types to read-only; Significant API surface cleanup. (#4640)
* Prep for readonly connection

* Added options for Connection and Session to enable read-only configuration

* Read-only connection and session objects; use message source and target for message sender and receiver

* Enabled read-only session; added tests for incorrect AMQPS port

* Added token reader sample; flushed out eventhubs properties sample, added some timeouts to send async test

* Moved AMQP samples to internal

* Moved samples to use GetEnvHelper

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-05-26 13:17:09 -07:00
Scott Addie
98daaf70a8
Add DefaultAzureCredential auth flow diagram (#4654)
* Add DefaultAzureCredential auth flow diagram

* Update cspell.json

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2023-05-26 08:38:43 -05:00
Jennifer Chukwu
5499eee608
added a test helper to test each type for having the expected default operations. (#4627)
* add test helper

* constructible from Args

* restucture ClassTraits to ensure portability of static constexpr

* fix Etags tests and format

* clang format
2023-05-25 23:03:12 -07:00
Ben Broderick Phillips
d4839e1a8e
Remove -Login and -PushImages parameters from stress helper (#4615) 2023-05-16 16:32:14 -04:00
microzchang
7a644fe113
Storage/stg88-release (#4612)
* stg88 protocol layer (#4559)
2023-05-16 12:49:56 +08:00
Larry Osterman
a09d3acdce
Fixed AMQPS port (#4637) 2023-05-15 23:13:49 +00:00
Rick Winter
f027c95177
Fixes contributing section
* Update README.md
2023-05-15 13:09:09 -07:00
Larry Osterman
7066f4c956
Disable warnings for AMQP tests (#4633)
* Disable warnings for AMQP tests

* Added cmake presets for linux for ease of use.
2023-05-15 11:35:10 -07:00
Larry Osterman
68d051fe72
Merge AMQP functionality to main. (#4596)
# This pull request moves the core AMQP functionality to main. It is still very much a work in progress, but moving it to main will reduce the complexity associated with working in feature branches.



---------

Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
Co-authored-by: Victor Vazquez <victor.vazquez@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2023-05-10 20:58:39 +00:00
Daniel Jurek
96c4b5d5a1
Set Template to unreleased in CHANGELOG.md (#4625) 2023-05-09 18:38:40 +00:00
Azure SDK Bot
7ec78e5816
Increment version for keyvault releases (#4624)
* 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
2023-05-09 11:13:36 -07:00
Azure SDK Bot
22bcc6a657
Increment version for storage releases (#4622)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares
2023-05-09 18:12:55 +00:00
Anton Kolesnyk
abf6be6951
Azure Key Vault May Release (#4580)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-05-09 08:44:57 -07:00
microzchang
93434329d1
Storage May GA Release (#4616)
Storage May GA Release
2023-05-08 13:52:25 +08:00
microzchang
9ada66c3e6
fix ListFileHandles return empty list. (#4617) 2023-05-08 13:11:05 +08:00
Azure SDK Bot
495ee2ddf9
Increment package version after release of azure-core (#4610) 2023-05-04 14:57:46 -07:00
Anton Kolesnyk
96da379dbe
Azure Core May Beta Release (#4577)
* Azure Core May Beta Release

* Update CHANGELOG.md

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-05-04 13:06:20 -07:00
Azure SDK Bot
56d3e057f5
Increment package version after release of azure-identity (#4606) 2023-05-04 13:04:32 -07:00
Anton Kolesnyk
e534c3ee4a
Azure Identity May Release (#4579)
* Azure Identity May Release

* Update FolderList.cmake

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-05-04 10:32:52 -07:00
Larry Osterman
2cce17d691
Added checks to help diagnose intermittent globalCleanUp test failure (#4593)
* Added checks to help diagnose intermittent globalCleanUp test failure
2023-04-28 11:13:02 -07:00
microzchang
cfa652182d
fix encryption context (#4582) 2023-04-27 10:56:03 +08:00
Anton Kolesnyk
80bf41f131
Update changelog after Core 1.8.2 release (#4574)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-24 17:56:21 -07:00
Ahson Khan
f166699120
Fixed the UUID generation logic so that the variant digit is RFC 4122 (#4554)
conforming.
2023-04-17 18:37:51 -07:00
Ahson Khan
49f0f9e869
Make sure PRs modifying root samples and .github files within the repo get core CI triggered (#4546) 2023-04-11 15:56:23 -07:00
Ahson Khan
1c15232a63
Update cspell.json to include OIDC to fix spell check error in event-processor.yml (#4544)
* Minor tweak to event-processor.yml to trigger cspell checks

* Cosmetic change to context_test.cpp in azure-core to trigger CI pipelines

* Update cspell.json to include OIDC
2023-04-11 15:55:01 -07:00
Azure SDK Bot
cfe34de5b3
Increment version for keyvault releases (#4545)
* Increment package version after release of azure-security-keyvault-keys

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

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

* Increment package version after release of azure-security-keyvault-certificates
2023-04-11 22:50:54 +00:00
Larry Osterman
f318a00dcf
Transparent Uuid part 2. (#4540)
* Created transparent form of Azure::Core::Uuid

* clang-format

* clang-format

* Made constructor and operator std::array explicit

* Pull request feedback

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

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

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

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

* Renamed methods as per Anton's suggestion

* Renamed FromArray to CreateFromArray as per Ahson's suggestion

---------

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

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

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

* Pull request feedback

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

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

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

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

---------

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

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

* Re-apply changes to filter out whitespace artifacts

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

* Update datetime.cpp

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

* Fixed another test AV
2023-04-06 18:03:39 +00:00
microzchang
58bfb483c6
Storage April Release (#4513)
* Stg87 protocol layer (#4374)

* storage stg87 protocol layer

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

* hns_encryption_context

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

 trailing dot

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

* file oauth

* enable some stg87 tests
2023-04-06 10:12:49 +08:00
Larry Osterman
3cb4993423
Removed 'using namespace' directive from public header (#4514)
* Removed 'using namespace' directive from public header

* Shortened namespace names (Thanks Antkmsft)

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

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

---------

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

* Clang-format

* cspell

* clang-format

* gcc warning

* clang warning

* Remove debug message

* clang-format

* update version>= in vcpkg manifests

* unpublic copy ctor in polymorphic class

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

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

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-04-04 11:00:05 -07:00
Daniel Jurek
c2e845266b
Migrate Ubuntu 18 to 22 directly in the matricses (#4442)
* First cut at migrating Ubuntu 18 to 22 directly in the matricses

* Try 20.04

* Remove azure.list from apt configuration on 22.04

* Parens

* gpp-8 on Ubuntu 20.04

* Remove g++-5

* Move config changes to steps/

* Remove g++-5 from live tests

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

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

* Review feedback

* Finish renaming

* Setting line coverage target to 91%

---------

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