Commit Graph

1202 Commits

Author SHA1 Message Date
Benjin Dubishar
c32e1f2b26 Adding script move support for SqlProject service (#1861)
* Adding support for moving object, pre-deploy, and post-deploy scripts

* tests

* Removing redundant backslashes in strings
2023-02-10 18:35:11 -08:00
Benjin Dubishar
d0d67373d1 Adding support for database literal references for Dacpac and SqlProj references (#1858)
* fixing up some nullable spots

* Adding database literal support

* Adding tests and support for same database refs

* Fixing test

* merge laggard

* Split database reference tests up

* PR feedback

* Normalizing strings for cross-plat test passing

* Updating Projects nuget package

* Fixing up test
2023-02-10 11:36:31 -08:00
Alan Ren
15250a9178 make list databases return in their original order (#1859)
* return databases in their original order

* remove using statement

* fix unit tests

* fix error
2023-02-09 14:27:25 -08:00
Sakshi Sharma
497118ed82 Add support to save publish profile (#1844)
* Add support to save publish profile

* Address comments

* Update dacfx nuget package version

* Fix test

* Address comments

* Resolve package.props conflict

* Add content verification in test and use handler methods instead of try-catch

* Address comments
2023-02-09 11:56:43 -08:00
Alan Ren
b717ca9d6c fix db list issue for contained users (#1855)
* fix db list issue for contained users

* add logging
2023-02-08 21:40:59 -08:00
Benjin Dubishar
41c8f15e3e Adding project service support for pre/post-deployment scripts (#1853)
* Patch up db references

* Adding pre/post deploy scripts

* Adding tests

* adding tests
2023-02-08 18:28:23 -08:00
Karl Burtram
8d428aeb8a Minor follow-ups for user management support classes (#1857) 2023-02-08 18:26:44 -08:00
Karl Burtram
2ef5f0918a User management support classes (#1856)
* WIP

* Fix nullable warnings in UserData class

* WIP2

* WIP

* Refresh database prototype classes

* Fix some typos & merge issues

* WIP

* WIP

* WIP

* Additional updates

* Remove unneded using
2023-02-08 18:02:08 -08:00
Cory Rivera
ee086e2067 Bump Kusto and SQL Tools dotnet tool versions to 1.3.0 (#1854) 2023-02-08 16:47:28 -08:00
Benjin Dubishar
7baa975c62 Shifting handler-running methods to shared location (#1851)
* Shifting helper methods to shared location

* widening scope
2023-02-08 11:35:01 -08:00
Cheena Malhotra
a2c7bcd337 Support None Attestation Protocol (#1852) 2023-02-08 11:28:48 -08:00
Benjin Dubishar
19935552b1 Adds support for checking and updating cross-compatibility for SQL Projects (#1847)
* Adding cross-platform check and update

* Checkpoint

* checkpoint

* Updating for latest nuget package

* Correctly typing the result object
2023-02-07 19:06:13 -08:00
Cheena Malhotra
8d119876d9 Update to .NET 7 SDK (#1792) 2023-02-07 17:53:36 -08:00
Alan Ren
c3c2dfdb31 handle large databases (#1845) 2023-02-06 18:21:02 -08:00
Benjin Dubishar
4eac02453b Support for folders in the projects service (#1834)
* Delete folder support + tests

* updating casing

* cleanup
2023-02-06 11:30:03 -08:00
Karl Burtram
f288bee294 Make nullable warnings a per file opt-in (#1842)
* Make nullable warnings a per file opt-in

* Remove unneeded compiler directives

* Remove compiler directive for User Data
2023-02-03 18:10:07 -08:00
Karl Burtram
735517a503 Fix nullable warnings in UserData class (#1843)
* Fix nullable warnings in UserData class

* Missing commit
2023-02-03 09:51:31 -08:00
Karl Burtram
3c25549986 Initial WIP code for user management (#1838)
* Initial user management code

* WIP

* Fix whitespace

* WIP user objects

* WIP user objects

* Cleanup ported code

* WIP

* WIP

* Update the User contracts

* Additional cleanups

* Remove warning silencing which isn't intended for this PR

* Fix some warnings as error in CI
2023-01-31 21:12:53 -08:00
Benjin Dubishar
9fe3aeddc3 Support for database references in SqlProjects service (#1832)
* initial checkin

* Initial

* Adding test

* Adding comments

* PR feedback
2023-01-31 16:52:07 -08:00
Charles Gagnon
036ce9b527 Fix broken STS language service tests (#1837)
* Fix broken STS language service tests

* consolidate
2023-01-31 13:25:44 -08:00
Benjin Dubishar
e2962390bc Support for SqlCmdVariables in SqlProjects service (#1831)
* Support for SqlCmdVariables

* Adding comments

* Adding update sqlcmdvar method

* swapping for success asserts
2023-01-30 15:45:15 -08:00
Benjin Dubishar
82171740bc Adding missing nuget references for SqlProjects functionality (#1827)
* Adding test messages

* Adding file system globbing reference

* fixing string

* fixing string again

* Sigh
2023-01-27 16:18:40 -07:00
Benjin Dubishar
9cce26fcbd Initial check-in of SqlProjects service addition to SqlToolsService (#1805)
* initial commit

* Initial SqlProjects service + tests

* Added SqlObject script tests; PR feedback

* Added comments for contracts

* Swapping SqlProjectResult for ResultStatus

* Updating tests

* Added automatic test base that provides a working directory and automatic cleanup.
2023-01-25 14:16:15 -08:00
Hai Cao
bcf015f939 Fix datetimeoffset formatting (#1823) 2023-01-25 11:19:30 -08:00
Aasim Khan
b8581920b6 Adding extension service host for extension services (#1808) 2023-01-24 16:09:42 -08:00
Cory Rivera
661f883ddd Bump dotnet tool versions for SQL Tools and Kusto services. (#1821) 2023-01-24 10:19:43 -08:00
Charles Gagnon
ccaf5c4594 Fix null ref when expanding nodes from other providers (#1816)
* Fix null ref when expanding nodes from other providers

(cherry picked from commit 572a7b37b2a3651db5a101a8780c874c51b55b96)

* cleanup
2023-01-19 16:14:17 -08:00
Raymond Truong
3f2d5da69a [SQL Migration] Mark SQL MI premium-series memory optimized SKUs as GA (#1811)
* GA SQL MI premium-series memory optimized SKUs

* Fix null reference exception
2023-01-18 10:26:18 -08:00
junierch
f99bda29b5 Tde migration integration (#1806)
Adding certificate migration for encrypted databases.

Uses notifications to send events back to the client every time each database certificate is migrated.
2023-01-11 18:20:00 -08:00
Cheena Malhotra
ac460adfc3 Enable IsLedger only for SQL 2022 (#1804) 2023-01-09 17:47:27 -08:00
Cheena Malhotra
bd37bf84ce Add 'LedgerViewType' as supported property for SQL 2022 and Azure DBs (#1801) 2023-01-09 15:27:58 -08:00
Charles Gagnon
99cd3d2f65 Improve databases node error logging message (#1800)
* Improve databases node logging

* remove unused
2023-01-05 14:23:44 -08:00
Cheena Malhotra
5ad48a59f1 Exclude isLedger property check for Azure DBs for improving OE nodes expansion perf (#1798) 2023-01-05 12:00:14 -08:00
Cheena Malhotra
a8f9219f09 Introduce support for "Command Timeout" connection property (#1765) 2023-01-03 21:42:32 -08:00
Alex Ma
aa1551b97b [Loc] update to sr xlfs (#1796) 2022-12-19 11:11:37 -08:00
Alex Hsu
4d29a75008 LEGO: Merge pull request 1795
LEGO: Merge pull request 1795
2022-12-19 08:39:30 -08:00
Alex Hsu
1cac21e195 LEGO: Merge pull request 1794
LEGO: Merge pull request 1794
2022-12-18 08:36:03 -08:00
Alex Hsu
81ad9783d3 LEGO: Merge pull request 1793
LEGO: Merge pull request 1793
2022-12-17 08:43:48 -08:00
AkshayMata
996e30cd7f Update login migrations nuget with perf improvements (#1789)
* Update login migrations nuget with perf improvements

* Add new nuget

Co-authored-by: Akshay Mata <akma@microsoft.com>
2022-12-16 13:14:27 -08:00
Alan Ren
e20f64fa9a handle null value (#1790) 2022-12-16 08:08:00 -08:00
Hai Cao
ec071c8819 fix table designer with ledger table (#1788) 2022-12-15 10:28:29 -08:00
Alex Ma
21a05606f7 [Loc] updated xlfs for 12-13-2022 (#1787) 2022-12-13 16:14:35 -08:00
Alex Ma
548229d547 Add error codes for password change (reopened) (#1784)
* added error code handling

* Small cleanup

* added changes
2022-12-13 13:04:40 -08:00
Alex Ma
cc94a1a4c6 Revert "Use error code checking and simplified messages (#1782)" (#1783)
This reverts commit 306b43b8b7.
2022-12-13 09:04:18 -08:00
Alex Ma
306b43b8b7 Use error code checking and simplified messages (#1782)
* added error code handling

* Small cleanup

* added changes
2022-12-13 09:04:00 -08:00
Hai Cao
f86ebae9b8 Re-enable parallel message processing (#1741)
* add flag to handler

* cleanup

* concurrency control

* add flag for handler setters

* update service flags

* fix event handlers

* more handlers

* make sure behavior is unchanged if flag is off

* cleanup

* add test case for parallel processing

* comments

* stop dispatcher in test

* add log for request lifespan

* cleanup and add comments

* correctly release semaphore

* remove deleted file from merge

* use await for semaphore release

* move handler invocation to await and adjust test

* cleanup exception handling and wrapper

* space

* loose assertion condition to make test stable
2022-12-11 00:05:33 -08:00
Alex Hsu
c304f54ca2 LEGO: Merge pull request 1781
LEGO: Merge pull request 1781
2022-12-10 08:36:55 -08:00
Alex Ma
f76c348b31 added updates to resx and xlf for 12-9-2022 (#1780) 2022-12-09 12:21:50 -08:00
Alex Hsu
37311db5fa LEGO: Merge pull request 1779
LEGO: Merge pull request 1779
2022-12-09 08:39:32 -08:00
Alex Ma
7eee5180a2 Add change password function and handling (#1771)
* added ChangePassword to connectionService

* added changepasswordparams

* added more code

* added more changes to connectionservice

* added more changes

* added small test

* added changepasswordrequest

* added different ServerConnection constructor

* consolidated changepassword

* added exception catch

* added passwordChangeFail params

* added changePassword to it's own function

* simplified changePassword

* made fixes to test

* added new test

* added one additional connection test

* added response callback

* removed unnecessary SendError

* added localized empty password error

* added updated error messages

* added small fix to check

* added changes based on feedback

* added minor change

* fix tests

* renamed messages to errorDetails

* simplified error message

* small change to connectionservice message

* error message change

* added environment newline

* added error retry messages to STS

* added regex

* added newline handling
2022-12-07 14:24:26 -08:00