Skip to content

Commit

Permalink
Updated packages. (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgernand authored Apr 27, 2024
1 parent 1da38c4 commit b7655a4
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
namespace Ordering.HttpApi.Endpoints.Orders
{
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
using MadEyeMatt.AspNetCore.Endpoints;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;

[PublicAPI]
public sealed class GetOrders : EndpointBase
{
/// <inheritdoc />
public override void Map(IEndpointRouteBuilder endpoints)
{
endpoints
.MapGet(this.Execute)
.AllowAnonymous();
}

private Task<IResult> Execute(CancellationToken cancellationToken = default)
{
return Task.FromResult(Results.Ok());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,22 @@
using Fluxera.Extensions.Hosting.Modules;
using Fluxera.Extensions.Hosting.Modules.AspNetCore.HttpApi;
using JetBrains.Annotations;
using MadEyeMatt.AspNetCore.Endpoints;
using Microsoft.Extensions.DependencyInjection;

[PublicAPI]
[DependsOn<HttpApiModule>]
public sealed class OrderingHttpApiModule : ConfigureApplicationModule
{
/// <inheritdoc />
public override void ConfigureServices(IServiceConfigurationContext context)
{
context.Services.Configure<EndpointsOptions>(options =>
{
options.EndpointsRoutePrefix = "endpoints";
});
}

/// <inheritdoc />
public override void PreConfigure(IApplicationInitializationContext context)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
<PackageReference Include="MadEyeMatt.Results" Version="2.1.0" />
<PackageReference Include="MassTransit.Abstractions" Version="8.2.1" />
<PackageReference Include="MassTransit.Abstractions" Version="8.2.2" />
<PackageReference Include="MediatR.Contracts" Version="2.0.1" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
<PackageReference Include="MassTransit.Abstractions" Version="8.2.1" />
<PackageReference Include="MassTransit.Abstractions" Version="8.2.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
<PackageReference Include="MassTransit.AmazonSQS" Version="8.2.1" />
<PackageReference Include="MassTransit.AmazonSQS" Version="8.2.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
<PackageReference Include="MassTransit.Azure.ServiceBus.Core" Version="8.2.1" />
<PackageReference Include="MassTransit.Azure.ServiceBus.Core" Version="8.2.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
<PackageReference Include="MassTransit.EntityFrameworkCore" Version="8.2.1" />
<PackageReference Include="MassTransit.EntityFrameworkCore" Version="8.2.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
<PackageReference Include="MassTransit.MongoDb" Version="8.2.1" />
<PackageReference Include="MassTransit.MongoDb" Version="8.2.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
<PackageReference Include="MassTransit.RabbitMQ" Version="8.2.1" />
<PackageReference Include="MassTransit.RabbitMQ" Version="8.2.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</PackageReference>
<PackageReference Include="IdentityModel" Version="7.0.0" />
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="All" />
<PackageReference Include="MassTransit" Version="8.2.1" />
<PackageReference Include="MassTransit" Version="8.2.2" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.5.1" />
</ItemGroup>

Expand Down

0 comments on commit b7655a4

Please sign in to comment.