Skip to content

Add MQTT generate token implementation#36303

Merged
cqnguy23 merged 15 commits intoAzure:mainfrom
cqnguy23:add-MQTT-generate-token-implementation
Aug 2, 2024
Merged

Add MQTT generate token implementation#36303
cqnguy23 merged 15 commits intoAzure:mainfrom
cqnguy23:add-MQTT-generate-token-implementation

Conversation

@cqnguy23
Copy link
Member

@cqnguy23 cqnguy23 commented Jul 1, 2024

Description

  1. Support to generate MQTT JWT Token for Azure WebPubSub. Essentially we need to identify if clients want to establish a default WebPubSub connection or an MQTT connection, then we will generate the Client Connection URL for them accordingly.
  • Example Client URL for:
    • Default Connection: wss://exampleHost.com/client/hubs/exampleHub
    • MQTT Connection: wss://exampleHost.com/clients/mqtt/hubs/exampleHub
  1. Upgrade API version to '2024-01-01'
  2. Added operations add_connections_to_groups and remove_connections_from_group
  3. Add tests to get MQTT Token

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-messaging-webpubsubservice

@cqnguy23 cqnguy23 marked this pull request as ready for review July 2, 2024 03:06
@cqnguy23 cqnguy23 requested review from iscai-msft and msyyc as code owners July 2, 2024 03:06
@cqnguy23 cqnguy23 requested a review from johanste July 3, 2024 05:47
@cqnguy23 cqnguy23 requested a review from johanste July 15, 2024 03:09
@cqnguy23 cqnguy23 requested a review from johanste July 22, 2024 16:37
@cqnguy23 cqnguy23 enabled auto-merge (squash) August 2, 2024 02:28
@msyyc
Copy link
Member

msyyc commented Aug 2, 2024

/check-enforcer override

@cqnguy23 cqnguy23 merged commit 9b8e099 into Azure:main Aug 2, 2024
l0lawrence pushed a commit to l0lawrence/azure-sdk-for-python that referenced this pull request Feb 19, 2025
* generate new REST client

* implement MQTT Generate Token

* add test case

* ignore check spell words

* update changelog

* update changelog

* update latest version

* update changelog

* add EOL

* change field name to webpubsub_client_access

* rename to webpubsub_client_protocol

* rename to client_protocol

* update changelog

---------

Co-authored-by: chuongnguyen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants