1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/test/Infrastructure.IntegrationTest
Kyle Spearrin 0d3a7b3dd5
[PM-5518] Sql-backed IDistributedCache (#3791)
* Sql-backed IDistributedCache

* sqlserver cache table

* remove unused using

* setup EF entity

* cache indexes

* add back cipher

* revert SetupEntityFramework change

* ef cache

* EntityFrameworkCache

* IServiceScopeFactory for db context

* implement EntityFrameworkCache

* move to _serviceScopeFactory

* move to config file

* ef migrations

* fixes

* datetime and error codes

* revert migrations

* migrations

* format

* static and namespace fix

* use time provider

* Move SQL migration and remove EF one for the moment

* Add clean migration of just the new table

* Formatting

* Test Custom `IDistributedCache` Implementation

* Add Back Logging

* Remove Double Logging

* Skip Test When Not EntityFrameworkCache

* Format

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-07-03 12:48:23 -04:00
..
AdminConsole/Repositories [AC-2286] Include the OrganizationUserId for each Organization in the user sync data (#4142) 2024-06-07 13:32:09 -05:00
Auth/Repositories Allow for bulk updating AuthRequest database objects (#4053) 2024-05-22 11:55:31 -05:00
Comparers [PM-3581] Fix Postgres Time (#3221) 2024-06-28 16:13:02 +02:00
Tools [PM-3581] Fix Postgres Time (#3221) 2024-06-28 16:13:02 +02:00
Vault/Repositories [PM-8830] Billing Enums Rename (#4180) 2024-06-14 15:34:47 -04:00
ConfigurationExtensions.cs [PM-2444] Add Pipeline for Testing All Database Variants in CI (#2471) 2023-05-30 13:25:55 -04:00
DatabaseDataAttribute.cs [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
DatabaseTheoryAttribute.cs [PM-2444] Add Pipeline for Testing All Database Variants in CI (#2471) 2023-05-30 13:25:55 -04:00
DistributedCacheTests.cs [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
Infrastructure.IntegrationTest.csproj [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00
test.db [PM-5518] Sql-backed IDistributedCache (#3791) 2024-07-03 12:48:23 -04:00