feat(api): define shared EventEnvelope and EventType for Redis EventBus #61

Merged
Janis merged 2 commits from worktree-feat+NCS-90-shared-event-envelope into main 2026-06-05 12:11:14 +02:00

2 Commits

Author SHA1 Message Date
Janis f87b99f749 style(account): apply scalafmt formatting to EventPublisher
Build & Test (NowChessSystems) TeamCity build finished
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 11:19:02 +02:00
Janis 35c8f07544 feat(api): define shared EventEnvelope and EventType for Redis EventBus
Build & Test (NowChessSystems) TeamCity build failed
- Add EventEnvelope case class (eventId, type, payload, timestamp, correlationId)
- Add EventType enum with all known event types
- Update account EventPublisher to use EventEnvelope instead of raw string interpolation
- Add EventEnvelope/EventType to account NativeReflectionConfig
- Add Jackson Scala and JSR310 modules to api dependencies
- Add api module dependency to account module
- Add NativeReflectionConfig rule to CLAUDE.md

Closes NCS-90
https://knockoutwhist.youtrack.cloud/issue/NCS-90

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 11:05:54 +02:00