* Added error message to validate connect params.
* removed connectionParam == null as ConnnectionCompleteParams cannot be nulled.
* Added ValidateConnectParams to other connection services
* removed message from error
* reverted change to connectionServiceCore
* added updated message
* restore null and added errormessage to GetConnectionCompleteParams
* fix for sr.xlf
* fix for tab
* another fix to tabs
* added message to connection complete error
* small fix
* support for ledger objects in OE
* generated sr files
* update versionKey to sql 2022 in test env config
* more 2019 to 2022 updates
* add sql2022 instead of replacing
* missed filter on table
* add logging
* more logging
* adding Script160Compat options for sql2022
Co-authored-by: Alan Ren <alanren@microsoft.com>
* Added locproject to defaultimpl
* added resourceprovider core
* added more locprojects for rest of projects
* moved LocProject to src
* Added consolidated locproject
* deleted old locprojects
* fix tab to better match ADS
* Revert "fix tab to better match ADS"
This reverts commit e3e3370ac9eb647b94b908e0432fbc52a9874b41.
* 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
* Added Format function to DataSourceFactory. Removed unsued code / commented code in TSqlFormatterService.
* Renamed TSqlFormatterService to FormatterService in Kusto
* 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.
* Changed results for AzureMonitor GetChildObjects for Dashboard
* Changed MonitorDataSource to use SortedDictionary instead of List when storing nodes.
* Added AzureMonitor to Microsoft.Kusto.ServiceLayer.
* Added Intellisense for AzureMonitor. Moved Intellisense logic from KustoIntellisenseClient to IntellisenseClientBase.
* Added ServiceName as a command parameter for starting Kusto.
* Added check to return null if connectionInfo is not in the connectionService.
* Added support for Dashboard in MetadataService and AdminService.
* Removed workspace id from databaseName for Monitor. Added logic for MetadataService and AdminService to return different information for AzureMonitor.
* Moved providerName and providerDescription to DataSourceFactory.
* Changed DatabaseName to include Name and Id. Changed ProviderName to LOGANALYTICS in DataSourceFactory
* Fixed unit tests
* Changed logic to use ServiceName instead of server to determine DataSourceType
* Code review feedback and reverted changes to ObjectExplorerService.
* Removed unused reference from HostLoader
* Changed Parallel.Invoke to await Task.Run
* Moved Kusto datasource and supporting classes to separate directory.
* Removed unused datasourceFactory from ConnectionService. Added GetDatabases and GetDatabaseInfo to IDataSource and child classes
* Renamed Instance variables in ObjectExplorerService. Removed unused attribute on TSqlFormatterService. Removed invalid comment in ConnectionService.
* Fixed warnings in build.
* Moved SizeInMB to DatabaseMetadata. Refactored ConvertToDatabaseInfo
* Fixed unit test
* adding network file validator contract
* updating to dotnet 5
* reverting change in pipeline
* updating target framework to 5.0
* updating srgen and using target framework var
* reverting srgen back to 3.1
* Adding dotnet 3.1 to build
* Fixing task def
* removing global json
* updating other 3.1 refs to 5.0
* removing netcore folder from build.cake
* Moving and renaming dotnet 3.1 task
* added other languages to ServiceLayer
* fixed travis and appveyor yaml, added other languages for localization
* added spanish and german strings to credentialslocalization, also WIP for coreservices test
* added WIP localization test for CoreServices
* Removed unit test for coreservices, need to work on those later.
* restored travis and appveyor
* added kusto string resource localization test
* added localization test and locale change for SqlToolsCredentials
* added locale command options to ResourceProvider
* revert resourceprovider test
* Localized SqlTools.Credentials
* added hosting localization
* replaced new with translation to be consistent with main service layer
* reverted external changes as it is unnecessary
* Translated ManagedBatchParser
* test culture value
* test culture change
* temporarily comment out service layer command options
* returned sr.cs
* temporarily remove bad tests
* restored tests and allowed for SR culture to change for dependencies (for future testing)
* localization for resourceprovider components added.
* Set LocaleSetter to public and also removed InternalsVisible for Kusto, Credentials and ResourceProvider
* removed unnecessary changes
* Removed CredentialsCommandOptions
* renamed pt-BR to pt-br
* Rename sr.pt-BR.xlf.template to sr.pt-br.xlf.template
* Rename src/Microsoft.SqlTools.ServiceLayer/Localization/LCL/pt-BR/sr.resx.lcl to src/Microsoft.SqlTools.ServiceLayer/Localization/LCL/pt-br/sr.resx.lcl
* Rename sr.pt-BR.xlf to sr.pt-br.xlf
* Rename sr.pt-BR.resx to sr.pt-br.resx
* Rename sr.pt-BR.resx to sr.pt-br.resx
* Rename sr.pt-BR.xlf to sr.pt-br.xlf
* Rename sr.pt-BR.resx to sr.pt-br.resx
* Rename sr.pt-BR.xlf to sr.pt-br.xlf
* Rename sr.pt-BR.resx to sr.pt-br.resx
* Rename sr.pt-BR.xlf to sr.pt-br.xlf
* Rename sr.pt-BR.resx to sr.pt-br.resx
* Rename sr.pt-BR.xlf to sr.pt-br.xlf
* Rename sr.pt-BR.xlf to sr.pt-br.xlf
* Rename sr.pt-BR.resx to sr.pt-br.resx
* Rename sr.pt-BR.xlf to sr.pt-br.xlf
* Rename sr.pt-BR.resx to sr.pt-br.resx
* restored newlines
* Update sr.pt-br.xlf.template
Removed newline
* removed newline
* fixing newlines for consistency
* removed unnecessary newline
* Removed Parallel.Invoke from KustoIntellisenseClient.cs > LoadSchema. Added EscapeName from databaseName to LoadSchema and GetTableInfos
* Reverted change to Parallel.Invoke in LoadSchema
* 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
* 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.
* 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.
* 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.