Skip to content

feat(house): timestamps, single-active-house guard, and Kafka DLT config - #43

Merged
hoangtuzami merged 1 commit into
mainfrom
test
May 16, 2026
Merged

feat(house): timestamps, single-active-house guard, and Kafka DLT config#43
hoangtuzami merged 1 commit into
mainfrom
test

Conversation

@hoangtuzami

Copy link
Copy Markdown
Member
  • House entity: explicit @CreationTimestamp / @UpdateTimestamp on createdAt/updatedAt.
  • HouseServiceImpl: deactivate other active houses of the same user when activating a new one.
  • HouseRepository + EContractEventConsumer: tweaks to support the guard.
  • HouseServiceImplTest: cover the deactivate-others path.
  • Add KafkaConsumerConfig with DLT recoverer (mirrors other services).

- House entity: explicit @CreationTimestamp / @UpdateTimestamp on createdAt/updatedAt.
- HouseServiceImpl: deactivate other active houses of the same user when activating a new one.
- HouseRepository + EContractEventConsumer: tweaks to support the guard.
- HouseServiceImplTest: cover the deactivate-others path.
- Add KafkaConsumerConfig with DLT recoverer (mirrors other services).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hoangtuzami
hoangtuzami merged commit 752bed9 into main May 16, 2026
1 check passed
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