Skip to content

Commit

Permalink
Fixes for V1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Logsdon committed May 13, 2024
1 parent cdab9ee commit d82f901
Show file tree
Hide file tree
Showing 74 changed files with 312 additions and 263 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.AzureDataTables</AssemblyTitle>
<Authors>holomodular</Authors>
Expand Down Expand Up @@ -37,6 +37,6 @@
<ProjectReference Include="..\ServiceBricks.Cache.Debug\ServiceBricks.Cache.Debug.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Storage.AzureDataTables" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Storage.AzureDataTables" Version="1.0.6" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static IApplicationBuilder StartServiceBricksCacheAzureDataTables(this IA
var configuration = serviceScope.ServiceProvider.GetRequiredService<IConfiguration>();

var connectionString = configuration.GetAzureDataTablesConnectionString(
CacheAzureDataTablesConstants.APPSETTINGS_CONNECTION_STRING);
CacheAzureDataTablesConstants.APPSETTING_CONNECTION_STRING);

// Create each table if not exists
TableClient tableClient = new TableClient(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// </summary>
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";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.AzureDataTables</AssemblyTitle>
<Authors>holomodular</Authors>
Expand All @@ -28,9 +28,9 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Cache" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Cache" Version="1.0.6" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Storage.AzureDataTables" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Storage.AzureDataTables" Version="1.0.6" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.Cosmos</AssemblyTitle>
<Authors>holomodular</Authors>
Expand Down Expand Up @@ -35,15 +35,15 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="8.0.4" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static IServiceCollection AddServiceBricksCacheCosmos(this IServiceCollec
// Register Database
var builder = new DbContextOptionsBuilder<CacheCosmosContext>();
string connectionString = configuration.GetCosmosConnectionString(
CacheCosmosConstants.APPSETTING_CONNECTION);
CacheCosmosConstants.APPSETTING_CONNECTION_STRING);
string database = configuration.GetCosmosDatabase(
CacheCosmosConstants.APPSETTING_DATABASE);
builder.UseCosmos(connectionString, database);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
/// </summary>
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";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.Cosmos</AssemblyTitle>
<Authors>holomodular</Authors>
Expand All @@ -28,18 +28,18 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Cache.EntityFrameworkCore" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Cache.EntityFrameworkCore" Version="1.0.6" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Cosmos" Version="8.0.4" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache</AssemblyTitle>
<Authors>holomodular</Authors>
Expand Down Expand Up @@ -39,6 +39,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="ServiceBricks" Version="1.0.5" />
<PackageReference Include="ServiceBricks" Version="1.0.6" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.EntityFrameworkCore</AssemblyTitle>
<Authors>holomodular</Authors>
Expand Down Expand Up @@ -32,7 +32,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="ServiceBricks.Storage.EntityFrameworkCore" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Storage.EntityFrameworkCore" Version="1.0.6" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ServiceBricks.Cache.Debug\ServiceBricks.Cache.Debug.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@
/// </summary>
public static class CacheEntityFrameworkCoreConstants
{
//public const string APPSETTING_DATABASE_CONNECTION = "ServiceBricks:Cache:EntityFrameworkCore:ConnectionString";

//public const string DATABASE_SCHEMA_NAME = "Cache";
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.EntityFrameworkCore</AssemblyTitle>
<Authors>holomodular</Authors>
Expand All @@ -28,7 +28,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Cache" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Storage.EntityFrameworkCore" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Cache" Version="1.0.6" />
<PackageReference Include="ServiceBricks.Storage.EntityFrameworkCore" Version="1.0.6" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.InMemory</AssemblyTitle>
<Authors>holomodular</Authors>
Expand Down Expand Up @@ -34,15 +34,15 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.4" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.InMemory</AssemblyTitle>
<Authors>holomodular</Authors>
Expand Down Expand Up @@ -29,19 +29,19 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="ServiceBricks.Cache.EntityFrameworkCore" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Cache.EntityFrameworkCore" Version="1.0.6" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="7.0.18" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.4" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.MongoDb</AssemblyTitle>
<Authors>holomodular</Authors>
Expand Down Expand Up @@ -32,7 +32,7 @@
<Compile Include="..\ServiceBricks.Cache.MongoDb\Storage\CacheStorageRepository.cs" Link="CacheStorageRepository.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Storage.MongoDb" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Storage.MongoDb" Version="1.0.6" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ServiceBricks.Cache.Debug\ServiceBricks.Cache.Debug.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
/// </summary>
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";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.MongoDb</AssemblyTitle>
<Authors>holomodular</Authors>
Expand All @@ -28,10 +28,10 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Storage.MongoDb" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Storage.MongoDb" Version="1.0.6" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Cache" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Cache" Version="1.0.6" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.Postgres</AssemblyTitle>
<Authors>holomodular</Authors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static IServiceCollection AddServiceBricksCachePostgres(this IServiceColl
//Register Database
var builder = new DbContextOptionsBuilder<CachePostgresContext>();
string connectionString = configuration.GetPostgresConnectionString(
CachePostgresConstants.APPSETTING_DATABASE_CONNECTION);
CachePostgresConstants.APPSETTING_CONNECTION_STRING);
builder.UseNpgsql(connectionString, x =>
{
x.MigrationsAssembly(typeof(ServiceCollectionExtensions).Assembly.GetName().Name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// </summary>
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";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public CachePostgresContext()

var builder = new DbContextOptionsBuilder<CachePostgresContext>();
string connectionString = configuration.GetPostgresConnectionString(
CachePostgresConstants.APPSETTING_DATABASE_CONNECTION);
CachePostgresConstants.APPSETTING_CONNECTION_STRING);
builder.UseNpgsql(connectionString, x =>
{
x.MigrationsAssembly(typeof(CachePostgresContext).Assembly.GetName().Name);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.5</Version>
<Version>1.0.6</Version>
<Description>ServiceBricks is the cornerstone for building a microservices foundation. Visit http://ServiceBricks.com to learn more.</Description>
<AssemblyTitle>ServiceBricks.Cache.Postgres</AssemblyTitle>
<Authors>holomodular</Authors>
Expand Down Expand Up @@ -29,7 +29,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="ServiceBricks.Cache.EntityFrameworkCore" Version="1.0.5" />
<PackageReference Include="ServiceBricks.Cache.EntityFrameworkCore" Version="1.0.6" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
Expand Down
Loading

0 comments on commit d82f901

Please sign in to comment.