Commit Graph

115 Commits

Author SHA1 Message Date
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
Vladimir Chernov
376f6e6008 Sql Assessment version update to 1.1.17 (#1797) 2022-12-21 09:12:40 -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
Alex Ma
cf5af7bcf2 bump to newtonsoft for CG alert (#1778) 2022-12-09 09:11:48 -08:00
Charles Gagnon
bd58d786b4 Bump SMO to 170.9.0 (#1766)
* Add logging

* SMO 170.9.0
2022-11-21 18:41:02 -08:00
Cheena Malhotra
75a7685f56 Update System.Data.SqlClient to 4.8.5 (#1756) 2022-11-09 13:58:10 -08:00
Hai Cao
5b95880f71 bump DacFx (#1752) 2022-11-08 12:44:44 -08:00
Cheena Malhotra
d33c97c079 Build Managed Batch Parser NuGet package (#1747) 2022-11-07 10:03:32 -08:00
AkshayMata
c528617e18 Akma/login migrations (#1728)
In this PR, we make the appropriate backend service changes in order to enable the login migrations feature in the SQL migration extension.

Changes include:

updating the Microsoft.SqlServer.Migration.Login NuGet version to the latest version
adding a new request handler for StartLoginMigrations calls, which makes the appropriate calls to the login NuGet
adding ExtensionMethod helper to properly combine exception maps login migration nuget calls

Co-authored-by: Akshay Mata <akma@microsoft.com>
2022-11-04 21:18:48 -07:00
Alan Ren
dea18a59e0 new dacfx version (#1745)
* new dacfx version

* fix failing schema compare tests

Co-authored-by: Kim Santiago <kisantia@microsoft.com>
2022-11-02 20:52:20 -07:00
Raymond Truong
783ea39e8a [SQL Migration] Upgrade Microsoft.SqlServer.Migration.Assessment (#1734)
* WIP - update NuGet and add xevent assessment request

* Update API

* Update nupkg to official build

* Add try/catch around individual recommendation models

* Clean up

* Add HS to SQL DB SKU recommendation input
2022-11-01 09:29:59 -07:00
Cheena Malhotra
5e167239c5 Update dependencies (#1733) 2022-10-26 16:23:00 -07:00
Cheena Malhotra
c0f8482e26 Update Microsoft.Data.SqlClient to v5.0.1 (#1708) 2022-10-24 20:10:04 -07:00
Charles Gagnon
3be806ddce Update parser & autocomplete list (#1729) 2022-10-24 16:29:38 -07:00
Alan Ren
5274d3a604 allow reorder of pk columns (#1703) 2022-09-19 14:47:22 -07:00
Hai Cao
676819f669 Bump DacFx to support table rename in table designer (#1695) 2022-09-16 11:16:39 -07:00
Hai Cao
bb38bcc5c8 bump DacFx to bring in table designer fixes (#1675) 2022-09-07 15:48:21 -07:00
Kim Santiago
97eac2539a remove copying Microsoft.Data.Tools.Schema.SqlTasks.targets (#1674) 2022-09-07 10:41:43 -07:00
Alan Ren
7f675b884f require confirmation when risks present (#1668) 2022-09-02 12:50:30 -07:00
Cheena Malhotra
cadd14e9d0 Upgrade SqlClient library to v3.1.1 (#1646) 2022-08-18 10:26:22 -07:00
Hai Cao
be649e6d65 Fix table designer reloading after only descriptions being updated (#1644) 2022-08-17 11:48:40 -07:00
Kim Santiago
6b33b43d2d update Microsoft.SqlServer.Migration.Assessment to 1.0.20220816.40 to lower System.ComponentModel.Composition dependency to 4.6.0 tfix sql project build failing in ADS (#1642) 2022-08-16 21:37:41 -07:00
Hai Cao
fc955ad6cf DacFx vbump (#1632) 2022-08-12 16:14:38 -07:00
Raymond Truong
091f2c942e [SQL Migration] Update assessment NuGet version, removing the need to check in content files into STS (#1617)
* Update NuGet version and remove metadata

* Remove Content Include from csproj

* Remove unnecessary PrivateAssets tag

* Use official NuGet build

* Remove reference in IntegrationTests
2022-08-08 11:17:38 -07:00
Sai Avishkar Sreerama
1342a8a085 Object Types are getting from DacFx ObjectTypes (#1574)
* Include Object Types are getting from DacFx

* All tests are passing now with excludObjectType casting

* Test fix with new ExccvludeObjectType change

* Added test case for the include objects types

* Updated  name to objectTypesDictionary and objectType getName from Display attribute

* code Review updates

* Removing Exclude word logic here as the options were updated on DacFx

* updating the null check

* DacFx vBump

* code updates according to review comments
2022-08-05 15:28:39 -05:00
Kim Santiago
3316c0f9c2 update DacFx version to get schema compare fix (#1599) 2022-07-22 18:47:42 -07:00
Vladimir Chernov
2ae0d99900 SqlAssessment update to 1.1.9 (#1593)
* Sql Assessment version update to 1.1.9

* Unit test fix

* integration test fix
2022-07-19 15:19:39 -07:00
Charles Gagnon
779339723f Revert "Sql Assessment version update to 1.1.9 (#1584)" (#1592)
This reverts commit 23531f8421.
2022-07-19 11:24:38 -07:00
Vladimir Chernov
23531f8421 Sql Assessment version update to 1.1.9 (#1584) 2022-07-19 08:56:21 -07:00
Alan Ren
591d308205 new dacfx version (#1587)
* pre-load database model

* revert pre-loading
2022-07-18 16:34:25 -07:00
Charles Gagnon
82118f6431 Add code coverage reporting (#1585)
* Add code coverage

* fix and add publishTestResults

* Use PublishTestResults

* Add coverlet.msbuild

* Generate report

* Update coverage report location

* Add one more
2022-07-18 15:31:47 -07:00
Alan Ren
0b3c86cde8 add parse t-sql script handler (#1561)
* add parse t-sql script handler

* handle error
2022-06-30 11:05:38 -07:00
Lewis Sanchez
b24202a762 Updating Newtonsoft package to version 13.0.1 (#1559)
* Forcing newtonsoft to version 13.0.1

* Updates addin Newtonsoft.Json package version to 13.0.1

* Update Newtonsoft.Json package version to 13.0.1
2022-06-27 11:01:49 -07:00
Charles Gagnon
b182e9fe53 Bump SMO to 161.47021.0 (#1538) 2022-06-10 13:02:49 -07:00
Kim Santiago
f01b82db5e update DacFx version to get table designer fixes (#1533) 2022-06-08 11:31:45 -07:00