Commit Graph

4395 Commits

Author SHA1 Message Date
Barbara Valdez
4a9feedbcc Notify user to restart server (#24351) 2023-09-08 23:53:59 -07:00
Kim Santiago
0b149cd85b update STS to 4.9.0.37 (#24356) 2023-09-08 18:27:29 -10:00
Cheena Malhotra
29127a003e Update placeholder text for mssql server name (#24350) 2023-09-08 16:05:46 -07:00
Cheena Malhotra
ff4758c048 Remove 'Script As Alter' command and don't show for table nodes (#24352) 2023-09-08 14:18:08 -07:00
Sakshi Sharma
1f98dad498 Update required indicators in Add Database Reference Dialog (#24346)
* Update required indicators appropriately in Add Database Reference Dialog

* Add required to the textbox as well
2023-09-08 14:00:01 -07:00
Lewis Sanchez
49021becc2 Bump STS version to 4.9.0.36 (#24349) 2023-09-08 13:58:00 -07:00
Sai Avishkar Sreerama
118e726fab Revert the changes of row fileGroup table which was added accidentally (#24339) 2023-09-08 12:00:48 -05:00
Cheena Malhotra
5fdac2054d Add support for clearing pooled connections (#24325) 2023-09-08 09:34:42 -07:00
Sai Avishkar Sreerama
aa006b9da7 Enabling QueryStore options to the database properties (#24255)
* Initial commit

* updated query capture policy props

* all done except, querydiskSpaceSection

* disabling capture policy options on off mode but with custom mode enabled

* adding query disk usage section with purge button

* fg table replace

* STS vbump to 4.9.0.34

* typo
2023-09-07 21:37:24 -05:00
Kim Santiago
63a1383b32 cleanup casing in a couple files (#24333) 2023-09-07 11:56:39 -10:00
Kim Santiago
21016c1a53 add button to open query store report in new tab (#24303)
* add button to open query store report in new tab

* addressing comments
2023-09-07 10:13:08 -10:00
Ram Uday Kumar
339c4562c9 SQL-Migration Extension Version bump-up (#24326) 2023-09-07 21:13:51 +05:30
Barbara Valdez
77ea6d7e32 do not show individual processors in managed instance (#24302) 2023-09-06 16:08:21 -07:00
Cory Rivera
32817ae52e Handle undefined nodeInfo for top-level database objects (#24298) 2023-09-06 14:12:07 -07:00
Kim Santiago
9f4e19f3db Initial changes for query store dashboard (#24272)
* create empty query store dashboard

* add placeholder report content

* cleanup

* more cleanup
2023-09-06 11:00:58 -10:00
Benjin Dubishar
52a76073f5 Adding Query Store Service bindings on ADS side (#24167)
* Checkpoint

* Adding docstrings

* Updating comments
2023-09-06 11:56:53 -07:00
Lewis Sanchez
306af5645b Consolidate 2 context endpoints to just one (#24276) 2023-09-05 20:20:21 -07:00
Lewis Sanchez
1b1028179b Bump STS version to 4.9.0.32 (#24291) 2023-09-05 20:19:59 -07:00
Cory Rivera
ec91de78e5 Update task labels for Attach, Detach, and Drop Database (#24289) 2023-09-05 16:21:09 -07:00
Barbara Valdez
62363999eb bump sts (#24288) 2023-09-05 13:08:23 -07:00
Benjin Dubishar
b43a3a6b50 bumping STS (#24273) 2023-09-05 11:01:12 -07:00
Christopher Suh
45440d261b add ai key to fix undefined error (#24279) 2023-09-05 11:37:27 -04:00
Ram Uday Kumar
519411cba0 Update IR Revalidation button to accurate name (#24283) 2023-09-04 17:19:14 +05:30
Barbara Valdez
e05ee98dae Add advanced tab (#24267) 2023-09-01 16:53:46 -07:00
Lewis Sanchez
d2668d8eb8 Adds xml-langauge-features extension back (#24271) 2023-09-01 16:19:04 -07:00
Lewis Sanchez
7ea634905c Fix comment block footer (#24268) 2023-09-01 10:13:27 -07:00
Lewis Sanchez
5152823306 Send server contextualization to Copilot extension (#24230)
* Send server contextualization to Copilot extension

* Keep context in editor input

* Remove unnecessary server context and extension service

* Send context when connecting from open editor

* Remove contextualization complete event

* Contextualize editor after connection success

* Minor clean up

* Remove nested then and use async/await

* Create helper function

* Remove unneeded async and add comment

* Encapsulate all context logic in service

* Use void operator to fix floating promise

* Correct return comment
2023-09-01 09:26:29 -07:00
Lewis Sanchez
e3d0670609 Bump STS version to 4.9.0.28 (#24264) 2023-09-01 09:25:32 -07:00
Ram Uday Kumar
6556eaa1ed Revalidate failed IR Validation steps (#24237) 2023-09-01 10:34:36 +05:30
Barbara Valdez
c695c5f941 Add database settings tab (#24260) 2023-08-31 14:26:08 -07:00
Cory Rivera
0703eff3f0 Pass through database names to enable connection cleanup (#24251)
* Also re-ordered Attach entry to match context menu placement of other admin commands.
2023-08-31 11:12:33 -07:00
Sai Avishkar Sreerama
41202a65bd Enabling FILEGROUPS tab experience to the database properties (#24226)
* initial changes for loadin dsc table with real values from smo

* Displaying diff columns for DSC for diff sql server

* checkbox maiants the selection

* elevate option fails to load correct value when set to when_supported option

* all working till maxdop, todo pause option, save

* commented MAXDOP changes, as it is causing issues

* primary,sec,checkbox working as expected, TODO:MaxDop etc options,saving,tests

* Undo MAXDOP commented code

* refactored with service data

* column header width adjustments

* Maxdop and pause resume options completed, apply button is failing now

* Removed option names from loc  and using Id instead as names may change in future like in doc

* Apply button fixed

* refactored to reduce table reload

* Ledger digest completed

* refactor done: maxdop secondary shows wrong data from pause_resume

* refactor more: all working but table focus disturbs on update table

* adds conditions for unsupported dsc to <2016 server

* maxdop secondary checkbox fix

* rows still loses focus after value change due to update table row data

* Fixed updating secondary dropdown value

* reusing the private method and removed the duplicated codes

* initial commit - fullText and owner need revision

* Enter key in input type allows the change to update the table data, reduces the live update issues

* Setting focus to the current row

* loading data, need stylings-increase col length, etc

* using the existed setTableData method

* Adding new file dialog

* creating addFile, but not displaying in table, issue with appendData

* Adding row to the table, options are getting from STS

* all working except InPercent value

* code review comment updates

* Input type checkbox update table additional validation

* all except path

* fixing the input type focus and reverting the enterKeyPress logic

* browse path is created, need stylings,refactor,filestream selection and add

* fixing the flickering issue with data refresh

* new file options toggle and grid display string updates

* moving code inline and using actual component

* cleanup

* Add file saving is done, except one styling issue with autogrowth section

* add,remove working, need to edit file

* add, edit, remove - all working, need css fixes and -1 fix

* addressing code review comments

* adding local changes adn fixing for edit file

* adjusting css

* addressing code review comment for using loc var instead of duplicated line of code to get the rowinfo

* all fixed, need testing and refactor

* vBump STS  and fixing required field causing the apply button not enable for other options on main branch

* fixing autogrowth radio buttons change updates

* all working except some css

* disabled size for filestream

* fixing filegroups and filetypes scnearios, added filename validation for newfile, todo:editingNew file

* added max and min values to the inputs

* editing filename validation completed, all done exccept CSS

* all fixed except scroll bar

* edit db file header, filename enable issue fix

* PR comment supporting updates for STS

* initial commit

* min updates

* loading data into table.. adding rows

* modfying addButtonsForTable method and reusing it for edit button

* add empty row/remove done, edit name and other columns required and save with tests

* All working except new name validation

* adding validation

* code review comment updates

* Dialogbase addbuttons to table refactored

* more typo fixes

* all working except 'Remove' revist logic and delete correct row

* removing fulltext index prop

* adding defualt conditions to the columns checkboxes

* service fix

* using path.join instead of hardcoded separators

* updating files is updating filegroups tabs, removing fg to file update required

* fixed toggle remove button for tab;es

* filegroup refactor

* update filegroups and files on new fg name

* final commit changes

* code review updates

* vBump STS to 4.9.0.26
2023-08-30 19:21:46 -05:00
Cory Rivera
e4abe4d167 Add Attach Database dialog (#24225) 2023-08-30 13:38:25 -07:00
Christopher Suh
9eee1384b4 Add telemetry to custom provider endpoints (#24229)
* add telemetry to custom provider endpoints

* add reload ads telemetry

* change import

* add telemetry error event

* use vscode getpackageinfo

* remove getpackageinfo, fix semicolon

* use enum for telemetry message

* add enum, use error object instead of message for telemetry
2023-08-30 10:07:53 -07:00
Kim Santiago
55b6f4d16b update sql projects azdata dependency to 1.46.0 (#24248) 2023-08-30 06:08:50 -10:00
Barbara Valdez
362290f8ec Add security tab for server properties (#24209)
Co-authored-by: Cory Rivera <corivera@microsoft.com>
2023-08-29 13:28:17 -07:00
Sakshi Sharma
a21aa840c9 Add reusable settings dialog to QDS Reports (#24181)
* Initial changes

* Add time, resource and chart component to config dialog

* Add appropriate components of Configuration to Overall Resource Consumption Report and Top Resource Consuming Queries

* Fix alignment and sizes of components

* Address comments. Add group containers for individual components

* Fix alignment

* Add extra label and address comments

* Address comments. Fix sequence of component addition

* Update function definition to take in config information, instead of boolean to accomodate all future reports. And update doc comment
2023-08-29 13:04:29 -07:00
Sai Avishkar Sreerama
c4b1765745 Enabling Files tab to the database properties (#24138)
* initial changes for loadin dsc table with real values from smo

* Displaying diff columns for DSC for diff sql server

* checkbox maiants the selection

* elevate option fails to load correct value when set to when_supported option

* all working till maxdop, todo pause option, save

* commented MAXDOP changes, as it is causing issues

* primary,sec,checkbox working as expected, TODO:MaxDop etc options,saving,tests

* Undo MAXDOP commented code

* refactored with service data

* column header width adjustments

* Maxdop and pause resume options completed, apply button is failing now

* Removed option names from loc  and using Id instead as names may change in future like in doc

* Apply button fixed

* refactored to reduce table reload

* Ledger digest completed

* refactor done: maxdop secondary shows wrong data from pause_resume

* refactor more: all working but table focus disturbs on update table

* adds conditions for unsupported dsc to <2016 server

* maxdop secondary checkbox fix

* rows still loses focus after value change due to update table row data

* Fixed updating secondary dropdown value

* reusing the private method and removed the duplicated codes

* initial commit - fullText and owner need revision

* Enter key in input type allows the change to update the table data, reduces the live update issues

* Setting focus to the current row

* loading data, need stylings-increase col length, etc

* using the existed setTableData method

* Adding new file dialog

* creating addFile, but not displaying in table, issue with appendData

* Adding row to the table, options are getting from STS

* all working except InPercent value

* code review comment updates

* Input type checkbox update table additional validation

* all except path

* fixing the input type focus and reverting the enterKeyPress logic

* browse path is created, need stylings,refactor,filestream selection and add

* fixing the flickering issue with data refresh

* new file options toggle and grid display string updates

* moving code inline and using actual component

* cleanup

* Add file saving is done, except one styling issue with autogrowth section

* add,remove working, need to edit file

* add, edit, remove - all working, need css fixes and -1 fix

* addressing code review comments

* adding local changes adn fixing for edit file

* adjusting css

* addressing code review comment for using loc var instead of duplicated line of code to get the rowinfo

* all fixed, need testing and refactor

* vBump STS  and fixing required field causing the apply button not enable for other options on main branch

* fixing autogrowth radio buttons change updates

* all working except some css

* disabled size for filestream

* fixing filegroups and filetypes scnearios, added filename validation for newfile, todo:editingNew file

* added max and min values to the inputs

* editing filename validation completed, all done exccept CSS

* all fixed except scroll bar

* edit db file header, filename enable issue fix

* PR comment supporting updates for STS

* min updates

* modfying addButtonsForTable method and reusing it for edit button

* code review comment updates

* Dialogbase addbuttons to table refactored

* more typo fixes

* removing fulltext index prop

* service fix

* using path.join instead of hardcoded separators

* final commit changes
2023-08-29 14:42:09 -05:00
Sai Avishkar Sreerama
9557e77982 STS version bump to 4.9.0.25 (#24245) 2023-08-29 14:15:42 -05:00
Kim Santiago
40e501fe32 update Microsoft.Build.Sql SDK version used to build legacy sql projects to 0.1.12-preview (#24236) 2023-08-28 15:44:15 -10:00
Z Chen
98c17b85e7 Add projects support for Fabric DW (#24014)
* Update STS and add new platform

* Update vsix version

* Create Fabric DW project from database

* Fix target platform name

* Address comments

* Revert projects version to 1.3.0

* Update STS to 4.9.0.22

* PR comment
2023-08-28 11:16:38 -07:00
Cheena Malhotra
8c98862343 Bump STS to v4.9.0.22 (#24212) 2023-08-24 09:47:07 -07:00
Cheena Malhotra
6c6464e772 Part 2 - Make Model view components disposable + dispose all emitters (#24097) 2023-08-23 12:46:09 -07:00
Chris LaFreniere
25a658775c Ensure Notebook v6 Pip Package Installed (#24180)
* Force notebook v6

* Ensure installExactVersion

* Fix jupyter installation tests
2023-08-22 16:04:34 -07:00
Barbara Valdez
41ad39f665 Enable script button for Server properties (#24201)
* enable script button

* remove override method
2023-08-22 15:42:11 -07:00
Lewis Sanchez
d5a9c172d1 Integrate Contextualization API into Azure Data Studio to get better query recommendations from Copilot (#24044)
* Boilerplate for new metadata API endpoint

* Register all server metadata provider

* Fully registers data provider

* Registers metadata provider

* Instantiate metadata service

* Generates server metadata when connection is established

* Allow queryEditorInput to get server metadata

* Minor clean up

* Renames metadata provider and request endpoint

* Corrects documentation block

* Integrates get server metadata request endpoint

* Adjusts GetServerMetadataResult scripts type

* Add back Cargo.toml file

* Fix SQL hygiene error

* reflect changes made in in STS for table metadata

* Adds feature toggle to serverMetadataService

* Places toggle before request to get create scripts

* Fix build check issues

* Minor review changes

* Improves contextualization setting label

* Generalize contextualization service names

* Additional code review changes

* Update extensions/mssql/src/contracts.ts

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Update src/sql/azdata.proposed.d.ts

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Code reivew changes

* Capitalize c in contextualization

* Additional review changes

* Update provider type

* Simplify type and method names

* Unregister MSSQL ServerContextualization provider

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-08-21 19:54:44 -07:00
Barbara Valdez
df5693ffd3 update sts (#24178) 2023-08-21 16:26:45 -07:00
Barbara Valdez
60bff01240 Add processors tab (#23634)
Co-authored-by: Cory Rivera <corivera@microsoft.com>
2023-08-21 10:52:55 -07:00
Cory Rivera
0e7942913b Replace usage of Delete with Drop in object management code (#24159)
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-08-17 14:26:03 -07:00
Aasim Khan
2fce9c5b38 Adding sql core dll to esrp code signing and updating sts (#24157) 2023-08-17 21:25:22 +00:00