* Create new endpoint consolidating previous 2
* Clarify comment
* Removes two separate endpoints to get and generate
* Rename classes for get context request
* Update src/Microsoft.SqlTools.ServiceLayer/Metadata/MetadataService.cs
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Update src/Microsoft.SqlTools.ServiceLayer/Metadata/MetadataService.cs
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Code review changes
* Throw exception and localize ex messages
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Add contract to get all metadata request
* Add new metadata service request endpoint
* Adds factory to make database server scripts
* Minor clean up
* Corrects filename typo
* Cleans up SmoScripterFactory
* Stubs out metadata cacher
* Method clean up
* Add writing and reading to script cache
* Cleans up request endpoint flow
* Add missing edge case when cache isn't empty
* Remove unused code
* Remove unneeded null check
* Read to end of stream
* Passes correct parameter to write cache
* Adds integration test to get all scripts
* Renames new request endpoint
* Rename request class to AllServerMetadataRequest
* Renames server metadata request endpoints
* Refresh cache and adjusts return obj type
* Clean up
* Assert table script generation
* Minor cache refresh adjustment
* Ensure test create table script is accurate
* Code review changes
* Additional code review changes
* Swap logger write for logger warning
* Renames generate request endpoint methods
* Remove unused using statement
* Remove unnecessary create table check
* Check if previous script file is valid for reuse
* Pascal case for method name
* Code review changes
* Fix PR issues
* Update doc comment
* Fixes tests after code review changes
* Fix failing int. test due to 30 day temp file expiry
* Generalize type names and update request endpoint
* Updates doc comment.
* Remove 'database' from type and method names
* Code review changes
* Code review changes
* Issues with background thread.
* Remove thread sleep for test reliability
* Remove reflection from int. tests
* init
* More fixes
* moving filters from contracts to core OE classes
* Fixing some tests
* More fixes and added doc comments
* Fixing tests
* Quick refactoring
* more cleanups
* cleanup
* Adding stateless OE
* Adding null checks
* Making group by schema independent of settings
* Fixing tests
* Removing node info from core oe code
* Fixing tests and moving OE code to its own project
* moving oe to own project
* Removing changes to Kusto
* Removing azure access token from service layer
* Fixing project description and title
* Fixing file name typo
* Removing unused strings from service layer
* Fixing localized strings in tests
Adding comments to stateless OE
* Fixing stuff
* Update src/Microsoft.SqlTools.SqlCore/Microsoft.SqlTools.SqlCore.csproj
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Fixing project nesting
* Fixing more stuff and removing OE class
* Cleanup
* Code cleanup
* fixing oe service provider
* Fixing test name
* Remove using
* Update src/Microsoft.SqlTools.SqlCore/ObjectExplorer/SmoModel/SmoQueryContext.cs
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Fixing syntax error
* Adding project to locproject
* Fixing stuff
* Fixing errors
* sorting usings
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Remove xunit dependency from testdriver
* swap expected/actual as needed
* Convert Test.Common to nunit
* port hosting unit tests to nunit
* port batchparser integration tests to nunit
* port testdriver.tests to nunit
* fix target to copy dependency
* port servicelayer unittests to nunit
* more unit test fixes
* port integration tests to nunit
* fix test method type
* try using latest windows build for PRs
* reduce test memory use
* Update form .NET Core 2.2 to .NET Core 3.1
- Global variable for projects
- Change TFMs from netcoreapp2.2 to netcoreapp3.1
- Update global.json
- Update build.json
- Remove direct framework cake TestCore task
- Update travis dotnet version
- Update azure pipline file
- Update vscode launch.json
* Add Central Package Management
* Fix xUnit Breaking Change for MemberData type
* Fix xUnit breaking change for duplicate test method name
* Fix Rang/Index type conflict with System.Rang/Index
* Update vscode tasks.json
* Change serviceHostExecutable path in ServiceTestDriver.cs
* Downgrade SDK version (https://github.com/appveyor/ci/issues/3440)
- Appveyor hasn't installed latest SDK therefore I downgrade it until they install it.
* Dump Microsoft.SqlServer.DACFx
* 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
* switch to ambient props and targets files
* build against Microsoft.Data.SqlClient
* build tests
* fix test bug
* temporarily add SMO nuget to the repo
* update to released Microsoft.Data package
* 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
* Initial metadata service and scripting service files
* Simple metadata lookup with SMO objects
* Add metadata type class
* Remove SMO from metadata service.
* Cleanup metadata service SQL
* Initial MetadataService test
* Add scripting commands
* Add metadata test case
* Remove sleep used for testing
* Use random table name in metadata test
* Add scripting tests