-
Notifications
You must be signed in to change notification settings - Fork 882
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
Fix to handle templates recommended in batches in case of SQL DB #25581
Conversation
Pull Request Test Coverage Report for Build 8660920157Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
export const TARGET_PROVISIONING_TITLE = localize('sql.migration.target.provisioning.title', "Save Template"); | ||
export const GENERATE_ARM_TEMPLATE = localize('sql.migration.target.provisioning.generate.template', "Generate Template"); | ||
export const CLOSE_DIALOG = localize('sql.migration.target.provisioning.close', "Close"); | ||
export const TARGET_PROVISIONING_DESCRIPTION = localize('sql.migration.target.provisioning.description', "Below is the ARM script for the recommended target SKU. You can save the script as template."); | ||
export const DISPLAY_ARM_TEMPLATE_LIMIT = localize('sql.migration.target.provisioning.template.display.limit', "A single ARM template has a deployment limitation of a maximum 50 Azure SQL Databases. The template for the first 50 databases is displayed below. To view all templates, save the template JSON file in a local storage or Azure Blob storage.") |
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.
"A single ARM template has a deployment limitation of a maximum 256 parameters, so deploy in batches of 50 DBs."
This should be 1st sentence for correct msg, you may add this link as well. https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/best-practices#template-limits
Current msg is not correct as there is no limitation on number of DBs but it is on number of Parameters.
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.
this text was provided by abhishek. I think parameters in templates in very low level details of code that we are explaining to Cx.
...nsions/sql-migration/src/dialog/skuRecommendationResults/GenerateProvisioningScriptDialog.ts
Outdated
Show resolved
Hide resolved
extensions/sql-migration/src/dialog/skuRecommendationResults/SelectStorageAccountDialog.ts
Show resolved
Hide resolved
extensions/sql-migration/src/wizard/assessmentDetailsPage/assessmentDetailsHeader.ts
Outdated
Show resolved
Hide resolved
extensions/sql-migration/src/wizard/skuRecommendation/assessmentSummaryCard.ts
Outdated
Show resolved
Hide resolved
Overall, it looks good, please take comments and update SQLToolsService version with latest one. |
...nsions/sql-migration/src/dialog/skuRecommendationResults/GenerateProvisioningScriptDialog.ts
Outdated
Show resolved
Hide resolved
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.
looks good to me.
In case the assesed instance has more than 50 dbs then instead of one template we will be getting list of templates from the nuget, This PR is to handle that change only.
ADO task link - https://msdata.visualstudio.com/Database%20Systems/_workitems/edit/3100628