Files
DongHyeonka 75df7615e5 fix(logging)!: 로그 줄이 원본 경로·SQL을 싣지 않고 감사 줄을 버리지 않게 한다
로그 줄이 남기지 말아야 할 값을 싣고, 남겨야 할 줄을 버린다. 401·403
보안 WARN, route를 못 찾은 요청 로그, 처리하지 못한 예외 ERROR가 원본
request URI(식별자·토큰이 든 경로)를 싣는다. outbox relay·파일 서버 정리
스케줄러는 실패를 통째로 남겨 SQL·제약 이름·값이 원인 사슬로 따라간다.
SamplingTurboFilter는 INFO 이하를 logger 구분 없이 표본으로 버려 감사
logger의 INFO 줄도 사라진다. JSON 로그 profile 칸은 Logback이 처음 읽은
환경 변수 값이라 Spring이 해석한 profile과 다를 수 있다. HeaderSanitizer는
운영 코드가 부르지 않는 공개 유틸리티로 남아 있다.

- LoggedPath: route template이 있으면 그것, 없으면 식별자가 들 수 있는
  마디를 {}로 가린 경로. 세 줄이 모두 쓴다. 버린 안: 원본 URI 그대로 두고
  문서로 경고(로그 수집기가 이미 받는다).
- 스케줄러 실패는 새 ServerFailureLog.forBackgroundTask로 남긴다: 분류된
  persistence 실패는 원인 사슬 없이, 그 밖의 carrier는 client 쪽 코드여도
  stack과 함께(요청이 없으니 결함이다). composition:outbox-relay에
  shared-contract edge를 더한다(gradle/modules.json).
- SamplingTurboFilter는 AUDIT marker와 이름 끝 마디가 audit·security인
  logger를 표본에서 뺀다(이름별 판정은 캐시).
- ResolvedProfileJsonProvider가 줄을 쓸 때의 해석된 profile을 쓴다.
- HeaderSanitizer와 시험을 지우고 capability-status 제거 표에 적는다.

위험: 경로를 보던 로그 검색이 가린 경로를 본다. 감사 줄이 표본에서 빠져
양이 늘 수 있다. docs/upgrade/2026-11-round9-observability.md 1~5행.

검증: desktop에서 바뀐 leaf check·:app-bootstrap:test·systemTest·
documentContractTest·repositoryContractTest, scripts/verify.sh pr rc=0
(묶음 셋을 합친 트리). 새 시험은 고치기 전 트리에서 실패했다(RED).

Refs: RR9-02-09, RR9-02-15, RR9-02-21, RR9-02-22, RR9-02-26
BREAKING CHANGE: 보안·요청·예외 로그 줄의 경로 값과 JSON profile 칸의 출처,
  HeaderSanitizer 삭제. docs/upgrade/2026-11-round9-observability.md 1~5행.
2026-11-13 13:12:09 +09:00

398 lines
12 KiB
JSON

{
"library_groups": [
"dev.cakit"
],
"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",
"shared-contract"
]
},
{
"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",
"adapter-outbound-persistence-jpa"
]
},
{
"id": "adapter-outbound-persistence-notification",
"gradle_path": ":adapter:outbound:persistence-notification",
"source_path": "src/adapter/outbound/persistence-notification",
"allowed_dependencies": [
"application-core",
"application-notification",
"adapter-outbound-persistence-jpa"
]
},
{
"id": "adapter-outbound-persistence-mongo",
"gradle_path": ":adapter:outbound:persistence-mongo",
"source_path": "src/adapter/outbound/persistence-mongo",
"allowed_dependencies": [
"application-core",
"shared-contract"
]
},
{
"id": "adapter-outbound-identifier",
"gradle_path": ":adapter:outbound:identifier",
"source_path": "src/adapter/outbound/identifier",
"allowed_dependencies": [
"domain-core",
"application-core",
"shared-contract"
]
},
{
"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",
"adapter-outbound-support"
]
},
{
"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",
"shared-contract"
]
},
{
"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-inbound-messaging",
"gradle_path": ":adapter:inbound:messaging",
"source_path": "src/adapter/inbound/messaging",
"allowed_dependencies": [
"application-core"
],
"allowed_libraries": [
"dev.cakit.messaging:messaging-core-api",
"dev.cakit.messaging:messaging-reliability",
"dev.cakit.messaging:messaging-reliability-api",
"dev.cakit.messaging:messaging-reliability-jdbc-postgresql"
]
},
{
"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"
],
"allowed_libraries": [
"dev.cakit.messaging: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"
],
"allowed_libraries": [
"dev.cakit.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",
"adapter-outbound-support"
]
},
{
"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/bootstrap/fileserver-platform",
"allowed_dependencies": [
"application-core",
"application-fileserver",
"shared-contract",
"adapter-outbound-fileserver",
"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/bootstrap/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/bootstrap/outbox-relay",
"allowed_dependencies": [
"application-core",
"adapter-outbound-support",
"shared-contract"
]
},
{
"id": "composition-durable-operation",
"gradle_path": ":composition:durable-operation",
"source_path": "src/bootstrap/durable-operation",
"allowed_dependencies": [
"application-core",
"adapter-outbound-support",
"adapter-inbound-web",
"adapter-outbound-identifier"
]
},
{
"id": "composition-idempotency",
"gradle_path": ":composition:idempotency",
"source_path": "src/bootstrap/idempotency",
"allowed_dependencies": [
"application-core",
"adapter-outbound-support"
]
},
{
"id": "composition-service-runtime",
"gradle_path": ":composition:service-runtime",
"source_path": "src/bootstrap/service-runtime",
"allowed_dependencies": [
"application-core",
"shared-contract",
"adapter-outbound-support",
"adapter-outbound-identifier"
]
},
{
"id": "app-bootstrap",
"gradle_path": ":app-bootstrap",
"source_path": "src/bootstrap/app",
"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-inbound-messaging",
"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",
"composition-durable-operation"
]
}
]
}