Mitchell Sternke
b7f88084c0
Added initial tests for the connection manager's intellisense cache
2016-08-16 12:21:42 -07:00
Benjamin Russell
a2983539a7
Merge branch 'feature/queryExecutionV1' into dev
2016-08-10 16:55:22 -07:00
Benjamin Russell
793ad383c1
Small bug fix for unit tests
2016-08-10 16:54:56 -07:00
Benjamin Russell
20e465c528
Merge pull request #15 from Microsoft/feature/queryExecutionV1
...
Query Execution v1
2016-08-10 16:44:34 -07:00
Benjamin Russell
68c25f506e
Adding changes as requested for code review
2016-08-10 16:40:36 -07:00
Benjamin Russell
8167330e16
Finishing up unit tests
2016-08-10 15:14:56 -07:00
Benjamin Russell
430860dd5d
Merge branch 'dev' into feature/queryExecutionV1
2016-08-09 11:15:22 -07:00
Benjamin Russell
d783fd505b
Second batch of unit tests
...
Making slight changes to RequestContext to make it easier to mock
2016-08-09 11:10:54 -07:00
Mitchell Sternke
1b339bec17
Merge pull request #14 from Microsoft/feature/connectUsingService
...
Feature/connect using service
2016-08-09 10:18:33 -07:00
Mitchell Sternke
f3231fba56
Addressing PR 14 feedback
2016-08-09 10:17:29 -07:00
Benjamin Russell
9f371cd0bc
Unit tests, part 1
2016-08-05 18:38:21 -07:00
Mitchell Sternke
5c03ba336d
Added disconnect and connect when already connected service code
2016-08-05 17:46:16 -07:00
Benjamin Russell
a5582889bf
Forgot to make corresponding changes in other files
2016-08-05 15:11:58 -07:00
Benjamin Russell
a06003c966
Another change for @anthonydresser
2016-08-05 15:08:28 -07:00
Benjamin Russell
368a98c8e0
Quick fix for @anthonydresser
2016-08-05 14:55:59 -07:00
Benjamin Russell
315c1fd7b0
Merge branch 'feature/connectUsingService' into feature/queryExecutionV1
2016-08-05 11:22:52 -07:00
Benjamin Russell
0740e81dab
Stub files for tests for query execution
2016-08-05 11:11:50 -07:00
Mitchell Sternke
8fba793a46
Incremental checkin of connection work
2016-08-05 10:56:51 -07:00
Benjamin Russell
05e4c4f3a9
Final changes before V1 testing
2016-08-04 17:20:52 -07:00
Benjamin Russell
719a0f091a
Merge branch 'feature/connectUsingService' into feature/queryExecutionV1
2016-08-04 16:11:48 -07:00
Benjamin Russell
3ba22c94ac
WIP for QueryExecution, mostly complete
2016-08-04 14:48:58 -07:00
Mitchell Sternke
5249924b12
Fixed a few minor errors from the last commit
2016-08-04 14:29:57 -07:00
Mitchell Sternke
6ca893a122
Merge branch 'feature/connectUsingService' of https://github.com/Microsoft/sqltoolsservice into feature/connectUsingService
2016-08-04 14:10:00 -07:00
Kevin Cunnane
402e25f77d
Per editor Connect support v0.1
...
- Basic plumbing to support connections for a URI rather than global connections. Typical use case is editor requests to connect, but this isn't the only possible use
- Tests pass but need updating to cover new functionality, and re-enable AutoCompleteService test once there is a ServiceDiscovery component that registers and returns services. This is necessary as .Instance won't allow for dependency injection and proper testing.
2016-08-04 14:01:17 -07:00
Benjamin Russell
1618b77790
Merge branch 'dev' into feature/queryExecutionV1
2016-08-03 15:42:26 -07:00
Benjamin Russell
d191b0483c
Small bugfix after the previous merge
...
My mistake, didn't pay enough attention when performing the refactoring as
requested in the last code review.
2016-08-03 15:41:11 -07:00
Benjamin Russell
92c1481f14
Merge branch 'dev' into feature/queryExecutionV1
2016-08-03 15:00:01 -07:00
Benjamin Russell
a751e30a32
Merge pull request #13 from Microsoft/feature/queryExecutionV1_cr
...
ConnectionService ISqlConnection -> DbConnection
2016-08-03 14:56:20 -07:00
Benjamin Russell
13fd97ef90
Fixing issues as per suggestions from @kevcunnane
2016-08-03 14:51:17 -07:00
Benjamin Russell
da3d45a3e7
WIP for query execution
2016-08-03 14:27:53 -07:00
Benjamin Russell
f1eebd989a
Adding other global files as solution items
2016-08-03 14:27:09 -07:00
Kevin Cunnane
a40180bcb1
Per editor Connect support v0.1
...
- Basic plumbing to support connections for a URI rather than global connections. Typical use case is editor requests to connect, but this isn't the only possible use
- Tests pass but need updating to cover new functionality, and re-enable AutoCompleteService test once there is a ServiceDiscovery component that registers and returns services. This is necessary as .Instance won't allow for dependency injection and proper testing.
2016-08-02 18:55:25 -07:00
Benjamin Russell
b2f44031b7
Switching from ISqlConnection to DbConnection
...
This is a fairly minor change that will save tons of time as we develop
this service. The DbConnection and associated Db* abstract classes
ask for synchronous versions of the code and allow the addition of async
code. The SqlClient implementation already implements Db* abstract
classes, so we can piggy back off that for our dependency injection layer.
Tests and existing code has been updated to handle the change, as well
2016-08-02 18:19:51 -07:00
Benjamin Russell
f40aa31c67
Merge branch 'dev' into feature/queryExecutionV1
...
Also adding a fancy new mocked out reader for mocking db calls.
2016-08-01 14:27:57 -07:00
Benjamin Russell
2df5ebfdb8
Merge pull request #12 from Microsoft/feature/fixProjectNames
...
Feature/fix project names
2016-07-29 18:42:36 -07:00
Benjamin Russell
d53c0d3f45
Correcting InternalsVisibleTo attribute
2016-07-29 17:14:40 -07:00
Benjamin Russell
e83d2704b9
Fixing project names to fix VS bugs
...
For whatever reason, Visual Studio throws a fit if a referenced project has a name
and the folder name (which is used to reference the project) is different than that name.
To solve this issue, I've renamed all the projects and folders to match their project
names as stated in the project.json.
2016-07-29 16:55:44 -07:00
Benjamin Russell
d78c1947e0
Stubbing out connectionservice with guid id
2016-07-29 12:52:24 -07:00
Kevin Cunnane
bb0cd461b6
Merge pull request #11 from Microsoft/dev_connmgr
...
Add error handling to Connect command
2016-07-28 16:57:27 -07:00
Kevin Cunnane
5c9c3699b9
Remove unnecessary whitespace
2016-07-28 12:52:08 -07:00
Kevin Cunnane
f4c6589681
Add error handling to Connect command
...
- Handles errors when connecting
- Adds method to capture the settings so the connection service can use these. Expect to read settings from here (and possible connections) in the future
- Minor rename to the test namespace to be consistent with refactor
2016-07-27 18:38:18 -07:00
Benjamin Russell
bc0383b6e6
Expanding SqlConnection to be more like DBConnection
...
Also shifting the Connect operation to be async
2016-07-27 18:03:55 -07:00
Benjamin Russell
2ea5cf3457
Quick refactor of the connection service
...
Refactoring to match the layout of the other services.
2016-07-27 16:45:01 -07:00
Karl Burtram
ad008db4f5
Merge pull request #10 from Microsoft/dev_langservice
...
Fix project names and add internalsvisible for tests
2016-07-26 11:45:56 -07:00
Karl Burtram
818c9fa47f
Fix breaks introduced in the refactoring merge.
2016-07-26 11:43:55 -07:00
Karl Burtram
7ff6cc34a0
Fix binary names and add internalsvisible flag for tests
2016-07-25 18:19:20 -07:00
Karl Burtram
ee2dc04e39
Fix merge build breaks
2016-07-25 18:10:42 -07:00
Karl Burtram
69eea577af
Merge branch 'dev' into dev_langservice
2016-07-25 17:51:23 -07:00
Benjamin Russell
e2ac321a2f
Merge pull request #8 from Microsoft/feature/componentizeServiceHost
...
Feature/componentize service host
2016-07-25 16:35:39 -07:00
Benjamin Russell
b1f0453341
Merge branch 'dev' into feature/componentizeServiceHost
2016-07-25 16:34:51 -07:00