Files
clean-architecture-backend-…/src/config/architecture/modules.json
T
donghyeon-kaandClaude Opus 5.5 09e2dd63d6 review-followup Wave 3 라운드 3(P19): 3-D 공통 유틸 — Sha256·HmacSha256·Backoff·MdcKeys·TenantId, caller 트랜잭션 guard 하나
- shared-contract `Sha256`(약 65벌 흡수, notification `MessageDigestPort` 삭제), `HmacSha256`(서명 헬퍼), `Backoff`("full jitter" 뜻 하나),
  `MdcKeys`(gRPC·STOMP에도 상관관계), registry edge application-notification → shared-contract
- application-core `TenantId` 하나로 web·GraphQL tenant 문법 통일, web operation 경로에 tenant 해석(JWT `tenant_id`)
- persistence-jpa `CallerTransaction` 하나(복사본 4벌 + `JpaStreamScope` 흡수), 범위 없는 멱등성·outbox 리포지토리 메서드 제거(E-6b)
- 주입된 `Clock` 우회 제거(objectstorage·websocket·mongo·web stream), GraphQL 오류가 HTTP request id 사용, notification UUIDv7은 uuid-creator
- 호출처 없는 `WebRequestContext`·argument resolver 삭제
- 결함 수정: `WebStreamRegistry` 상한 경합(ORCH-new-3 — bin 하나만 잠그는 lock 안에서 크기 확인, 원자 카운터로 슬롯 예약)
- 현황표: 소유자 결정 33(persistence-notification·fileserver → persistence-jpa edge), 34(id 포트 domain 전환 보류), 35(X2-P2-6b 나머지 보류)

검증: ./gradlew check architectureCheck verifyDependencyLocks verifyPublicPathSnapshot :app-bootstrap:verifyEnvKeys configContractCheck
:app-bootstrap:integrationTest :sample-portfolio:integrationTest :sample-portfolio:systemTest graphql·websocket systemTest
persistence-jpa jpaPlatformContractTest·postgresql{Idempotency,Outbox*}IntegrationTest --continue 통과(695 task)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-29 14:17:48 +09:00

643 lines
19 KiB
JSON

