Skip to content
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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

fredimachado
Copy link

@fredimachado fredimachado commented Nov 21, 2024

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, including AspNetCore.HealthChecks.EventStore.gRPC, EventStore.Client.Extensions.OpenTelemetry, and EventStore.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

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • PR doesn't include merge commits (always rebase on top of our main, if needed)
  • New integration
    • Docs are written
    • Added description of major feature to project description for NuGet package (4000 total character limit, so don't push entire description over that)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Contains NO breaking changes
  • Every new API (including internal ones) has full XML docs
  • Code follows all style conventions

Other information

Docs PR: dotnet/docs-aspire#2143

Copy link
Member

@aaronpowell aaronpowell left a 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

@fredimachado
Copy link
Author

I don't see tests for the client integration, only the hosting, I assume that they are still to come

Addressed in this commit: 8fc728b

Copy link
Member

@aaronpowell aaronpowell left a 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));
Copy link
Member

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?

Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EventStore Integration
3 participants