diff --git a/src/V1/ServiceBricks.Cache.AzureDataTables.Debug/ServiceBricks.Cache.AzureDataTables.Debug.csproj b/src/V1/ServiceBricks.Cache.AzureDataTables.Debug/ServiceBricks.Cache.AzureDataTables.Debug.csproj index 86c56b6..2da5b95 100644 --- a/src/V1/ServiceBricks.Cache.AzureDataTables.Debug/ServiceBricks.Cache.AzureDataTables.Debug.csproj +++ b/src/V1/ServiceBricks.Cache.AzureDataTables.Debug/ServiceBricks.Cache.AzureDataTables.Debug.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.AzureDataTables holomodular @@ -37,6 +37,6 @@ - + diff --git a/src/V1/ServiceBricks.Cache.AzureDataTables/Extensions/ApplicationBuilderExtensions.cs b/src/V1/ServiceBricks.Cache.AzureDataTables/Extensions/ApplicationBuilderExtensions.cs index e7e851c..eb6f014 100644 --- a/src/V1/ServiceBricks.Cache.AzureDataTables/Extensions/ApplicationBuilderExtensions.cs +++ b/src/V1/ServiceBricks.Cache.AzureDataTables/Extensions/ApplicationBuilderExtensions.cs @@ -21,7 +21,7 @@ public static IApplicationBuilder StartServiceBricksCacheAzureDataTables(this IA var configuration = serviceScope.ServiceProvider.GetRequiredService(); var connectionString = configuration.GetAzureDataTablesConnectionString( - CacheAzureDataTablesConstants.APPSETTINGS_CONNECTION_STRING); + CacheAzureDataTablesConstants.APPSETTING_CONNECTION_STRING); // Create each table if not exists TableClient tableClient = new TableClient( diff --git a/src/V1/ServiceBricks.Cache.AzureDataTables/Model/CacheAzureDataTablesConstants.cs b/src/V1/ServiceBricks.Cache.AzureDataTables/Model/CacheAzureDataTablesConstants.cs index 080ba32..681937c 100644 --- a/src/V1/ServiceBricks.Cache.AzureDataTables/Model/CacheAzureDataTablesConstants.cs +++ b/src/V1/ServiceBricks.Cache.AzureDataTables/Model/CacheAzureDataTablesConstants.cs @@ -5,7 +5,7 @@ /// public static class CacheAzureDataTablesConstants { - public const string APPSETTINGS_CONNECTION_STRING = "ServiceBricks:Cache:AzureDataTables:ConnectionString"; + public const string APPSETTING_CONNECTION_STRING = "ServiceBricks:Cache:Storage:AzureDataTables:ConnectionString"; public const string TABLENAME_PREFIX = "Cache"; diff --git a/src/V1/ServiceBricks.Cache.AzureDataTables/ServiceBricks.Cache.AzureDataTables.csproj b/src/V1/ServiceBricks.Cache.AzureDataTables/ServiceBricks.Cache.AzureDataTables.csproj index 0f4f569..47e88db 100644 --- a/src/V1/ServiceBricks.Cache.AzureDataTables/ServiceBricks.Cache.AzureDataTables.csproj +++ b/src/V1/ServiceBricks.Cache.AzureDataTables/ServiceBricks.Cache.AzureDataTables.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.AzureDataTables holomodular @@ -28,9 +28,9 @@ - + - + diff --git a/src/V1/ServiceBricks.Cache.AzureDataTables/Storage/CacheStorageRepository.cs b/src/V1/ServiceBricks.Cache.AzureDataTables/Storage/CacheStorageRepository.cs index 24029ad..a84f63c 100644 --- a/src/V1/ServiceBricks.Cache.AzureDataTables/Storage/CacheStorageRepository.cs +++ b/src/V1/ServiceBricks.Cache.AzureDataTables/Storage/CacheStorageRepository.cs @@ -18,7 +18,7 @@ public CacheStorageRepository( : base(logFactory) { ConnectionString = configuration.GetAzureDataTablesConnectionString( - CacheAzureDataTablesConstants.APPSETTINGS_CONNECTION_STRING); + CacheAzureDataTablesConstants.APPSETTING_CONNECTION_STRING); TableName = CacheAzureDataTablesConstants.GetTableName(typeof(TDomain).Name); } } diff --git a/src/V1/ServiceBricks.Cache.Cosmos.Debug/ServiceBricks.Cache.Cosmos.Debug.csproj b/src/V1/ServiceBricks.Cache.Cosmos.Debug/ServiceBricks.Cache.Cosmos.Debug.csproj index bc2df9a..dd7e72b 100644 --- a/src/V1/ServiceBricks.Cache.Cosmos.Debug/ServiceBricks.Cache.Cosmos.Debug.csproj +++ b/src/V1/ServiceBricks.Cache.Cosmos.Debug/ServiceBricks.Cache.Cosmos.Debug.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.Cosmos holomodular @@ -35,15 +35,15 @@ - + - + - + diff --git a/src/V1/ServiceBricks.Cache.Cosmos/Extensions/ServiceCollectionExtensions.cs b/src/V1/ServiceBricks.Cache.Cosmos/Extensions/ServiceCollectionExtensions.cs index b92334c..2aa30ad 100644 --- a/src/V1/ServiceBricks.Cache.Cosmos/Extensions/ServiceCollectionExtensions.cs +++ b/src/V1/ServiceBricks.Cache.Cosmos/Extensions/ServiceCollectionExtensions.cs @@ -23,7 +23,7 @@ public static IServiceCollection AddServiceBricksCacheCosmos(this IServiceCollec // Register Database var builder = new DbContextOptionsBuilder(); string connectionString = configuration.GetCosmosConnectionString( - CacheCosmosConstants.APPSETTING_CONNECTION); + CacheCosmosConstants.APPSETTING_CONNECTION_STRING); string database = configuration.GetCosmosDatabase( CacheCosmosConstants.APPSETTING_DATABASE); builder.UseCosmos(connectionString, database); diff --git a/src/V1/ServiceBricks.Cache.Cosmos/Model/CacheCosmosConstants.cs b/src/V1/ServiceBricks.Cache.Cosmos/Model/CacheCosmosConstants.cs index 8f492b3..a8d188d 100644 --- a/src/V1/ServiceBricks.Cache.Cosmos/Model/CacheCosmosConstants.cs +++ b/src/V1/ServiceBricks.Cache.Cosmos/Model/CacheCosmosConstants.cs @@ -5,8 +5,8 @@ /// public static class CacheCosmosConstants { - public const string APPSETTING_CONNECTION = "ServiceBricks:Cache:Cosmos:ConnectionString"; - public const string APPSETTING_DATABASE = "ServiceBricks:Cache:Cosmos:Database"; + public const string APPSETTING_CONNECTION_STRING = "ServiceBricks:Cache:Storage:Cosmos:ConnectionString"; + public const string APPSETTING_DATABASE = "ServiceBricks:Cache:Storage:Cosmos:Database"; public const string DEFAULT_CONTAINER_NAME = "Cache"; } diff --git a/src/V1/ServiceBricks.Cache.Cosmos/ServiceBricks.Cache.Cosmos.csproj b/src/V1/ServiceBricks.Cache.Cosmos/ServiceBricks.Cache.Cosmos.csproj index b86cd56..49222fc 100644 --- a/src/V1/ServiceBricks.Cache.Cosmos/ServiceBricks.Cache.Cosmos.csproj +++ b/src/V1/ServiceBricks.Cache.Cosmos/ServiceBricks.Cache.Cosmos.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.Cosmos holomodular @@ -28,18 +28,18 @@ - + - + - + - + diff --git a/src/V1/ServiceBricks.Cache.Debug/ServiceBricks.Cache.Debug.csproj b/src/V1/ServiceBricks.Cache.Debug/ServiceBricks.Cache.Debug.csproj index c94467e..57fe408 100644 --- a/src/V1/ServiceBricks.Cache.Debug/ServiceBricks.Cache.Debug.csproj +++ b/src/V1/ServiceBricks.Cache.Debug/ServiceBricks.Cache.Debug.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache holomodular @@ -39,6 +39,6 @@ - + diff --git a/src/V1/ServiceBricks.Cache.EntityFrameworkCore.Debug/ServiceBricks.Cache.EntityFrameworkCore.Debug.csproj b/src/V1/ServiceBricks.Cache.EntityFrameworkCore.Debug/ServiceBricks.Cache.EntityFrameworkCore.Debug.csproj index 7082efa..be7857f 100644 --- a/src/V1/ServiceBricks.Cache.EntityFrameworkCore.Debug/ServiceBricks.Cache.EntityFrameworkCore.Debug.csproj +++ b/src/V1/ServiceBricks.Cache.EntityFrameworkCore.Debug/ServiceBricks.Cache.EntityFrameworkCore.Debug.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.EntityFrameworkCore holomodular @@ -32,7 +32,7 @@ - + diff --git a/src/V1/ServiceBricks.Cache.EntityFrameworkCore/Model/CacheEntityFrameworkCoreConstants.cs b/src/V1/ServiceBricks.Cache.EntityFrameworkCore/Model/CacheEntityFrameworkCoreConstants.cs index 875e600..05eca8e 100644 --- a/src/V1/ServiceBricks.Cache.EntityFrameworkCore/Model/CacheEntityFrameworkCoreConstants.cs +++ b/src/V1/ServiceBricks.Cache.EntityFrameworkCore/Model/CacheEntityFrameworkCoreConstants.cs @@ -5,8 +5,5 @@ /// public static class CacheEntityFrameworkCoreConstants { - //public const string APPSETTING_DATABASE_CONNECTION = "ServiceBricks:Cache:EntityFrameworkCore:ConnectionString"; - - //public const string DATABASE_SCHEMA_NAME = "Cache"; } } \ No newline at end of file diff --git a/src/V1/ServiceBricks.Cache.EntityFrameworkCore/ServiceBricks.Cache.EntityFrameworkCore.csproj b/src/V1/ServiceBricks.Cache.EntityFrameworkCore/ServiceBricks.Cache.EntityFrameworkCore.csproj index 06c65fb..10e79bf 100644 --- a/src/V1/ServiceBricks.Cache.EntityFrameworkCore/ServiceBricks.Cache.EntityFrameworkCore.csproj +++ b/src/V1/ServiceBricks.Cache.EntityFrameworkCore/ServiceBricks.Cache.EntityFrameworkCore.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.EntityFrameworkCore holomodular @@ -28,7 +28,7 @@ - - + + diff --git a/src/V1/ServiceBricks.Cache.InMemory.Debug/ServiceBricks.Cache.InMemory.Debug.csproj b/src/V1/ServiceBricks.Cache.InMemory.Debug/ServiceBricks.Cache.InMemory.Debug.csproj index 32cdd85..80b64db 100644 --- a/src/V1/ServiceBricks.Cache.InMemory.Debug/ServiceBricks.Cache.InMemory.Debug.csproj +++ b/src/V1/ServiceBricks.Cache.InMemory.Debug/ServiceBricks.Cache.InMemory.Debug.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.InMemory holomodular @@ -34,15 +34,15 @@ - + - + - + diff --git a/src/V1/ServiceBricks.Cache.InMemory/ServiceBricks.Cache.InMemory.csproj b/src/V1/ServiceBricks.Cache.InMemory/ServiceBricks.Cache.InMemory.csproj index 9ac70f1..6e47e90 100644 --- a/src/V1/ServiceBricks.Cache.InMemory/ServiceBricks.Cache.InMemory.csproj +++ b/src/V1/ServiceBricks.Cache.InMemory/ServiceBricks.Cache.InMemory.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.InMemory holomodular @@ -29,19 +29,19 @@ - + - + - + - + diff --git a/src/V1/ServiceBricks.Cache.MongoDb.Debug/ServiceBricks.Cache.MongoDb.Debug.csproj b/src/V1/ServiceBricks.Cache.MongoDb.Debug/ServiceBricks.Cache.MongoDb.Debug.csproj index fd5aba8..f10dfd2 100644 --- a/src/V1/ServiceBricks.Cache.MongoDb.Debug/ServiceBricks.Cache.MongoDb.Debug.csproj +++ b/src/V1/ServiceBricks.Cache.MongoDb.Debug/ServiceBricks.Cache.MongoDb.Debug.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.MongoDb holomodular @@ -32,7 +32,7 @@ - + diff --git a/src/V1/ServiceBricks.Cache.MongoDb/Model/CacheMongoDbConstants.cs b/src/V1/ServiceBricks.Cache.MongoDb/Model/CacheMongoDbConstants.cs index 922cee7..caf9f23 100644 --- a/src/V1/ServiceBricks.Cache.MongoDb/Model/CacheMongoDbConstants.cs +++ b/src/V1/ServiceBricks.Cache.MongoDb/Model/CacheMongoDbConstants.cs @@ -5,8 +5,8 @@ /// public static class CacheMongoDbConstants { - public const string APPSETTINGS_CONNECTION_STRING = "ServiceBrick:Cache:MongoDb:ConnectionString"; - public const string APPSETTINGS_DATABASE_NAME = "ServiceBrick:Cache:MongoDb:DatabaseName"; + public const string APPSETTING_CONNECTION_STRING = "ServiceBrick:Cache:Storage:MongoDb:ConnectionString"; + public const string APPSETTING_DATABASE = "ServiceBrick:Cache:Storage:MongoDb:Database"; public const string COLLECTIONNAME_PREFIX = "Cache"; diff --git a/src/V1/ServiceBricks.Cache.MongoDb/ServiceBricks.Cache.MongoDb.csproj b/src/V1/ServiceBricks.Cache.MongoDb/ServiceBricks.Cache.MongoDb.csproj index 8ed19b9..a963c37 100644 --- a/src/V1/ServiceBricks.Cache.MongoDb/ServiceBricks.Cache.MongoDb.csproj +++ b/src/V1/ServiceBricks.Cache.MongoDb/ServiceBricks.Cache.MongoDb.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.MongoDb holomodular @@ -28,10 +28,10 @@ - + - + diff --git a/src/V1/ServiceBricks.Cache.MongoDb/Storage/CacheStorageRepository.cs b/src/V1/ServiceBricks.Cache.MongoDb/Storage/CacheStorageRepository.cs index 69d0cd7..bcd748b 100644 --- a/src/V1/ServiceBricks.Cache.MongoDb/Storage/CacheStorageRepository.cs +++ b/src/V1/ServiceBricks.Cache.MongoDb/Storage/CacheStorageRepository.cs @@ -17,9 +17,9 @@ public CacheStorageRepository( : base(logFactory) { ConnectionString = configuration.GetMongoDbConnectionString( - CacheMongoDbConstants.APPSETTINGS_CONNECTION_STRING); - DatabaseName = configuration.GetMongoDbDatabaseName( - CacheMongoDbConstants.APPSETTINGS_DATABASE_NAME); + CacheMongoDbConstants.APPSETTING_CONNECTION_STRING); + DatabaseName = configuration.GetMongoDbDatabase( + CacheMongoDbConstants.APPSETTING_DATABASE); CollectionName = CacheMongoDbConstants.GetCollectionName(typeof(TDomain).Name); } } diff --git a/src/V1/ServiceBricks.Cache.Postgres.Debug/ServiceBricks.Cache.Postgres.Debug.csproj b/src/V1/ServiceBricks.Cache.Postgres.Debug/ServiceBricks.Cache.Postgres.Debug.csproj index da7d306..08fda3d 100644 --- a/src/V1/ServiceBricks.Cache.Postgres.Debug/ServiceBricks.Cache.Postgres.Debug.csproj +++ b/src/V1/ServiceBricks.Cache.Postgres.Debug/ServiceBricks.Cache.Postgres.Debug.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.Postgres holomodular diff --git a/src/V1/ServiceBricks.Cache.Postgres/Extensions/ServiceCollectionExtensions.cs b/src/V1/ServiceBricks.Cache.Postgres/Extensions/ServiceCollectionExtensions.cs index ec63b33..20df45b 100644 --- a/src/V1/ServiceBricks.Cache.Postgres/Extensions/ServiceCollectionExtensions.cs +++ b/src/V1/ServiceBricks.Cache.Postgres/Extensions/ServiceCollectionExtensions.cs @@ -25,7 +25,7 @@ public static IServiceCollection AddServiceBricksCachePostgres(this IServiceColl //Register Database var builder = new DbContextOptionsBuilder(); string connectionString = configuration.GetPostgresConnectionString( - CachePostgresConstants.APPSETTING_DATABASE_CONNECTION); + CachePostgresConstants.APPSETTING_CONNECTION_STRING); builder.UseNpgsql(connectionString, x => { x.MigrationsAssembly(typeof(ServiceCollectionExtensions).Assembly.GetName().Name); diff --git a/src/V1/ServiceBricks.Cache.Postgres/Model/CachePostgresConstants.cs b/src/V1/ServiceBricks.Cache.Postgres/Model/CachePostgresConstants.cs index a38a2f1..b436f1e 100644 --- a/src/V1/ServiceBricks.Cache.Postgres/Model/CachePostgresConstants.cs +++ b/src/V1/ServiceBricks.Cache.Postgres/Model/CachePostgresConstants.cs @@ -5,7 +5,7 @@ /// public static class CachePostgresConstants { - public const string APPSETTING_DATABASE_CONNECTION = "ServiceBricks:Cache:Postgres:ConnectionString"; + public const string APPSETTING_CONNECTION_STRING = "ServiceBricks:Cache:Storage:Postgres:ConnectionString"; public const string DATABASE_SCHEMA_NAME = "Cache"; } diff --git a/src/V1/ServiceBricks.Cache.Postgres/Model/CachePostgresContext.cs b/src/V1/ServiceBricks.Cache.Postgres/Model/CachePostgresContext.cs index 5a6f0f0..f10675a 100644 --- a/src/V1/ServiceBricks.Cache.Postgres/Model/CachePostgresContext.cs +++ b/src/V1/ServiceBricks.Cache.Postgres/Model/CachePostgresContext.cs @@ -27,7 +27,7 @@ public CachePostgresContext() var builder = new DbContextOptionsBuilder(); string connectionString = configuration.GetPostgresConnectionString( - CachePostgresConstants.APPSETTING_DATABASE_CONNECTION); + CachePostgresConstants.APPSETTING_CONNECTION_STRING); builder.UseNpgsql(connectionString, x => { x.MigrationsAssembly(typeof(CachePostgresContext).Assembly.GetName().Name); diff --git a/src/V1/ServiceBricks.Cache.Postgres/ServiceBricks.Cache.Postgres.csproj b/src/V1/ServiceBricks.Cache.Postgres/ServiceBricks.Cache.Postgres.csproj index 4d2d886..9eb699c 100644 --- a/src/V1/ServiceBricks.Cache.Postgres/ServiceBricks.Cache.Postgres.csproj +++ b/src/V1/ServiceBricks.Cache.Postgres/ServiceBricks.Cache.Postgres.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.Postgres holomodular @@ -29,7 +29,7 @@ - + diff --git a/src/V1/ServiceBricks.Cache.SqlServer.Debug/ServiceBricks.Cache.SqlServer.Debug.csproj b/src/V1/ServiceBricks.Cache.SqlServer.Debug/ServiceBricks.Cache.SqlServer.Debug.csproj index b4f84a6..7e07a84 100644 --- a/src/V1/ServiceBricks.Cache.SqlServer.Debug/ServiceBricks.Cache.SqlServer.Debug.csproj +++ b/src/V1/ServiceBricks.Cache.SqlServer.Debug/ServiceBricks.Cache.SqlServer.Debug.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.SqlServer holomodular @@ -35,14 +35,14 @@ - + - + - + diff --git a/src/V1/ServiceBricks.Cache.SqlServer/Extensions/ApplicationBuilderExtensions.cs b/src/V1/ServiceBricks.Cache.SqlServer/Extensions/ApplicationBuilderExtensions.cs index de977ab..484f271 100644 --- a/src/V1/ServiceBricks.Cache.SqlServer/Extensions/ApplicationBuilderExtensions.cs +++ b/src/V1/ServiceBricks.Cache.SqlServer/Extensions/ApplicationBuilderExtensions.cs @@ -18,7 +18,6 @@ public static IApplicationBuilder StartServiceBricksCacheSqlServer(this IApplica { // Migrate var context = serviceScope.ServiceProvider.GetService(); - context.Database.EnsureCreated(); context.Database.Migrate(); context.SaveChanges(); } diff --git a/src/V1/ServiceBricks.Cache.SqlServer/Extensions/ServiceCollectionExtensions.cs b/src/V1/ServiceBricks.Cache.SqlServer/Extensions/ServiceCollectionExtensions.cs index 064fa40..cbafbd3 100644 --- a/src/V1/ServiceBricks.Cache.SqlServer/Extensions/ServiceCollectionExtensions.cs +++ b/src/V1/ServiceBricks.Cache.SqlServer/Extensions/ServiceCollectionExtensions.cs @@ -25,7 +25,7 @@ public static IServiceCollection AddServiceBricksCacheSqlServer(this IServiceCol //Register Database var builder = new DbContextOptionsBuilder(); string connectionString = configuration.GetSqlServerConnectionString( - CacheSqlServerConstants.APPSETTING_DATABASE_CONNECTION); + CacheSqlServerConstants.APPSETTING_CONNECTION_STRING); builder.UseSqlServer(connectionString, x => { x.MigrationsAssembly(typeof(ServiceCollectionExtensions).Assembly.GetName().Name); diff --git a/src/V1/ServiceBricks.Cache.SqlServer/Model/CacheSqlServerConstants.cs b/src/V1/ServiceBricks.Cache.SqlServer/Model/CacheSqlServerConstants.cs index 463b1ff..6017687 100644 --- a/src/V1/ServiceBricks.Cache.SqlServer/Model/CacheSqlServerConstants.cs +++ b/src/V1/ServiceBricks.Cache.SqlServer/Model/CacheSqlServerConstants.cs @@ -5,7 +5,7 @@ /// public static class CacheSqlServerConstants { - public const string APPSETTING_DATABASE_CONNECTION = "ServiceBricks:Cache:SqlServer:ConnectionString"; + public const string APPSETTING_CONNECTION_STRING = "ServiceBricks:Cache:Storage:SqlServer:ConnectionString"; public const string DATABASE_SCHEMA_NAME = "Cache"; } diff --git a/src/V1/ServiceBricks.Cache.SqlServer/Model/CacheSqlServerContext.cs b/src/V1/ServiceBricks.Cache.SqlServer/Model/CacheSqlServerContext.cs index 1c89e90..03dd295 100644 --- a/src/V1/ServiceBricks.Cache.SqlServer/Model/CacheSqlServerContext.cs +++ b/src/V1/ServiceBricks.Cache.SqlServer/Model/CacheSqlServerContext.cs @@ -27,7 +27,7 @@ public CacheSqlServerContext() var builder = new DbContextOptionsBuilder(); string connectionString = configuration.GetSqlServerConnectionString( - CacheSqlServerConstants.APPSETTING_DATABASE_CONNECTION); + CacheSqlServerConstants.APPSETTING_CONNECTION_STRING); builder.UseSqlServer(connectionString, x => { x.MigrationsAssembly(typeof(CacheSqlServerContext).Assembly.GetName().Name); diff --git a/src/V1/ServiceBricks.Cache.SqlServer/ServiceBricks.Cache.SqlServer.csproj b/src/V1/ServiceBricks.Cache.SqlServer/ServiceBricks.Cache.SqlServer.csproj index b6208e7..6315523 100644 --- a/src/V1/ServiceBricks.Cache.SqlServer/ServiceBricks.Cache.SqlServer.csproj +++ b/src/V1/ServiceBricks.Cache.SqlServer/ServiceBricks.Cache.SqlServer.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.SqlServer holomodular @@ -29,19 +29,19 @@ - + - + - + - + diff --git a/src/V1/ServiceBricks.Cache.Sqlite.Debug/ServiceBricks.Cache.Sqlite.Debug.csproj b/src/V1/ServiceBricks.Cache.Sqlite.Debug/ServiceBricks.Cache.Sqlite.Debug.csproj index 6554aa6..fd2b012 100644 --- a/src/V1/ServiceBricks.Cache.Sqlite.Debug/ServiceBricks.Cache.Sqlite.Debug.csproj +++ b/src/V1/ServiceBricks.Cache.Sqlite.Debug/ServiceBricks.Cache.Sqlite.Debug.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.Sqlite holomodular @@ -35,15 +35,15 @@ - + - + - + diff --git a/src/V1/ServiceBricks.Cache.Sqlite/Extensions/ServiceCollectionExtensions.cs b/src/V1/ServiceBricks.Cache.Sqlite/Extensions/ServiceCollectionExtensions.cs index 091f7ae..bf103b2 100644 --- a/src/V1/ServiceBricks.Cache.Sqlite/Extensions/ServiceCollectionExtensions.cs +++ b/src/V1/ServiceBricks.Cache.Sqlite/Extensions/ServiceCollectionExtensions.cs @@ -25,7 +25,7 @@ public static IServiceCollection AddServiceBricksCacheSqlite(this IServiceCollec //Register Database var builder = new DbContextOptionsBuilder(); string connectionString = configuration.GetSqliteConnectionString( - CacheSqliteConstants.APPSETTING_DATABASE_CONNECTION); + CacheSqliteConstants.APPSETTING_CONNECTION_STRING); builder.UseSqlite(connectionString, x => { x.MigrationsAssembly(typeof(ServiceCollectionExtensions).Assembly.GetName().Name); diff --git a/src/V1/ServiceBricks.Cache.Sqlite/Model/CacheSqliteConstants.cs b/src/V1/ServiceBricks.Cache.Sqlite/Model/CacheSqliteConstants.cs index 91024f7..8d3be90 100644 --- a/src/V1/ServiceBricks.Cache.Sqlite/Model/CacheSqliteConstants.cs +++ b/src/V1/ServiceBricks.Cache.Sqlite/Model/CacheSqliteConstants.cs @@ -5,7 +5,7 @@ /// public static class CacheSqliteConstants { - public const string APPSETTING_DATABASE_CONNECTION = "ServiceBricks:Cache:Sqlite:ConnectionString"; + public const string APPSETTING_CONNECTION_STRING = "ServiceBricks:Cache:Storage:Sqlite:ConnectionString"; public const string DATABASE_SCHEMA_NAME = "Cache"; } diff --git a/src/V1/ServiceBricks.Cache.Sqlite/Model/CacheSqliteContext.cs b/src/V1/ServiceBricks.Cache.Sqlite/Model/CacheSqliteContext.cs index 2e4878d..dfeed63 100644 --- a/src/V1/ServiceBricks.Cache.Sqlite/Model/CacheSqliteContext.cs +++ b/src/V1/ServiceBricks.Cache.Sqlite/Model/CacheSqliteContext.cs @@ -28,7 +28,7 @@ public CacheSqliteContext() var builder = new DbContextOptionsBuilder(); string connectionString = configuration.GetSqliteConnectionString( - CacheSqliteConstants.APPSETTING_DATABASE_CONNECTION); + CacheSqliteConstants.APPSETTING_CONNECTION_STRING); builder.UseSqlite(connectionString, x => { x.MigrationsAssembly(typeof(CacheSqliteContext).Assembly.GetName().Name); diff --git a/src/V1/ServiceBricks.Cache.Sqlite/ServiceBricks.Cache.Sqlite.csproj b/src/V1/ServiceBricks.Cache.Sqlite/ServiceBricks.Cache.Sqlite.csproj index 82a3d06..f51535f 100644 --- a/src/V1/ServiceBricks.Cache.Sqlite/ServiceBricks.Cache.Sqlite.csproj +++ b/src/V1/ServiceBricks.Cache.Sqlite/ServiceBricks.Cache.Sqlite.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache.Sqlite holomodular @@ -29,19 +29,19 @@ - + - + - + - + diff --git a/src/V1/ServiceBricks.Cache/ServiceBricks.Cache.csproj b/src/V1/ServiceBricks.Cache/ServiceBricks.Cache.csproj index 83c0117..746fdb0 100644 --- a/src/V1/ServiceBricks.Cache/ServiceBricks.Cache.csproj +++ b/src/V1/ServiceBricks.Cache/ServiceBricks.Cache.csproj @@ -1,7 +1,7 @@ - 1.0.5 + 1.0.6 ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more. ServiceBricks.Cache holomodular @@ -28,7 +28,7 @@ - + diff --git a/src/V1/Tests/MigrationsHost/MigrationsHost.csproj b/src/V1/Tests/MigrationsHost/MigrationsHost.csproj index ff9a2f6..024dc78 100644 --- a/src/V1/Tests/MigrationsHost/MigrationsHost.csproj +++ b/src/V1/Tests/MigrationsHost/MigrationsHost.csproj @@ -14,7 +14,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet6/ServiceBricks.Cache.AzureDataTables.XunitNet6.csproj b/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet6/ServiceBricks.Cache.AzureDataTables.XunitNet6.csproj index 5e15d24..97ef6e6 100644 --- a/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet6/ServiceBricks.Cache.AzureDataTables.XunitNet6.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet6/ServiceBricks.Cache.AzureDataTables.XunitNet6.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet7/ServiceBricks.Cache.AzureDataTables.XunitNet7.csproj b/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet7/ServiceBricks.Cache.AzureDataTables.XunitNet7.csproj index 73fc3ab..e3b3c82 100644 --- a/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet7/ServiceBricks.Cache.AzureDataTables.XunitNet7.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet7/ServiceBricks.Cache.AzureDataTables.XunitNet7.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet8/ServiceBricks.Cache.AzureDataTables.XunitNet8.csproj b/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet8/ServiceBricks.Cache.AzureDataTables.XunitNet8.csproj index 090d05c..0c27288 100644 --- a/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet8/ServiceBricks.Cache.AzureDataTables.XunitNet8.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.AzureDataTables.XunitNet8/ServiceBricks.Cache.AzureDataTables.XunitNet8.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet6/ServiceBricks.Cache.Client.XunitNet6.csproj b/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet6/ServiceBricks.Cache.Client.XunitNet6.csproj index 0a93480..4ad4841 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet6/ServiceBricks.Cache.Client.XunitNet6.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet6/ServiceBricks.Cache.Client.XunitNet6.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet7/ServiceBricks.Cache.Client.XunitNet7.csproj b/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet7/ServiceBricks.Cache.Client.XunitNet7.csproj index 68583df..c9fce7f 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet7/ServiceBricks.Cache.Client.XunitNet7.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet7/ServiceBricks.Cache.Client.XunitNet7.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet8/ServiceBricks.Cache.Client.XunitNet8.csproj b/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet8/ServiceBricks.Cache.Client.XunitNet8.csproj index 871126a..cc5a7af 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet8/ServiceBricks.Cache.Client.XunitNet8.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Client.XunitNet8/ServiceBricks.Cache.Client.XunitNet8.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet6/ServiceBricks.Cache.Cosmos.XunitNet6.csproj b/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet6/ServiceBricks.Cache.Cosmos.XunitNet6.csproj index 05d7126..133b685 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet6/ServiceBricks.Cache.Cosmos.XunitNet6.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet6/ServiceBricks.Cache.Cosmos.XunitNet6.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet7/ServiceBricks.Cache.Cosmos.XunitNet7.csproj b/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet7/ServiceBricks.Cache.Cosmos.XunitNet7.csproj index 4b80fc8..6335006 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet7/ServiceBricks.Cache.Cosmos.XunitNet7.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet7/ServiceBricks.Cache.Cosmos.XunitNet7.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet8/ServiceBricks.Cache.Cosmos.XunitNet8.csproj b/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet8/ServiceBricks.Cache.Cosmos.XunitNet8.csproj index 4d84f12..281104b 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet8/ServiceBricks.Cache.Cosmos.XunitNet8.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Cosmos.XunitNet8/ServiceBricks.Cache.Cosmos.XunitNet8.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet6/ServiceBricks.Cache.InMemory.XunitNet6.csproj b/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet6/ServiceBricks.Cache.InMemory.XunitNet6.csproj index ff459ac..ea040c3 100644 --- a/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet6/ServiceBricks.Cache.InMemory.XunitNet6.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet6/ServiceBricks.Cache.InMemory.XunitNet6.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet7/ServiceBricks.Cache.InMemory.XunitNet7.csproj b/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet7/ServiceBricks.Cache.InMemory.XunitNet7.csproj index c5cda5c..99939cd 100644 --- a/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet7/ServiceBricks.Cache.InMemory.XunitNet7.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet7/ServiceBricks.Cache.InMemory.XunitNet7.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet8/ServiceBricks.Cache.InMemory.XunitNet8.csproj b/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet8/ServiceBricks.Cache.InMemory.XunitNet8.csproj index d900249..8df990d 100644 --- a/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet8/ServiceBricks.Cache.InMemory.XunitNet8.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.InMemory.XunitNet8/ServiceBricks.Cache.InMemory.XunitNet8.csproj @@ -21,22 +21,22 @@ - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet6/ServiceBricks.Cache.MongoDb.XunitNet6.csproj b/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet6/ServiceBricks.Cache.MongoDb.XunitNet6.csproj index 7432f25..0d9f845 100644 --- a/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet6/ServiceBricks.Cache.MongoDb.XunitNet6.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet6/ServiceBricks.Cache.MongoDb.XunitNet6.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet7/ServiceBricks.Cache.MongoDb.XunitNet7.csproj b/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet7/ServiceBricks.Cache.MongoDb.XunitNet7.csproj index 81a358c..7677453 100644 --- a/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet7/ServiceBricks.Cache.MongoDb.XunitNet7.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet7/ServiceBricks.Cache.MongoDb.XunitNet7.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet8/ServiceBricks.Cache.MongoDb.XunitNet8.csproj b/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet8/ServiceBricks.Cache.MongoDb.XunitNet8.csproj index 1555f0f..e97eedb 100644 --- a/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet8/ServiceBricks.Cache.MongoDb.XunitNet8.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.MongoDb.XunitNet8/ServiceBricks.Cache.MongoDb.XunitNet8.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet6/ServiceBricks.Cache.Postgres.XunitNet6.csproj b/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet6/ServiceBricks.Cache.Postgres.XunitNet6.csproj index 5fcb5e2..984899e 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet6/ServiceBricks.Cache.Postgres.XunitNet6.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet6/ServiceBricks.Cache.Postgres.XunitNet6.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet7/ServiceBricks.Cache.Postgres.XunitNet7.csproj b/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet7/ServiceBricks.Cache.Postgres.XunitNet7.csproj index 176df9e..7625ddc 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet7/ServiceBricks.Cache.Postgres.XunitNet7.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet7/ServiceBricks.Cache.Postgres.XunitNet7.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet8/ServiceBricks.Cache.Postgres.XunitNet8.csproj b/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet8/ServiceBricks.Cache.Postgres.XunitNet8.csproj index 57f40b4..c20c33f 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet8/ServiceBricks.Cache.Postgres.XunitNet8.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Postgres.XunitNet8/ServiceBricks.Cache.Postgres.XunitNet8.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet6/ServiceBricks.Cache.SqlServer.XunitNet6.csproj b/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet6/ServiceBricks.Cache.SqlServer.XunitNet6.csproj index 107c170..bd3bc2e 100644 --- a/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet6/ServiceBricks.Cache.SqlServer.XunitNet6.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet6/ServiceBricks.Cache.SqlServer.XunitNet6.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet7/ServiceBricks.Cache.SqlServer.XunitNet7.csproj b/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet7/ServiceBricks.Cache.SqlServer.XunitNet7.csproj index b83881a..0c5f5c6 100644 --- a/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet7/ServiceBricks.Cache.SqlServer.XunitNet7.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet7/ServiceBricks.Cache.SqlServer.XunitNet7.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet8/ServiceBricks.Cache.SqlServer.XunitNet8.csproj b/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet8/ServiceBricks.Cache.SqlServer.XunitNet8.csproj index 69fcbf7..9d09755 100644 --- a/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet8/ServiceBricks.Cache.SqlServer.XunitNet8.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.SqlServer.XunitNet8/ServiceBricks.Cache.SqlServer.XunitNet8.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet6/ServiceBricks.Cache.Sqlite.XunitNet6.csproj b/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet6/ServiceBricks.Cache.Sqlite.XunitNet6.csproj index 094e44a..aed0883 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet6/ServiceBricks.Cache.Sqlite.XunitNet6.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet6/ServiceBricks.Cache.Sqlite.XunitNet6.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet7/ServiceBricks.Cache.Sqlite.XunitNet7.csproj b/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet7/ServiceBricks.Cache.Sqlite.XunitNet7.csproj index 5ec3d9d..2e44afb 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet7/ServiceBricks.Cache.Sqlite.XunitNet7.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet7/ServiceBricks.Cache.Sqlite.XunitNet7.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet8/ServiceBricks.Cache.Sqlite.XunitNet8.csproj b/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet8/ServiceBricks.Cache.Sqlite.XunitNet8.csproj index b04d1e0..783cbbf 100644 --- a/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet8/ServiceBricks.Cache.Sqlite.XunitNet8.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.Sqlite.XunitNet8/ServiceBricks.Cache.Sqlite.XunitNet8.csproj @@ -21,18 +21,22 @@ - - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/src/V1/Tests/ServiceBricks.Cache.XunitNet6/ServiceBricks.Cache.XunitNet6.csproj b/src/V1/Tests/ServiceBricks.Cache.XunitNet6/ServiceBricks.Cache.XunitNet6.csproj index 00b8cb2..5a6923d 100644 --- a/src/V1/Tests/ServiceBricks.Cache.XunitNet6/ServiceBricks.Cache.XunitNet6.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.XunitNet6/ServiceBricks.Cache.XunitNet6.csproj @@ -14,21 +14,7 @@ - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - + diff --git a/src/V1/Tests/ServiceBricks.Cache.XunitNet7/ServiceBricks.Cache.XunitNet7.csproj b/src/V1/Tests/ServiceBricks.Cache.XunitNet7/ServiceBricks.Cache.XunitNet7.csproj index 87d6ec2..1e1fbfc 100644 --- a/src/V1/Tests/ServiceBricks.Cache.XunitNet7/ServiceBricks.Cache.XunitNet7.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.XunitNet7/ServiceBricks.Cache.XunitNet7.csproj @@ -14,20 +14,7 @@ - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - + diff --git a/src/V1/Tests/ServiceBricks.Cache.XunitNet8/ServiceBricks.Cache.XunitNet8.csproj b/src/V1/Tests/ServiceBricks.Cache.XunitNet8/ServiceBricks.Cache.XunitNet8.csproj index 939858a..05bbce9 100644 --- a/src/V1/Tests/ServiceBricks.Cache.XunitNet8/ServiceBricks.Cache.XunitNet8.csproj +++ b/src/V1/Tests/ServiceBricks.Cache.XunitNet8/ServiceBricks.Cache.XunitNet8.csproj @@ -13,21 +13,9 @@ + - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - + diff --git a/src/V1/Tests/TestFiles/appsettings.json b/src/V1/Tests/TestFiles/appsettings.json index 56eb8de..ddb46d7 100644 --- a/src/V1/Tests/TestFiles/appsettings.json +++ b/src/V1/Tests/TestFiles/appsettings.json @@ -27,7 +27,7 @@ "ConnectionString": "Data Source=c:\\temp\\ServiceBricksCache.sqlite" }, "Postgres": { - "ConnectionString": "Server=localhost;Port=5432;Database=servicebricks;User Id=postgres;Password=MyPassword" + "ConnectionString": "Server=localhost;Port=5432;Database=servicebricks;User Id=postgres;Password=ProgrammingFuel" }, "Cosmos": { "ConnectionString": "AccountEndpoint=", @@ -35,7 +35,7 @@ }, "MongoDb": { "ConnectionString": "mongodb://localhost:27017", - "DatabaseName": "ServiceBricks" + "Database": "ServiceBricks" } } } diff --git a/src/V1/Tests/WebAppNet6/Extensions/ServiceCollectionExtensions.cs b/src/V1/Tests/WebAppNet6/Extensions/ServiceCollectionExtensions.cs index 3933a3f..8196b63 100644 --- a/src/V1/Tests/WebAppNet6/Extensions/ServiceCollectionExtensions.cs +++ b/src/V1/Tests/WebAppNet6/Extensions/ServiceCollectionExtensions.cs @@ -73,10 +73,10 @@ public static IServiceCollection AddCustomWebsite(this IServiceCollection servic services.AddAuthorization(options => { //Add Built-in Security Policies - options.AddPolicy(ServiceBricksConstants.AdminSecurityPolicyName, policy => + options.AddPolicy(ServiceBricksConstants.SECURITY_POLICY_ADMIN, policy => policy.RequireAssertion(context => true)); - options.AddPolicy(ServiceBricksConstants.UserSecurityPolicyName, policy => + options.AddPolicy(ServiceBricksConstants.SECURITY_POLICY_USER, policy => policy.RequireAssertion(context => true)); }); diff --git a/src/V1/Tests/WebAppNet6/WebAppNet6.csproj b/src/V1/Tests/WebAppNet6/WebAppNet6.csproj index 260926e..df0a92f 100644 --- a/src/V1/Tests/WebAppNet6/WebAppNet6.csproj +++ b/src/V1/Tests/WebAppNet6/WebAppNet6.csproj @@ -15,7 +15,7 @@ - + diff --git a/src/V1/Tests/WebAppNet6/wwwroot/Logo.png b/src/V1/Tests/WebAppNet6/wwwroot/Logo.png index 916daa1..d161e16 100644 Binary files a/src/V1/Tests/WebAppNet6/wwwroot/Logo.png and b/src/V1/Tests/WebAppNet6/wwwroot/Logo.png differ diff --git a/src/V1/Tests/WebAppNet7/Extensions/ServiceCollectionExtensions.cs b/src/V1/Tests/WebAppNet7/Extensions/ServiceCollectionExtensions.cs index 3933a3f..8196b63 100644 --- a/src/V1/Tests/WebAppNet7/Extensions/ServiceCollectionExtensions.cs +++ b/src/V1/Tests/WebAppNet7/Extensions/ServiceCollectionExtensions.cs @@ -73,10 +73,10 @@ public static IServiceCollection AddCustomWebsite(this IServiceCollection servic services.AddAuthorization(options => { //Add Built-in Security Policies - options.AddPolicy(ServiceBricksConstants.AdminSecurityPolicyName, policy => + options.AddPolicy(ServiceBricksConstants.SECURITY_POLICY_ADMIN, policy => policy.RequireAssertion(context => true)); - options.AddPolicy(ServiceBricksConstants.UserSecurityPolicyName, policy => + options.AddPolicy(ServiceBricksConstants.SECURITY_POLICY_USER, policy => policy.RequireAssertion(context => true)); }); diff --git a/src/V1/Tests/WebAppNet7/WebAppNet7.csproj b/src/V1/Tests/WebAppNet7/WebAppNet7.csproj index 0464579..a7dc042 100644 --- a/src/V1/Tests/WebAppNet7/WebAppNet7.csproj +++ b/src/V1/Tests/WebAppNet7/WebAppNet7.csproj @@ -16,7 +16,7 @@ - + diff --git a/src/V1/Tests/WebAppNet7/wwwroot/Logo.png b/src/V1/Tests/WebAppNet7/wwwroot/Logo.png index 916daa1..d161e16 100644 Binary files a/src/V1/Tests/WebAppNet7/wwwroot/Logo.png and b/src/V1/Tests/WebAppNet7/wwwroot/Logo.png differ diff --git a/src/V1/Tests/WebAppNet8/Extensions/ServiceCollectionExtensions.cs b/src/V1/Tests/WebAppNet8/Extensions/ServiceCollectionExtensions.cs index 6078adc..aa2c838 100644 --- a/src/V1/Tests/WebAppNet8/Extensions/ServiceCollectionExtensions.cs +++ b/src/V1/Tests/WebAppNet8/Extensions/ServiceCollectionExtensions.cs @@ -74,10 +74,10 @@ public static IServiceCollection AddCustomWebsite(this IServiceCollection servic services.AddAuthorization(options => { //Add Built-in Security Policies - options.AddPolicy(ServiceBricksConstants.AdminSecurityPolicyName, policy => + options.AddPolicy(ServiceBricksConstants.SECURITY_POLICY_ADMIN, policy => policy.RequireAssertion(context => true)); - options.AddPolicy(ServiceBricksConstants.UserSecurityPolicyName, policy => + options.AddPolicy(ServiceBricksConstants.SECURITY_POLICY_USER, policy => policy.RequireAssertion(context => true)); }); diff --git a/src/V1/Tests/WebAppNet8/WebAppNet8.csproj b/src/V1/Tests/WebAppNet8/WebAppNet8.csproj index 76c1124..82da29d 100644 --- a/src/V1/Tests/WebAppNet8/WebAppNet8.csproj +++ b/src/V1/Tests/WebAppNet8/WebAppNet8.csproj @@ -13,10 +13,10 @@ - - + + - + diff --git a/src/V1/Tests/WebAppNet8/wwwroot/Logo.png b/src/V1/Tests/WebAppNet8/wwwroot/Logo.png index 916daa1..d161e16 100644 Binary files a/src/V1/Tests/WebAppNet8/wwwroot/Logo.png and b/src/V1/Tests/WebAppNet8/wwwroot/Logo.png differ