Commit Graph

789 Commits

Author SHA1 Message Date
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
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
Aditya Bist
cec2499264 added step status (#604) 2018-04-17 17:02:22 -07:00
Karl Burtram
aacb435cba Add 'UPDATE' to default intellisense keywords list (#602) 2018-04-16 15:33:59 -07:00
Alex Tercete
bd11fd2129 Override GetNodePathName for custom-named table nodes (#601) 2018-04-10 13:30:22 -07:00
Matt Irvine
167948256c Use object names instead of labels in node paths (#600) 2018-04-06 14:36:47 -07:00
Matt Irvine
92456d50aa Expand nodes for findNodes instead of refreshing (#599) 2018-04-06 09:18:37 -07:00
Aditya Bist
2d4918ad83 Agent work (WIP) (#597)
* Initial SQL Agent WIP

* Fix test build break

* wip

* wip2

* additonal SQL Agent history parsing code

* Fix namespace sorting

* Hook up agent\jobs method

* fixed agent service tests

* added job history handler

* Fix broken integration test build

* code review refactoring

* 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

* refactored code

* small refactor

* code review changes

* Feature/agent1 adbist (#592)

* 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

* 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

* added steps to job history

* sort the job history steps

* changed error handling for job action
2018-04-04 17:12:40 -07:00
Karl Burtram
a0024cc522 Return null instead of empty Hover (#598) 2018-04-04 17:08:40 -07:00
Matt Irvine
d19db1b4fe Handle errors during execution as info messages instead of exceptions (#596) 2018-04-03 08:47:44 -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
Matt Irvine
3937ebef38 Include inline functions as table-valued functions in Object Explorer (#594) 2018-03-21 15:48:20 -07:00
Kevin Cunnane
30c4b97f2a Fix batch results with GO N (#587)
- Fixes https://github.com/Microsoft/vscode-mssql/issues/1066
2018-03-21 13:41:58 -07:00
Matt Irvine
2c7de499d1 Create database task helper uses current db instead of default (#584) 2018-03-16 13:37:04 -07:00
Matt Irvine
aaa3513db2 Unexpected request handler errors no longer crash SQL Tools Service (#591)
* Handler errors no longer crash service

* Disable additional flaky test
2018-03-15 14:14:09 -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
Matt Irvine
365fe2282e Support Object Explorer FindNodes request (#589) 2018-03-15 10:47:52 -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
Matt Irvine
0eaf60c93a Detect system connection for OE if database display name is blank (#583) 2018-02-12 11:13:03 -08:00
Leila Lali
c40c740a73 fixed the bug with loading default constraints in oe (#582)
* fixed the bug with loading default constraints in oe
2018-02-09 08:51:41 -08:00
Leila Lali
fc4282b701 fixed the issue with defualt values for options not loaded correctly (#581) 2018-02-06 20:23:23 -05:00
Matt Irvine
efd38be0be Use requested database when determining if a connection is a system db connection (#580) 2018-02-06 15:19:18 -08: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
Anthony Dresser
7b1a88f842 updates backup and restore to have their own prefix, not use diasasterrecovery (#573) 2018-01-16 14:03:35 -08:00
Benjamin Russell
b7cffa3194 Edit Data: Fix to work with tables with triggers (#576)
* Moving logic for adding default values to new rows

* Fixing implementation of script generation to handle default values all around

* Unit tests!

* WIP

* Reworking row create script/command generation to work more cleanly and work on triggered tables

* Addressing some bugs with the create row implementation

* Implementing the trigger table fix for row updates
Some small improvements to the create/update tests.
2018-01-10 14:02:07 -08:00
Leila Lali
4d4e0b1194 The filter for the function is valid for all sql version except for DW (#574) 2018-01-08 09:34:44 -08:00
Matt Irvine
104c484f3a Fix old localization targets (#572) 2018-01-02 17:01:00 -05:00
Leila Lali
0ccc01eda9 fixed a bug with OE connection changed the db name and blocked restore (#570) 2018-01-02 10:57:37 -08:00
Matt Irvine
1c2b44fe74 Mark database OE nodes as leaf nodes if they are unavailable (#569) 2017-12-13 10:58:23 -08:00
Leila Lali
eacc0111f0 Added functions to metadata list result (#568)
* added functions to be included in metadata list result
2017-12-11 15:20:36 -08:00
Leila Lali
dedca05721 fixed the keys filter to support 2012 and 2014 also (#565)
* fixed the keys filter to support 2 all sql versions also
2017-12-11 10:34:26 -08:00