Skip to content

Commit

Permalink
Fixed project files for 0.4.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvatore Isaja committed Dec 23, 2023
1 parent bb0a9ab commit b2bb663
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Example/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
await scatterGatherGateway.Gather(scatterRequestId, new[] { scatterPartId }, HandleCompletion);


// This creates a scatter-gather gateway using two MongoDB two collections in the specified database to store progress.
// This creates a scatter-gather gateway using two MongoDB collections in the specified database to store progress.
// These collections are named after the specified prefix, followed by .Requests and .Parts respectively.
// Here we decorate our ScatterGatherGateway to print duration and number of invocations.
static IScatterGatherGateway CreateMongoScatterGatherGateway()
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# ScatterGather - .NET library to implement the scatter-gather pattern using a database to store distributed progress state

* [`ScatterGather.DynamoDB` ![NuGet](https://img.shields.io/nuget/v/ScatterGather.DynamoDB.svg)](https://www.nuget.org/packages/ScatterGather.DynamoDB)
* [`ScatterGather.MongoDB` ![NuGet](https://img.shields.io/nuget/v/ScatterGather.MongoDB.svg)](https://www.nuget.org/packages/ScatterGather.MongoDB)
| NuGet package | Link |
|-------------- | ---- |
| ScatterGather | [![NuGet](https://img.shields.io/nuget/v/ScatterGather.svg)](https://www.nuget.org/packages/ScatterGather) |
| ScatterGather.DynamoDB | [![NuGet](https://img.shields.io/nuget/v/ScatterGather.DynamoDB.svg)](https://www.nuget.org/packages/ScatterGather.DynamoDB) |
| ScatterGather.MongoDB | [![NuGet](https://img.shields.io/nuget/v/ScatterGather.MongoDB.svg)](https://www.nuget.org/packages/ScatterGather.MongoDB) |

[Scatter-gather](https://www.enterpriseintegrationpatterns.com/patterns/messaging/BroadcastAggregate.html) is an enteprise integration pattern where a single big operation is split into a number of sub-operations, usually performed by separate workers, then some other operation must be carried on after all sub-operations have finished.

Expand Down
6 changes: 5 additions & 1 deletion ScatterGather.DynamoDB/ScatterGather.DynamoDB.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@
<Copyright>Copyright 2023 Salvatore Isaja</Copyright>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageProjectUrl>https://github.com/salvois/ScatterGather</PackageProjectUrl>
<Description>.NET library to implement the scatter-gather pattern using Amazon DynamoDB to store progress state</Description>
<Description>.NET library to implement the scatter-gather pattern using Amazon DynamoDB to store distributed progress state</Description>
</PropertyGroup>

<ItemGroup>
<None Include="../LICENSE.txt" Pack="true" PackagePath="$(PackageLicenseFile)" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.300.23" />
</ItemGroup>
Expand Down
8 changes: 6 additions & 2 deletions ScatterGather.MongoDB/ScatterGather.MongoDB.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
Expand All @@ -10,9 +10,13 @@
<Copyright>Copyright 2023 Salvatore Isaja</Copyright>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageProjectUrl>https://github.com/salvois/ScatterGather</PackageProjectUrl>
<Description>.NET library to implement the scatter-gather pattern using MongoDB to store progress state</Description>
<Description>.NET library to implement the scatter-gather pattern using MongoDB to store distributed progress state</Description>
</PropertyGroup>

<ItemGroup>
<None Include="../LICENSE.txt" Pack="true" PackagePath="$(PackageLicenseFile)" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="MongoDB.Driver" Version="2.23.1" />
</ItemGroup>
Expand Down
7 changes: 7 additions & 0 deletions ScatterGather/ScatterGather.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.4.0</Version>
<Authors>Salvo Isaja</Authors>
<Company>Salvo Isaja</Company>
<Copyright>Copyright 2023 Salvatore Isaja</Copyright>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageProjectUrl>https://github.com/salvois/ScatterGather</PackageProjectUrl>
<Description>.NET library to implement the scatter-gather pattern using a database to store distributed progress state</Description>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit b2bb663

Please sign in to comment.