Commit Graph
56 Commits
Author SHA1 Message Date
Kim Santiago f2281f84e8 update Microsoft.SqlServer.DacFx.Projects nuget to 0.1.14-preview (#2221) 2023-09-08 10:37:11 -10:00
Kim Santiago 13ca980f19 update projects nuget to 0.1.12-preview (#2204) 2023-09-01 13:15:14 -07:00
Kim Santiago 95a094438e Fix for schema compare dropping constraints (#2120)
* fix for scripts that are displayed in schema compare drop constraints bug

* update DacFx version

* add more comments
2023-06-26 14:01:28 -10:00
Kim Santiago fd0f962056 Fix DacFx nullable warnings (#2099)
* cleanup dacfx nullable warnings

* use operation's SqlTask

* remove unneccesary variables
2023-06-12 10:50:08 -10:00
Kim Santiago a12244f3d0 Add support for adding system db references as PackageReference (#2078)
* Expose adding system db references as PackageReference

* update nuget
2023-06-01 11:38:28 -07:00
Kim Santiago 13672c1d05 Add support for nupkg database references in sql projects (#2006)
* add support for nupkg database references in sql projects

* update DacFx.Projects
2023-04-14 16:18:06 -07:00
Kim Santiago 4450767525 set request handler for delete database reference (#1915) 2023-03-07 16:16:11 -08:00
Kim Santiago bb838269ac Updating add database reference requests to check null or whitespace (#1894) 2023-03-02 16:37:16 -08:00
Kim Santiago c7e64e2334 Remove Value in AddSqlCmdVariableParams (#1885) 2023-03-01 10:03:38 -08:00
Kim Santiago dfc54f99cf Fix error not getting sent back when generating deploy plan (#1875) 2023-02-21 16:53:21 -08:00
Kim Santiago acf3e92e83 Fix schema compare project test cleanup (#1746)
* cleanup .sqlproj in finally

* unique folder per test run

* fix path
2022-11-04 10:33:25 -07:00
Kim Santiago 85228c5da0 Remove testing cancel from VerifySchemaCompareServiceCalls (#1731) 2022-10-26 09:11:47 -07:00
Kim Santiago 6f198e9e5a fix schema comparing empty project showing more differences than expected (#1727) 2022-10-21 14:04:31 -07:00
Kim Santiago 624034308a Add option to import permissions for dacfx extract (#1723)
* add option to import permissions for dacfx extract

* change 'import' to 'include'
2022-10-11 14:51:07 -07:00
Kim Santiago c7c012dbe1 remove problematic assert in schema compare scmp test (#1718) 2022-10-06 08:37:23 -07:00
Kim Santiago 97eac2539a remove copying Microsoft.Data.Tools.Schema.SqlTasks.targets (#1674) 2022-09-07 10:41:43 -07:00
Kim Santiago 6b33b43d2d update Microsoft.SqlServer.Migration.Assessment to 1.0.20220816.40 to lower System.ComponentModel.Composition dependency to 4.6.0 tfix sql project build failing in ADS (#1642) 2022-08-16 21:37:41 -07:00
Kim Santiago dd986ee84c Add a delay to avoid race condition for generate script to new Azure db (#1629) 2022-08-11 17:24:49 -07:00
Kim Santiago 3316c0f9c2 update DacFx version to get schema compare fix (#1599) 2022-07-22 18:47:42 -07:00
Kim Santiago f01b82db5e update DacFx version to get table designer fixes (#1533) 2022-06-08 11:31:45 -07:00
Kim Santiago 88a762014d update dacfx to bring in update project and table designer fixes (#1532) 2022-06-03 19:21:24 -07:00
Kim Santiago 5d805bd678 remove SchemaComparePublishChangesRequest (#1446) 2022-03-28 12:20:51 -07:00
Kim Santiago 0f0df25119 Add error for sql bindings when .net 5 (#1259)
* add error for sql bindings when .net 5

* add test

* cleanup linq stuff and move out common code
2021-10-07 16:13:53 -07:00
Kim Santiago e8b8909053 Fix schema compare to return actual success of comparison (#1250) 2021-09-30 14:10:43 -07:00
Kim Santiago c20af4f777 Get Azure functions operation (#1228)
* add GetAzureFunctions

* add tests

* cleanup

* check for quotes

* address other comments

* add logging and let error result get sent

* rename file
2021-08-18 17:05:27 -07:00
Kim Santiago b1653b25e4 Insert sql bindings into Azure Functions (#1224)
* getting table name from a script

* add InsertSqlInputBindingOperation

* cleanup

* move azure functions stuff out of dacfx service

* cleanup

* add tests

* add another test

* cleanup

* add comments and connection string setting

* addressing comments

* change name to use add instead of insert
2021-08-04 13:02:52 -07:00
Kim Santiago 97d7fd1169 update DacFx version (#1205) 2021-05-05 15:39:39 -07:00
Kim Santiago e123c24210 fix failing schema compare options tests" (#1204) 2021-05-05 13:31:45 -07:00
Kim Santiago 788dc31081 Update DacFx deploy and generate script with options (#998)
* update deploy and generate script to accept deployment options

* add tests

* add test with option set to true
2020-07-29 13:43:38 -07:00
Kim Santiago 1a93404e54 Add support for getting DacFx deploy options from a publish profile (#995)
* add support for getting options from a publish profile

* update comments

* set values for default options if they aren't specified in the publish profile

* addressing comments
2020-07-27 17:52:15 -07:00
Kim Santiago 836687a41d update schema compare default option (#967) 2020-06-08 11:26:00 -07:00
Kim Santiago 14907e6440 bump dacfx nuget (#964) 2020-05-28 17:09:06 -07:00
Kim Santiago 314627f83c Show file location for dacfx extract and export (#936)
* show file location for dacfx extract and export

* Add TargetDestination field to TaskInfo

* remove setting database and server name to null if there's packageFilePath

* remove unnecessary parameter
2020-04-27 17:37:08 -07:00
Kim Santiago bf6c573e7b bump nuget package (#942) 2020-04-07 16:25:57 -07:00
Kim Santiago 70c5e7b7f9 bump dacfx nuget package (#932) 2020-03-04 12:13:15 -08:00
Kim Santiago 9373df1b2e Change DacFx operation requests to send result after operation completes instead of after starting (#905) 2020-01-02 15:41:33 -08:00
Kim Santiago 675bf5f13c bump dacfx nuget package (#902) 2019-12-17 14:00:35 -08:00
Kim Santiago b9faabb704 Fix schema compare exclude behaviour (#884)
* Send back dependencies causing the exclude to fail instead of blocking the call

* Separate AffectedDependences and BlockingDependencies into separate properties

* add named parameters

* separate out include/exclude success cases for clarity
2019-10-25 18:01:33 -07:00
Kim Santiago e60fc1a16c Schema compare include/exclude changes (#881)
* send back success of include/exclude request

* update dacfx nuget package and use new api to get affected dependencies of include/exclude request

* addressing comments

* rename test

* Addressing comments
2019-10-24 17:11:30 -07:00
Kim Santiago 47c9b968f6 fix DW extract failing if connection is to master (#864) 2019-09-12 11:25:14 -07:00
Kim Santiago 1d1eb00b3b bump dacfx nuget version so that dw will work (#861) 2019-09-05 16:28:20 -07:00
Kim Santiago 89623c1ae8 bump dacfx nuget package version (#860) 2019-09-03 15:53:12 -07:00
Kim Santiago 361287a81b Add Schema Compare support for AAD (#853)
* pass AzureAcountToken if there is one

* Addressing comments

* formatting

* more formatting and moving getting connectionstring from constructor to CreateSchemaCompareEndpoint()
2019-08-22 14:19:39 -07:00
Kim Santiago f7a7a3d466 Fix DacFx wizard not supporting AAD auth (#836)
* pass Azure authentication token if using AAD auth

* add check for null
2019-07-24 17:23:55 -07:00
Kim Santiago b451670222 Schema Compare open SCMP file (#825)
* initial open scmp changes

* more open scmp changes and adding tests

* moving some common test code

* simplify endpoint info parsing

* addressing comments and moving more common test code

* addressing comments
2019-06-13 14:24:19 -07:00
Kim Santiago 3566471c6c removing unused request context from dacfx and schema compare tests (#823) 2019-06-10 16:58:31 -07:00
Kim Santiago f7c86a80ca Open dacfx deploy script instead of saving to file path (#822)
* open dacfx deploy script

* moving test db cleanups into finally blocks
2019-06-10 09:26:42 -07:00
kisantia e68b6d62aa Open schema compare generated script (#813) 2019-05-20 14:14:50 -07:00
kisantia 5392f81d54 Fix schema compare script formatting (#809)
* Add GO after each statement and remove leading and trailing whitespace

* Addressing comments

* formatting
2019-05-13 10:04:02 -07:00
kisantia 213fe4ab37 Add schema compare publish changes operation (#795)
* add schema compare publish changes operation
2019-04-09 15:04:59 -07:00
kisantia dc5ab60df5 Fix invalid dacpac version crashing sqltoolsservice (#789)
* fix invalid dacpac version crashing sqltoolsservice
2019-04-03 17:30:10 -07:00
kisantia 0c46c5bfdb Add schema compare generate script operation (#787)
* add generate script operation
2019-03-29 14:12:37 -07:00
kisantia 01bcfd8df9 Add Schema Compare (#777)
* successfully sends list of differences to ADS

* bumping dacfx nuget package version

* add second schema compare try for case when first db to db comparison fails but works on second try

* move schemacompare out of dacfx folders

* capitalizing

* more capitalizing

* addressing comments
2019-03-05 11:43:06 -08:00
kisantia 0a172f3c8e Add DacFx Generate Deploy Plan Operation (#768)
* initial adding upgrade plan

* upgrade plan request from ADS works

* now data loss operations are returned

* fixes after rebasing

* refactoring to use GenerateDeployPlan instead of UpgradePlan

* improving test

* Addressing comments

* changing abstract execute to virtual

* changed GenerateDeployPlanOepration to use Execute()

* addressing comments

* simplyfing deploy options

* adding deploy options to deploy and generate script operations
2019-02-06 17:22:20 -08:00
kisantia 1917100bfb Add DacFx Generate Deploy Script operation (#759)
* Adding DacFx Generate Deploy Script operation
2019-01-25 11:34:28 -08:00
kisantia d5fd968b3c DacFx import/export (#728)
Adding DacFx import/export/deploy/extract functionality
2018-11-27 16:10:46 -08:00