Benjin Dubishar
19935552b1
Adds support for checking and updating cross-compatibility for SQL Projects ( #1847 )
...
* Adding cross-platform check and update
* Checkpoint
* checkpoint
* Updating for latest nuget package
* Correctly typing the result object
2023-02-07 19:06:13 -08:00
Cheena Malhotra
8d119876d9
Update to .NET 7 SDK ( #1792 )
2023-02-07 17:53:36 -08:00
Benjin Dubishar
4eac02453b
Support for folders in the projects service ( #1834 )
...
* Delete folder support + tests
* updating casing
* cleanup
2023-02-06 11:30:03 -08:00
Karl Burtram
f288bee294
Make nullable warnings a per file opt-in ( #1842 )
...
* Make nullable warnings a per file opt-in
* Remove unneeded compiler directives
* Remove compiler directive for User Data
2023-02-03 18:10:07 -08:00
Benjin Dubishar
2e950f54bd
Normalize string to fix test case on Unix ( #1841 )
2023-02-01 14:30:28 -08:00
Karl Burtram
7110b1b39b
Update fake password for credscan ( #1839 )
2023-02-01 11:04:15 -08:00
Karl Burtram
3c25549986
Initial WIP code for user management ( #1838 )
...
* Initial user management code
* WIP
* Fix whitespace
* WIP user objects
* WIP user objects
* Cleanup ported code
* WIP
* WIP
* Update the User contracts
* Additional cleanups
* Remove warning silencing which isn't intended for this PR
* Fix some warnings as error in CI
2023-01-31 21:12:53 -08:00
Benjin Dubishar
9fe3aeddc3
Support for database references in SqlProjects service ( #1832 )
...
* initial checkin
* Initial
* Adding test
* Adding comments
* PR feedback
2023-01-31 16:52:07 -08:00
Charles Gagnon
036ce9b527
Fix broken STS language service tests ( #1837 )
...
* Fix broken STS language service tests
* consolidate
2023-01-31 13:25:44 -08:00
Benjin Dubishar
e2962390bc
Support for SqlCmdVariables in SqlProjects service ( #1831 )
...
* Support for SqlCmdVariables
* Adding comments
* Adding update sqlcmdvar method
* swapping for success asserts
2023-01-30 15:45:15 -08:00
Benjin Dubishar
82171740bc
Adding missing nuget references for SqlProjects functionality ( #1827 )
...
* Adding test messages
* Adding file system globbing reference
* fixing string
* fixing string again
* Sigh
2023-01-27 16:18:40 -07:00
Alan Ren
bc0426f946
disable unstable test case ( #1825 )
2023-01-25 20:21:20 -08:00
Benjin Dubishar
9cce26fcbd
Initial check-in of SqlProjects service addition to SqlToolsService ( #1805 )
...
* initial commit
* Initial SqlProjects service + tests
* Added SqlObject script tests; PR feedback
* Added comments for contracts
* Swapping SqlProjectResult for ResultStatus
* Updating tests
* Added automatic test base that provides a working directory and automatic cleanup.
2023-01-25 14:16:15 -08:00
Hai Cao
bcf015f939
Fix datetimeoffset formatting ( #1823 )
2023-01-25 11:19:30 -08:00
Cheena Malhotra
5cc3e6f657
Support updating access token when found expired for OE ( #1772 )
2022-11-28 17:42:05 -08:00
Karl Burtram
3a5935df99
Revert "Update to latest .Net SDK 7.0 ( #1760 )" ( #1763 )
...
This reverts commit 71cda5bbdc .
2022-11-15 11:29:41 -08:00
Karl Burtram
71cda5bbdc
Update to latest .Net SDK 7.0 ( #1760 )
...
* Bump to SDK 7.0 and related updates
* More net 7 updates
* Install SDK 2.0 for ESRP
* Fix typo
* Address comment and update integration test script
* Disable new warnings from SDK update
2022-11-14 20:24:25 -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
Alan Ren
dea18a59e0
new dacfx version ( #1745 )
...
* new dacfx version
* fix failing schema compare tests
Co-authored-by: Kim Santiago <kisantia@microsoft.com >
2022-11-02 20:52:20 -07:00
Kim Santiago
85228c5da0
Remove testing cancel from VerifySchemaCompareServiceCalls ( #1731 )
2022-10-26 09:11:47 -07:00
Cheena Malhotra
c0f8482e26
Update Microsoft.Data.SqlClient to v5.0.1 ( #1708 )
2022-10-24 20:10:04 -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
c7c012dbe1
remove problematic assert in schema compare scmp test ( #1718 )
2022-10-06 08:37:23 -07:00
M-Patrone
88eaa64755
Feature rename sql objects ( #1686 )
2022-09-22 14:42:23 -07:00
Charles Gagnon
5e0302a95f
Output verbose logging during tests ( #1698 )
...
* Output verbose logging during tests
* fix compile
2022-09-16 16:57:06 -07:00
Cheena Malhotra
006ac60923
Upgrade solution to .NET 6.0.9 (Build with .NET SDK v6.0.401) ( #1692 )
2022-09-16 11:27:52 -07:00
Barbara Valdez
c33ffa592b
Add getObjects from model request ( #1634 )
...
Co-authored-by: Alex Ma <alma1@microsoft.com >
2022-08-26 15:02:37 -07:00
Raymond Truong
004a0b2178
[SQL Migration] SKU recommendation fixes + improvements ( #1602 )
...
* Fix null logger resulting in undefined error being surfaced to user
* WIP - implement elastic recommendation model
* WIP - implement elastic recommendation model
* Clean up
* Remove unnecessary content files after updating NuGet version
* Refactor
* Clean up
2022-08-16 09:49:12 -07:00
Jordan Hays
485786f49e
Dropped Ledger Tables Folder ( #1625 )
...
* support and testing for Dropped Ledger Table folder
* appending DroppedLedgerTables nodetype
* fixing unit tests
* undoing string.Empty
2022-08-09 14:17:51 -07:00
Raymond Truong
091f2c942e
[SQL Migration] Update assessment NuGet version, removing the need to check in content files into STS ( #1617 )
...
* Update NuGet version and remove metadata
* Remove Content Include from csproj
* Remove unnecessary PrivateAssets tag
* Use official NuGet build
* Remove reference in IntegrationTests
2022-08-08 11:17:38 -07:00
Sai Avishkar Sreerama
1342a8a085
Object Types are getting from DacFx ObjectTypes ( #1574 )
...
* 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
2022-08-05 15:28:39 -05:00
Jordan Hays
d78ff94b31
Ledger Objects Representation in Object Explorer ( #1615 )
...
* support for ledger objects in OE
* generated sr files
* update versionKey to sql 2022 in test env config
* more 2019 to 2022 updates
* add sql2022 instead of replacing
* missed filter on table
* add logging
* more logging
* adding Script160Compat options for sql2022
Co-authored-by: Alan Ren <alanren@microsoft.com >
2022-08-05 10:53:17 -07:00
Barbara Valdez
dc3deecbad
Improvements to GenerateTSqlModel request and tests ( #1611 )
2022-08-01 13:50:13 -07:00
Charles Gagnon
fd00114a0e
Catch Request/Event handler errors at dispatcher level ( #1610 )
...
* Catch Request/Event handler errors at dispatcher level
* Fix tests
* Use Exception overload of SendError
* Fix tests
2022-07-29 17:31:36 -07:00
Barbara Valdez
11dd29d8a0
Add create model request ( #1603 )
...
* add create model request
2022-07-29 12:04:16 -07:00
Vladimir Chernov
2ae0d99900
SqlAssessment update to 1.1.9 ( #1593 )
...
* Sql Assessment version update to 1.1.9
* Unit test fix
* integration test fix
2022-07-19 15:19:39 -07:00
Charles Gagnon
70f7b16129
Test cleanup ( #1588 )
...
* Test cleanup
* fix compile
* Fix tests
2022-07-19 09:59:28 -07:00
Charles Gagnon
82118f6431
Add code coverage reporting ( #1585 )
...
* Add code coverage
* fix and add publishTestResults
* Use PublishTestResults
* Add coverlet.msbuild
* Generate report
* Update coverage report location
* Add one more
2022-07-18 15:31:47 -07:00
Cory Rivera
c3b5831c89
Add dotnet tool build steps to SQL Tools & Kusto csproj files. ( #1573 )
2022-07-12 16:18:11 -07:00
Sai Avishkar Sreerama
5663ddba68
OptionsMapTable preparing from DacFx description,value,displayname at… ( #1550 )
...
* OptionsMapTable preparing from DacFx description,value,displayname attributes
* Review Comments addressed for options map table changes
* OptionsMapTable final changes
* Code review comments updated code changes
* Test fix: Adding missing change while splitting the PR
* DacFx vBump
* Reverted to displayName and code updates
* final:prop name changed, references updated, tests fixed, comments addressed
* Code review comments updated for name,exception etc
* updates method names
* property name changes to BooleanOptionsDictionary and comment updates
* Removed the unused properties, null cases handeled, hardcoded values are replaced
2022-07-07 16:56:16 -05:00
Charles Gagnon
dd11be3d38
Consolidate to net6.0 ( #1547 )
...
* Add SqlClient event listener
* comments
* ensure not disposed early
* initial
* net6.0
* undo
2022-06-21 08:53:23 -07:00
Hai Cao
e190581094
Disable failing integration test ( #1540 )
2022-06-15 15:46:48 -07:00
Alan Ren
17b6073c87
include additional data for error object ( #1539 )
...
* include additional data for error
* fix tests
2022-06-10 20:40:22 -07:00
Alex Ma
5e3d24bbfa
Remove code coverage from STS ( #1537 )
...
* WIP removal of code coverage
* more coverage removed
* more fixes
* fix tests
2022-06-10 13:53:43 -07:00
Charles Gagnon
294873613a
Add Operations to GetAzureFunctions request ( #1527 )
...
* Add Operations to GetAzureFunctions request
* add comment
* comments
2022-06-06 12:59:59 -07:00
Aditya Bist
78a3f748c9
Fix integration tests ( #1528 )
...
* added dotnet version
* remove code coverage arg
* check failing test
* correct arg placement
* try commenting issue test
* add back code coverage
* ignore test instead of commenting it out
* dont need version
2022-06-03 10:42:28 -07:00
Sai Avishkar Sreerama
989137ddb7
DacFx default options test validation fixes ( #1509 )
2022-05-31 14:03:44 -05:00
Charles Gagnon
076ed9644b
Add route to GetAzureFunctions request + cleanup ( #1521 )
...
* Add route to GetAzureFunctions request + cleanup
* update comments
* comments
* Add comment
2022-05-31 10:22:20 -07:00
Karl Burtram
5fdad0edc8
Add connection retry logic to integration tests ( #1523 )
...
* Add retry to live connection
* Disable migration test
* Tune the retry logic
* Disable SQLCMD test
2022-05-27 15:31:33 -07:00
Karl Burtram
e86b0bc87f
Fix some integration tests ( #1516 )
...
* Fix integration test cases
* More test fixes
* Dacfx test fix
* Make master default test db is none specified
2022-05-26 13:08:53 -07:00