-
Notifications
You must be signed in to change notification settings - Fork 913
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
New UI for deploying SQL project to a new Azure server #18833
Conversation
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.
Haven't gone through this all - but at first glance I'm seeing a lot of Azure resource stuff here, including creating an Azure server. We shouldn't be having common function like that in here - it should live in a place that's usable by other features as well.
We have azurecore in ADS for that - so the work here then should be more about getting what you need implemented in VS Code in a similar way (or finding an existing extension that does this, such as the VS Code Azure extension) and then using one of those to do any operations against Azure resources.
I agree having a shared place would be useful for other extensions. vacode-mssql extension might be the right place for this. I tried using Azure core which didn't work because of the way we authenticate to Azure using mssql-vscode extension. |
@Charles-Gagnon and @kisantia I moved the Azure API to mssql extension in this PR: microsoft/vscode-mssql#17321 please review that PR first and after it's approved, I'll update this PR so it calls the APIs using mssql extension |
@Charles-Gagnon @kisantia the change in mssql extension is checked in and applied in this PR. please continue with the review. Thanks |
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.
It would be helpful for reviewing to split up large PRs like this into smaller, easier to review PRs. Like split out the adding the Azure Resource additions into one, adding the create azure server quickpick in another.
extensions/sql-database-projects/src/dialogs/deployDatabaseQuickpick.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.
Didn't look over the actual implementation much, but as far as my original concerns about duplicating logic it looks fine.
extensions/sql-database-projects/src/dialogs/deployDatabaseQuickpick.ts
Outdated
Show resolved
Hide resolved
extensions/sql-database-projects/src/models/deploy/azureSqlClient.ts
Outdated
Show resolved
Hide resolved
|
…e only (#19422) * add SDK option to create project from db quickpick (#19100) * Add SDK option to create project from db quickpick * cleanup * New UI for deploying SQL project to a new Azure server (#18833) * SQL Project Deploy to docker container - Adding a UI for user to select docker image tag (#19297) * add docker image with telemetry for publish to container (#19360) * add docker info image to telemetry for publish to container * change name * merge issue * version bump Co-authored-by: Kim Santiago <31145923+kisantia@users.noreply.github.com> Co-authored-by: Leila Lali <llali@microsoft.com>
Adding a new experience to publish a sqlproj to a new Azure server. The experience is only added for vscode mssql extension and not for ADS.