-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert most AMQP types to read-only; Significant API surface cleanup. #4640
Convert most AMQP types to read-only; Significant API surface cleanup. #4640
Conversation
…et for message sender and receiver
Ping :). |
…for message sender and receiver
… connections; sender and receiver don't use URLs in samples any more; all samples key off environment variables created by new-testresources.ps1
Ping :). |
Ping 2 :) |
…d the eventhub that was created
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partial review, only 4 files so far.
sdk/core/azure-core-amqp/inc/azure/core/amqp/connection_string_credential.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/connection_string_credential.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/connection_string_credential.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/connection_string_credential.hpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Anton Kolesnyk <[email protected]>
…dded some timeouts to send async test
…com/LarryOsterman/azure-sdk-for-cpp into larryo/readonlyconnectionandsession
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10 more files reviewed
sdk/core/azure-core-amqp/inc/azure/core/amqp/message_receiver.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/models/message_source.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/models/message_source.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/models/message_target.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/network/amqp_header_detect_transport.hpp
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/network/amqp_header_detect_transport.hpp
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7 more files, bringing the total to 21/70 files reviewed (30%).
sdk/core/azure-core-amqp/inc/azure/core/amqp/network/socket_transport.hpp
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/network/transport.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/network/transport.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/network/transport.hpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 14 more files, bringing the total to 35/70 files reviewed (50%).
sdk/core/azure-core-amqp/samples/eventhub_async_writer_sample/eventhub_async_writer_sample.cpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/samples/eventhub_async_writer_sample/eventhub_async_writer_sample.cpp
Show resolved
Hide resolved
sdk/core/azure-core-amqp/samples/eventhub_get_eventhub_properties_sample/CMakeLists.txt
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/samples/eventhub_get_eventhub_properties_sample/CMakeLists.txt
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/samples/eventhub_get_eventhub_properties_sample/CMakeLists.txt
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/samples/eventhub_token_reader_sample/eventhub_token_reader_sample.cpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/samples/eventhub_token_reader_sample/eventhub_token_reader_sample.cpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/samples/eventhub_token_writer_sample/eventhub_token_writer_sample.cpp
Show resolved
Hide resolved
sdk/core/azure-core-amqp/samples/local_server_sample/local_server_sample.cpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/samples/local_server_sample/local_server_sample.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 14 more files, bringing the total to 35/70 files reviewed (50%).
sdk/core/azure-core-amqp/samples/local_server_sample/local_server_sample.cpp
Outdated
Show resolved
Hide resolved
@LarryOsterman, BTW, if samples do show the usage for the Azure SDK developers, then they can use |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
44/88 files reviewed (new 50%)
sdk/core/azure-core-amqp/inc/azure/core/amqp/message_receiver.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/message_receiver.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/message_sender.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/message_sender.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/message_receiver.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/message_receiver.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/models/message_target.hpp
Outdated
Show resolved
Hide resolved
sdk/core/azure-core-amqp/inc/azure/core/amqp/models/messaging_values.hpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! - And sorry it took so long.
sdk/core/azure-core-amqp/inc/azure/core/amqp/models/messaging_values.hpp
Outdated
Show resolved
Hide resolved
...ure-core-amqp/samples/internal/eventhub_async_writer_sample/eventhub_async_writer_sample.cpp
Show resolved
Hide resolved
...ure-core-amqp/samples/internal/eventhub_async_writer_sample/eventhub_async_writer_sample.cpp
Show resolved
Hide resolved
...ure-core-amqp/samples/internal/eventhub_token_reader_sample/eventhub_token_reader_sample.cpp
Show resolved
Hide resolved
sdk/core/azure-core-amqp/src/amqp/private/message_sender_impl.hpp
Outdated
Show resolved
Hide resolved
* Remove -Login and -PushImages parameters from stress helper (#4615) * Add Azure OpenAI (#4644) Co-authored-by: Shawn Fang <[email protected]> * move the cleanup config to -SaveInputs parameter on the cli (#4646) Co-authored-by: m-nash <[email protected]> * Fixes for uploading proxy logs (#4652) Co-authored-by: Bill Wert <[email protected]> * Handle docker hangs and subscription mismatch on acr login (#4653) Co-authored-by: Ben Broderick Phillips <[email protected]> * Sync eng/common directory with azure-sdk-tools for PR 6202 (#4651) * Adding initial commit of TypeSpecE2E common script * add TODO comment * Updated per feedback --------- Co-authored-by: raychen <[email protected]> * 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 * Add DefaultAzureCredential auth flow diagram (#4654) * Add DefaultAzureCredential auth flow diagram * Update cspell.json --------- Co-authored-by: Anton Kolesnyk <[email protected]> * Remove defunct template (#4659) Co-authored-by: James Suplizio <[email protected]> * 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 <[email protected]> * 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 * fix flaky storage testcase (#4660) --------- Co-authored-by: Ben Broderick Phillips <[email protected]> Co-authored-by: Azure SDK Bot <[email protected]> Co-authored-by: Shawn Fang <[email protected]> Co-authored-by: m-nash <[email protected]> Co-authored-by: Bill Wert <[email protected]> Co-authored-by: raychen <[email protected]> Co-authored-by: Jennifer Chukwu <[email protected]> Co-authored-by: Scott Addie <[email protected]> Co-authored-by: Anton Kolesnyk <[email protected]> Co-authored-by: James Suplizio <[email protected]> Co-authored-by: Larry Osterman <[email protected]> Co-authored-by: JinmingHu <[email protected]>
Significant cleanup of AMQP internals.
Fixes #4504 #4505.
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.