Commit Graph

1033 Commits

Author SHA1 Message Date
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
Charles Gagnon
2326ee21a9 Undo direct add of release yaml 2019-12-02 16:04:34 -08:00
Charles Gagnon
faf1d6c32d Set up CD with Azure Pipelines
[skip ci]
2019-12-02 15:47:34 -08:00
Charles Gagnon
314d01739d Fix auto-complete inserting brackets around function names (#895)
* Fix reserved words not to be bracket quoted

* wip

* More fixes

* Better name

* Format files and update test
2019-11-26 17:16:05 -08:00
Karl Burtram
4f749c73cc Use InvariantCulture for log path (#896) 2019-11-26 13:41:45 -08:00
Karl Burtram
427f0c11e8 Bump SMO and SqlClient to pickup Microsoft.Data.SqlClient fixes (#894)
* Revert "Revert to SMO with older SQLClient driver (#889)"

This reverts commit b763abae47.

* Bump SMO and SqlClient
2019-11-22 17:17:21 -08:00
Karl Burtram
e9ac5b7ff5 Log early exceptions to console (#893) 2019-11-21 13:00:15 -08:00
Karl Burtram
b763abae47 Revert to SMO with older SQLClient driver (#889)
* Revert "Update SMO (#875)"

This reverts commit 96593d66e3.

* Revert "Switch Tools Service to new SMO and Microsoft.Data.SqlClient driver (#865)"

This reverts commit 9d140b53f3.

* Bump SMO to 160.1910315.0-preview
2019-11-04 13:00:45 -08:00
aleklj
84c505f647 Hotfix for ads dashboard for sqlondemand (#885)
* Hotfix for ads dashboard for sqlondemand

* Generalizing engine edition functions and adapting tests

* Minor comment and cosmetic fixes

* Adding SqlOnDemand server edition string
2019-10-31 17:35:11 +01:00
Udeesha Gautam
d75edd0dbe Revert "Explicitly erroring out on some failing commands that were not already included (#882)" (#887)
This reverts commit 57b7126ccf.
2019-10-30 14:51:41 -07:00
Kim Santiago
b9faabb704 Fix schema compare exclude behaviour (#884)
* Send back dependencies causing the exclude to fail instead of blocking the call

* Separate AffectedDependences and BlockingDependencies into separate properties

* add named parameters

* separate out include/exclude success cases for clarity
2019-10-25 18:01:33 -07:00
Udeesha Gautam
57b7126ccf Explicitly erroring out on some failing commands that were not already included (#882)
* Excplitly erroring out on some failing commands that was not happening before

* Ensuring the error message goes through without getting converted to different error
2019-10-25 15:41:59 -07:00
BranislavGrbicMDCS
22905c9c13 Hiding programmability folder for sqlOD (#883) 2019-10-25 17:33:00 +02:00
Kim Santiago
e60fc1a16c Schema compare include/exclude changes (#881)
* send back success of include/exclude request

* update dacfx nuget package and use new api to get affected dependencies of include/exclude request

* addressing comments

* rename test

* Addressing comments
2019-10-24 17:11:30 -07:00