Commit Graph

829 Commits

Author SHA1 Message Date
Azure SDK Bot
a5bce7ede3
Increment package version after release of azure-core-amqp (#5120) 2023-11-07 18:36:50 +00: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
JinmingHu
f6f2617201
Add some test cases for blob service (#4890) 2023-08-18 03:58:31 +00: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
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
3b91ee9c9a
add sanitizer for cookie and set-cookie headers (#4870) 2023-08-15 00:47:33 +08: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
JinmingHu
98c2e319dc
add sanitizer for x-ms-copy-source-authorization header (#4851) 2023-08-09 11:29:37 +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