-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Service Bus] Update websocket options shape #26
Conversation
Can we have this PR target the feature/service-bus-track-2 branch? |
/** | ||
* Options to configure the channelling of the AMQP connection over Web Sockets. | ||
*/ | ||
export interface WebSocketOptions { |
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.
Now that we are duplicating this in Event Hubs and Service Bus, how about moving this interface to @azure/core-amqp
?
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.
good idea, will do.
@@ -93,9 +110,10 @@ export class ServiceBusClient { | |||
config = ConnectionConfig.create(hostOrConnectionString); | |||
|
|||
options = credentialOrServiceBusClientOptions as ServiceBusClientOptions; | |||
config.webSocket = options && options.webSocket; | |||
config.webSocket = options && options.webSocketOptions?.webSocket; |
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.
options?.webSocketOptions?.webSocket
?
Just opened as a draft, I'll re-open the PR in the central repo against the master branch once Azure#7312 is merged. |
…7211) by extracting then removing them from the url and parse the updated url as URLBuilder doesn't support them.
* Update root README - Making it more accessible to people consuming this page on azure.github.io to avoid redirecting to github from docs - Updating the description to point people to the most recent packages * Update README.md
Even in the case of test timing out the build should be finished under one hour. Shortening the timeout to 60 minutes so we are not wasting build agent resource.
put the latest version to the top
* Pin core-amqp version to preview.1 * Update lock file * Fix merge conflicts * [Service Bus] Update to use core-amqp (Azure#5324) * Use core-amqp in atom management client, comment tests that use token provider * [Service Bus] Update to use latest core-amqp (Azure#6861) * [Service Bus] Update constructors to add overloads and use Azure Identity (Azure#5436) * sync-versions: rhea-promise and @azure/core-amqp for service-bus * resolve merge conflicts appropriately * API Report File for "@azure/service-bus" * Address feedback * SERVICEBUS_CONNECTION_STRING_BROWSER remove from karma.conf * update pnpm-lock file * update API Report File for "@azure/service-bus" * remove rhea and rhea-promise dependencies * add "rhea-promise" back Co-authored-by: Ramya Rao <[email protected]> Co-authored-by: ramya0820 <[email protected]>
6f1d4a2
to
7556138
Compare
No description provided.