Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.25k stars 1.93k forks source link

Add clientEndpointType to interface #40784

Open cqnguy23 opened 4 days ago

cqnguy23 commented 4 days ago

Description

Add interface to support generating 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.

All SDK Contribution checklist:

General Guidelines and Best Practices

Testing Guidelines

azure-sdk commented 4 days ago

API change check

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

com.azure:azure-messaging-webpubsub

weidongxu-microsoft commented 3 days ago

Please run a regen via swagger/readme.md

At least, the ServiceVersion class would need a new api-version https://github.com/Azure/azure-sdk-for-java/blob/4ca954f1abf9165b4589f9f7f7cc351e9b92160b/sdk/webpubsub/azure-messaging-webpubsub/src/main/java/com/azure/messaging/webpubsub/WebPubSubServiceVersion.java