-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EventStore Hosting and Client integrations #277
base: main
Are you sure you want to change the base?
Add EventStore Hosting and Client integrations #277
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see tests for the client integration, only the hosting, I assume that they are still to come
src/CommunityToolkit.Aspire.Hosting.EventStore/EventStoreBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
src/CommunityToolkit.Aspire.Hosting.EventStore/EventStoreBuilderExtensions.cs
Show resolved
Hide resolved
tests/CommunityToolkit.Aspire.Hosting.EventStore.Tests/AppHostTests.cs
Outdated
Show resolved
Hide resolved
tests/CommunityToolkit.Aspire.Hosting.EventStore.Tests/AppHostTests.cs
Outdated
Show resolved
Hide resolved
tests/CommunityToolkit.Aspire.Hosting.EventStore.Tests/AppHostTests.cs
Outdated
Show resolved
Hide resolved
tests/CommunityToolkit.Aspire.Hosting.EventStore.Tests/AppHostTests.cs
Outdated
Show resolved
Hide resolved
tests/CommunityToolkit.Aspire.Hosting.EventStore.Tests/EventStorePublicApiTests.cs
Outdated
Show resolved
Hide resolved
Addressed in this commit: 8fc728b |
c91cf2c
to
1302216
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good @fredimachado
I've kicked off a build, once it's clean we can look to merge it in.
You should also have an invite to the contributor team (which will sort out the CODEOWNERS)
sp => new EventStoreHealthCheck(settings.ConnectionString!), | ||
failureStatus: default, | ||
tags: default, | ||
timeout: default)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a HealthCheckTimeout
property with TimeSpan
type to EventStoreSetting
and use it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in this commit 9bb0b5d
Closes #236
This pull request includes several updates to the Aspire CommunityToolkit including new projects for EventStore Hosting and Client integrations, a simple "bank account" example project, tests and updates to dependencies.
Project Additions and Updates:
Added new EventStore projects to the solution, including
Aspire.CommunityToolkit.Hosting.EventStore
,Aspire.CommunityToolkit.EventStore
, and their respective test and example projects.Dependency Updates:
Added new dependencies in
Directory.Packages.props
, includingAspNetCore.HealthChecks.EventStore.gRPC
,EventStore.Client.Extensions.OpenTelemetry
, andEventStore.Client.Grpc.Streams
. (Directory.Packages.props
) [1]Code Ownership:
Updated the CODEOWNERS file to include new EventStore projects and assigned ownership to @fredimachado. (CODEOWNERS)
New Example Project:
Added a simple "bank account" example project for EventStore service. (examples/eventstore/Aspire.CommunityToolkit.Hosting.EventStore.ApiService) [1]
PR Checklist
Other information
Docs PR: dotnet/docs-aspire#2143