Commit Graph

1422 Commits

Author SHA1 Message Date
Aasim Khan
cc63d866d7 Fixing integration tests for sts (#1453)
* Fixing test pipeline

* pwd

* fixing script

* fixing cwd

* switch to bash

* Cleaning up script and yml

* Fixing script comment

* Fixing the comments

* Adding issue in the comment

* Adding automatic password generator

* Removing unncesary use statement

* Fixing key

* Printing var

* Printing settings

* Printing var

* Fixed var

* Fixed

* Reverting some changes

* Changing fetch variable to upper case

* Fixing password logic

* Debug

* debug2

* debug

* Making passwords secret

* Fixing string null check

* removed dirs

* fixing var name

* Fixing var

* Printing  vars to see if the enviornment is setup correctly

* Printing versionkey

* removing prints

* Adding 2019 Instance key and updating template

* fixing env variable

* Fixing comment
2022-04-08 15:19:49 -07:00
Aditya Bist
b1f494d04d Added uniqueness check for constraints (#1454)
* added rule for checking constraints

* added constraint validation rule

* merge PR's

* remove unused code

* update comment

* remove unused import
2022-04-08 12:52:24 -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
Charles Gagnon
ec697d518b Update SDK to 6.0.201 (#1452) 2022-04-01 15:29:58 -07:00
Aditya Bist
54dc04c533 add table type to process and publish results (#1448)
* add table type to process and publish results

* make generic property bag

* review comments

* remove unused code

* edit comment
2022-03-31 21:01:37 -07:00
Alan Ren
3452c43a51 handle hierarchyid correctly (#1450) 2022-03-31 15:18:15 -07:00
Benjamin Russell
2ace786d95 Export headers in an empty result set (#1434)
* Minimal changes to make headers appear on empty result sets

* Columns for everyone!

* Updating tests - some don't pass yet

* Adding some more tests to verify the changes for column/row selection

* null default columns

* Updates to comments as per PR comments
2022-03-31 09:10:32 -07:00
Kim Santiago
5d805bd678 remove SchemaComparePublishChangesRequest (#1446) 2022-03-28 12:20:51 -07:00
Lewis Sanchez
185d689267 Camel cases and standardizes endpoint URI prefixes for execution plans (#1442) 2022-03-25 11:47:25 -07:00
Charles Gagnon
cf06cf2b8e Add more projects to solution (#1444) 2022-03-25 11:25:44 -07:00
Raymond Truong
c8ba317980 [SQL Migration] Show correct recommendation when viewing issues in assessment results (#1441) 2022-03-23 17:17:44 -07:00
Aditya Bist
553b9af36e graph type logic for node sub type (#1440) 2022-03-22 21:43:43 -07:00
Lewis Sanchez
8215d88dcf Adds new graph comparison request handler to the Execution Plan Service. (#1438)
* Adds new graph comparison request handler to the Execution Plan Service.

* Code review changes

* Renames execution plan compare params, result, and request classes.
2022-03-22 14:52:42 -07:00
Alex Ma
d5e2a58db4 [Loc] updated xlfs and resx files (#1439) 2022-03-22 10:51:36 -07:00
Lewis Sanchez
f7b37091ca Renames ShowPlan directories along with corresponding namespaces (#1435)
* Renames ShowPlan directories along with corresponding namespaces

* Renames ShowPlanGraphUtils to ExecutionPlanGraphUtils

* Revert "Renames ShowPlanGraphUtils to ExecutionPlanGraphUtils"

This reverts commit 5dc2696ae906598447eed7360a3f342218432b83.

* Reverts show plan tests name change.

* Renames show plan test XML files.

* Renames ported directory to ShowPlan and updates namespace accordingly
2022-03-21 16:25:44 -07:00
csigs
a5c8fd4c53 LEGO: Merge pull request 1437
LEGO: Merge pull request 1437
2022-03-20 08:35:28 -07:00
csigs
745e31f0b0 LEGO: Merge pull request 1436
LEGO: Merge pull request 1436
2022-03-19 08:35:00 -07:00
Charles Gagnon
ad419dd234 Update build pipeline (#1431) 2022-03-18 09:50:28 -07:00
Hai Cao
3b2ffe8aea change table designer report type to markdown (#1433) 2022-03-17 18:39:06 -07:00
Alan Ren
fb7ed1e4dc fix enum name (#1432) 2022-03-17 13:23:54 -07:00
Alan Ren
92cb4beca0 support issue severity (#1430) 2022-03-17 10:16:42 -07:00
Alan Ren
271f5f881a add validation rule for identity setting (#1429) 2022-03-16 17:03:09 -07:00
Alex Ma
8dbfa9112c [Loc] added unknownsqlforeignkeyaction (#1426) 2022-03-14 12:33:17 -07:00
Alan Ren
cc5cb4066b fix for issue that decimal number are exported to excel as strings (#1425)
* fix export to excel issue with decimals

* add comment
2022-03-14 11:28:16 -07:00
Aasim Khan
aa97389d8e Adding ExecutionPlanService to ADS (#1422)
* Adding ExecutionPlanService to ADS

* Changing name to execution plan service

* Renaming file

* Fixing some PR comments

* Renaming class

* Changing api name to queryexecutionplan
2022-03-12 00:49:17 -08:00
Alan Ren
b495ea7475 handle UDT type (#1424) 2022-03-11 18:10:08 -08:00
csigs
d62b0f7609 LEGO: Merge pull request 1423
LEGO: Merge pull request 1423
2022-03-11 08:33:07 -08:00
csigs
87fdf762d3 LEGO: Merge pull request 1421
LEGO: Merge pull request 1421
2022-03-10 08:35:29 -08: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
Aditya Bist
3e5bf00cc5 Change preview report type (#1418)
* change report type

* PR comments

* fix doc for report

* rename format to mimetype

* nitpicks

* edit comments

* default to plain text
2022-03-08 14:07:30 -08:00
Charles Gagnon
40c5d48c5e Fail build on unneeded usings (#1417) 2022-03-04 16:38:01 -08:00
Charles Gagnon
c248400a6c Add linting for copyright and unused usings (#1416)
* Add linting for copyright and unused usings

* Add one more + comment

* Enforce in build and fix errors

* Fix build
2022-03-04 15:17:29 -08:00
dependabot[bot]
025f9af4fd Bump ajv from 6.6.1 to 6.12.6 in /test/CodeCoverage (#1408)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.6.1 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.6.1...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01 12:05:17 -08:00
Aasim Khan
3f711ef6dc Using custom 1ES pool for running build pipelines. (#1414)
* Enable trimming to reduce package size

* trimming kusto

* Trying a new pool

* Fixing yaml errors

* Removing package trimming

* Removing formatting changes

* Using specific image

* Fixing formatting

* Fixing yml syntax
2022-02-28 13:02:39 -08:00
Alan Ren
5005c344ad fix typo (#1412) 2022-02-17 15:02:50 -08:00
Alan Ren
2542df3502 add validation for table designer (#1411)
* add validation for table designer

* comments
2022-02-17 11:12:27 -08:00
Alan Ren
c2d826548c always allow a column to be added to PK (#1410) 2022-02-17 10:04:25 -08:00
Alex Ma
b066d03f3f [Loc] update to sr.xlf (#1409)
* [Loc] update to sr.xlf

* added resx updates
2022-02-14 11:54:31 -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
csigs
20a9bd00a2 LEGO: Merge pull request 1406
LEGO: Merge pull request 1406
2022-02-11 08:34:09 -08:00
Vasu Bhog
8120858ad2 Modify Get Connection String Request to use connection details (#1394)
* connection string accepts connectionInfo

* get connection string from disconnected scenarios
2022-02-10 20:48:39 -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
csigs
4a33da5a18 LEGO: Merge pull request 1404
LEGO: Merge pull request 1404
2022-02-10 08:33:27 -08:00
Aasim Khan
00c2fdbe99 Fixing faulty showInTooltip logic and adding prop display value for Query Plan (#1401)
* Fixing faulty showInTooltip logic

* Renaming one prop appropriately

* Fixing prop function

* Fixed PR related comments

* Fixing stuff

* Logging errors now
2022-02-09 22:54:17 -08:00
Charles Gagnon
cf959b3278 Bump nuget package versions (#1400) 2022-02-09 10:20:35 -08:00
Charles Gagnon
13bd3b434c Use PackageLicenseExpression for nuget packages (#1398)
* Add MIT license expression

* Remove license file
2022-02-08 14:53:39 -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
Alex Ma
25bbbcf60e [Loc] update to sr resx and xlf (#1392) 2022-02-07 09:52:05 -08:00
csigs
267ee07130 LEGO: Merge pull request 1391
LEGO: Merge pull request 1391
2022-02-05 08:33:58 -08:00