-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[communication][phone-numbers] enable samples #14814
[communication][phone-numbers] enable samples #14814
Conversation
"endpoint=https://resourceName.communication.azure.net/;accessKey=test-key"; | ||
|
||
// create new client | ||
const client = new PhoneNumbersClient(connectionString); | ||
|
||
// You will need to set this environment variable or edit the following values | ||
const phoneNumberToUpdate = process.env.PHONE_NUMBER_TO_UPDATE || "<phone number to update>"; | ||
const phoneNumberToUpdate = | ||
process.env.AZURE_COMMUNICATION_PHONE_NUMBER_TO_UPDATE || |
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.
I really like the naming convention as AZURE_COMMUNICATION_SAMPLES_CONNECTION_STRING, and i like how that simplifies it to 1 env var.
I wish there was something we could do for the phone number to only require 1 env var but I can't think of anything better
is there someone from outside our team we can loop in for this? |
Fixes #14312 |
/azp run js - communication-phone-numbers - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - communication-phone-numbers - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - communication-phone-numbers - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - communication-phone-numbers - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - communication-phone-numbers - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
…to enable-phone-number-samples
/azp run js - communication-phone-numbers - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run js - communication-phone-numbers - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
[Hub Generated] Review request for Microsoft.Synapse to add version preview/2021-06-01-preview (Azure#14814) * Adds base for updating Microsoft.Synapse from version stable/2021-05-01 to version 2021-06-01-preview * Updates readme * Updates API version in new specs and examples * Add kustoPool.json to new API version + examples files + in readme.md * Add "type": "object" to definitions * Modify SKU to new name & size instead of previous name & tier * Add KustoPool stop * fix KustoPool Stop example params * Add KustoPool Start + example * Add KustoPool LanguageExtension Add/List/Remove * Add "type": "object" to LanguageExtensionsList * Add KustoPoolFollowerDatabases DETACH and LIST + examples * Add KustoPoolDatabasePrincipals ADD & LIST + examples * Add missing DatabasePrincipalListRequest definition * Add "type": "object" to FollowerDatabaseListResult, DatabasePrincipalListRequest, DatabasePrincipalListResult * Add KustoPoolDatabasePrincipalsRemove + example * Remove redundant newline * Add AttachedDatabaseConfigurations to KustoPool + examples * Add AttachedDatabaseConfigurationNameParameter * Fixes for AttachedDatabaseConfiguration * Add "type": "object" to TableLevelSharingProperties * Fix example of KustoPoolAttachedDatabaseConfigurationCreateOrUpdate.json * Add DataConnectionValidation to kustoPool.json + example * Fixes to DataConnectionValidation * Remove properties from KustoPoolDataConnectionValidation.json * Fix object instead of array at KustoPoolDataConnectionValidation.json example * Fix indentation at KustoPoolDataConnectionValidation.json * Add KustoPoolPrincipalAssignmentCheckNameAvailability to kustoPool.json + example * Remove redundant slash * Add KustoPoolDatabasePrincipalAssignmentsCheckNameAvailability to kustoPool.json + example * Fix in KustoPoolDatabasePrincipalAssignmentsCheckNameAvailability.json * Add KustoPoolDataConnectionCheckNameAvailability.json + example * Add KustoPoolListSkus + example * Add kustoSkus path to kustoPool.json + example * Remove {databaseName}/addPrincipals, listPrincipals, removePrincipals. Remove related definitions + example files * Change workspaceUid to workspaceUID to keep convention with Workspace resource * Add new KustoPool properties: optimizedAutoscale enableStreamingIngest enablePurge languageExtensions * Change "KustoCluster" to "KustoPool" and remove engineType property * Change "kustoSkus" endpoint to "skus" * Add KustoPool databases CheckNameAvailability + examples * Re-position kustoPoolCheckNameAvailability * Fix typo in example * Minor adjustments in KustoPool databases CheckNameAvailability * Change to "validateDataConnection" * Revert back to DataConnectionValidation to keep consistency with kusto swagger Co-authored-by: Amit Elran <[email protected]>
This PR enables all phone numbers samples to run in CI (except purchase and release).