Skip to content

Commit

Permalink
Use Aspirant.Hosting package to Wait for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fredimachado committed May 25, 2024
1 parent 51a2dbd commit 0d1ebcf
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 332 deletions.
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Aspirant.Hosting" Version="0.0.3" />
<PackageVersion Include="Aspire.Hosting" Version="8.0.1" />
<PackageVersion Include="Aspire.Hosting.AppHost" Version="8.0.1" />
<PackageVersion Include="Aspire.Hosting.RabbitMQ" Version="8.0.1" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using HealthChecks.EventStore.gRPC;
using Aspirant.Hosting;
using HealthChecks.EventStore.gRPC;

namespace Aspire.Hosting;

Expand Down
30 changes: 0 additions & 30 deletions src/Aspire/NCafe.AppHost/Hosting/HealthCheckAnnotation.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using HealthChecks.RabbitMQ;
using Aspirant.Hosting;
using HealthChecks.RabbitMQ;

namespace Aspire.Hosting;

Expand Down
300 changes: 0 additions & 300 deletions src/Aspire/NCafe.AppHost/Hosting/WaitForDependenciesExtensions.cs

This file was deleted.

1 change: 1 addition & 0 deletions src/Aspire/NCafe.AppHost/NCafe.AppHost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Aspirant.Hosting" />
<PackageReference Include="Aspire.Hosting.AppHost" />
<PackageReference Include="Aspire.Hosting.RabbitMQ" />
<PackageReference Include="AspNetCore.HealthChecks.EventStore.gRPC" />
Expand Down
2 changes: 2 additions & 0 deletions src/Aspire/NCafe.AppHost/Program.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using Aspirant.Hosting;

var builder = DistributedApplication.CreateBuilder(args);

var eventStore = builder.AddEventStore("eventstore")
Expand Down

0 comments on commit 0d1ebcf

Please sign in to comment.