-
Notifications
You must be signed in to change notification settings - Fork 908
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
Added Telemetry and fixed Template Upload error #25991
Conversation
Pull Request Test Coverage Report for Build 11504358086Details
💛 - Coveralls |
@@ -263,6 +263,7 @@ export const IMPORT_PERFORMANCE_DATA_DIALOG_OPEN_FOLDER = localize('sql.migratio | |||
export const UPLOAD_TEMPLATE_TO_AZURE = localize('sql.migration.target.provisioning.upload.to.azure', "Deploy to Azure"); | |||
export const SAVE_TO_DEVICE = localize('sql.migration.target.provisioning.generate.template', "Save to device"); | |||
export const COPY_TO_CLIPBOARD = localize('sql.migration.target.provisioning.copy.to.clipboard', "Copy to clipboard"); | |||
export const ARM_TEMPLATE_GENERATE_FAILED = localize('sql.migration.target.provisioning.copy.to.clipboard', "Failed to generate ARM template"); |
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.
Change it to appropriate helper string
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.
fixed
...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.
HAs this been tested in all platforms?
yes working on mac,windows,linux. |
This PR fixes 3 things.
Added Telemetry for Target provisioning.
Instead of pasing skurecommendation file path , now we are passing just target type to the getarmtemplate API in toolsservice.
There was an intermitent issue while uploading ARM templates , the upload was failing sometimes. To fix this we are now generating Account SAS , earlier we were generating container SAS. This was problem with azure/storage-blob node module.
Found similar isue here - https://learn.microsoft.com/en-us/answers/questions/334786/azure-blob-storage-fails-to-authenticate-make-sure