test(timeline): allow timeline package in entity-location ArchRule
Some checks failed
CI / Unit & Component Tests (pull_request) Failing after 39s
CI / OCR Service Tests (pull_request) Successful in 25s
CI / Backend Unit Tests (pull_request) Successful in 5m45s
CI / fail2ban Regex (pull_request) Successful in 47s
CI / Semgrep Security Scan (pull_request) Successful in 24s
CI / Compose Bucket Idempotency (pull_request) Successful in 1m8s

The entities_reside_in_domain_packages ArchUnit rule has a hardcoded
allow-list of domain packages; add ..timeline.. so TimelineEvent passes.
CI caught this — the new domain package was not yet whitelisted.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-06-12 23:26:27 +02:00
parent 27bfa7acbd
commit bed99ff3fe

View File

@@ -122,7 +122,8 @@ class ArchitectureTest {
.that().areAnnotatedWith(Entity.class) .that().areAnnotatedWith(Entity.class)
.should().resideInAnyPackage( .should().resideInAnyPackage(
"..document..", "..person..", "..tag..", "..user..", "..document..", "..person..", "..tag..", "..user..",
"..geschichte..", "..notification..", "..ocr..", "..audit.." "..geschichte..", "..notification..", "..ocr..", "..audit..",
"..timeline.."
); );
// TODO Rule 5: Controllers expose endpoints under their domain prefix // TODO Rule 5: Controllers expose endpoints under their domain prefix