Benjin Dubishar
0354775107
Fleshing out the SqlProjects service bindings ( #21984 )
...
* starts of sqlprojectsservice
* copy to mssql
* adding all the boilerplate
* updating service call structures
* Fixing up test mocks
* Adding comments to all the bindings
* blank space
* swapping for Promise; adding vscode-mssql type bindings
* patching
2023-02-22 22:58:30 -08:00
Kim Santiago
169138e24b
Remove data workspace * activationEvent ( #22005 )
...
* remove data workspace * activationEvent
* fix tests
2023-02-22 12:03:39 -08:00
Kim Santiago
10c3199a23
update sql projects azdata dependency ( #22007 )
2023-02-22 11:11:35 -08:00
Aasim Khan
c3e0478447
Adding aria role to hyperlink cell in slickgrid ( #21998 )
...
* Adding aria role to hyperlink
* Adding default
2023-02-22 10:42:11 -08:00
Kim Santiago
a7f68ebd33
Drag and drop support for sql projects tree ( #21956 )
...
* Drag and drop working
* update comment
* move to projectController
* remove registerTreeDataProvider
* add tests
* fix dragging to project root
* cleanup
* addressing comments
2023-02-21 15:45:25 -08:00
Charles Gagnon
00493d6555
Add telemetry section to extension READMEs ( #21994 )
...
* Add telemetry section to extension READMEs
* Add separate links for VS Code
2023-02-21 12:34:17 -08:00
Kim Santiago
7761c3b171
Swap create new project api for sql projects ( #21971 )
2023-02-21 10:00:56 -08:00
Aasim Khan
22c3829225
Adding setting for OE expansion timeout ( #21985 )
...
* Adding setting for OE expansion timeout
* Cleaning up the names
* Adding minimum timeout value
2023-02-17 23:02:57 -08:00
Alan Ren
b5ce7af090
Add support for Login and User management ( #21981 )
...
* initial commit
* leave only march release objects
* clean up
* login dialog
* localize and use background operation
* code cleanup
* remove tab
* support server role in login
* remove canEditName
* add user support
* comments and bug fixes
* remove hasDBAccess for now
* refactoring
* fix error
* user dialog UI
* telemetry, error handling and refactoring
* Fix references to dialogInfo (#21914 )
* update telemetry
* Bump STS and use actual object management service
* add preview and handle no-change scenario
* fix merge issue
---------
Co-authored-by: Karl Burtram <karlb@microsoft.com >
2023-02-17 18:02:31 -08:00
Aasim Khan
e40c8dda25
Removing migration contracts from mssql ( #21966 )
...
* Removing migration contracts from sts
* Update sts
* Pushing latest sts
2023-02-17 13:50:53 -08:00
brian-harris
9b841f4a49
fix bug in dropdown auto-selection ( #21977 )
2023-02-17 12:06:16 -08:00
Kim Santiago
c5fc37c373
Initial changes for adding SqlProjectsService ( #21967 )
...
* Add SqlProjectsService
* cleanup
* reorder imports
* undo changes in project.ts for now to fix tests
2023-02-16 17:15:24 -08:00
Sakshi Sharma
199f280586
Populate dbs properly when using publish profile, change connection icon and try enabling buttons ( #21968 )
2023-02-16 16:14:40 -08:00
Sakshi Sharma
7c6ae87fc8
Read server options from publish profile ( #21960 )
...
* Read encrypt and trust server certificate
* Set hostname in certificate setting
* Address comment- open connection dialog if the connection string in publish profile doesn't load a connection, instead of throwing an error.
2023-02-16 16:12:43 -08:00
Aasim Khan
d6c35836cc
Adding group by schema to OE ( #21941 )
...
* Adding group by schema and updating schema icon
* Adding item context menu
* Fixing command logic
* Adding telemetry for group by and changing default config
* reverting no child nodes error message
* Code cleanup
* Cleaning up constants
* Removing unused imports
* Update extensions/mssql/src/main.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* converting to sendActionEvent
* sendActionEvent
* Adding telemetryViews and telemetry actions
* Fixing localized string
* registering context
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2023-02-15 15:18:10 -08:00
Kim Santiago
4f6fe5955d
Remove parent from sql project tree items ( #21912 )
...
* update getFileProjectEntry and getRelativePath
* remove root and fix tests
* remove parent from sql project tree items
2023-02-14 14:53:39 -08:00
Kim Santiago
fe25674401
change sqlprojUri to projectFileUri ( #21938 )
2023-02-14 13:56:02 -08:00
Kim Santiago
71c12883fe
Remove references to root in sql projects ( #21911 )
...
* update getFileProjectEntry and getRelativePath
* remove root and fix tests
2023-02-14 10:34:46 -08:00
Kim Santiago
d5384cad0e
Fix database name in dacpac wizard not saying required ( #21932 )
2023-02-14 09:50:52 -08:00
AkshayMata
5e7446af6c
Refactor functionality into LoginMigrationsModel ( #21933 )
...
This PR refactors to encapsulate all login migration functionality into LoginMigrationModel
2023-02-14 06:05:53 -08:00
Sakshi Sharma
cb58286247
Add profile section in Publish project UI ( #21906 )
...
* Add profile section in Publish project UI
* Move publish profile row below Publish Target
* Add contract for savePublishProfie and SaveProfileAs button functionality
* Make the DacFx contract functional
* Send values from UI to DacFx service call
* Fix build error
* Address comment, remove print statements
* Address comments
* Set correct connection string
2023-02-13 14:06:42 -08:00
Aasim Khan
837236be0f
Modifying the migration extension to use its own service. ( #21781 )
...
* Adding migration service to sql migrations
* enabling auto flush log
* Adding support for env variable
* Adding TDE Migration service
* code cleanup
* updating service downloader
* Removing custom output channel
* remove unnecessary await
* Updated service version to get latest code
* Consolidate TDE into migration service
* Sync to latest main
* Update sql-migration package version
* Fix merge conflict error
* Fixing all merge conflicts
* Fixing stuff
* removing extra whitespace
* Cleaning up
---------
Co-authored-by: Akshay Mata <akma@microsoft.com >
2023-02-12 09:59:09 -08:00
Kim Santiago
2b4c608b93
Update sql projects tree to use sqlproj uri instead of parent nodes ( #21901 )
...
* update sql projects tree to use sqlproj uri instead of parent nodes
* remove todo
* undo other change
* update a couple more
2023-02-10 11:22:59 -08:00
Cheena Malhotra
3fb8d57d25
Add support for Encrypt=Strict for TDS 8.0 connections with SQL Server 2022 ( #21256 )
2023-02-10 10:34:36 -08:00
Alan Ren
514d599e62
remove client side sorting for db list ( #21899 )
...
* remove client side sorting for db list
* update sts
2023-02-10 09:15:41 -08:00
Kim Santiago
0e269e0438
Cleanup sql projects tree ( #21883 )
...
* remove MessageTreeItem and rename projectUri to relativeProjectUri
* declare variables inline in constructor
2023-02-09 11:42:00 -08:00
Kim Santiago
f8d9106eef
removing unused SqlDatabaseProjectTreeViewProvider functions ( #21885 )
2023-02-09 09:23:45 -08:00
Alan Ren
711bffb1f5
auto reveal only in dev mode ( #21880 )
2023-02-08 10:38:42 -08:00
Raymond Truong
480d8e2cd0
[SQL Migration] Properly respect user's encryptConnection and trustServerCertificate settings ( #21824 )
...
* WIP
* Always get latest current connection
* Update more references
* Clean up
* Clean up
* vbump
* Update comments
* Address PR feedback
* Separate into helper methods
2023-02-08 10:12:11 -08:00
Charles Gagnon
99a924dbcd
Remove unused packages from MSSQL ( #21871 )
2023-02-07 19:22:44 -08:00
Kim Santiago
af8316291e
Rename file support in sql projects ( #21858 )
...
* add quickpick for rename file/folder in sql project
* add comment
* make rename file actually do something
* add validation
2023-02-07 16:27:44 -08:00
junierch
61ddf297f9
Adding SQL tools team recommendations ( #21866 )
2023-02-07 12:48:56 -05:00
Cheena Malhotra
66410edf02
Migrate cert validation error handling to mssql extension ( #21829 )
2023-02-07 09:21:35 -08:00
Kim Santiago
e1b35d266a
Fix publish profile telemetry for ADS ( #21860 )
2023-02-06 17:12:30 -08:00
Kim Santiago
7efe4f9ce9
Remove data sources tree item from sql projects ( #21842 )
...
* remove data sources tree item from sql projects
* remove data sources node name
2023-02-06 14:48:26 -08:00
junierch
8de5efdf86
databases query updated ( #21856 )
2023-02-06 15:16:52 -05:00
AkshayMata
9f5f49e956
Fix connecting to MI login bug ( #21821 )
...
This PR fixes a regression for migration login for MI instances that was introduced in https://github.com/microsoft/azuredatastudio/pull/21776/files#diff-93c1a62583fa32d99f775b71ad27922cf31f660d10717ecc6966784306de1b6f .
After that change, support for MI would fail as MI server types were going into the Sql VM path in sqlutils because the underlying logic for isSqlServerVM() was returning wrong results.
The new approach uses the targetType set in StateMachine to extract the correct serverName for connection string based on the targetType.
Testing:
- Tested SQL VM login migration end to end
- Tested SQL MI login migration end to end
This change also bumps the sql-migration version to 1.3.0
2023-02-03 06:43:39 -08:00
Christopher Suh
8f638be687
remove germany and us national clouds ( #21825 )
2023-02-02 16:11:04 -08:00
Sakshi Sharma
972312b3f5
Add validation for new file names for sql projects ( #21601 )
...
* Add validation for new file names for sql projects
* Addres comments and add validation for new project dialog
* Address comments
* Address comments on test
* Fix tests
* Remove extra error messages and rename file
* Address comments
* Fix tests
* Add test file back
2023-02-02 07:25:26 -08:00
Kim Santiago
cce794dd14
UI changes for add/edit/delete SQLCMD variables in sql projects ( #21799 )
...
* add edit command
* add and delete
* cleanup
* more cleanup
2023-02-01 15:06:07 -08:00
Christopher Suh
51da512edb
Fix Cloud Endpoints ( #21805 )
...
* replace hardcoded endpoints
* cleanup
2023-02-01 12:32:47 -08:00
Raymond Truong
95ce199d56
[SQL Migration][Hotfix] Remove parameter from IR validation ( #21800 )
...
* Remove encryptConnection from validateIR
* Use correct version
* vbump to 1.2.6 for insiders release
2023-02-01 11:33:07 -08:00
siyang yao
749f13d9bf
[SQL-Migration] collation errorcode ( #21797 )
2023-02-01 11:23:21 -08:00
Kim Santiago
7a0790f365
remove external streaming job from sql project context menu ( #21787 )
2023-01-31 16:36:14 -08:00
Alex Ma
298402647d
Added error handling service for providers ( #21627 )
...
* added prototype errorHandlerService
* added initial contracts
* Added WIP client sent request function
* added WIP signature for handleOtherError to resourceProviderService
* made some small fixes
* removed unnecessary resourceProviderId
* added updates to contracts and resourceProvider
* moved error codes to azdata proposed
* added connection type instead of profile
* added WIP handleOtherError code
* added fix for send
* added WIP change password function in resource provider
* added work in progress error handling thread
* added errorHandler interface
* added result error check
* renamed errorHandling namespace to diagnostics
* WIP rename of errorhandler
* light cleanup
* Bump json5 from 2.1.3 to 2.2.3 in /extensions/machine-learning (#21514 )
Bumps [json5](https://github.com/json5/json5 ) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Stops second invocation of createNewSession while expanding OE tree items on disconnected servers (#21437 )
* Debounces second invocation while expanding OE tree items
* Minor clean up
* Adjusts debounce time
* Adding temp trace comments
* Adds missing semicolon
* Removes debouncer to stop 2nd newSession calls
* Removes temp trace comments
* Updates comment
Co-authored-by: Alan Ren <alanren@microsoft.com >
* Bump json5 from 2.1.3 to 2.2.3 in /extensions/admin-tool-ext-win (#21546 )
Bumps [json5](https://github.com/json5/json5 ) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix resource endpoints to end with slash (#21540 )
* Bump json5 from 2.1.3 to 2.2.3 in /extensions/azcli (#21543 )
Bumps [json5](https://github.com/json5/json5 ) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 2.1.3 to 2.2.3 in /extensions/arc (#21544 )
Bumps [json5](https://github.com/json5/json5 ) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* renamed diagnostics service slightly
* registered service
* added work in progress diagnostics implementation
* small changes
* added new diagnostics exe
* Changes for Diagnostics Service (#21583 )
Co-authored-by: Cheena Malhotra <cmalhotra@microsoft.com >
* WIP provider changes
* added changes for errorDiagnosticsService
* removed stuff from mssql.
* made fix to connectionManagementService
* added error catch
* added small changes
* more small changes made
* added small changes to handleOtherError
* moved changePassword to CMS
* added testErrorDiagnosticsService
* Added provider-based handling for change password/generic error handling. (#21662 )
* WIP rework for error connection change
* added connectionProfileDuringError
* added working password reset
* added comments
* consolidated connection profile conversion
* added additionalObjects parameter.
* removed unnecessary error profile grab
* added comments
* added changes to parameters and comments
* added changes and params
* added handleConnectionErrorParam
* added more changes
* added async
* added params and more
* added many fixes
* added updated documentation
* added WIP password change dialog with await
* added error handling
* added comment
* added options as parameters
* cleaned up parameters
* added async
* added check fixes
* Added username to title
* added server name to dialog
* Added dialog changes
* Revert "Added dialog changes"
This reverts commit c2bdcd16f4a0dffdc643ef9cae1c1a20642ac512.
* Revert "added server name to dialog"
This reverts commit dbd22e80461b5a068643f0c2d6728adce4010978.
* Revert "Added username to title"
This reverts commit 6d936b4d5f97f9345f8ec2fdbbcf6b52df18820a.
* Revert "added check fixes"
This reverts commit f58081a5af3276766e2042b4d671455b18add9a7.
* Revert "added async"
This reverts commit dd1198e26ec7542ec51add0628f588361d674299.
* Revert "cleaned up parameters"
This reverts commit 51135c9f9db452104697483779d8df15b6430717.
* Revert "added options as parameters"
This reverts commit b167804a2410558bbe60042e017ae2c77af7697f.
* Revert "added comment"
This reverts commit 0ad37326a3e025e88f715e3f2547be6825597a8d.
* Revert "added error handling"
This reverts commit 69340980d2c84056a2bcf126ea77f4b5ed4cddf3.
* Revert "added WIP password change dialog with await"
This reverts commit 9e43113e07b10421b39575f6c7dd14287662b90d.
* added a fix to check
* added fixes
* added back in change password changes
* added in comment
* added suggested changes
* removed param colons
* Update extensions/mssql/src/errorDiagnostics/errorDiagnosticsProvider.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* Update src/sql/azdata.proposed.d.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* fixed conversion and provider dialog
* altered comments
* Update src/sql/platform/connection/common/utils.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* renamed Id
* Update src/sql/platform/connection/common/utils.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* Improvements for Change password dialog + logs added (#21794 )
* Improvements for Change password dialog + logs added
* Include server
* fixed tab space
* added comment
---------
Co-authored-by: Alex Ma <alma1@microsoft.com >
* Update src/sql/azdata.proposed.d.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* added fix to id to extHostErrorDiagnostics
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lewis Sanchez <87730006+lewis-sanchez@users.noreply.github.com >
Co-authored-by: Alan Ren <alanren@microsoft.com >
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com >
Co-authored-by: Cheena Malhotra <cmalhotra@microsoft.com >
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2023-01-31 14:31:12 -08:00
AkshayMata
e1bbcb2ff1
Bump sql migration version to 1.2.4 ( #21792 )
...
Co-authored-by: Akshay Mata <akma@microsoft.com >
2023-01-31 10:20:30 -08:00
AkshayMata
fcece32cdd
[SQL-Migration] Enable login migrations to SQL VM ( #21776 )
...
This PR adds support for migrating logins to SQL VM. Adding support for 2 scenarios supported here: VMs with private IP and public IP.
2023-01-31 09:47:16 -08:00
Charles Gagnon
ad69164f09
Extension telemetry feature cleanup ( #21779 )
...
* Extension telemetry feature cleanup
* one more
2023-01-30 13:14:38 -08:00
Charles Gagnon
c33d2cc40a
Bump ads-extension-telemetry to 1.3.4 ( #21778 )
2023-01-30 13:13:57 -08:00
Charles Gagnon
e1e2227f2f
Fix mispelled file name ( #21762 )
2023-01-27 15:42:16 -08:00