Skip to content

Commit

Permalink
v1.1.0-p pre-release
Browse files Browse the repository at this point in the history
Fix for mongodb guid serialization with v3.0.0
  • Loading branch information
Danny Logsdon committed Nov 6, 2024
1 parent 3ba2cac commit d60dd2e
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache.AzureDataTables</PackageId>
<Title>ServiceBricks.Cache.AzureDataTables</Title>
Expand Down Expand Up @@ -36,6 +36,6 @@
<ProjectReference Include="..\ServiceBricks.Cache\ServiceBricks.Cache.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-p" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache.Cosmos</PackageId>
<Title>ServiceBricks.Cache.Cosmos</Title>
Expand Down Expand Up @@ -36,7 +36,7 @@
<ProjectReference Include="..\ServiceBricks.Cache.EntityFrameworkCore\ServiceBricks.Cache.EntityFrameworkCore.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-p" />
</ItemGroup>

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

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache.EntityFrameworkCore</PackageId>
<Title>ServiceBricks.Cache.EntityFrameworkCore</Title>
Expand Down Expand Up @@ -36,6 +36,6 @@
<ProjectReference Include="..\ServiceBricks.Cache\ServiceBricks.Cache.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-p" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache.InMemory</PackageId>
<Title>ServiceBricks.Cache.InMemory</Title>
Expand Down Expand Up @@ -36,7 +36,7 @@
<ProjectReference Include="..\ServiceBricks.Cache.EntityFrameworkCore\ServiceBricks.Cache.EntityFrameworkCore.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-p" />
</ItemGroup>

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

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache.Microservice</PackageId>
<Title>ServiceBricks.Cache.Microservice</Title>
Expand Down Expand Up @@ -34,7 +34,7 @@
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-p" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ServiceBricks.Cache\ServiceBricks.Cache.csproj" PrivateAssets="All">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Microsoft.Extensions.DependencyInjection;
using MongoDB.Bson.Serialization.Serializers;
using MongoDB.Bson.Serialization;
using MongoDB.Bson;

namespace ServiceBricks.Cache.MongoDb
{
Expand Down Expand Up @@ -53,6 +56,8 @@ public override IResponse ExecuteRule(IBusinessRuleContext context)
var services = e.ServiceCollection;
//var configuration = e.Configuration;

BsonSerializer.RegisterSerializer(new GuidSerializer(GuidRepresentation.Standard));

// AI: Add the storage services for the module for each domain object
services.AddScoped<IStorageRepository<CacheData>, CacheStorageRepository<CacheData>>();

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

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache.MongoDb</PackageId>
<Title>ServiceBricks.Cache.MongoDb</Title>
Expand Down Expand Up @@ -36,7 +36,7 @@
<ProjectReference Include="..\ServiceBricks.Cache\ServiceBricks.Cache.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-p" />
</ItemGroup>

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

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache.Postgres</PackageId>
<Title>ServiceBricks.Cache.Postgres</Title>
Expand Down Expand Up @@ -36,7 +36,7 @@
<ProjectReference Include="..\ServiceBricks.Cache.EntityFrameworkCore\ServiceBricks.Cache.EntityFrameworkCore.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-p" />
</ItemGroup>

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

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache.SqlServer</PackageId>
<Title>ServiceBricks.Cache.SqlServer</Title>
Expand Down Expand Up @@ -36,7 +36,7 @@
<ProjectReference Include="..\ServiceBricks.Cache.EntityFrameworkCore\ServiceBricks.Cache.EntityFrameworkCore.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-p" />
</ItemGroup>

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

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache.Sqlite</PackageId>
<Title>ServiceBricks.Cache.Sqlite</Title>
Expand Down Expand Up @@ -36,7 +36,7 @@
<ProjectReference Include="..\ServiceBricks.Cache.EntityFrameworkCore\ServiceBricks.Cache.EntityFrameworkCore.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Core" Version="1.1.0-p" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/V1/ServiceBricks.Cache/ServiceBricks.Cache.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.1.0-o</Version>
<Version>1.1.0-p</Version>
<Description>The open source microservices platform. Visit https://ServiceBricks.com to learn more.</Description>
<PackageId>ServiceBricks.Cache</PackageId>
<Title>ServiceBricks.Cache</Title>
Expand Down Expand Up @@ -33,7 +33,7 @@
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ServiceBricks" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks" Version="1.1.0-p" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="ServiceBricks.Xunit" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Xunit" Version="1.1.0-p" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="ServiceBricks.Xunit" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Xunit" Version="1.1.0-p" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
<Compile Include="..\TestFiles\CacheDataTestManager.cs" Link="CacheDataTestManager.cs" />
</ItemGroup>


<ItemGroup>
<PackageReference Include="ServiceBricks.Xunit" Version="1.1.0-o" />
<PackageReference Include="ServiceBricks.Xunit" Version="1.1.0-p" />
</ItemGroup>

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

0 comments on commit d60dd2e

Please sign in to comment.