review-followup Wave 3 라운드 2(P18): outbox canonical 통일, composition 모듈, legacy Kafka seam 삭제
- 결정 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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
25de288ab4
commit
423a29c46f
@@ -285,6 +285,35 @@
|
||||
"adapter-inbound-web-notification"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "composition-outbox-relay",
|
||||
"gradle_path": ":composition:outbox-relay",
|
||||
"source_path": "src/composition/outbox-relay",
|
||||
"allowed_dependencies": [
|
||||
"application-core",
|
||||
"adapter-outbound-support"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "composition-idempotency",
|
||||
"gradle_path": ":composition:idempotency",
|
||||
"source_path": "src/composition/idempotency",
|
||||
"allowed_dependencies": [
|
||||
"application-core",
|
||||
"adapter-outbound-support"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "composition-service-runtime",
|
||||
"gradle_path": ":composition:service-runtime",
|
||||
"source_path": "src/composition/service-runtime",
|
||||
"allowed_dependencies": [
|
||||
"application-core",
|
||||
"shared-contract",
|
||||
"adapter-outbound-support",
|
||||
"adapter-outbound-identifier"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "app-bootstrap",
|
||||
"gradle_path": ":app-bootstrap",
|
||||
@@ -306,7 +335,10 @@
|
||||
"adapter-outbound-objectstorage",
|
||||
"adapter-inbound-websocket",
|
||||
"adapter-inbound-grpc",
|
||||
"composition-fileserver-platform"
|
||||
"composition-fileserver-platform",
|
||||
"composition-outbox-relay",
|
||||
"composition-idempotency",
|
||||
"composition-service-runtime"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -321,7 +353,9 @@
|
||||
"adapter-outbound-objectstorage",
|
||||
"adapter-inbound-web",
|
||||
"shared-contract",
|
||||
"application-objectstorage"
|
||||
"application-objectstorage",
|
||||
"composition-idempotency",
|
||||
"composition-service-runtime"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -445,25 +479,25 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "messaging-outbox-jdbc-postgresql",
|
||||
"gradle_path": ":messaging:messaging-outbox-jdbc-postgresql",
|
||||
"source_path": "src/messaging/messaging-outbox-jdbc-postgresql",
|
||||
"id": "messaging-reliability",
|
||||
"gradle_path": ":messaging:messaging-reliability",
|
||||
"source_path": "src/messaging/messaging-reliability",
|
||||
"allowed_dependencies": [
|
||||
"messaging-core-api",
|
||||
"messaging-reliability-api",
|
||||
"messaging-policy",
|
||||
"messaging-observability",
|
||||
"messaging-admin-api",
|
||||
"messaging-schema-api"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "messaging-inbox-jdbc-postgresql",
|
||||
"gradle_path": ":messaging:messaging-inbox-jdbc-postgresql",
|
||||
"source_path": "src/messaging/messaging-inbox-jdbc-postgresql",
|
||||
"id": "messaging-reliability-jdbc-postgresql",
|
||||
"gradle_path": ":messaging:messaging-reliability-jdbc-postgresql",
|
||||
"source_path": "src/messaging/messaging-reliability-jdbc-postgresql",
|
||||
"allowed_dependencies": [
|
||||
"messaging-core-api",
|
||||
"messaging-reliability-api"
|
||||
"messaging-reliability-api",
|
||||
"messaging-admin-api",
|
||||
"messaging-policy",
|
||||
"messaging-schema-api"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -507,11 +541,11 @@
|
||||
"messaging-admin-api",
|
||||
"messaging-admin-runtime",
|
||||
"messaging-core-api",
|
||||
"messaging-inbox-jdbc-postgresql",
|
||||
"messaging-observability",
|
||||
"messaging-outbox-jdbc-postgresql",
|
||||
"messaging-policy",
|
||||
"messaging-reliability",
|
||||
"messaging-reliability-api",
|
||||
"messaging-reliability-jdbc-postgresql",
|
||||
"messaging-runtime-core",
|
||||
"messaging-schema-api",
|
||||
"messaging-schema-json",
|
||||
|
||||
@@ -169,6 +169,7 @@
|
||||
"activationEnv": {
|
||||
"APP_MESSAGING_ENABLED": "true",
|
||||
"APP_MESSAGING_BROKER": "kafka",
|
||||
"APP_MESSAGING_PRODUCER_ID": "ca-skeleton",
|
||||
"APP_MESSAGING_KAFKA_BROKERS": "kafka:9092"
|
||||
},
|
||||
"expectedCapabilitiesOn": [
|
||||
@@ -200,6 +201,7 @@
|
||||
"activationEnv": {
|
||||
"APP_MESSAGING_ENABLED": "true",
|
||||
"APP_MESSAGING_BROKER": "kafka",
|
||||
"APP_MESSAGING_PRODUCER_ID": "ca-skeleton",
|
||||
"APP_PERSISTENCE_JPA_ENABLED": "true",
|
||||
"APP_OUTBOX_ENABLED": "true",
|
||||
"APP_OUTBOX_RELAY_ENABLED": "true",
|
||||
@@ -690,6 +692,7 @@
|
||||
"SPRING_MONGODB_URI": "mongodb://mongo:27017/ca_skeleton?replicaSet=rs0",
|
||||
"APP_MESSAGING_ENABLED": "true",
|
||||
"APP_MESSAGING_BROKER": "kafka",
|
||||
"APP_MESSAGING_PRODUCER_ID": "ca-skeleton",
|
||||
"APP_NOTIFICATION_PLATFORM_ENABLED": "true",
|
||||
"APP_NOTIFICATION_PLATFORM_MODE": "SERVING",
|
||||
"APP_GRAPHQL_ENABLED": "true",
|
||||
|
||||
Reference in New Issue
Block a user