- 결정 7: `LegacyOutboxAppendPort`·legacy 저장 모델·relay·Kafka R0 seam 삭제, 템플릿 JSON encoder(`JsonIntegrationEventEncoder`),
durable operation·sample 이벤트가 `OutboxAppendPort` + encoder로, persistence-jpa V19(pre-canonical 미발행 row 거부)
- 결정 3: outbox relay·멱등성 executor 조립을 `composition:outbox-relay`·`composition:idempotency`로,
sample이 복사한 bootstrap 인프라를 `composition:service-runtime`으로(sample `SampleIdempotencyConfig` 복사본 삭제)
- persistence-jpa outbox·멱등성 패키지 feature 기준 이동, messaging outbox·inbox leaf를 reliability / reliability-jdbc-postgresql로
- messaging outbox header를 jsonb로(P18-new-1 — `\`로 끝나는 값이 다음 header를 삼키던 결함)
- 통합(충돌 22건): P25 A-10c(전략 선택 설정 삭제)를 service-runtime `DomainContextConfig`에 적용, P25 startup 예외 통합을
composition 설정 테스트에, P25 `CommandUseCase.handle` 이름을 PG 통합 테스트에, P15 `EventJson`은 호출자 0이 되어 삭제
- root CLAUDE.md의 legacy seam 문장 수정(P18-new-2)
검증: ./gradlew check architectureCheck verifyDependencyLocks verifyPublicPathSnapshot :app-bootstrap:verifyEnvKeys
configContractCheck :app-bootstrap:integrationTest :sample-portfolio:integrationTest :sample-portfolio:systemTest
persistence-jpa jpaPlatformContractTest·postgresql{Idempotency,OutboxAppendTransactional,OutboxConcurrentRelay,OutboxRowLifecycle}IntegrationTest
:messaging:messaging-reliability-jdbc-postgresql:integrationTest --continue 통과(700 task)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
20 lines
977 B
Groovy
20 lines
977 B
Groovy
plugins {
|
|
id 'ca.platform-module'
|
|
}
|
|
|
|
// The outbox relay and the inbox consumer logic, framework-free. What they store and claim goes
|
|
// through the ports in messaging-reliability-api; the relational implementation of those ports is
|
|
// messaging-reliability-jdbc-postgresql. Split so a leaf's name says what it depends on: this one
|
|
// is Java stdlib plus the messaging APIs, the other is Spring JDBC and PostgreSQL SQL.
|
|
dependencies {
|
|
api project(':messaging:messaging-core-api')
|
|
api project(':messaging:messaging-reliability-api')
|
|
// The relay hands encoded rows to the publisher as EncodedMessage.
|
|
api project(':messaging:messaging-schema-api')
|
|
|
|
// Test-only. The relay is also driven through the real DefaultMessagePublisher: a fake publisher
|
|
// accepted the pre-encoded rows the real one re-encoded and rejected.
|
|
testImplementation project(':messaging:messaging-runtime-core')
|
|
testImplementation project(':messaging:messaging-policy')
|
|
}
|