Commit Graph

1773 Commits

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