Commit Graph
1046 Commits
Author SHA1 Message Date
Benjin Dubishar c51a59dadf Adding SqlCmdVars support for DacFx Deploy (#971)
* Adding SqlCmdVars support for DacFx Deploy

* Adding SqlCmdVars support for GenerateDeployScript

* Consolidating test logic
2020-06-10 16:00:59 -07:00
Karl Burtram e8e699dbd8 Revert "-Removed forced master condition (#957)" (#972)
This reverts commit 69b93a05f2.
2020-06-09 13:42:29 -07:00
Aleksei Guzev ca5cbf76e6 Fix TargetName for assessment items (#968) (#969)
* Remove the second appearance of server name in TargetName property
* Replace slash with colon as database name separator in TargetName to avoid ambiguity
Fixes #968
2020-06-08 13:26:25 -07:00
Kim Santiago 836687a41d update schema compare default option (#967) 2020-06-08 11:26:00 -07:00
Charles Gagnon 42e5269359 Fix test notebook name casing (#970) 2020-06-08 10:58:37 -07:00
Kim Santiago 14907e6440 bump dacfx nuget (#964) 2020-05-28 17:09:06 -07:00
Satyem-MS 8d6a48a23f Auto Completion for date_bucket (#933) 2020-05-18 11:27:11 -07:00
Justin Hutchings f56dce5ee6 Add CodeQL Analysis workflow (#952)
* Add CodeQL Analysis workflow

* Fix path
2020-05-15 11:43:21 -07:00
Aasim Khan 69b93a05f2 -Removed forced master condition (#957) 2020-05-15 10:09:33 -07:00
Udeesha Gautam 9eec757ad1 Updating DacFx nuget to one with SqlTasks (#958)
* Updating DacFx nuget to one with SqlTasks

* Adding common references to build props to avoid multiple places for update
2020-05-08 17:43:04 -07:00
Jeff Trimmer 82eed06847 Add Always Encrypted Parameterization Functionality (#953) 2020-05-05 12:01:24 -07:00
Amir Omidi e3f1789f18 Enable arm builds (#955) 2020-05-01 15:17:27 -07:00
Alan Ren 8f6662b019 extend the list databases request (#951)
* extend the list databases request

* reuse databaseInfo and refactor

* fix typo
2020-04-28 16:12:56 -07:00
Sakshi Sharma 96df91c8fa Sql Proj Extract from database to Sql files (#949)
* SqlToolsServices changes for  Sql Proj Extract from database to Sql files

* Bumped DacFx version. Addressed comments.
2020-04-27 18:35:19 -07:00
Kim Santiago 314627f83c Show file location for dacfx extract and export (#936)
* show file location for dacfx extract and export

* Add TargetDestination field to TaskInfo

* remove setting database and server name to null if there's packageFilePath

* remove unnecessary parameter
2020-04-27 17:37:08 -07:00
Aleksei Guzev bcc1f2a486 Add AQL Assessment service (#946)
[SQL Assessment API](https://docs.microsoft.com/en-us/sql/sql-assessment-api/sql-assessment-api-overview) provides a mechanism to evaluate the configuration
of SQL Server for best practices. SQL Assessment API gives a list
of recommended actions to improve SQL Server performance or security.

The SQL Assessment service is used by the expected SQL Assessment
feature of Azure Data Studio. 

SqlAssessmentService forwards JSONRPC calls to SQL Assessment engine
and wraps results as a response.

`assessment/getAssessmentItems` returns a set of checks 
applicable to a given target.

`assessment/invoke` returns a set of recommendations
for improving SQL Server instance or database configurations. 

`assessment/generateScript` returns a T-SQL script for storing
an assessment result set to a SQL data table.
2020-04-24 10:52:55 +03:00
Amir Omidi 89699823bf Reduce the verbosity of logging (#950) 2020-04-22 20:33:43 -07:00
Charles Gagnon 0a53ff9ff7 Update SMO to latest release (#943) 2020-04-14 08:45:51 -07:00
Charles Gagnon b0fb5f74b3 Have release pipeline fail on errors (#945) 2020-04-09 15:32:17 -07:00
Aditya Bist 155445f8c2 add handling in json serializer (#944) 2020-04-09 15:05:50 -07:00
Kim Santiago bf6c573e7b bump nuget package (#942) 2020-04-07 16:25:57 -07:00
Charles Gagnon 7d37de218a Fix to not add parens for global variable built in functions (#940) 2020-04-07 09:56:24 -07:00
Aleksei Guzev 1cb0b98148 Fix default test server names file path construction (#941)
FileUtils.TestServerNamesDefaultFileName_get uses '… + @"\\" + …'
construct to build the default path for the test server names file.
While escaping a backslash in a verbatim string is a typo, the
approach was error-prone. Replace string manipulation and environment
variables magic with calls to well-tested library functions.

GetSettingFileContent() displays a message on switching to VS Code
settings when SQL connection instances were configured.
Move the message to the branch for the absent test configuration file.
2020-04-06 08:43:02 -07:00
Charles Gagnon 6cecba4f85 Add var to control whether we push symbols to nuget (#938) 2020-03-26 09:10:12 -07:00
Jeff Trimmer a2b0435892 Fix issue where EnclaveAttestationProtocol gets set to "NotSpecified" (#937) 2020-03-25 14:53:55 -07:00
Amir Omidi 50a666f794 Allow the arm baseURI to be set dynamically (#920)
* Allow the arm baseURI to be set dynamically

* Defensive programming
2020-03-23 14:41:45 -07:00
Jeff Trimmer 6920c34570 Always Encrypted Azure Key Vault Support (#934)
Add support for running queries that require a decryption key from Azure Key Vault when using Always Encrypted.
2020-03-19 12:48:05 -07:00
abist 9ea076e51d fix correct run status for steps 2020-03-06 14:15:36 -08:00
Kim Santiago 70c5e7b7f9 bump dacfx nuget package (#932) 2020-03-04 12:13:15 -08:00
Charles Gagnon bce387842f Correctly skip intellisense for non-MSSQL language flavors (#910) 2020-03-02 15:39:37 -08:00
Charles Gagnon fcb8142bca Update to use new pipeline build definition (#930)
This should really be combined into a single pipeline file with the build like we do for ADS but for now just fixing this so we can have the releases published again.
2020-03-02 11:41:22 -08:00
Aditya Bist 005457813d fix build breaks (#924) 2020-02-26 12:35:26 -08:00
Amir Omidi a6c206bacd Revert "Fix build error"
This reverts commit f5a6f6f714.
2020-02-26 11:55:28 -08:00
Amir Omidi f5a6f6f714 Fix build error 2020-02-26 11:46:23 -08:00
Alan Ren e407d87fce add missing udf type (#923) 2020-02-25 16:49:06 -08:00
Aditya Bist 7c5b7541cd fix message for agent jobs (#922) 2020-02-25 11:42:53 -08:00
Leila Lali 73fc70fbbc Adding service operations for external languages (#918)
* Added service operations for external languages
2020-02-21 08:52:58 -08:00
Jeff Trimmer 927b0d73ca Enable Always Encrypted enclave connection parameters (#919)
* Enable the enclave connection parameters.

* Update the switch statement to use the enum constants for EnclaveAttestationProtocol

* Update verbiage for Always Encrypted connection options

* Update the argument exception to chose one specific to this connection option

* Add resource logic to resource files.

* Add error checking for when enclave parameters are added and Always Encrypted is set to disabled.

* Add/Update unit tests
2020-02-18 15:33:12 -08:00
Jeff Trimmer 7b102df5a7 Enable column encryption setting (#908)
* Enable the Column Encryption advanced security connection setting and add supporting tests.
2020-01-22 16:02:05 -08:00
Charles Gagnon 1577a0b86f Clean up solution (#912)
- Use global.json to control what version of .NET SDK is used for building so local builds also use the version used for pipeline builds
- Add some missing items to the sln so they are viewable through VS
- Delete extra project file
2020-01-17 07:48:20 -08:00
Charles Gagnon edc49fb629 Bump SMO with fix for external table scripting (#911) 2020-01-17 07:46:35 -08:00
khoiph1 b966bd4a7e latest translations (#903) 2020-01-15 11:26:10 -08:00
Leila Lali 3626d000fd Added service class for machine learning services operations (#906)
* Added service class for server configurations and language extension
2020-01-15 11:21:07 -08:00
Udeesha Gautam 808e8d1d6f Schema compare options update to ensure tests pass
Schema compare options update to ensure tests pass
2020-01-14 20:42:17 -08:00
Udeesha Gautam fe17962ac9 SqlCmd Connect/On Error/Include commands support (#898)
* Initial Investigation

* Working code with include, connect, on error and tests

* Adding some loc strings

* Some cleanup and more tests

* Some dummy change to trigger build

* Adding PR comments

* Addressing PR comments
2020-01-10 17:54:39 -08:00
Charles Gagnon d512c101c0 Add build pipeline and move pipeline files (#901) 2020-01-03 10:49:28 -08:00
Kim Santiago 9373df1b2e Change DacFx operation requests to send result after operation completes instead of after starting (#905) 2020-01-02 15:41:33 -08:00
Kim Santiago 675bf5f13c bump dacfx nuget package (#902) 2019-12-17 14:00:35 -08:00
Amir Omidi b786a14c03 Support ActiveDirectoryPassword authentication (#899) 2019-12-13 16:46:25 -08:00
Charles Gagnon 64d42c6202 Add release pipeline (#897) 2019-12-09 13:51:11 -08:00