Commit Graph

1285 Commits

Author SHA1 Message Date
Kevin Ransom (msft)
4128344a9f Nugets (#1281)
* sql tools service packages

* Delete runtime.centos.7-x64.native.Microsoft.SqlToolsService.sln

remove unnecessary solution file

* alignment and remove redundent file
2021-11-09 08:54:03 -08:00
csigs
cc66eaf69b LEGO: check in for main to temporary branch. (#1285) 2021-11-08 19:31:51 -08:00
Charles Gagnon
684587b8c4 Don't build unused RIDs (#1288)
* print work folder sizes

* fix spacing

* Get all children

* Remove win7-x86, win10-arm & win10-arm64 builds

* add few more

* remove print job
2021-11-08 16:54:50 -08:00
Charles Gagnon
fd50060ed9 Update .NET version used for code signing (#1286) 2021-11-08 14:21:57 -08:00
Benjin Dubishar
8234dcf215 Revert "Applying Changes to SQL Database Projects and Using Projects in Comparison (#1282)" (#1284)
This reverts commit 6acda6e1e6.

committedcda6e1e6ed5ff4fddb65b954951ff987fa01c06acda6e1e6ed5ff4fddb65b954951ff987fa01c0:
2021-11-05 17:25:09 -07:00
Benjin Dubishar
6acda6e1e6 Applying Changes to SQL Database Projects and Using Projects in Comparison (#1282)
* passing initial testing

* update local project from database

* update local project

* update project from database

* update project from database

* update project from database

* update project from database

* update project from database

* update project from database

* update project from database

* update project from database

* update project from database

* update project from database

* Bump .net version

* PR feedback

Co-authored-by: Noureldine Yehia <t-nyehia@microsoft.com>
2021-11-04 18:36:59 -07:00
Sai Avishkar Sreerama
eda47bc0a4 STS version updates to support DacFx_160 (#1277)
* STS version updates to support DacFx_160

* Updated the mismatched version for sqlparser
2021-11-04 19:28:40 -05:00
Aasim Khan
e8c50caea1 Porting showplan code from ssms (#1280)
* Porting showplan code from ssms

* Moving showplans bits to a subfolder

* code cleanup

* Remvoing unnecssary conditional visibility
2021-11-04 14:54:52 -07:00
Alan Ren
e33caf38c4 Alanren/new column properties (#1278)
* new column properties

* add description
2021-11-02 18:50:52 -07:00
Alan Ren
42fe871f27 update build guide (#1276)
I ran into an issue but the symptom doesn't match the documented one, so adding the one I saw.
2021-11-01 12:57:08 -07:00
Aasim Khan
e246bc5325 Adding star expression expansion (#1270) 2021-10-27 16:59:05 -07:00
Christopher Suh
26d4339277 Skip unused build steps (#1275)
* skip windows 10 arm 64 build

* skip all unused architecture builds
2021-10-22 18:03:09 -07:00
Alan Ren
e305d30004 load the schema information (#1274)
* load the schema information

* pr comments
2021-10-20 12:54:54 -07:00
Alan Ren
1a52a9ee84 handle dispose table designer request (#1273)
* handle dispose table designer

* use connection string
2021-10-19 13:04:01 -07:00
Alan Ren
192f7fccd4 handle add column request (#1272)
* handle add column request

* comments

* rename data to ViewModel
2021-10-19 09:54:57 -07:00
Alan Ren
791c3594a9 add table designer handlers (#1269)
* add table designer handlers

* add comments
2021-10-14 13:39:55 -07:00
Sai Avishkar Sreerama
4f12820757 MDS and DacFx Nuget versions update (#1268) 2021-10-12 17:05:22 -05:00
Alex Ma
faec7e1498 [Loc] Update to resx 10-11-2021 (#1267)
* update to xlfs

* update to resx
2021-10-11 12:37:56 -07:00
csigs
a2a71e771f LEGO: check in for main to temporary branch. (#1266) 2021-10-11 09:50:32 -07:00
csigs
00706130fa LEGO: check in for main to temporary branch. (#1265) 2021-10-11 09:50:14 -07:00
csigs
9fdb9eecd3 LEGO: check in for main to temporary branch. (#1263) 2021-10-11 09:49:40 -07:00
Kim Santiago
0f0df25119 Add error for sql bindings when .net 5 (#1259)
* add error for sql bindings when .net 5

* add test

* cleanup linq stuff and move out common code
2021-10-07 16:13:53 -07:00
Justin M
f2da10f23a Kusto AdminService Unit Tests (#1257)
* Added unit tests for AdminService. Added interface for IConnectionService.

* Kusto connection map to ConnectionManager (#1258)

* Created ConnectionManager and moved connectionMap. Changed references from ConnectionService to ConnectionManager.

* Changed creation of ConnectionManager to MEF instead of Instance creation
2021-10-07 11:46:13 -07:00
Alex Ma
2e08873246 [Loc] update to xlfs and resx (#1261) 2021-10-06 11:07:39 -07:00
csigs
58160d03db LEGO: check in for main to temporary branch. (#1260) 2021-10-06 10:34:13 -07:00
Alan Ren
ee3588df75 set issupportedVersion flag (#1255) 2021-10-04 14:49:36 -07:00
Justin M
0c95a511d0 Fixed Azure Pipeline build warnings (#1254)
* Fixed Azure Pipeline build warnings

* Removed variable declaration in SmoScriptableOperationWithFullDbAccess catch block.
2021-10-04 13:30:43 -07:00
Alex Ma
3442c08012 [Loc] update XLFs and main resx to proper version (for cake build) (#1256) 2021-10-04 11:35:23 -07:00
Justin M
4cc261e056 Kusto - Added code coverage to Build (#1253)
* Modified build.yml to run code coverage and modified logfilename to nunit.trx

* Changed logfilename for Kusto and SqlTools for Unit Tests. Added codeCoverage flag to SqlTools

* Added Kusto PublishTestResults task. Changed SqlTools testresult to use SqlTools.ServiceLayer.UnitTests.trx

* Added Microsoft.NET.Test.Sdk to Kusto.ServiceLayer. Changed build.yml to not PublishTestResults for Kusto.

* Removed reference to Microsoft.NET.Test.Sdk in Kusto.ServiceLayer. Removed PublishTestResults from ServiceLayer.UnitTests.

* Added testRunTitle to Kusto and SqlTools test tasks
2021-10-04 11:12:36 -07:00
Kim Santiago
e8b8909053 Fix schema compare to return actual success of comparison (#1250) 2021-09-30 14:10:43 -07:00
Justin M
e7b17fb660 Kusto Format Fix (#1251)
* Added Format function to DataSourceFactory. Removed unsued code / commented code in TSqlFormatterService.

* Renamed TSqlFormatterService to FormatterService in Kusto
2021-09-29 13:07:56 -07:00
Alex Ma
e1356f76cc added preserve user number format and date/time format along with dotnet bump. (#1252)
* added preserve user number format and date/time format

* removed flag

* revert version
2021-09-28 17:40:15 -07:00
Justin M
53c0ff9f07 [AzureMonitor] Show Custom Logs (#1248)
* Added logic to render Custom Logs in MonitorDataSource

* Changed Custom Logs name for AzureMonitor
2021-09-22 14:30:37 -07:00
Alex Ma
41d44d82f6 Fix for cancel query by adding synchronous readers. (#1246)
* added WIP sync execute method

* added syncexecuteonce

* replaced executeonce with synchronous reading

* removed batch.cs change

* restore space
2021-09-20 10:26:56 -07:00
Justin M
60c847ff60 Changed RefreshAuthToken in ConnectionService and KustoClient to follow TryParse pattern. (#1245) 2021-09-17 12:25:11 -07:00
Aasim Khan
6f5cac4cb5 Adding a flag for migration blocker flag in sql assessment and switching to new APIs (#1242)
* Adding a flag for migration blocker in sql assessment and switching to new APIs

* Fixing var names
2021-09-08 15:15:56 -07:00
Alex Ma
93728df53d update for resx with latest changes (#1240) 2021-09-01 11:06:43 -07:00
Christopher C
4bb89819bb Merge branch 'main' into v-chrcan/issue392 2021-08-30 13:29:11 -07:00
Alex Ma
431e4cfbf1 Add changeConnectionUri action for query (#1227)
* added wip rename query

* added first rename test

* added missing query handling and two new tests

* removed ServiceDispose

* added change to owneruri.

* made fields private, used accessor methods

* added readonly flag back

* added didSave to sqltools.servicelayer

* fix for docsavecallbacks

* removed tryremove

* test disconnect in queryExecutionService

* removed debug message working query.

* added comment to handlerenamerequest

* added uri replacement function

* removed duplicate removemap function

* added minor fixes

* changed connectionOwnerUri to getter setter

* removed handledidsave and added setters

* removed additional save parts

* fixed space issues

* more fixes for spaces

* restored spaces

* fixed workspaceservice

* Update TextDocument.cs

* changed renameRequest into notification WIP

* restored textdocument

* restored textdocument.cs

* added rightwards arrow

* renamed rename to ChangeConnectionUri

* added more renames

* rename changeconnectionuri to changeuri

* renamed file names

* Revert "renamed file names"

This reverts commit 55228e65025b5179b15ae9a0adc095d95538723d.

* Revert "rename changeconnectionuri to changeuri"

This reverts commit 23f3813f609e3947f103e057f7c0919184075bdc.

* removed logging message and other small changes

* renamed class and method
2021-08-30 11:06:07 -07:00
Karl Burtram
5d5debbad6 Enable scripting for subobjects such as triggers (#1237)
* WIP 1

* Cleanups

* Change how schema is appended in to urn

* Add comment and fix incorrect condition

* Add parent type name to support Views, etc.
2021-08-26 13:06:15 -07:00
Justin M
0421d3ae7c Added check if metadata is empty to throw error exception. (#1236)
* Added check if metadata is empty to throw error exception.

* Changed error message.

* Changed error message to be displayed when invalid Workspace ID is provided for AzureMonitorLogs.
2021-08-25 11:38:35 -07:00
Christopher C
1ac3cabe9b Merge branch 'main' into v-chrcan/issue392 2021-08-18 21:38:44 -07:00
Christopher C
6eb5b7668c updates to thread through maxCharsToStore 2021-08-18 21:38:12 -07:00
Kim Santiago
c20af4f777 Get Azure functions operation (#1228)
* add GetAzureFunctions

* add tests

* cleanup

* check for quotes

* address other comments

* add logging and let error result get sent

* rename file
2021-08-18 17:05:27 -07:00
dependabot[bot]
ccd2ec446d Bump path-parse from 1.0.6 to 1.0.7 in /test/CodeCoverage (#1235)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 09:11:08 -07:00
Justin M
822213a655 AzureMonitor Fix Dashboard Tables (#1232)
* Changed results for AzureMonitor GetChildObjects for Dashboard

* Changed MonitorDataSource to use SortedDictionary instead of List when storing nodes.
2021-08-10 11:00:45 -07:00
Aasim Khan
f8664641cf Fixing GetServerSystemInfo for Azure DBs (#1231)
* Not throwing errors when we try to fetch SQL server properties like server count and physical mem.

* Fixed comment

* Renaming get server cpu count

* Adding more detailed comment over here

* Making properties cpu count and physical memory to nullable<int> so they are defaulted to null.

* Fixing rest of the properties to nullable.
2021-08-09 17:24:04 -07:00
csigs
71b87055f1 LEGO: check in for main to temporary branch. (#1230) 2021-08-09 11:17:12 -07:00
Aasim Khan
c5cbcf02a2 Removing unused code (#1229)
and adding a null check
2021-08-06 20:11:58 -07:00
Justin M
609194d66f Added filter logic to exclude comments in MonitorClient. Added error handling in KustoClient to handle ErrorResponseExceptions. (#1226) 2021-08-05 09:06:21 -07:00