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
Charles Gagnon
d8c54ccd56
Add managed instance icon ( #21742 )
...
* Add managed instance icon
* Use const
* fix
2023-01-27 14:33:40 -08:00
Cheena Malhotra
1e0e792cef
Update STS ( #21761 )
2023-01-27 14:24:40 -08:00
Kim Santiago
e7f9763237
fix undefined error in dacpac extension when sending telemetry ( #21727 )
...
* fix undefined error in dacpac extension when sending telemetry
* update interface
2023-01-27 13:22:16 -08:00
Charles Gagnon
08fb04f966
Update ads-service-downloader ( #21754 )
2023-01-27 12:12:04 -08:00
Kim Santiago
b273cf5a65
fix update project from db dialog not choosing the db of the connection ( #21746 )
2023-01-27 10:17:31 -08:00
Sakshi Sharma
655588891c
Set current connection as the selected connection in schema compare dialog ( #21682 )
...
* Set current connection as the selected connection in schema compare dialog
* Address comment
2023-01-26 14:44:02 -08:00
Cheena Malhotra
f2f3d1c4ef
Introduce 'Command Timeout' option for MSSQL connections ( #21734 )
2023-01-26 13:50:21 -08:00
Kim Santiago
cf5572a7f1
vbump dacpac, schema compare, and sql projects after Jan release ( #21739 )
2023-01-26 11:29:25 -08:00
Alan Ren
c11b50ff59
vbump profiler extension after release ( #21740 )
2023-01-26 11:25:51 -08:00
Cheena Malhotra
81b7cd2612
Introduce mssql connection property 'host name in certificate' ( #21064 )
2023-01-25 17:09:28 -08:00
Hai Cao
065dfef1e4
bump STS ( #21730 )
2023-01-25 14:56:28 -08:00
Candice Ye
5b3279065b
Bumped versions up to 1.8.0 ( #21725 )
...
Co-authored-by: Candice Ye <canye@microsoft.com >
2023-01-25 13:38:34 -08:00
Kim Santiago
17949b9d03
Initial support for SQLCMD variables in sql project tree ( #21574 )
...
* initial changes
* sqlcmd node showing in tree
* Add edit sqlcmdvar command
* remove commands on sqlcmd vars for now
* cleanup
* fix tests
* add icons
* remove TestProject
* add checks for undefined
* add variable
2023-01-25 10:19:39 -08:00
junierch
5157508dd5
Junierch/mi tde ( #21573 )
...
* WIP
* wip tde wizard
* wip for merge w master
* wip
* wip share
* tde wizard
* PR reviews updates
* PR review updates
* PR updates
* PR review updates
* PR reviews updates
* Bump STS to 4.4.0.22
* PR reviews updates
* fix localize build issue
* fix build issue with localize
* remove unused function
* Windows only flag. Bug Bash fixes
* Use azdata with latest STS changes
* revert azdata, other PR comments
* sts and extesion version upgraded. logins back
2023-01-25 09:58:07 -05:00
Cheena Malhotra
84fd46c901
Do not show warning messages for stale accounts ( #21621 )
2023-01-24 16:21:43 -08:00