Commit Graph

1295 Commits

Author SHA1 Message Date
Charles Gagnon
bcabc1ee09 Version nuget packages (#1299) 2021-11-11 17:28:08 -08:00
Alan Ren
3fd400b0d6 use dacfx to populate table information (#1298) 2021-11-11 16:59:36 -08:00
Hai Cao
ffbc8a5c1a Bump DacFx version to include table designer service (#1295) 2021-11-11 16:26:36 -08:00
Lucy Zhang
aa902b78d8 Check if Azure Function method is async before adding output binding (#1297)
* check async before adding output binding

* nit
2021-11-11 15:48:44 -08:00
Lucy Zhang
8487703c21 Add generic reference if needed for Sql Input Binding (#1294)
* add generic reference if needed

* only check input binding for now
2021-11-11 10:54:42 -08:00
Alan Ren
a3c69f3dd2 use path to identify edit target (#1292)
* use path to identify edit target

* async action

* revert RequestContext change

* comments

* address comments

* fix test
2021-11-10 17:39:48 -08:00
Charles Gagnon
c738e3bdf7 Cleanup cake process logging (#1293) 2021-11-10 16:44:54 -08:00
Charles Gagnon
c81a400752 Package published projects (#1291)
* Package published project

* sign and publish nuget packages

* Publish logs

* Sign before packaging

* Add res of packages

* Publish to specific folders

* add comment

* Remove unused package projects
2021-11-10 12:32:15 -08:00
Charles Gagnon
61401b61b0 Remove unnecessary pipeline tasks (#1290) 2021-11-10 11:58:55 -08:00
Charles Gagnon
acfc5e813e Clean up packaging projects (#1289) 2021-11-09 15:01:04 -08:00
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