Commit Graph
100 Commits
Author SHA1 Message Date
Karl Burtram 5ad23552b4 Remove SQL Client patch from build (#977) 2020-06-15 10:40:59 -07:00
Karl Burtram 28e479f239 Bump to latest .Net Core SDK 3.1.301 (#974) 2020-06-12 12:58:38 -07:00
Karl Burtram e8e699dbd8 Revert "-Removed forced master condition (#957)" (#972)
This reverts commit 69b93a05f2.
2020-06-09 13:42:29 -07: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
Karl Burtram 43abb8def2 Restrict settings to known values (#821) 2019-06-04 13:27:18 -07:00
Karl Burtram 151a2de625 Query execution settings support (#812)
* WIP

* WIP 3

* WIP 3

* Additional query settings updates

* Add settings tets

* Address code review feeback

* Updates from testing
2019-05-16 15:21:17 -07:00
Karl Burtram e261d77bb8 Fix "Save to CSV" CodePages assembly version mismatch (#790)
* Fix "Save to CSV" CodePages assembly version mismatch

* Add comment to delete packagereference once moving off preview version
2019-03-26 18:34:28 -07:00
Karl Burtram e41b9bcf51 Make "--enable-logging" an ignored option for mssql back-compat (#788) 2019-03-24 17:54:29 -07:00
Karl Burtram eaaff8b8a1 Remove Peek Definition error popup (#786)
* Remove Peek Definition error popup

* Fix broken test case

* Fix bug
2019-03-22 16:52:45 -07:00
Karl Burtram 022282800a Move managed parser into its own project (test code coverage) (#774)
* Created New ManagedBatchParser project in .NetStandard

* Addressing PR Comments

* Resolve 'No Repository' warning.

* Move batch parser tests to integrations test project

* Fix SLN file
2019-02-07 20:13:03 -08:00
Karl Burtram 0fd98df79b Update SqlClient to 4.6.0 (#761) 2019-01-07 16:22:35 -08:00
Karl Burtram a1946edca3 Rebuild SqlClient patch bits for .Net Core 2.2 RTW (#754) 2018-12-04 16:43:41 -08:00
Karl Burtram 27bcb96597 Enable scripting for SQL Server 2019 (#751) 2018-11-29 15:56:06 -08:00
Karl Burtram 7a47db8806 Revert ""I have changed access modifier from Internal to Public . These classes are being refered outside. (#742)" (#747)
This reverts commit a54eff11b6.
2018-11-26 13:03:28 -08:00
Karl Burtram 3c915a92f6 Send a Object Explorer session disconnect message on socket exceptions (#739)
* WIP

* WIP 2

* Send disconnect message o binding exception

* Add a try catch around the binding queue error handler
2018-11-16 12:07:05 -08:00
Karl Burtram 6153279840 Update broken BindingQueue test from previous commit (#725) 2018-10-31 15:24:02 -07:00
Karl Burtram adf10ece87 Wait for queued tasks to complete before processing subsequent tasks (#724) 2018-10-31 09:48:57 -07:00
Karl Burtram df023da0ba Revert "Rollback SMO to latest 14.0 version (#722)" (#723)
This reverts commit 407e9feb40.
2018-10-30 17:20:25 -07:00
Karl Burtram 407e9feb40 Rollback SMO to latest 14.0 version (#722)
* Rollback SMO to latest 14.0 version

* Add back nunit package reference
2018-10-30 12:13:23 -07:00
Karl Burtram 2391759477 Update SqlClient patch to set KeepAlive retry interval to 1 second (#719) 2018-10-26 15:33:31 -07:00
Karl Burtram 2b6eeb19ab Update references to use non preview references (#718) 2018-10-24 17:23:23 -07:00
Karl Burtram 8460ce023d Only reopen connection on exception if it's closed (#717) 2018-10-24 15:55:27 -07:00
Karl Burtram 5ab904dd1c Private KeepAlive .Net Core 2.2 macOS binaries (#716) 2018-10-22 16:44:15 -07:00
Karl Burtram a241a4510b Bump .Net Core SDK to 2.2.100 Preview (#715)
* Bump .Net Core SDK to 2.2

* Update travis file

* Try to fix broken AppVeyor code coverage
2018-10-22 15:54:17 -07:00
Karl Burtram 7c1710d396 Reopen connections prior to creating query execution data readers (#704)
* Reopen connections prior to creating query execution data readers

* Reopen connection if an exception was rasied executing the query

* Fix unit tests
2018-10-08 12:41:04 -07:00
Karl Burtram d31ce985ce Check that connection is open in ReliableConnectionHelperTest (#694) 2018-09-25 14:23:29 -07:00
Karl Burtram 066be2f46f Revert "Switch to the unified SMO NuGet" (#686)
* Revert "fixed perf tests and added more scenarios (#683)"

This reverts commit aa2b30f486.

* Revert "Switch to the unified SMO NuGet so all binaries are strong named and signed. (#682)"

This reverts commit 69961992bb.
2018-09-04 11:01:44 -07:00
Karl Burtram 4ac02eab01 Add back XEventDBScopedEnum to fix Profiler in Azure (#674) 2018-08-03 03:16:09 -04:00
Karl Burtram e8360ef68e Remove unneeded checked in Nuget package (#673) 2018-08-01 20:43:11 -04:00
Karl Burtram 290b242015 Add back missing XEventEnum dependency (#672) 2018-08-01 20:35:10 -04:00
Karl Burtram 38cf5414ce Add IncludePassword parameter to Get Connection String request (#670)
* Add IncludePassword flag to get connection string method

* Override connection application name

* Fix typo

* Fix test break

* Use ****** as password placeholder
2018-08-01 15:16:01 -04:00
Karl Burtram 7c96ceb501 Get Connection String request handler (#665) 2018-07-25 15:03:00 -04:00
Karl Burtram a6721bfae5 Fix null ref creating Agent Job with no description (#659) 2018-07-17 18:03:59 -07:00
Karl Burtram b8c31e1138 Fix Agent Job rename (#657) 2018-07-16 13:18:47 -07:00
Karl Burtram 626ce35440 Add Description property to Agent Job request (#655)
* Add Description property to Agent Job request

* Fix whitespace
2018-07-13 09:17:33 -07:00
Karl Burtram 4ac0ae87ee Additional edit alert updates (#652) 2018-07-09 10:48:26 -07:00
Karl Burtram 5d267303ae Fix a couple bugs with Alert update (#651)
* Alert bugs WIP

* Alert updates

* Convert tabs to spaces
2018-07-06 08:57:07 -07:00
Karl Burtram 21cccd7eaa Fix a couple bugs in proxy and alert handlers (#650) 2018-07-05 10:29:33 -07:00
Karl Burtram d86a1ce1d3 Add Name field to AlertInfo (#649) 2018-06-30 11:16:54 -07:00
Karl Burtram 704b25f082 Add Get Alerts and Get Operators handlers (#648)
* Stage changes

* stage changes 2

* WIP 3

* Add Get Alerts and Get Operators handlers

* Add Get Proxy request handler
2018-06-28 21:12:10 -07:00
Karl Burtram 3f8ddc6c5f Remove unused code (#647) 2018-06-27 17:13:20 -07:00
Karl Burtram c6906c3b66 Add Get Schedules request handler (#646) 2018-06-27 08:25:19 -07:00
Karl Burtram 539d579a9b Add Agent Job Defaults request handler (#644)
* Add Agent Job Defaults request handler

* Fix a couple bugs
2018-06-26 13:57:47 -07:00
Karl Burtram 29fb715ad5 Add initial schedule request handlers (#638) 2018-06-18 10:18:23 -07:00
Karl Burtram d2cc376b87 Agent Proxy and Credential request handlers (#637)
* Agent Proxy account WIP

* Fixup Credential create\update\delete handlers

* Use current user for test credential

* Cleanup and delete code

* Convert tabs to spaces
2018-06-14 11:55:38 -07:00
Karl Burtram aff0f1afae Drop job step and Create\Update alert handlers (#636)
* Add Delete Job Step implementation

* Update create\update agent alert handlers to use execution handler

* Cleanup create/update/delete operator request handlers
2018-06-13 17:49:11 -07:00
Karl Burtram 8dda34c95a Add Agent Job and Job Step request handlers (#635)
* Stage changes

* Fix update job request handler

* WIP

* Additional agent handler updates

* Setup agent job step create test

* Fix Step update handler
2018-06-13 10:02:25 -07:00
Karl Burtram 7c1f78a678 Update Agent contracts to match SQL Ops definitons (#633)
* WIP 2

* Update contracts to match SQL Ops definitons
2018-06-11 16:32:46 -07:00
Karl Burtram 372ca0cbe8 Agent configuration support classes (WIP) (#632)
* Additional SQL Agent config classes (WIP)

* Fix build breaks

* Clean up job step code

* Add VS Code build files

* Move changes to other machine

* More of the action execution classes

* More execution processing refactors

* More refactoring

* Disable tests for WIP merge

* Fix break on Release config

* Stage changes to other machine.
2018-06-07 12:08:24 -07:00
Karl Burtram b41c19bd25 Update TravisCI to use .Net Core 2.1.300 GA release (#626)
* Update TravisCI to use .Net Core 2.1.300 GA

* Update apt-get package name
2018-06-04 14:23:41 -07:00
Karl Burtram 3b82033b12 Add VS Code build files (#625) 2018-06-04 12:36:38 -07:00
Karl Burtram 4f214f43e9 SQL Agent configuration for Operators, Alerts and Proxies (WIP) (#621)
* Initial non-refactored SQL Agent alert classes (WIP)

* Move agent classes into subdirectories

* Refactor the agent config code a bit more

* Add more implementation for handlers

* Add more code to the create alert handler

* Clean up agent alert class

* Clean up alert methods a bit

* Initial Operator contracts

* Additonal SQL Agent config changes

* More Proxy config cleanup

* Cleanup AgentProxy class

* Additional cleanups

* Run SRGen

* Add security service to create credential objects
2018-05-30 08:58:02 -07:00
Karl Burtram 34275c6a6d Fix Edit Data exceptions on spatial types (#619)
* Fix Edit Data exceptions on spatial types

* One more code convention cleanup.
2018-05-18 15:54:30 -07:00
Karl Burtram 5cfb4fa9dc Add between to keyword completion list (#618) 2018-05-15 12:06:11 -07:00
Karl Burtram 70724b9167 Update TravisCI build to use Net Core SDK 2.1.300 preview (#610) 2018-05-01 16:22:02 -07:00
Karl Burtram e73a8ddca6 Update projects for netcoreapp2.1 SDK (#603)
* Update projects for netcoreapp2.1 SDK

* Fix whitespace

* Fix issue in Nuget config file
2018-04-23 17:06:52 -07:00
Karl Burtram aacb435cba Add 'UPDATE' to default intellisense keywords list (#602) 2018-04-16 15:33:59 -07:00
Karl Burtram a0024cc522 Return null instead of empty Hover (#598) 2018-04-04 17:08:40 -07:00
Karl Burtram 376cc21f12 Initial SQL Agent merge for March release (#595)
* Initial SQL Agent WIP

* Fix test build break

* wip

* wip2

* additonal SQL Agent history parsing code

* Fix namespace sorting

* Hook up agent\jobs method

* Fix broken integration test build

* Added handler for job history request (#586)

* fixed agent service tests

* added job history handler

* code review refactoring

* Turn off another failing test

* Disable failing test

* Feature/agent1 adbist (#592)

* fixed agent service tests

* added job history handler

* code review refactoring

* refactored code

* small refactor

* code review changes

* Remove unused code

* Remove unused test file

* Feature/agent1 adbist (#593)

* fixed agent service tests

* added job history handler

* code review refactoring

* refactored code

* small refactor

* code review changes

* changed constant casing

* added handler for job actions

* Reenable disabled test

* cleaned up code
2018-03-23 13:25:37 -07:00
Karl Burtram 62a519cab5 Enable docker container support in VSO integration tests (#590)
* Add container scripts for VSO builds

* Remove relative path from kubectl.exe

* Use a variable and iex for kubectl path

* Use envvar for working dir path

* Try agent directory

* Update kubeconfig path

* Write connection settings json in build script

* Output logging

* remove _work prefix

* End end point instead of service name

* Disable failing tests

* Change service name prefix so it's different than SSMS containers
2018-03-15 12:48:39 -07:00
Karl Burtram d36efb578c Disabling test that has failed in the CI builds on-and-off the past few weeks (#588) 2018-03-13 10:11:14 -07:00
Karl Burtram f18c63940e Fix test build break (#579) 2018-02-01 19:00:06 -05:00
Karl Burtram 0121531bf6 Bugs fixes so XEvent profiler isn't broken (#577)
* Fix a few issues with profiler method handlers

* Filter out profiler polling events

* Add a unit test for profiler events

* Add method comment headers
2018-01-17 18:21:40 -08:00
Karl Burtram 7ccf78aec1 Add group id and db display name to OE connection queue key (#531) 2017-10-26 10:56:22 -07:00
Karl Burtram 4d04bff810 Revert "Scripting should await result of requestcontext.sendresult in case it errors" (#526)
* Revert "Add rowcount check so that no results error is sent for a query where no rows are returned (#525)"

This reverts commit 3392f93a2e.

* Revert "Add unknown status for DB Nodes whose status is not known (#524)"

This reverts commit 3d7b87eca2.

* Revert "Should await result of requestcontext.sendresult in case it errors (#520)"

This reverts commit caf196ea31.
2017-10-25 13:34:45 -07:00
Karl Burtram 328fb30db2 Switch back to Tasks in binding queue (#510) 2017-10-19 16:05:24 -07:00
Karl Burtram c2b2d16b6c Reduce OE timeout to 45 seconds (#509) 2017-10-19 15:42:37 -07:00
Karl Burtram 14e3b3a3f6 Increase OE timeout to 60 seconds (#492) 2017-10-12 16:56:20 -07:00
Karl Burtram 4945aead96 Increase parsing thread stack size to avoid stack overflow (#486)
* Increase parsing thread stack size to avoid stack overflow

* Fix extra space

* Remove extra spaces
2017-10-10 16:33:04 -07:00
Karl Burtram 11cb154d6d Add Database status to OE tree node (#485) 2017-10-10 16:32:54 -07:00
Karl Burtram 9091df8f62 Fix some issues with Script As Select (#474) 2017-10-03 14:39:29 -07:00
Karl Burtram 60aad9cf7e Allow connections on non-default port (#462)
* Allow custom port

* Update unit tests for port property
2017-09-21 08:26:13 -07:00
Karl Burtram 4fde186970 Turn off connection pooling to avoid locking (#460)
-- Ignoring the failed profiler test in the CI build since Matt is disabling in his pending PR.

* Turn off connection pool for internal SqlClient connections to avoid locking

* Add additional comments
2017-09-19 10:03:55 -07:00
Karl Burtram 84ea045572 XEvent Profiler initial event handlers (#456)
* Bump SMO to 140.2.5 to pick-up private XEvent binaries

* Pick up SMO binaries from the build lab

* Add ProfilerService class placeholder

* Update SMO nuget package to include DB Scoped XEvents

* Stage changes

* Stage changes

* Update SMO to use RTM dependencies and remove separate SqlScript package

* Stage changes

* Iterate on profiler service

* Fix post-merge break in localization

* More refactoring

* Continue iterating on profiler

* Add test profiler listener

* Address a couple of the code review feedback

* Fix AppVeyor build break

* Use self-cleaning test file
2017-09-12 14:08:50 -07:00
Karl Burtram 4e9ff42dfc Update to SMO built with .Net 2.0 RTM SDK (#437)
* Pick up .Net 2 RTM SMO dependencies

* Add missing NUPKG files

* Remove preview framework nuget packages
2017-08-16 16:08:03 -07:00
Karl Burtram d6c6700a3a Change Integrated Auth to Windows Authentication (#432) 2017-08-14 14:05:43 -07:00
Karl Burtram 354d702d6f Update SMO to pickup latest fixes (#419) 2017-07-19 13:29:42 -07:00
Karl Burtram 18977a89dc Allow empty query string text (#415)
* Allow empty query string text

* Remove test that is no longer valid

* Remove test that is no longer valid
2017-07-15 10:14:32 -07:00
Karl Burtram cfa78bbc3b Execute SQL statement at cursor location (#412)
* Stage changes to other machine

* Parse sql statement from script document

* Fix a few typos and minor changes

* Fix bug
2017-07-13 20:33:05 -07:00
Karl Burtram 005fc9e4df Add try/catch blocks for request handlers (#408)
* Add try/catch for request handlers

* Fix test break
2017-07-13 07:18:34 -07:00
Karl Burtram dd8f600bd4 Fix srgen build script (#404) 2017-07-10 16:15:05 -07:00
Karl Burtram 156ea5de7b Remove PackageTargetFallback to fix restore break (#402) 2017-07-10 15:11:16 -07:00
Karl Burtram bcd20af05e Turn off tests failing in code coverage runs (#401) 2017-07-05 16:56:36 -07:00
Karl Burtram 5dcc82c3d6 Upgrade to net core 2.0 (#356)
* Initial .net core 2.0 conversion

* Convert a few more projects to .net core 2.0

* Convert a few more projects to .net core 2.0

* Fix build.cmd errors

* Add mising nuget package

* Remove dead code

* Add checked in references to workaround nuget package issues

* Update SLN file to refer to correct csproj files

* Rename applications to workaround .net core tooling bug

* Update nuget package with SQL Parser changes

* Add PreserveCompliationContext to avoid MEF bug

* Update smo version to pickup .net core 2 changes

* Pickup latest SMO changes to fix merge break

* Actually pickup correct SMO binaries

* Add support for SLES 12.2

* Fix break running archiving on Linux

* Revert "Add support for SLES 12.2"

This reverts commit 95cdb6d0e35a425be5c0081345d214079cbdc3db.

* Update to latest SMO build

* Install .Net Core 2 during install phase

* Move .Net Core install

* Try to reference dotnet.exe directly

* Fix code coverage script for CSPROJ instead of project.json

* Turn off test that is unreliable in AppVeyor builds.

* Fix appveyor.yml line feed.

* Turn off another flaky test failing in AppVeyor
2017-07-05 16:18:14 -07:00
Karl Burtram 7ce7ec22de Fix DMP message name to use correct casing (#386) 2017-06-16 15:38:47 -07:00
Karl Burtram 79350e10f9 Couple workarounds for OE refresh issues on RHEL (#365) 2017-05-29 16:36:55 -07:00
Karl Burtram 8e7fac26e5 Fix nullref in backup from not providing SFC XML innerDoc (#364) 2017-05-27 13:17:40 -07:00
Karl Burtram 3334b76ab3 Disable tests failing in code coverage runs (#351) 2017-05-15 19:12:02 -07:00
Karl Burtram dc3cd9ea59 Create DB work in-progress (#350)
* Stage changes to other machine

* Stage changes

* Update SMO to fix SMO missing Login bug on macOS
2017-05-15 18:48:04 -07:00
Karl Burtram b26b7674b3 Add EXCEPT to default keyword completion list (#349) 2017-05-12 22:54:55 -07:00
Karl Burtram ed978fe5b7 Fix create db resource strings (#348)
* Hook up SMO call into create db handler

* Clean-up resource strings

* Few additional code clean-ups
2017-05-12 07:53:45 -07:00
Karl Burtram 848cfadf9a Delete more unneeded sql manager UI code (#345) 2017-05-11 17:54:52 -07:00
Karl Burtram c131d29a5e Remove unused code and fix test break (#344) 2017-05-11 17:14:57 -07:00
Karl Burtram c9e2963ca0 Additional create db options (#342)
* Refactor unsafe block

* Stage changes

* Add additional database prototype metadata

* Fix nullref bug

* Read database info properties
2017-05-11 09:44:57 -07:00
Karl Burtram 2e9843cec1 Merge create db work in progress (#341)
* Port over initial block of create db implementation

* Test case placeholder

* In-progress work

* Stage changes to other machine

* Add database prototype strings

* Stage changes to other machine

* Stage changes

* Hook the database info into capabilities discovery

* Stage changes

* Update SMO to latest from ssms_main

* Various clean-ups

* Update localization files
2017-05-09 17:56:32 -07:00
Karl Burtram 1a16101381 Initial admin and DR services. (#329)
* Add initial services for admin, tasks, and DR

* Fix up some of the contract interfaces

* Make fields public to allow Json.Net to work

* Fix a couple issues in backup contracts
2017-04-26 10:29:15 -07:00
Karl Burtram 06c106b18a Show systables for master db (#309) 2017-04-06 19:25:23 +00:00