Commit Graph

1194 Commits

Author SHA1 Message Date
Charles Gagnon
4f1530891b Switch to using public Nuget.org feed (#1178)
* Switch to using public Nuget.org feed

* Add packages

* specify woring directory

* switch to arg

* custom command

* Try using newer nuget

* Use custom command

* Use v1 of task

* Remove assessment update

* Add xliffparser package

* Add resx package
2021-03-19 15:16:03 -07:00
Christopher Suh
0f4767aa6c Added Server Name (#1176)
* added DatabaseName field

* added servername
2021-03-16 18:40:14 -04:00
Aleksei Guzev
742d9b257b Update SQL Assessment package version (#1174)
This update fixes a bug affecting all SQL Server instances
with a distributor database and case-sensitive collation.
2021-03-10 20:48:49 +03:00
Karl Burtram
6b2de9c5bd Bump SDK to latest 3.1 revision (#1172) 2021-03-08 15:22:59 -08:00
Aleksei Guzev
745bacf294 Upgrade SQL Assessment package (#1170)
SQL Assessment release notes:
https://github.com/microsoft/sql-server-samples/blob/master/samples/manage/sql-assessment-api/release-notes.md
2021-03-08 11:53:20 -08:00
Udeesha Gautam
fd830caece adding newer DacFx for regression fix (#1171) 2021-03-04 19:37:08 -08:00
Justin M
c204cd7848 Removed catch block around ExecuteQueryAsync to allow exception to bubble up and be returned to ADS. (#1169) 2021-03-04 11:12:21 -08:00
Charles Gagnon
fa2f5039e2 Fix nuget authenticate (#1168) 2021-03-03 18:15:11 -08:00
Udeesha Gautam
6fdd6d1bc6 updating to latest dacfx for some bug fixes (#1167) 2021-03-03 10:01:29 -08:00
Christopher Suh
8fb6474cf0 added DatabaseName field (#1166) 2021-02-23 21:32:02 -05:00
Justin M
13a7d4aa2b Kusto NoAuth authentication (#1161)
* Added username and password to DataSourceConnectionDetails. Refactored KustoClient>GetKustoConnectionStringBuilder to accept no username or password for no credentials authentication.

* Removed invalid Unit Test and added 2 unit tests for testing authentication type.

* Added validation for dstsAuth and AzureMFA in DataSourceFactory. Added unit test for validation.
2021-02-23 17:29:09 -08:00
Charles Gagnon
294a6f4dc2 Add action to ask for validation when modifying Packages.props (#1165)
* Add action to ask for validation when modifying Packages.props

* test

* update name

* undo
2021-02-23 15:08:47 -08:00
Charles Gagnon
c6fe8a90c7 Update NRT with signed version (#1164) 2021-02-23 14:47:50 -08:00
Karl Burtram
dc34f63969 Revert "Update version of sqlclient in Package props file. (#1142)" (#1162)
This reverts commit 97d7547feb.
2021-02-23 12:56:01 -08:00
Charles Gagnon
1e9221b2a5 Remove password field from test (#1163) 2021-02-23 08:53:41 -08:00
Alan Ren
f75be77138 add visualization option support (#1160)
* add visualization option support

* add comments
2021-02-11 15:40:29 -08:00
Charles Gagnon
326488b1f7 Update resx with latest changes (#1159) 2021-02-03 14:34:38 -08:00
Charles Gagnon
eea14ae10f Update nuget feed to mssqltools (#1158) 2021-02-03 13:55:56 -08:00
Aditya Bist
a0f2b5d2cc Component/upgrade (#1157)
* upgrade components

* upgrade gulp-cli

* upgrade all libraries

* undo del upgrade
2021-02-03 11:41:47 -08:00
dependabot[bot]
7670fe68e0 Bump ini from 1.3.5 to 1.3.8 in /test/CodeCoverage (#1156)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-02 14:38:46 -08:00
Aditya Bist
6e7dad8a2c upgrade components (#1154) 2021-02-02 13:48:41 -08:00
Charles Gagnon
d0600cd219 Consolidate to one Nuget feed (#1155) 2021-02-02 10:18:05 -08:00
Karl Burtram
9fc5dfa647 Add thirdpartynotices.txt file to package (#1152)
* Add thirdpartynotices.txt file to package

* Update Notice.txt file per feedback
2021-01-29 11:46:58 -08:00
Justin M
6f22dcf241 Kusto Auth Refactor Tests (#1148)
* Refactored Kusto.ServiceLayer to pass ConnectionDetails to DataSourceFactory instead of connection string. Created KustoConnectionDetails to map needed details to KustoClient.

* Removed unused ScriptingScriptOperation from KustoServiceLayer.

* Created DstsAuthenticationManager and moved logic for getting DstsToken. Updated error message for failing to create KustoConnection.

* Removed DstsAuthenticationManager.cs. Refactored DataSourceFactory to retrieve UserToken from ConnectionDetails.

* Renamed AzureAccountToken in ConnectionDetails to AccountToken. Changed mapping to KustoConnectionDetails based on the AccountToken.

* Removed Kusto.Data reference from ConnectionService and ScriptingListObjectsOperation. Moved creation of KustoConnectionStringBuilder to DataSourceFactory

* Added accountToken validation to DataSourceFactory Create.

* Renamed KustoConnectionDetails to DataSourceConnectionDetails. Renamed AzureToken to AuthToken.

* Refactored SchemaState and intellisense out of KustoClient to KustoIntellisenseClient. Added IIntellisenseClient. Added unit tests for KustoIntellisenseClient and KustoClient.

* Removed unused property dataSourceFactory from LanguageService > InitializeService. Moved KustoIntellisense functions from KustoIntellisenseHelper to KustoIntellisenseClient and made SchemaState private. Added IIntellisenseClient to IDataSource.

* Renamed directory from DataSourceIntellisense to Intellisense and updated namespace. Fixed namespace in ScriptDocumentInfo.
2021-01-29 11:25:23 -08:00
Karl Burtram
df595ab425 Bump SDK version (#1151) 2021-01-28 19:01:39 -08:00
khoiph1
eb0b774f39 updated localized files (#1150) 2021-01-21 15:19:17 -08:00
csigs
6d7be6c019 LEGO: check in for main to temporary branch. (#1149) 2021-01-20 21:33:52 -08:00
Leila Lali
01d0f03262 Added service for model management for machine learning extension (#1138)
* Added service for model management for ml extension
2021-01-19 11:33:55 -08:00
Justin M
f0a5e11d51 dSTS Authentication (#1125)
* Refactored Kusto.ServiceLayer to pass ConnectionDetails to DataSourceFactory instead of connection string. Created KustoConnectionDetails to map needed details to KustoClient.

* Removed unused ScriptingScriptOperation from KustoServiceLayer.

* Created DstsAuthenticationManager and moved logic for getting DstsToken. Updated error message for failing to create KustoConnection.

* Removed DstsAuthenticationManager.cs. Refactored DataSourceFactory to retrieve UserToken from ConnectionDetails.

* Renamed AzureAccountToken in ConnectionDetails to AccountToken. Changed mapping to KustoConnectionDetails based on the AccountToken.

* Removed Kusto.Data reference from ConnectionService and ScriptingListObjectsOperation. Moved creation of KustoConnectionStringBuilder to DataSourceFactory

* Added accountToken validation to DataSourceFactory Create.

* Renamed KustoConnectionDetails to DataSourceConnectionDetails. Renamed AzureToken to AuthToken.
2021-01-14 13:49:09 -08:00
Charles Gagnon
822ffb2908 Remove invalid SET option for SqlOnDemand (#1147) 2021-01-11 09:08:50 -08:00
HarshiniCoder
97d7547feb Update version of sqlclient in Package props file. (#1142)
* Update version of sqlclient in Package props file.

* Updated version of sqldataclient to 2.1.1 in Package props file.
2021-01-08 16:02:06 -08:00
khoiph1
72fa41ca15 new loc files (#1136) 2021-01-06 10:44:36 -08:00
Udeesha Gautam
86a4e3f514 Add build fix changes (#1143)
adding a missing namespace that was causing a build failure in test code
2020-12-31 12:23:01 -08:00
Charles Gagnon
5c7211e82a Include singleline comments outside batch for nb convert (#1139)
* Include singleline comments outside batch for nb convert

* Remove extra space
2020-12-14 15:16:07 -08:00
Charles Gagnon
a47fa8bf87 Add CODEOWNERS (#1140) 2020-12-14 12:43:38 -08:00
Karl Burtram
83da69c063 Revert "Update SqlClient to 2.1.0 (#1124)" (#1137)
This reverts commit 4f42b17226.
2020-12-10 10:41:28 -08:00
Karl Burtram
7ea825c453 Update name in license.text (#1135) 2020-12-07 10:46:28 -08:00
Alex Ma
fefcab1c04 Added new String Resource Tool to fix issue (#1129) 2020-12-01 11:49:31 -08:00
Charles Gagnon
5a437bfe7b Add info on underlying connection closed error 2020-12-01 11:42:50 -08:00
Benjin Dubishar
78e2d1a7da Updating dacfx dependency (#1128) 2020-11-30 17:20:59 -08:00
Benjin Dubishar
0954502033 Renamed file (#1127) 2020-11-25 15:01:15 -08:00
Benjin Dubishar
25c542319e Splitting out default DacFx options for Publish and Schema Compare (#1126)
* Splitting out schema comp and publish defaults

* Added test

* Correcting comments, changing scope

* Moving DeploymentOptions to DacFx folder due to dependency hierarchy between DacFx and SchemaCompare
2020-11-25 14:44:34 -08:00
Charles Gagnon
4f42b17226 Update SqlClient to 2.1.0 (#1124) 2020-11-20 13:47:49 -08:00
Justin M
fd84367008 4094 Kusto AAD Authentication Refactor (#1115)
* 4094 Upgraded Kusto.Data and Kusto.Language to 9.0.3. Refactored KustoServiceLayer to use KustoConnectionStringBuilder instead of Sql.

* 4094 Refactored KustoClient>Initialize to take connectionString as optional. Removed unused properties from ConnectionService>ParseConnectionString

* 4094 Updated Kusto.Data and Kusto.Language nuget packages to 9.0.4. Removed IsDedicatedAdminConnection function in ConnectionService.

* 4094 Fixed unit tests
2020-11-20 11:54:40 -08:00
Justin M
67c7e20c13 13159 Created SetDatabaseName in KustoClient to take database name from ( ). Changed ListDatabases in Kusto ConnnectionService to set DatabaseNames in a different format when the PrettyName doesn't match the name. (#1123) 2020-11-19 14:18:58 -08:00
Charles Gagnon
6e83077fb7 Update release download tasks to get artifacts from build stage (#1122)
* Update release download tasks to get artifacts from build stage

* fix paths
2020-11-17 10:57:06 -08:00
Justin M
30d600e423 Kusto Client Cleanup (#1102)
* Cleaned up KustoClient with formatting and switched logic between ExecuteCommandAsync and ExecuteQueryAsync to match their respective names.

* Refactored ExecuteControlCommandAsync to call ExecuteControlCommandAsync in KustoAdminProvider. Fixed spacing in GetClientRequestProperties

* Refactored ExecuteQueryAsync to not use Task.Run
2020-11-17 10:26:09 -08:00
Charles Gagnon
32d7a63d7c Send error result if parse error occurs during convert (#1121) 2020-11-16 13:48:30 -08:00
Charles Gagnon
978a2cb525 Fix nunit package reference (#1120)
* Fix nunit package reference

* update more packages

* Fix casing
2020-11-11 13:31:03 -08:00
Charles Gagnon
9aea96ccaa Update pipeline job names (#1119)
* debug

* cd

* undo debug
2020-11-10 13:58:07 -08:00