* 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
* sending required data, verify autogrowth...
* using fullTextIndexing to open the files tab for sql server and not to other servers
* Adding test case and fixing createDatabase issue
* sending files as objecinfo
* Update src/Microsoft.SqlTools.ServiceLayer/Admin/Database/DatabasePrototype130.cs
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* comment update
* preparing filegroup and filetype options
* sending required all fields
* saving file code changes, need more to work
* Saving file is completed, todo:edit & remove
* Logic to remove the file
* add,edit,save working
* cleaning merge conflicts accidentally added code
* Adding tests to validates Files by adding, removing, updating files
* adding comments
* all working including tests, except fileStream size question
* code review comments updates
* memoryoptimized filegroups should be part of filestream group
* Initial commit
* failing tests fix
* Modify tests by create database using SqlTestDb
* Modify tests by create database using SqlTestDb
* Update src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Database/DatabaseHandler.cs
Co-authored-by: Cory Rivera <corivera@microsoft.com>
* preparing filegroup data to model
* fixing test
* commenting remove file testing as failing pipeline but passing locally
* saving filegroups
* using enum for type
* trying to fix the test in server, removed the complaining file from test
* all working but saving needs condition for filestream types
* removing fulltext param and test fix
* saving filegroups completed, need tests
* fixing the path..
* adding test for Filegroups
* test fix
* fixing filegroups as filestream is not enabled on test server
* missing conflict resolving
* cleaning unused method
* Code review updates for both filegroups and files logic
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
* 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
* sending required data, verify autogrowth...
* using fullTextIndexing to open the files tab for sql server and not to other servers
* Adding test case and fixing createDatabase issue
* sending files as objecinfo
* Update src/Microsoft.SqlTools.ServiceLayer/Admin/Database/DatabasePrototype130.cs
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* comment update
* preparing filegroup and filetype options
* sending required all fields
* saving file code changes, need more to work
* Saving file is completed, todo:edit & remove
* Logic to remove the file
* add,edit,save working
* cleaning merge conflicts accidentally added code
* Adding tests to validates Files by adding, removing, updating files
* adding comments
* all working including tests, except fileStream size question
* code review comments updates
* memoryoptimized filegroups should be part of filestream group
* failing tests fix
* Modify tests by create database using SqlTestDb
* Update src/Microsoft.SqlTools.ServiceLayer/ObjectManagement/ObjectTypes/Database/DatabaseHandler.cs
Co-authored-by: Cory Rivera <corivera@microsoft.com>
* fixing test
* commenting remove file testing as failing pipeline but passing locally
* using enum for type
* trying to fix the test in server, removed the complaining file from test
* removing fulltext param and test fix
* fixing the path..
* test fix
* missing conflict resolving
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
* 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>
* 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
* Include Object Types are getting from DacFx
* All tests are passing now with excludObjectType casting
* Test fix with new ExccvludeObjectType change
* Added test case for the include objects types
* Updated name to objectTypesDictionary and objectType getName from Display attribute
* code Review updates
* Removing Exclude word logic here as the options were updated on DacFx
* updating the null check
* DacFx vBump
* code updates according to review comments
* Adding missing Deploy options
* SQL DB Project database genScript/Publish working but tests
* Test cases fixed for the changes for DacFx and SC services
* Refactored the model name and tested the changes with ADS extensions.
* updated DeploymentOptionProperty model and corresponding updates.
* Adding DisplayNames to the deploymentOptionProperty to maintain names in STS for all extensions.
* MapTabe intialization in constructor
* Updated comment with more meaning
* Porperty strong type update with actual type
* Creating model with generic type getting using Activator.CreateInstance
* Rebase to main and resolved merge conflicts
* Xml comments added and code updated
* Deployment options update
* Deployoptions typo and comments updates a
* updated deployment options comments
* removed unnecessary using statement
* code refactor
* Revert "Revert "Adding new Dac Deployment Options and getting descriptions from DacFx API (#1357)" (#1493)"
This reverts commit 2b48331115.
* removing duplicated default empty string value
* Adding missing Deploy options
* SQL DB Project database genScript/Publish working but tests
* Test cases fixed for the changes for DacFx and SC services
* Refactored the model name and tested the changes with ADS extensions.
* updated DeploymentOptionProperty model and corresponding updates.
* Adding DisplayNames to the deploymentOptionProperty to maintain names in STS for all extensions.
* MapTabe intialization in constructor
* Updated comment with more meaning
* Porperty strong type update with actual type
* Creating model with generic type getting using Activator.CreateInstance
* Rebase to main and resolved merge conflicts
* Xml comments added and code updated
* Deployment options update
* Deployoptions typo and comments updates a
* updated deployment options comments
* removed unnecessary using statement
* code refactor
* Updating ManagedBatchParser target framework to netstandard2.1 as the DacFx is changes to 2.1 with 160 vbump.
* moving TargetFramework tag to the props file
* Updated the managed batch parser framework tag name.
* Filtering Schema Compare error from warnings
* SchemaCompare added comparison result error message validations to existing tests
* Extra semi-colon noticed and removed from the code
* Added new test case to validate warning message exclusions from SC result
* SC test asserions comment added
* Edge case scenario fixed and tests are 100% passed