Skip to content

feat(expenses): redesign account domain and modernize service runtime - #4

Merged
JacobChwastek merged 1 commit into
masterfrom
feature/expenses
Apr 26, 2026
Merged

feat(expenses): redesign account domain and modernize service runtime#4
JacobChwastek merged 1 commit into
masterfrom
feature/expenses

Conversation

@JacobChwastek

Copy link
Copy Markdown
Collaborator
  • upgrade the service to .NET 10 and align package, test, and Docker configuration
  • split the legacy Account model into FundingAccount and CreditCardAccount contracts, aggregates, handlers, projections, and endpoints
  • add credit-card statements, statement policies, settlement allocation, and funding-transfer-driven payment application
  • remove the legacy account command/event/projection/API surface in favor of funding-account and credit-card endpoints
  • add replay-safe projection idempotency via a MassTransit consume filter and processed-message tracking
  • move KurrentDB-to-RabbitMQ forwarding behind infrastructure abstractions and improve forwarder configuration
  • add projection read repositories, EF model changes, reset bootstrap migrations, and console operations for migrations, event-store reset, and projection clearing
  • add endpoint permission checks, request DTO mappings, contracts versioning workflows, and supporting tests
  • document redesign plans, rollout requirements, projection replay expectations, and operational runbooks

BREAKING CHANGE: legacy account contracts and /expenses/accounts endpoints are removed. Rebuild the expenses/projections databases and replay projections when deploying this change.

…frastructure

- upgrade solution to .NET 10 and align shared package/versioning workflow
- split account model into funding and credit-card domains with dedicated commands, events, handlers, APIs, projections, and tests
- add credit-card statement lifecycle, payment allocation, value objects, policies, specifications, and domain exceptions
- add funding payment instruments and transfer posting flow across contracts, domain, API, projections, and migrations
- modernize KurrentDB event persistence, RabbitMQ forwarding, projection idempotency, and read repository access
- add EF Core migration projects, schema-scoped DbUp journals, projection clear/reset tooling, and console operations
- improve endpoint permission checks, request DTO organization, host configuration, and infrastructure DI registration
- remove stale account and expense command surfaces that are no longer executable
- add wiki submodule workflow, agent documentation, and refreshed architecture/runbook documentation support
- expand test coverage for contracts, domain behavior, application handlers, projections, API request mapping, and forwarding
@JacobChwastek
JacobChwastek merged commit 7ada53e into master Apr 26, 2026
2 checks passed
@JacobChwastek
JacobChwastek deleted the feature/expenses branch June 20, 2026 20:22
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.

1 participant