Commit Graph

1205 Commits

Author SHA1 Message Date
Karl Burtram
ccf95aed77 Move unused forked code to external directory (#1192)
* Move unused forked code to external directory

* Fix SLN build errors

* Add back resource provider core since it's referenced by main resource provider project

* Update PackageProjects step of pipeline
2021-04-16 15:33:35 -07:00
Charles Gagnon
dc6555a823 Escape file URIs (#1189)
* Escape file URIs

* Fix test

* Add tests
2021-04-16 15:33:11 -07:00
Karl Burtram
6fe715d2d8 Do not update the DB name when connecting to DB pool (#1186)
* Do not update the DB name when connecting to DB pool

* Fix typo in the connection service
2021-04-15 14:48:02 -07:00
Christopher Suh
6bafed10eb added rule id (#1190) 2021-04-15 12:02:32 -07:00
Justin M
516553f72a Default Kusto database name (#1187)
* Added check to set the databaseName to the first database on the cluster when no database is provided

* Changed kusto query for loading databases to follow best practices

* Fixed failing unit test

* Optimized query for getting first database
2021-04-13 00:00:56 -07:00
dependabot[bot]
62e896c94c Bump yargs-parser from 5.0.0 to 5.0.1 in /test/CodeCoverage (#1185)
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/v5.0.1/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs-parser/compare/v5.0.0...v5.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 14:20:51 -07:00
dependabot[bot]
775275340e Bump y18n from 3.2.1 to 3.2.2 in /test/CodeCoverage (#1184)
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 14:13:46 -07:00
Justin M
c483cea88c Renamed RefreshAzureToken to RefreshAuthToken. Changed provider value to authenticationType. (#1183) 2021-03-29 15:08:09 -07:00
Christopher Suh
2badd8e728 Fix Sql Auth for Migration Assessments (#1182)
* pass connection string to dma engine

* cleanup

* remove optional parameter

* modified query
2021-03-26 15:59:07 -07:00
Aasim Khan
5a8cfab8fa Sending assessment errors to ads (#1180) 2021-03-22 09:14:02 -07:00
Christopher Suh
0a1ee88a12 Bumped Migration Assessment Version (#1179)
* bump migration assessment nuget

* upgraded migration version
2021-03-19 22:46:51 -07:00
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