* sending dsc values to ADS
* modifying dsc method with unsupportable property IsValuedefault
* getting the options and added a bool flag to maintian checkbox for secondary to save
* sending data to ads
* Ready for PR with minimal changes of loading UI as expected, TODO:saving logic
* Excluding maxdop and resumable options from primary value conversion for 1/0's
* Adding Id to the info, as we cannot depend on names, as names can be altered in future
* saving successfully, todo-diff servers, script (secondary - primary compare and dont update),test, send null for unsupported
* adding nullable dsc for unsupported servers
* fixing script generation for some properties that are not touched. the generated script is unharmed but unnecessary here
* adding test conditions for database scoped configurations
* adding switch case method to get the values
* Removing Loc string for the TSQL options
* removing unnecessary using statement
* Adding test case and fixing createDatabase issue
* Update src/Microsoft.SqlTools.ServiceLayer/Admin/Database/DatabasePrototype130.cs
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* comment update
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Also fixed connections not being properly closed in Detach operations
* Fixed errors being thrown in InitializeObjectView because certain db property fields are not supported against Azure
* Sending values to ADS, including the arrays, need refactor and tests
* adjusting dd options as per ssms
* sending back the updated options properties to smo
* saving changes
* pulling correct database name changes
* Refactoring
* saving is working fine
* Added genral tab section options for the option tab
* modifying userAccess and pageVerify props types
* fix for database name being master for always for existing database
* Managed Instance save error fixed
* added new assertions to the test case
* server engine edition conditions handling from ADS side
* Adding unsupported options approach to the properties, so that these nullable options can be excluded from UI
* modifying the props name
* modified empty string to null
* Test case update
* initial commit with all required db handler and props, also getting the data from ADS
* database properties view updated
* Delete Microsoft.SqlTools.ServiceLayer.sln
This file should be ignored
* Removed unwanted file
* Using DatabaseHandler for properties as one handler per object
* removed unused and unnecessary changes
* minimal updates
* moving type conversion to UI side, properties with original types.
* conversion number fixed
* Adding Localized strings
* using existing objectUrn logic to get the smo object
* Adding Integration tests for database properties verification
* refactoring
* updating test
* fix effective permission
* Revert "fix effective permission"
This reverts commit 5a97f108c640c7c2bfd22fe21852e880115ee7c9.
* remove column info for may
* contracts
* more contracts
* wire up
* add server role and rename data classes
* finish app role
* finish db role
* build
* finish server role
* register
* docs and dispose
* build
* fix issues
* fix null ref issue
* fix schema not being set issue
* fix password for app role
---------
Co-authored-by: Alan Ren <alanren@microsoft.com>
* add flag to handler
* cleanup
* concurrency control
* add flag for handler setters
* update service flags
* fix event handlers
* more handlers
* make sure behavior is unchanged if flag is off
* cleanup
* add test case for parallel processing
* comments
* stop dispatcher in test
* add log for request lifespan
* cleanup and add comments
* correctly release semaphore
* remove deleted file from merge
* use await for semaphore release
* move handler invocation to await and adjust test
* cleanup exception handling and wrapper
* space
* loose assertion condition to make test stable