Commit Graph

60 Commits

Author SHA1 Message Date
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
09d9ad0020 Fix SQL Bindings README (#19498)
* fix links for vsix

* update to use raw links instead
2022-05-23 23:10:24 -05:00
Vasu Bhog
146b27f511 SQL Bindings Readme Instructions (#19487)
* add readme entry points

* use scenarios

* fix link

* address comments
2022-05-23 18:04:37 -05: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
Alan Ren
f3e7337196 Upgrade packages to remove dependency on the vulnerable package minimist 0.0.8 (#19455)
* new mocha version

* test fix

* test

* new vscodetestcov version

* use rc1

* use 1.2.1

* remove all 0.0.8 of minimist

* a few more
2022-05-20 10:06:13 -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
7fc8b1c849 Add UUID dependency to sql-bindings (#19406) 2022-05-17 23:44:52 -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
Vasu Bhog
e80b8f92f2 vBump sql bindings extension (#19317)
* vBump sql bindings
2022-05-09 16:04:50 -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
Chris LaFreniere
6acda40894 Cleanup references to ADS (#19157) 2022-04-20 14:38:20 -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
Vasu Bhog
f829218c2c less prompts about langauge and runtime version (#18949) 2022-04-06 12:58:37 -07:00
Vasu Bhog
49b0640fde Update sql-bindings icon (#18946)
* add default icon
2022-04-06 12:57:54 -07:00
Vasu Bhog
69c254aeac Add progress bar for adding sql binding (#18923)
* add progress bar for adding sql binding
2022-04-04 15:13:00 -07:00
Vasu Bhog
2d9004e481 Remove known settings from ConnectionStringSettingName prompt (#18910)
* remove known settings
2022-04-04 13:37:44 -07:00
Vasu Bhog
c65c41d704 add guid for session ID (#18912) 2022-04-04 10:43:20 -07:00
dependabot[bot]
45b5f8d136 Bump ansi-regex from 3.0.0 to 3.0.1 in /extensions/sql-bindings (#18854)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 10:07:12 -07:00
Vasu Bhog
0a43ed84e3 Add bindings telemetry (#18851)
* add bindings telemetry

* add exitReasons
2022-03-31 16:29:15 -07:00
Nemanja Milovančević
5e68ff1dfe Make mssql extension a module (#18804)
* Rebase from main branch

* import from module

* Add mssql module ref

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2022-03-24 11:09:55 -07:00
Vasu Bhog
1a1556ca75 Use SQL input / output template instead (#18768)
* use sql input / output template instead

* workaround for storage wizard that is opened
2022-03-18 17:31:19 -07:00
Charles Gagnon
301c6f24fe Remove tslint from extensions (#18775) 2022-03-18 11:19:30 -07:00
Charles Gagnon
fc0721450d Cleanup sql bindings test utils (#18773) 2022-03-18 11:18:59 -07:00
Charles Gagnon
a6d442bb3b Consolidate extension typings files (#18765)
* Consolidate extension typings files

* fix
2022-03-18 09:24:22 -07:00