Commit Graph

67 Commits

Author SHA1 Message Date
Karl Burtram
5a7ae8a3d0 Reenable disabled tests post VSCode refresh (#20899)
* Reenable disabled tests

* Extension unit test updates

* Turn off data workspace tests on Linux

* Keep integration and smoke tests disabled
2022-10-21 21:40:52 -07:00
Karl Burtram
8a3d08f0de Merge vscode 1.67 (#20883)
* Fix initial build breaks from 1.67 merge (#2514)

* Update yarn lock files

* Update build scripts

* Fix tsconfig

* Build breaks

* WIP

* Update yarn lock files

* Misc breaks

* Updates to package.json

* Breaks

* Update yarn

* Fix breaks

* Breaks

* Build breaks

* Breaks

* Breaks

* Breaks

* Breaks

* Breaks

* Missing file

* Breaks

* Breaks

* Breaks

* Breaks

* Breaks

* Fix several runtime breaks (#2515)

* Missing files

* Runtime breaks

* Fix proxy ordering issue

* Remove commented code

* Fix breaks with opening query editor

* Fix post merge break

* Updates related to setup build and other breaks (#2516)

* Fix bundle build issues

* Update distro

* Fix distro merge and update build JS files

* Disable pipeline steps

* Remove stats call

* Update license name

* Make new RPM dependencies a warning

* Fix extension manager version checks

* Update JS file

* Fix a few runtime breaks

* Fixes

* Fix runtime issues

* Fix build breaks

* Update notebook tests (part 1)

* Fix broken tests

* Linting errors

* Fix hygiene

* Disable lint rules

* Bump distro

* Turn off smoke tests

* Disable integration tests

* Remove failing "activate" test

* Remove failed test assertion

* Disable other broken test

* Disable query history tests

* Disable extension unit tests

* Disable failing tasks
2022-10-19 19:13:18 -07:00
Charles Gagnon
60c1c8a89f Update ads-extension-telemetry to 1.3.1 (#20724)
* Update ads-extension-telemetry to 1.3.0

* fix
2022-10-04 23:06:53 -07:00
Charles Gagnon
85dc506a3c Add AuthenticationType enum to typings (#20699)
* Add AuthenticationType enum to typings

* fix

* const

* Add comments

* fix comment

* remove unused
2022-09-30 16:49:36 -07:00
Alan Ren
54c2fe6899 remove duplicate code (#20664)
* remove dupe code

* fix step name

* fix errors

* comment out arc

* fix timeout issue

* fix typo

* update name
2022-09-26 17:48:59 -07:00
Sakshi Sharma
c6f3996ec7 Set target platform for db projects from server metadata: mssql vscode extension (#20607)
* Set target platform for mssql vscode extension- create project from db feature

* Addressed comments

* Address comment to add EngineEdition information in vscode-mssql.d.ts
2022-09-19 10:50:55 -07:00
Vasu Bhog
2a94ce3afb Ensure SQL Nuget package reference is always updating to latest (#20390)
* seperate nuget package references to always update to latest

* nit

* nit comments
2022-08-17 18:07:23 -07:00
Vasu Bhog
e57acae79a Add output channel for SQL Bindings extension (#20336)
* add output channel for SQL Bindings extension

* add output channel to open once added
2022-08-15 12:12:26 -07:00
Vasu Bhog
4ebe4c4547 [SQL-bindings] remove watcher for files (#20250)
* remove watcher for files

* nit
2022-08-05 16:18:03 -07:00
Vasu Bhog
514b0315cc SQL Bindings add telemetry points (#20125)
* add telemetry points

* address comments
2022-07-27 16:38:37 -07:00
Vasu Bhog
9e8b80f12f delete progress notification not needed (#20060) 2022-07-19 09:43:55 -07:00
Vasu Bhog
163ca5ec64 SQL Bindings - Adds Views support for Create Azure Function with SQL Binding (#19894)
* add views logic

* add views tests

* address PR and Figma comments

* add ObjectType Enum to be used as a parameter

* add comment
2022-07-06 10:31:00 -07:00
Vasu Bhog
d5da934572 [SQL Bindings] Skip prompt to select setting from connection settings if there is none (#19798)
* add no setting option

* add tests

* reformat tests
2022-06-27 12:31:46 -07:00
Vasu Bhog
c5093dbb5a Add Azure Function Service Error/Cancel tests (#19758)
* cleanup tests

* exit/error scenario tests

* remove + from manuallyEnterObjectName

* address comments

* add resolve for writeFile
2022-06-20 15:48:38 -07:00
Vasu Bhog
4d320c56f0 cleanup tests (#19732) 2022-06-15 11:08:49 -07:00
Vasu Bhog
6ab09d9b1b Add SQL Bindings Tests / Vbump (#19717)
* add further testing

* vbump version

* add successfully test

* address comments
2022-06-14 14:47:36 -07:00
Barbara Valdez
a73eb0386b Extend sql bindings api (#19651) 2022-06-07 10:12:41 -07:00
Charles Gagnon
2b27ecf245 Update typing for GetAzureFunction request (#19607) 2022-06-06 13:00:23 -07:00
Vasu Bhog
4cb03a1ef0 [SQL Bindings] Add tests for connection string execute step (#19594)
* add connection string execute step tests
2022-06-02 13:49:25 -04:00
Vasu Bhog
6c7a8313b2 Adds SQL Binding Create Azure Function with SQL Binding tests (#19538)
* add a couple of azure function service tests

* address comments

* use mock for azureFunctionExtensionAPI
2022-05-31 21:04:39 -04:00
Vasu Bhog
96f345a74a add progress noticiations for database that would contain lots of tables (#19572) 2022-05-31 16:33:27 -04:00
Charles Gagnon
ccd458b876 Update typings for getAzureFunctions request (#19556) 2022-05-31 10:20:31 -07:00
Vasu Bhog
e1fc230273 remove password for connection string non sql auth types (#19484)
* remove password for connection string non sql auth types

* add comment

* fix test
2022-05-23 18:01:55 -05:00
Vasu Bhog
1959736078 fix loop for cancelling out databases (#19460)
* fix loop for cancelling out databases

* remove loop and comments
2022-05-20 13:47:53 -07:00
Charles Gagnon
4c008059df Add createAzureFunction to extension API (#19438) 2022-05-19 13:02:49 -07:00
Vasu Bhog
79875c0b95 fix await (#19437) 2022-05-19 12:20:36 -07:00
Vasu Bhog
9cefed840e SQL Bindings refactor password prompting (#19371)
* remove password enter manually - since we prompt user to include it prior

* go back to connection profile prompt

* add manual entry if connection info password is not saved

* add tests that verify all password prompt scenarios

* nit
2022-05-19 10:41:11 -07:00
Vasu Bhog
8967ec36f4 Add Table Menu for SQL Bindings promptForObjectName (#19358)
* first wip for table menu prompt

* fix up some table prompts

* use simpleExecuteRequest

* fix table prompt scenario for sql binding also

* fix/add more testing and address comments

* add brackets to selected database

* add manually entered option
2022-05-18 14:51:45 -07:00
Charles Gagnon
27ee9527bb Quote paths in add package command (#19407) 2022-05-17 23:44:00 -07:00
Vasu Bhog
265f59ae94 SQL Bindings fix preview flag and constants file (#19370)
* fix preview flag and constants file

* address comment
2022-05-13 17:09:00 -07:00
Barbara Valdez
f551cfb835 exit infite loop after closing error message (#19376) 2022-05-13 15:14:48 -07:00
Vasu Bhog
f53f4fc522 remove logic now that we have fix in vscode-azurefunctions (#19353) 2022-05-12 15:48:59 -07:00
Barbara Valdez
9f69139dea add description to quick pick item (#19356) 2022-05-12 11:25:48 -07:00
Barbara Valdez
e69bd2c01f Show function name when prompting user for sql binding type (#19336) 2022-05-11 13:51:15 -07:00
Vasu Bhog
51e5890c83 Add Connection String Execute Step for SQL Bindings (#19293)
* add execute step

* nit comment

* edit param docs

* address comments

* ensure the user has the installs the latest version
2022-05-09 16:06:02 -07:00
Leila Lali
d95aff1d3c New UI for deploying SQL project to a new Azure server (#18833) 2022-04-29 15:39:21 -07:00
Vasu Bhog
7ef0ef65f4 remove logic (#19250) 2022-04-28 15:29:13 -07:00
Vasu Bhog
a3efb193e0 Fix connection profile prompt for Create Function with SQL Binding (#19211)
* fix no connection profile and progress report

* show connection profile prompt if user exits object

* address comments
2022-04-27 15:14:39 -07:00
Vasu Bhog
727f37d6a5 remove ADS/azdata refs (#19212) 2022-04-27 11:23:53 -07:00
Vasu Bhog
c86085352e Make Create Azure Function with SQL Binding more efficient and simple (#19187)
* initial refactor

* fix projectFolder cases

* update create azure function with sql binding when no folder is opened

* corner case exit browse file

* add version since targetFramework is set to specific core tools version

* update telemetry and address comments

* use project folder instead
2022-04-26 13:12:10 -07:00
Charles Gagnon
19dd85bfe3 Add require-param rule for sql-bindings (#19201)
* Add require-param rule for sql-bindings

* fix
2022-04-25 14:58:52 -07:00
Charles Gagnon
15803c2a05 Fix SQL Bindings tests on windows (#19206) 2022-04-25 14:07:33 -07:00
Charles Gagnon
d54b7b9970 Return BindingType directly from promptForBindingType (#19200)
* Return BindingType directly from promptForBindingType

* align

* Fix tests

* fix compile
2022-04-25 14:07:03 -07:00
Charles Gagnon
72a43854f8 Add explicit return type linting to some extensions (#19199) 2022-04-25 11:24:23 -07:00
Charles Gagnon
784f8ac963 Fix SQL Binding when creating new project (#19118)
* Fix SQL Binding when creating new project

* Use sql binding templates

* fix openDialog to use select

Co-authored-by: Vasu Bhog <vabhog@microsoft.com>
2022-04-15 13:46:15 -07:00
Vasu Bhog
e1cf51653e remove extra error message (#19110) 2022-04-14 16:50:22 -07:00
Vasu Bhog
ca05e01144 Fix connectionSettingName for create azure function with sql binding (#19008)
* fix connectionSettingName for create azure function with sql binding

* add sql binding user enters connection string manually

* address comments + fix test

* final comments
2022-04-13 15:53:27 -07:00
Vasu Bhog
675969eebc suppress create function prompt (#18962) 2022-04-12 11:25:44 -07:00
Vasu Bhog
ed8d2f9927 Fix for user using command palette (#18948)
* fix for user using command palette command

* rework if a user uses the create azure function via the command

* for now only show in vs code

* move logic to azureFunctionService + address comments

* fix command location

* address comments

* fix validateFunction
2022-04-08 10:28:45 -07:00
Vasu Bhog
4e299dc4b2 fix timeout warning when exiting create function (#18947)
* fix timeout warning when exiting create function

* combine timeout errors

* make more explicit
2022-04-07 13:58:57 -07:00