{
"modules": [
{
"id": "domain-core",
"gradle_path": ":domain-core",
"source_path": "src/domain-core",
"allowed_dependencies": []
},
{
"id": "shared-contract",
"gradle_path": ":shared-contract",
"source_path": "src/shared-contract",
"allowed_dependencies": []
},
{
"id": "application-core",
"gradle_path": ":application-core",
"source_path": "src/application-core",
"allowed_dependencies": [
"domain-core",
"shared-contract"
]
},
{
"id": "application-notification",
"gradle_path": ":application-notification",
"source_path": "src/application-notification",
"allowed_dependencies": [
"application-core",
"shared-contract"
]
},
{
"id": "application-fileserver",
"gradle_path": ":application-fileserver",
"source_path": "src/application-fileserver",
"allowed_dependencies": [
"application-core",
"shared-contract"
]
},
{
"id": "application-objectstorage",
"gradle_path": ":application-objectstorage",
"source_path": "src/application-objectstorage",
"allowed_dependencies": [
"application-core"
]
},
{
"id": "adapter-outbound-support",
"gradle_path": ":adapter:outbound:support",
"source_path": "src/adapter/outbound/support",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract"
]
},
{
"id": "adapter-outbound-persistence-jpa",
"gradle_path": ":adapter:outbound:persistence-jpa",
"source_path": "src/adapter/outbound/persistence-jpa",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract",
"adapter-outbound-support"
]
},
{
"id": "adapter-outbound-persistence-fileserver",
"gradle_path": ":adapter:outbound:persistence-fileserver",
"source_path": "src/adapter/outbound/persistence-fileserver",
"allowed_dependencies": [
"application-core",
"application-fileserver"
]
},
{
"id": "adapter-outbound-persistence-notification",
"gradle_path": ":adapter:outbound:persistence-notification",
"source_path": "src/adapter/outbound/persistence-notification",
"allowed_dependencies": [
"application-core",
"application-notification"
]
},
{
"id": "adapter-outbound-persistence-mongo",
"gradle_path": ":adapter:outbound:persistence-mongo",
"source_path": "src/adapter/outbound/persistence-mongo",
"allowed_dependencies": [
"application-core"
]
},
{
"id": "adapter-outbound-identifier",
"gradle_path": ":adapter:outbound:identifier",
"source_path": "src/adapter/outbound/identifier",
"allowed_dependencies": [
"domain-core",
"application-core"
]
},
{
"id": "adapter-outbound-fileserver",
"gradle_path": ":adapter:outbound:fileserver",
"source_path": "src/adapter/outbound/fileserver",
"allowed_dependencies": [
"application-core",
"shared-contract",
"application-fileserver",
"adapter-outbound-support"
]
},
{
"id": "adapter-outbound-objectstorage",
"gradle_path": ":adapter:outbound:objectstorage",
"source_path": "src/adapter/outbound/objectstorage",
"allowed_dependencies": [
"application-core",
"shared-contract",
"application-objectstorage"
]
},
{
"id": "adapter-outbound-redis-runtime",
"gradle_path": ":adapter:outbound:redis-runtime",
"source_path": "src/adapter/outbound/redis-runtime",
"allowed_dependencies": []
},
{
"id": "adapter-outbound-redis-sdk",
"gradle_path": ":adapter:outbound:redis-sdk",
"source_path": "src/adapter/outbound/redis-sdk",
"allowed_dependencies": [
"adapter-outbound-redis-runtime"
]
},
{
"id": "adapter-outbound-cache-redis",
"gradle_path": ":adapter:outbound:cache-redis",
"source_path": "src/adapter/outbound/cache-redis",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract",
"adapter-outbound-support",
"adapter-outbound-redis-runtime"
]
},
{
"id": "adapter-outbound-httpclient",
"gradle_path": ":adapter:outbound:httpclient",
"source_path": "src/adapter/outbound/httpclient",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract",
"adapter-outbound-support"
]
},
{
"id": "adapter-outbound-messaging",
"gradle_path": ":adapter:outbound:messaging",
"source_path": "src/adapter/outbound/messaging",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract",
"adapter-outbound-support",
"messaging-core-api"
]
},
{
"id": "adapter-outbound-messaging-kafka",
"gradle_path": ":adapter:outbound:messaging-kafka",
"source_path": "src/adapter/outbound/messaging-kafka",
"allowed_dependencies": [
"adapter-outbound-messaging",
"messaging-spring-boot-starter-kafka"
]
},
{
"id": "adapter-outbound-notification",
"gradle_path": ":adapter:outbound:notification",
"source_path": "src/adapter/outbound/notification",
"allowed_dependencies": [
"application-core",
"shared-contract",
"adapter-outbound-support",
"application-notification"
]
},
{
"id": "adapter-inbound-web",
"gradle_path": ":adapter:inbound:web",
"source_path": "src/adapter/inbound/web",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract"
]
},
{
"id": "adapter-inbound-web-notification",
"gradle_path": ":adapter:inbound:web-notification",
"source_path": "src/adapter/inbound/web-notification",
"allowed_dependencies": [
"adapter-inbound-web",
"application-core",
"application-notification",
"shared-contract"
]
},
{
"id": "adapter-inbound-web-fileserver",
"gradle_path": ":adapter:inbound:web-fileserver",
"source_path": "src/adapter/inbound/web-fileserver",
"allowed_dependencies": [
"adapter-inbound-web",
"application-core",
"application-fileserver",
"shared-contract"
]
},
{
"id": "adapter-inbound-web-advanced",
"gradle_path": ":adapter:inbound:web-advanced",
"source_path": "src/adapter/inbound/web-advanced",
"allowed_dependencies": [
"adapter-inbound-web",
"application-core",
"shared-contract"
]
},
{
"id": "adapter-inbound-grpc",
"gradle_path": ":adapter:inbound:grpc",
"source_path": "src/adapter/inbound/grpc",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract"
]
},
{
"id": "adapter-inbound-graphql",
"gradle_path": ":adapter:inbound:graphql",
"source_path": "src/adapter/inbound/graphql",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract"
]
},
{
"id": "adapter-inbound-websocket",
"gradle_path": ":adapter:inbound:websocket",
"source_path": "src/adapter/inbound/websocket",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract"
]
},
{
"id": "composition-fileserver-platform",
"gradle_path": ":composition:fileserver-platform",
"source_path": "src/composition/fileserver-platform",
"allowed_dependencies": [
"application-core",
"application-fileserver",
"shared-contract",
"adapter-outbound-fileserver",
"adapter-outbound-identifier",
"adapter-outbound-support",
"adapter-outbound-persistence-fileserver",
"adapter-outbound-persistence-jpa",
"adapter-inbound-web-fileserver",
"adapter-inbound-web"
]
},
{
"id": "composition-notification-platform",
"gradle_path": ":composition:notification-platform",
"source_path": "src/composition/notification-platform",
"allowed_dependencies": [
"application-core",
"application-notification",
"adapter-outbound-notification",
"adapter-outbound-persistence-notification",
"adapter-outbound-persistence-jpa",
"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",
"source_path": "src/app-bootstrap",
"allowed_dependencies": [
"domain-core",
"application-core",
"adapter-outbound-support",
"adapter-outbound-persistence-jpa",
"adapter-outbound-cache-redis",
"composition-notification-platform",
"adapter-outbound-identifier",
"adapter-inbound-web",
"shared-contract",
"adapter-outbound-messaging-kafka",
"adapter-outbound-persistence-mongo",
"adapter-inbound-graphql",
"adapter-outbound-httpclient",
"adapter-outbound-objectstorage",
"adapter-inbound-websocket",
"adapter-inbound-grpc",
"composition-fileserver-platform",
"composition-outbox-relay",
"composition-idempotency",
"composition-service-runtime"
]
},
{
"id": "sample-portfolio",
"gradle_path": ":sample-portfolio",
"source_path": "src/sample-portfolio",
"allowed_dependencies": [
"domain-core",
"application-core",
"adapter-outbound-persistence-jpa",
"adapter-outbound-identifier",
"adapter-outbound-objectstorage",
"adapter-inbound-web",
"shared-contract",
"application-objectstorage",
"composition-idempotency",
"composition-service-runtime"
]
},
{
"id": "messaging-core-api",
"gradle_path": ":messaging:messaging-core-api",
"source_path": "src/messaging/messaging-core-api",
"allowed_dependencies": []
},
{
"id": "messaging-schema-json",
"gradle_path": ":messaging:messaging-schema-json",
"source_path": "src/messaging/messaging-schema-json",
"allowed_dependencies": [
"messaging-core-api"
]
},
{
"id": "messaging-schema-avro",
"gradle_path": ":messaging:messaging-schema-avro",
"source_path": "src/messaging/messaging-schema-avro",
"allowed_dependencies": [
"messaging-core-api"
]
},
{
"id": "messaging-schema-protobuf",
"gradle_path": ":messaging:messaging-schema-protobuf",
"source_path": "src/messaging/messaging-schema-protobuf",
"allowed_dependencies": [
"messaging-core-api"
]
},
{
"id": "messaging-cloudevents",
"gradle_path": ":messaging:messaging-cloudevents",
"source_path": "src/messaging/messaging-cloudevents",
"allowed_dependencies": [
"messaging-core-api"
]
},
{
"id": "messaging-policy",
"gradle_path": ":messaging:messaging-policy",
"source_path": "src/messaging/messaging-policy",
"allowed_dependencies": [
"messaging-core-api"
]
},
{
"id": "messaging-transport-spi",
"gradle_path": ":messaging:messaging-transport-spi",
"source_path": "src/messaging/messaging-transport-spi",
"allowed_dependencies": [
"messaging-core-api",
"messaging-policy"
]
},
{
"id": "messaging-runtime-core",
"gradle_path": ":messaging:messaging-runtime-core",
"source_path": "src/messaging/messaging-runtime-core",
"allowed_dependencies": [
"messaging-core-api",
"messaging-policy",
"messaging-transport-spi",
"messaging-security",
"messaging-observability"
]
},
{
"id": "messaging-observability",
"gradle_path": ":messaging:messaging-observability",
"source_path": "src/messaging/messaging-observability",
"allowed_dependencies": [
"messaging-core-api"
]
},
{
"id": "messaging-security",
"gradle_path": ":messaging:messaging-security",
"source_path": "src/messaging/messaging-security",
"allowed_dependencies": [
"messaging-core-api"
]
},
{
"id": "messaging-kafka",
"gradle_path": ":messaging:messaging-kafka",
"source_path": "src/messaging/messaging-kafka",
"allowed_dependencies": [
"messaging-core-api",
"messaging-policy",
"messaging-transport-spi",
"messaging-observability",
"messaging-security",
"messaging-admin"
]
},
{
"id": "messaging-reliability-api",
"gradle_path": ":messaging:messaging-reliability-api",
"source_path": "src/messaging/messaging-reliability-api",
"allowed_dependencies": [
"messaging-core-api"
]
},
{
"id": "messaging-reliability",
"gradle_path": ":messaging:messaging-reliability",
"source_path": "src/messaging/messaging-reliability",
"allowed_dependencies": [
"messaging-core-api",
"messaging-reliability-api"
]
},
{
"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-admin",
"messaging-policy"
]
},
{
"id": "messaging-claim-check",
"gradle_path": ":messaging:messaging-claim-check",
"source_path": "src/messaging/messaging-claim-check",
"allowed_dependencies": [
"messaging-core-api",
"messaging-reliability-api"
]
},
{
"id": "messaging-admin",
"gradle_path": ":messaging:messaging-admin",
"source_path": "src/messaging/messaging-admin",
"allowed_dependencies": [
"messaging-core-api",
"messaging-observability"
]
},
{
"id": "messaging-spring-boot-starter",
"gradle_path": ":messaging:messaging-spring-boot-starter",
"source_path": "src/messaging/messaging-spring-boot-starter",
"allowed_dependencies": [
"messaging-admin",
"messaging-core-api",
"messaging-observability",
"messaging-policy",
"messaging-reliability",
"messaging-reliability-api",
"messaging-reliability-jdbc-postgresql",
"messaging-runtime-core",
"messaging-schema-json",
"messaging-security",
"messaging-transport-spi"
]
},
{
"id": "messaging-spring-boot-starter-kafka",
"gradle_path": ":messaging:messaging-spring-boot-starter-kafka",
"source_path": "src/messaging/messaging-spring-boot-starter-kafka",
"allowed_dependencies": [
"messaging-spring-boot-starter",
"messaging-kafka",
"messaging-admin",
"messaging-core-api",
"messaging-observability",
"messaging-policy",
"messaging-reliability-api",
"messaging-security",
"messaging-transport-spi"
]
},
{
"id": "messaging-testkit",
"gradle_path": ":messaging:messaging-testkit",
"source_path": "src/messaging/messaging-testkit",
"allowed_dependencies": [
"messaging-core-api",
"messaging-policy",
"messaging-transport-spi"
]
},
{
"id": "grpc-contract",
"gradle_path": ":grpc:grpc-contract",
"source_path": "src/grpc/grpc-contract",
"allowed_dependencies": [],
"build": "optional-grpc"
},
{
"id": "grpc-core-api",
"gradle_path": ":grpc:grpc-core-api",
"source_path": "src/grpc/grpc-core-api",
"allowed_dependencies": [],
"build": "optional-grpc"
},
{
"id": "grpc-observability",
"gradle_path": ":grpc:grpc-observability",
"source_path": "src/grpc/grpc-observability",
"allowed_dependencies": [
"grpc-core-api"
],
"build": "optional-grpc"
},
{
"id": "grpc-operation-ledger-jpa",
"gradle_path": ":grpc:grpc-operation-ledger-jpa",
"source_path": "src/grpc/grpc-operation-ledger-jpa",
"allowed_dependencies": [
"grpc-core-api"
],
"build": "optional-grpc"
},
{
"id": "grpc-runtime",
"gradle_path": ":grpc:grpc-runtime",
"source_path": "src/grpc/grpc-runtime",
"allowed_dependencies": [
"grpc-core-api"
],
"build": "optional-grpc"
},
{
"id": "grpc-spring-boot-starter",
"gradle_path": ":grpc:grpc-spring-boot-starter",
"source_path": "src/grpc/grpc-spring-boot-starter",
"allowed_dependencies": [
"grpc-core-api",
"grpc-runtime",
"grpc-observability"
],
"build": "optional-grpc"
},
{
"id": "grpc-testkit",
"gradle_path": ":grpc:grpc-testkit",
"source_path": "src/grpc/grpc-testkit",
"allowed_dependencies": [
"grpc-core-api",
"grpc-runtime",
"grpc-observability",
"grpc-operation-ledger-jpa"
],
"build": "optional-grpc"
},
{
"id": "grpc-advanced",
"gradle_path": ":grpc-advanced:grpc-advanced",
"source_path": "src/grpc-advanced/grpc-advanced",
"allowed_dependencies": [
"grpc-core-api",
"grpc-runtime"
],
"build": "optional-grpc"
},
{
"id": "grpc-advanced-compat",
"gradle_path": ":grpc-advanced:grpc-advanced-compat",
"source_path": "src/grpc-advanced/grpc-advanced-compat",
"allowed_dependencies": [
"grpc-core-api",
"grpc-runtime"
],
"build": "optional-grpc"
}
]
}