Commit Graph

820 Commits

Author SHA1 Message Date
Kevin Cunnane
a289deded5 Remove serialization service (#661)
- This isn't actually used so is dead code. Would like to clean up before refactoring other code areas.
2018-07-20 14:18:19 -07:00
Karl Burtram
a6721bfae5 Fix null ref creating Agent Job with no description (#659) 2018-07-17 18:03:59 -07:00
Madeline MacDonald
ec9d51ede1 Improving profiler error messages (#658)
* Improving error messages

* Fixing stopping error message

* Cleaning up repeat error messages

* Changing error names
2018-07-16 18:22:12 -07:00
Karl Burtram
b8c31e1138 Fix Agent Job rename (#657) 2018-07-16 13:18:47 -07:00
Aditya Bist
c0e5225187 added handler to fetch credentials (#656)
* added handler to fetch credentials

* added credentials to security service rather than agent service
2018-07-13 21:43:59 -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
Chirag Rupani
77a08b4bdd Added support for specifying delimiter while exporting query results as CSV (#653) 2018-07-12 10:39:23 -07:00
Kevin Cunnane
ebaec9c319 Fix GUID parse error breaking some on-prem connections (#654)
* Fix GUID parse error breaking on-prem connections
- Fixes https://github.com/Microsoft/sqlopsstudio/issues/1896
- Verified this is only used in retry logic on Azure, so the fact it's failing on-prem isn't relevant. It's still unclear why in some cases the session ID is non-null but not a GUID.

* Added back logging if parse of the GUID fails
2018-07-11 09:27:41 -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
Aditya Bist
b71f4fec27 Feature/new step (#645)
* added support for t-sql parse

* added syntax parse to language service instead

* fixed misleading error

* code review comments

* fixed run state logic
2018-06-26 19:11:18 -07:00
Aditya Bist
7c7395fce0 Added support for T-SQL parse (#642)
* added support for t-sql parse

* added syntax parse to language service instead

* fixed misleading error

* code review comments
2018-06-26 14:19:05 -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
Madeline MacDonald
cc2ca4cad3 Support profiling on Azure instances (#643)
* Support profiling Azure instances

* Spacing fixes

* Localizing error message for azure DB profiling
2018-06-26 10:55:30 -07:00
Madeline MacDonald
838a7e4fab Profiler notifications (#640)
* Initial changes for adding lost event notifications

* Handling polling errors by notifying listeners

* Restructuring lost events & testing

* Minor fixes to tests

* Add back in filtering

* Changing how lost events are found

* Cleaning up tests
2018-06-18 17:43:22 -07:00
Matt Irvine
f244d307e2 Work around edit data trailing comment bug (#641)
* Work around edit data trailing comment bug

* Use Environment.NewLine
2018-06-18 20:39:25 -04:00
Leila Lali
7322854c7b fixed the bug with view triggers in object explorer (#639) 2018-06-18 11:36:24 -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
Madeline MacDonald
f53e532225 Adding pausing functionality for the profiler (#634)
* Dropping profiler session on stop request

* Changes to IXEventSession to simplify dropping sessions

* Stop sessions instead of dropping, disable flaky tests

* Initial framework for profiler pause requests

* Restructuring profiler session monitoring

* Fixes to session monitor

* Testing for pause functionality

* Fixing comments from PR

* Changes to testing

* Commenting out flaky test

* Deleting leftover testing code
2018-06-13 17:55:01 -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
Madeline MacDonald
35b19320d4 Stopping sessions when handling stop requests (#627)
* Dropping profiler session on stop request

* Changes to IXEventSession to simplify dropping sessions

* Stop sessions instead of dropping, disable flaky tests
2018-06-05 13:48:55 -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
Madeline MacDonald
f5efe18e1b Updating profiler old event filtering and unit tests (#624) 2018-05-29 17:08:59 -07:00
Madeline MacDonald
c87b369426 Changing polling on startup to avoid profiler freezing (#620) 2018-05-24 18:00:12 -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
Matt Irvine
6f2c33c41c Catch parser errors to prevent crashing (#617) 2018-05-15 09:48:17 -07:00
Anthony Dresser
8f04a38858 add auto detect json based on first row of each column (#571) 2018-05-09 11:00:06 -07:00
Alan Ren
45ca7fc071 SMO Refresh with SSMS 17.7 binaries (#616) 2018-05-08 13:35:58 -07:00
Cory Rivera
f57108f198 Add flag so that full column schema is only fetched with EditData queries. (#615) 2018-05-03 13:38:08 -07:00
Matt Irvine
c4356345f7 Fix crash handling messages when selection is null (#614) 2018-05-02 16:26:49 -07:00
Leila Lali
5baa3bc18a fixed the bug with editing more than one row should fail (#613)
* fixed the bug with editing more than one row should fail
2018-05-02 13:51:07 -07:00
Cory Rivera
c8263d8330 Add localization updates for EditData query changes. (#612) 2018-05-02 11:15:29 -07:00
Matt Irvine
b81ba929ba Only register message handler once for GO N queries (#611) 2018-05-02 10:16:56 -07:00
Cory Rivera
7415c529f3 Add support for using generic SQL queries to filter EditData rows. (#605) 2018-05-02 10:13:47 -07:00
Aditya Bist
5a55e8b35c Feature/agent finishes (#606)
* added step status

* made job history request faster and efficient

* cr comments
2018-05-01 17:41:42 -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
Kevin Cunnane
e02592460b Reduce unit test time by 1 minute (#607)
ObjectExplorerTests were adding 1 minute to total test time due to
unnecessarily trying and failing to connect to a non-existent server.
Mocking out this call saves 1minute, reducing test time in half
2018-04-30 22:15:38 -07:00
Cory Rivera
dca33d768d Bump System.Data.SqlClient package version used in SqlTools projects. (#608) 2018-04-30 16:57:07 -07:00