Commit Graph

99 Commits

Author SHA1 Message Date
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
Kim Santiago
88a762014d update dacfx to bring in update project and table designer fixes (#1532) 2022-06-03 19:21:24 -07:00
Alan Ren
63bef2b904 enable table designer for sqlproj (#1511)
* enable table designer for sqlproj

* return issues and new table info on initialization

* vbump dacfx

* Revert "vbump dacfx"

This reverts commit f59768b41f67866bd7620e06b141e8bfdb1523aa.
2022-06-01 14:17:04 -07:00
Raymond Truong
0c37dc50f9 [SQL Migration] Update assessment NuGet version + mark GAed VM SKUs as non-preview (#1510)
* Update assessment NuGet version and metadata

* Consider Eb VM SKUs without preview flag as they are now GAed

* Update assessment NuGet to 1.0.20220527.33
2022-05-31 14:54:29 -07:00
Hai Cao
262fd00afd fix memory optimized option inconsistent state (#1503)
* disable mem optimized instead of removing options

* bump DacFx
2022-05-23 13:27:18 -07:00
Karl Burtram
a70402fe60 Revert SMO bump (#1492) 2022-05-11 15:34:15 -07:00
Hai Cao
24910c5b5c [Table Designer] api change for insert and move col (#1477)
* make api change for insert and move col
* bump DacFx
2022-05-06 15:00:34 -07:00
Charles Gagnon
6c97f41f7b Bump SMO + SqlClient (#1478) 2022-04-26 16:01:55 -07:00
Nemanja Milovančević
881c335cdf Backup/Restore Managed Instance (#1428)
* Enabled backup to and restore from URL

* Created RPC, but when process tries to load Microsoft.Azure.Storage.Blob.dll, it crashes

* Added create shared access token

* Code refactor

* Minor changes

* Changed RPC path

* Moved createSas RPC to the newly created BlobService, fixed PR comments

* Added sas expiration date parameter to the RPC

* Added copyright headers

* Removed ConnectionInstance property from BlobService

* Removed unhelpful comment

* Removed unused using statements

* Changed copy/paste comments

* Disposable objects fix

* Small formatting fix

* Changed backup to/restore from url supported device types

* Added backup to url integration test

* Created restore integration test. Test are now getting azure blob params from env variables instead of file.

* Culture invariant epiration date param, fixed comment, and typo

* Updated headers

* PR comments fix

* Changed supported device type logic

* string localization fix

* String formatting fix

* build failure fix

* Typo

* Updated supported restore device types
2022-04-20 14:01:13 -07:00
Alan Ren
c39a41af0c vbump dacfx to bring in a fix for table designer (#1465) 2022-04-13 10:57:29 -07:00
Alan Ren
0882bf07bd bring in table designer fixes (#1463) 2022-04-12 12:58:03 -07:00
Hai Cao
71830ee5f9 A few table designer improvements (#1456)
* add AdvancedType related contract & lib call

* use type list from col

* add description support to all view models

* remove desc for edge constraint

* bump DacFx to 160.6093.0-preview

* nit
2022-04-08 11:42:55 -07:00
Alan Ren
7a326b2487 new table designer features (#1420)
* support graph table types

* more fixes

* refresh view upon edit

* support temporal tables

* temporal and memory table

* primary key and default constraint

* bug fixes

* dispose table designer

* vbump dacfx

* update string
2022-03-08 18:52:51 -08:00
Neetu Singh
d704a84740 Update Assessment package. Change Description from PR - https://msdata.visualstudio.com/Database%20Systems/_git/sql-migrate-asmt/pullrequest/747674 (#1407)
Updated the E-series VM IOPS, throughput capability based on ms doc as rest endpoint giving very low number on throughput particularly.

Updated only for SKUs with local disk.
Haven't checked if D-series has similar problem, however it wouldn't cause problem as we are not showing any Dev-test recommendation for ADS.
Note : Mostly, any other mismatches wouldn't be relevant for prod recommendations.
msdoc reference : https://docs.microsoft.com/en-us/azure/virtual-machines/edv5-edsv5-series
2022-02-11 17:31:38 -08:00
Raymond Truong
1693843ab0 [Feature] SKU recommendations in SQL migration extension (#1399)
* Initial check in for SQL migration SKU recommendation feature (#1362)

Co-authored-by: Raymond Truong <ratruong@microsoft.com>

* Integration test for Get SKU Recommendation. (#1377)

* Integration test for Get SKU Recommendation.

* Addressing comments -
1) Moving sample files to data folder.
2) Changed Assert for Positive Justification. Ideally for MI we are expecting ~6 justifications but this might change so sticking with 'recommendation should have atleast one positive justification'.

* Implement start/stop perf data collection (#1369)

* Add SqlInstanceRequirements to SKU recommendation output (#1378)

* test for data collection start and stop (#1395)

* improve error handling, add RefreshPerfDataCollection  (#1393)

* WIP - refresh data collection

* Capture messages before logging

* Update Microsoft.SqlServer.Migration.Assessment NuGet version (#1402)

* Update NuGet version to 1.0.20220208.23, update assessment metadata

* Update SKU recommendation metadata

* Include preview SKUs

* Clear message/error queue after refreshing

* Clean up

* Add 'IsCollecting' to RefreshPerfDataCollection (#1405)

Co-authored-by: Neetu Singh <23.neetu@gmail.com>
2022-02-10 19:02:27 -08:00
Alan Ren
d3b17187b5 new sql parser (#1397) 2022-02-08 13:39:10 -08:00
Alan Ren
6b1b2720f2 enable AAD auth for Table Designer (#1396) 2022-02-08 12:56:43 -08:00