Commit Graph

149 Commits

Author SHA1 Message Date
Cheena Malhotra
6fb93ce727 Version bumps (#2244) 2023-09-20 12:57:04 -07:00
Steven Marturano
18c6145647 Updated TDE NuGet and contracts (#2242) 2023-09-14 21:16:37 -04:00
Siyang Yao
f32e00df48 [SqlAssessment] upgrade SQL Assessment NuGet including multiple fixes (#2231)
* upgrade SqlAssessment NuGet

* replace old nuget with new one

---------

Co-authored-by: Siyang Yao <siyao@microsoft.com>
2023-09-11 13:29:25 -07:00
Kim Santiago
f7c13ce6b1 update dacfx version to 162.1.142-preview (#2222) 2023-09-08 16:19:53 -10:00
Kim Santiago
f2281f84e8 update Microsoft.SqlServer.DacFx.Projects nuget to 0.1.14-preview (#2221) 2023-09-08 10:37:11 -10:00
Kim Santiago
13ca980f19 update projects nuget to 0.1.12-preview (#2204) 2023-09-01 13:15:14 -07:00
Benjin Dubishar
25c18d3390 Query Store Service (#2171)
* Checkpoint

* Checkpoint

* Checkpoint

* checkpoint

* Hooking in calls to QueryExecutionService

* adding cases

* Fleshing out report handlers

* Adding parameter converters

* Adding sqlparam declarations for Top Resource Consumers and Forced Plans

* swapping to object-object to centralize conversion for sqlparams

* Adding sqlparams for GetTrackedQueries

* Added sqlparams for High Variation

* Added Overall ResourceConumption

* Adding params for regressed queries

* Removing WithWaitStats calls, since they're automatically used within QSM when waitstats is an available statistic#

* Adding PlanSummary handlers

* cleaning up orderable queries

* initial test mockout

* adding basic (incorrect) parameter translation

* first test passing, datetimeoffset swapped to ISO format

* Adding test baselines

* Updating nuget package

* Adding get/set

* Adding get/set for result object

* Switching to parameter-less constructor

* Swapping TimeInterval for string-based BasicTimeInterval

* Removing unnecessary usings

* Adding back params comments

* Fixing up request docstrings

* comment tweak

* fix tests failing in pipeline because of line endings not matching

* removing unnecessary usings

* Setting tests to generate queries in UTC for test stability

* Normalizing line endings

---------

Co-authored-by: Kim Santiago <kisantia@microsoft.com>
2023-09-01 10:56:39 -07:00
Z Chen
6be15ce33f Update DacFx version to 162.1.124-preview (#2170)
* Update DacFx version to 162.1.112-preview

* Update DacFx to 162.1.124-preview
2023-08-23 19:24:45 -07:00
Steven Marturano
dc91e1ecf0 Updated TDE NuGet to 1.0.0-preview.1.0.20230720.98 (#2157) 2023-07-31 14:29:27 -04:00
Z Chen
325f49ff20 Update DacFx to 162.1.80-preview and Projects to 0.1.11-preview (#2149)
* Update package versions

* Use projects 0.1.11-preview
2023-07-18 16:46:58 -07:00
Sakshi Sharma
4334d79d76 Add "Open XEL file" support to profiler in sqltoolsservice (#2091)
* Open XEL file changes

* placeholders for openxel

* add observable xe reader

* md format tweaks

* implement localfile as a new session type

* add ErrorMessage to session stopped notice

* fix flaky test

* handle already running session

* fix stopped session event send on file completion

* fix flaky unit test

* Update XElite and dependent versions

* Fix errors after merge and remove failing tests for now

* Fix main merge mess-up.
Address comments.
Add one more relevant test.

* Remove extra namespace.

* Remove unnecessary import

* Fix build error

* Address comments.

* Remove disabiling JSON002 compiler warning

* Address comments and update json handling

* Fix build error

* Fix integration test (emerged due to Main merge mess up)

* Clean up code (no functional changes)

---------

Co-authored-by: Karl Burtram <karlb@microsoft.com>
Co-authored-by: shueybubbles <david.shiflet@microsoft.com>
2023-06-27 14:25:18 -07:00
Kim Santiago
95a094438e Fix for schema compare dropping constraints (#2120)
* fix for scripts that are displayed in schema compare drop constraints bug

* update DacFx version

* add more comments
2023-06-26 14:01:28 -10:00
Cheena Malhotra
323f3827e2 Update SqlClient version to 5.1.1 (#2098) 2023-06-09 18:18:14 -07:00
Alan Ren
934df0556a support copy result in STS (#2096)
* use new sql parser

* copy results to clipboard

* fix parameter name
2023-06-09 09:15:08 -07:00
Alan Ren
94956a6967 use new sql parser (#2089) 2023-06-05 15:19:58 -07:00
Kim Santiago
a12244f3d0 Add support for adding system db references as PackageReference (#2078)
* Expose adding system db references as PackageReference

* update nuget
2023-06-01 11:38:28 -07:00
Benjin Dubishar
c59211b31b Bumping Projects nuget (#2072) 2023-05-19 12:49:22 -07:00
Benjin Dubishar
b9d6657886 Updating DacFx.Projects to bring in UpdateSqlCmdVariable fix (#2045)
* checkpoint

* typo

* removing old nuget
2023-05-08 11:06:35 -07:00
Benjin Dubishar
c21203c5c2 Adding ability to only load properties and metadata for a SqlProject (#2040)
* Adding property quick-loading

* Remove whitespace
2023-05-03 18:44:17 -07:00
Sakshi Sharma
3e0135b907 Update STS changes to be backward compatible with scmpOpen (#2031)
* Update STS changes to be backward compatible with scmpOpen

* Update cleanup code

* Fix test.
2023-04-24 16:58:06 -07:00
Benjin Dubishar
c5cdc4712a Adding move and exclude folder to SqlProjectService (#2027)
* Adding move and exclude folder

* Fixing cross-plat path bug in test
2023-04-21 11:46:11 -07:00
Benjin Dubishar
006488340c Updating DacFx.Projects to 162.0.28 (#2019) 2023-04-19 20:12:56 -07:00
Charles Gagnon
9d53e1dd3e Add SourceLink to build + fix assembly versioning (#2007)
* Add github source link

* more

* Move to common

* fix multiple dep copy

* Fix doc comment

* cleanup props

* Use GlobalPackageReference

* Set CI build property on pipelines

* Add comment
2023-04-17 09:51:30 -07:00
Kim Santiago
13672c1d05 Add support for nupkg database references in sql projects (#2006)
* add support for nupkg database references in sql projects

* update DacFx.Projects
2023-04-14 16:18:06 -07:00
Sakshi Sharma
9aa84f517c Send deploymentOptions to DacFx to save in the publish profile xml file (#1997)
* Send deploymentOptions to DacFx to save in the publish profile xml file

* Update Packages.prop with latest DacFx nuget version.

* Update Dacfx version after merge from main.

* Address comments

* Update method name
2023-04-10 17:31:39 -07:00
AkshayMata
909c8c4d10 Update to nuget with serializable error code strings (#1998)
https://github.com/microsoft/sqltoolsservice/pull/1998
2023-04-07 16:38:39 -07:00
AkshayMata
7f65b9c5ee Add login migrations error code (#1988)
Update login migrations nuget to expose error code + error code string
2023-04-04 15:04:38 -07:00
Steven Marturano
ffa42b4435 Added status code for TDE result (#1975)
This PR updates TDE NuGet and makes code changes to support the introduction of "StatusCode" being returned from NuGet.
2023-04-03 13:30:08 -07:00
Benjin Dubishar
8b7600eb5b Bumping DacFx.Projects (#1963)
* Updating Projects nuget package

* bump projects
2023-03-23 20:49:53 -07:00
Charles Gagnon
d46bb2ce53 Update SqlParser to 170.7.0 (#1956) 2023-03-21 15:35:21 -07:00
Benjin Dubishar
b4781cf267 bump tools service (#1954) 2023-03-20 18:52:33 -07:00
Benjin Dubishar
ce731f7fe4 Updating Projects nuget package (#1950) 2023-03-17 07:28:52 -07:00
Cheena Malhotra
759d5aca09 Update Microsoft.Data.SqlClient to v5.1.0 (#1905) 2023-03-06 19:26:29 -08:00
Benjin Dubishar
0b8d10009a Updating version of DacFx.Projects nuget (#1913) 2023-03-06 19:50:21 -07:00
AkshayMata
bfa64750d8 Update login migrations nuget (#1893)
Updating login migrations nuget to include change to expose error code.
2023-03-02 15:08:38 -08:00
Benjin Dubishar
38836371ed Adding missing properties to GetProjectProperties call; also renaming NoneScript to NoneItem (#1890)
* Renaming NoneScript to NoneItem

* missed a file

* Fixing comments

* Adding ProjectStyle to properties

* Projects nuget bump

* Adding DatabaseSchemaProvider to the props
2023-03-02 13:52:35 -08:00
Raymond Truong
5f78eaa41f Update assessment NuGet (#1889) 2023-03-02 12:21:47 -08:00
Cheena Malhotra
187b6ecc14 Introduce AAD interactive auth mode (#1860) 2023-03-02 09:39:54 -08:00
Benjin Dubishar
68ac1e01fc Adding project property support to SqlProj service (#1883)
* Nuget update

* Updating nuget

* implementation

* GetProperties test

* Adding SetDatabaseSource

* adding comment

* Nuget update

* PR feedback

* Fixing cross-plat path tests

* Updating to signed nuget

* fixing None test
2023-02-28 18:27:42 -08:00
Sakshi Sharma
b44f0d561f Save file structure in scmp file (#1878)
* Save file structure in scmp files

* Update DacFx version and add test

* Address comments

* Fix test

* try to fix tests

---------

Co-authored-by: Kim Santiago <kisantia@microsoft.com>
2023-02-24 14:24:25 -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
AkshayMata
c2a361b2bf Update login migrations nuget to return error codes (#1850)
Updated login migrations to return error codes
2023-02-08 12:57:51 -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
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
Cheena Malhotra
251fbf8746 Update SMO to 170.12.0 (#1829) 2023-01-27 10:01:38 -08: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
junierch
18827b1a9b update tde pkg (#1817) 2023-01-20 14:57:39 -05: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
Hai Cao
f9597bacd8 bump DacFx (#1803) 2023-01-09 15:43:43 -08:00
Cheena Malhotra
af4c217584 Update SMO to 17.11.0 (#1799) 2023-01-05 16:32:06 -08:00