Skip to content

Commit

Permalink
MassTransit#5. Update MassTransit packages to 8.0.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
matei-tm committed Sep 8, 2022
1 parent 2642a06 commit 5b0f207
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions src/SampleBatch.Api/SampleBatch.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MassTransit.Analyzers" Version="8.0.1" />
<PackageReference Include="MassTransit.RabbitMQ" Version="8.0.1" />
<PackageReference Include="MassTransit.Azure.ServiceBus.Core" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.7" />
<PackageReference Include="NSwag.AspNetCore" Version="13.6.2" />
<PackageReference Include="MassTransit.Analyzers" Version="8.0.6" />
<PackageReference Include="MassTransit.RabbitMQ" Version="8.0.6" />
<PackageReference Include="MassTransit.Azure.ServiceBus.Core" Version="8.0.6" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.8" />
<PackageReference Include="NSwag.AspNetCore" Version="13.16.1" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/SampleBatch.Common/SampleBatch.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MassTransit" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.7" />
<PackageReference Include="MassTransit" Version="8.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.8" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/SampleBatch.Components/SampleBatch.Components.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MassTransit.Analyzers" Version="8.0.1" />
<PackageReference Include="MassTransit.EntityFrameworkCore" Version="8.0.1" />
<PackageReference Include="MassTransit.Analyzers" Version="8.0.6" />
<PackageReference Include="MassTransit.EntityFrameworkCore" Version="8.0.6" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/SampleBatch.Contracts/SampleBatch.Contracts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MassTransit" Version="8.0.1" />
<PackageReference Include="MassTransit" Version="8.0.6" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/SampleBatch.Service/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static async Task Main(string[] args)
// I specified the MsSqlLockStatements because in my State Entities EFCore EntityConfigurations, I changed the column name from CorrelationId, to "BatchId" and "BatchJobId"
// Otherwise, I could just use r.UseSqlServer(), which uses the default, which are "... WHERE CorrelationId = @p0"
r.LockStatementProvider =
new CustomSqlLockStatementProvider("select * from {0}.{1} WITH (UPDLOCK, ROWLOCK) WHERE BatchId = @p0");
new CustomSqlLockStatementProvider();
});

cfg.AddSagaStateMachine<BatchJobStateMachine, BatchJobState, JobStateMachineDefinition>()
Expand All @@ -71,7 +71,7 @@ static async Task Main(string[] args)
// I specified the MsSqlLockStatements because in my State Entities EFCore EntityConfigurations, I changed the column name from CorrelationId, to "BatchId" and "BatchJobId"
// Otherwise, I could just use r.UseSqlServer(), which uses the default, which are "... WHERE CorrelationId = @p0"
r.LockStatementProvider =
new CustomSqlLockStatementProvider("select * from {0}.{1} WITH (UPDLOCK, ROWLOCK) WHERE BatchJobId = @p0");
new CustomSqlLockStatementProvider();
});

cfg.AddConsumersFromNamespaceContaining<ConsumerAnchor>();
Expand Down
14 changes: 7 additions & 7 deletions src/SampleBatch.Service/SampleBatch.Service.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MassTransit.Analyzers" Version="8.0.1" />
<PackageReference Include="MassTransit.EntityFrameworkCore" Version="8.0.1" />
<PackageReference Include="MassTransit.Quartz" Version="8.0.1" />
<PackageReference Include="MassTransit.RabbitMQ" Version="8.0.1" />
<PackageReference Include="MassTransit.Azure.ServiceBus.Core" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.7" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.7" />
<PackageReference Include="MassTransit.Analyzers" Version="8.0.6" />
<PackageReference Include="MassTransit.EntityFrameworkCore" Version="8.0.6" />
<PackageReference Include="MassTransit.Quartz" Version="8.0.6" />
<PackageReference Include="MassTransit.RabbitMQ" Version="8.0.6" />
<PackageReference Include="MassTransit.Azure.ServiceBus.Core" Version="8.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.8" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.8" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
Expand Down
12 changes: 6 additions & 6 deletions src/SampleBatch.Tests/SampleBatch.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="5.10.3" />
<PackageReference Include="MassTransit" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.7" />
<PackageReference Include="FluentAssertions" Version="6.7.0" />
<PackageReference Include="MassTransit" Version="8.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.8" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.2">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 5b0f207

Please sign in to comment.