Skip to content
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

Merged
merged 8 commits into from
Apr 15, 2021
Merged

[communication][phone-numbers] enable samples #14814

merged 8 commits into from
Apr 15, 2021

Conversation

0rland0Wats0n
Copy link
Contributor

@0rland0Wats0n 0rland0Wats0n commented Apr 9, 2021

This PR enables all phone numbers samples to run in CI (except purchase and release).

@ghost ghost added the Communication label Apr 9, 2021
"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 ||
Copy link
Member

@beltr0n beltr0n Apr 9, 2021

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

@beltr0n
Copy link
Member

beltr0n commented Apr 9, 2021

is there someone from outside our team we can loop in for this?

@0rland0Wats0n 0rland0Wats0n marked this pull request as ready for review April 9, 2021 22:45
@DominikMe
Copy link
Member

Fixes #14312

@0rland0Wats0n
Copy link
Contributor Author

/azp run js - communication-phone-numbers - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@0rland0Wats0n
Copy link
Contributor Author

/azp run js - communication-phone-numbers - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@0rland0Wats0n
Copy link
Contributor Author

/azp run js - communication-phone-numbers - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@0rland0Wats0n
Copy link
Contributor Author

/azp run js - communication-phone-numbers - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@0rland0Wats0n
Copy link
Contributor Author

/azp run js - communication-phone-numbers - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@0rland0Wats0n
Copy link
Contributor Author

/azp run js - communication-phone-numbers - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@0rland0Wats0n
Copy link
Contributor Author

/azp run js - communication-phone-numbers - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@0rland0Wats0n 0rland0Wats0n merged commit 4261997 into Azure:master Apr 15, 2021
jay-most pushed a commit to jay-most/azure-sdk-for-js that referenced this pull request Apr 26, 2021
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-js that referenced this pull request Jul 5, 2021
[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]>
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.

3 participants