Skip to content

Enable TransportType.AmqpOverWebsocket for ServiceBus - #10012

Merged
KieranBrantnerMagee merged 4 commits into
Azure:masterfrom
dennispg:AmqpOverWebsocket
Mar 31, 2020
Merged

Enable TransportType.AmqpOverWebsocket for ServiceBus#10012
KieranBrantnerMagee merged 4 commits into
Azure:masterfrom
dennispg:AmqpOverWebsocket

Conversation

@dennispg

@dennispg dennispg commented Feb 26, 2020

Copy link
Copy Markdown
Contributor

Just set TransportType=AmqpOverWebsocket in your connection string

@adxsdk6

adxsdk6 commented Feb 26, 2020

Copy link
Copy Markdown

Can one of the admins verify this patch?

@dennispg

Copy link
Copy Markdown
Contributor Author

This seems to address #4250 for me

@dennispg
dennispg force-pushed the AmqpOverWebsocket branch from 73056d1 to ffb068c Compare March 5, 2020 23:42
@msftclas

msftclas commented Mar 5, 2020

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@lmazuel lmazuel added Client This issue points to a problem in the data-plane of the library. Service Bus labels Mar 10, 2020
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/common/mixins.py Outdated
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/aio/async_client.py Outdated
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/common/mixins.py
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/common/mixins.py Outdated
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/common/utils.py
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/aio/async_client.py Outdated
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/aio/async_client.py Outdated
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/common/mixins.py Outdated
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/common/utils.py Outdated
Comment thread sdk/servicebus/azure-servicebus/azure/servicebus/servicebus_client.py Outdated

@yunhaoling yunhaoling left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall looks good to me, the default transport type should not be "None", it should be "TransportType.Amqp". Although it's guarded by the underlying uamqp library for now, but keeping code consistent with the doc and being explicit helps improving the readability.

dennispg and others added 2 commits March 25, 2020 09:55
Fix bug wherein async client didn't thread parsed transport type into constructor
Fix bug where exception in get_running_loop is not being passed through the proper logger.

@KieranBrantnerMagee KieranBrantnerMagee left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the time, effort, and patience to help us by making these changes.

Don't hesitate to let me know if you had any questions about the tests I added, or the corresponding tweak in parameter plumbing in the async client.

@KieranBrantnerMagee
KieranBrantnerMagee merged commit 9c14796 into Azure:master Mar 31, 2020
iscai-msft added a commit to iscai-msft/azure-sdk-for-python that referenced this pull request Mar 31, 2020
…into shared_credential_search

* 'master' of https://github.com/Azure/azure-sdk-for-python:
  [text analytics] Use AzureKeyCredential from core instead of TextAnalyticsKeyCredential (Azure#10528)
  Enable TransportType.AmqpOverWebsocket for ServiceBus (Azure#10012)
  Install tools packages in dev requirements from regression test branch (Azure#10575)
  Sync eng/common directory with azure-sdk-tools repository (Azure#10570)
iscai-msft added a commit to iscai-msft/azure-sdk-for-python that referenced this pull request Mar 31, 2020
…into regenerate_v3_ta

* 'master' of https://github.com/Azure/azure-sdk-for-python:
  [text analytics] Use AzureKeyCredential from core instead of TextAnalyticsKeyCredential (Azure#10528)
  Enable TransportType.AmqpOverWebsocket for ServiceBus (Azure#10012)
  Install tools packages in dev requirements from regression test branch (Azure#10575)
  Sync eng/common directory with azure-sdk-tools repository (Azure#10570)
  Shared credential (Azure#10509)
  Sync eng/common directory with azure-sdk-tools repository (Azure#10557)
  add back preparer (Azure#10558)
  initial release (Azure#10545)
  Release azure mgmt storage (Azure#10525)
  [Event Hubs] Update sample README to use absolute path (Azure#10556)
  Sync eng/common directory with azure-sdk-tools repository (Azure#10550)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue points to a problem in the data-plane of the library. Service Bus

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants