refactor: 리펙토링 진행중 의존성 gradle은 얇게 유지, 각 모듈에서 처리하고 있는 부분에 대해서 리펙토링

This commit is contained in:
donghyeon-ka
2026-09-23 17:27:09 +09:00
parent 60b6a319e7
commit 9da00eb782
2485 changed files with 56091 additions and 23550 deletions
+85 -17
View File
@@ -32,10 +32,12 @@ APP_SERVER_COMPRESSION_ENABLED=true
APP_SERVER_COMPRESSION_MIN_RESPONSE_SIZE=1KB
APP_SERVER_ERROR_INCLUDE_STACKTRACE=never
APP_SERVER_ERROR_INCLUDE_MESSAGE=never
APP_ERROR_DETAIL_EXPOSURE_ENABLED=false
APP_LOG_BODY_CAPTURE_ENABLED=false
APP_MULTI_INSTANCE_ENABLED=false
APP_MIGRATION_ON_STARTUP=true
APP_PERSISTENCE_VENDOR=postgresql
APP_REALTIME_REPLAY_ENABLED=false
APP_REALTIME_REPLAY_RETENTION=1h
APP_FLYWAY_ENABLED=true
APP_DATASOURCE_URL=
APP_DATASOURCE_USERNAME=
APP_DATASOURCE_POOL_MAX_SIZE=10
@@ -93,14 +95,10 @@ APP_SESSION_MAXIMUM_ATTRIBUTES=64
APP_SESSION_MAXIMUM_SCALAR_BYTES=8192
APP_SECURITY_JWT_ISSUER=
APP_SECURITY_JWT_AUDIENCE=
APP_SECURITY_JWT_JWKS_URI=
APP_SECURITY_JWT_CLOCK_SKEW=60s
APP_TENANT_ENABLED=false
APP_RATE_LIMIT_ENABLED=false
APP_RATE_LIMIT_CLIENT_IP_MODE=remote-addr-only
APP_RATE_LIMIT_REDIS_ENABLED=false
APP_RATE_LIMIT_PROVIDER=disabled
APP_RATE_LIMIT_ROLE=coordination
APP_RATE_LIMIT_FAILURE_POLICY=fail-closed
APP_RATE_LIMIT_DEFAULT_POLICY_ID=api-default
APP_RATE_LIMIT_FAILURE_RETRY_AFTER=100ms
@@ -124,7 +122,6 @@ APP_RATE_LIMIT_REFILL_TOKENS=100
APP_RATE_LIMIT_REFILL_PERIOD=1s
APP_RATE_LIMIT_MAXIMUM_COST=10
APP_RATE_LIMIT_CLEANUP_GRACE=5s
APP_RATE_LIMIT_MAXIMUM_CLOCK_REGRESSION=250ms
APP_IDEMPOTENCY_TTL=24h
APP_IDEMPOTENCY_PROVIDER=jdbc
APP_IDEMPOTENCY_REDIS_NAMESPACE_ENVIRONMENT=local
@@ -140,7 +137,6 @@ APP_CACHE_REDIS_NEGATIVE_TTL=10s
APP_IDEMPOTENCY_REDIS_COMMAND_TIMEOUT=200ms
APP_LEASE_REDIS_COMMAND_TIMEOUT=200ms
APP_LEASE_REDIS_CONTENTION_RETRY_AFTER=50ms
APP_REDIS_ACKNOWLEDGED_WRITE_LOSS_ACCEPTED=false
APP_REDIS_ADMIN_CREDENTIAL_REFERENCE=
APP_REDIS_ADMIN_ENABLED=false
APP_REDIS_ADVANCED_ENABLED=false
@@ -179,6 +175,7 @@ APP_REDIS_AUTHENTICATION_CREDENTIAL_REFERENCE=
APP_REDIS_AUTHENTICATION_PUBSUB_CREDENTIAL_REFERENCE=
APP_REDIS_CAPACITY_MAXIMUM_IN_FLIGHT_BYTES=
APP_REDIS_CAPACITY_MAXIMUM_IN_FLIGHT_COMMANDS=64
APP_REDIS_CAPACITY_MAXIMUM_SCRIPT_CONNECTIONS=8
APP_REDIS_CAPACITY_MAXIMUM_REPLY_BYTES=
APP_REDIS_CAPACITY_REJECT_WHEN_DISCONNECTED=true
APP_REDIS_CLUSTER_MAXIMUM_REDIRECTS=5
@@ -229,8 +226,8 @@ APP_CACHE_NEGATIVE_TTL=60s
APP_MESSAGING_BROKER=
APP_MESSAGING_PRODUCER_ID=
APP_MESSAGING_KAFKA_BROKERS=
APP_NOTIFICATION_SLACK_PROVIDER=
APP_NOTIFICATION_EMAIL_PROVIDER=
APP_NOTIFICATION_SLACK_WEBHOOK_ENABLED=false
APP_NOTIFICATION_GOOGLE_EMAIL_ENABLED=false
APP_FILESERVER_ENABLED=false
APP_FILESERVER_LOCAL_ROOT=
APP_FILESERVER_LOCAL_EXPECTED_FILE_STORE_NAME=
@@ -289,17 +286,57 @@ APP_FILESERVER_PLATFORM_NGINX_INTERNAL_PREFIX=/__files/
APP_FILESERVER_PLATFORM_NGINX_OBJECT_SUFFIX=.bin
APP_FILESERVER_PLATFORM_NGINX_MINIMUM_SIZE=16MB
APP_FILESERVER_PLATFORM_OBSERVABILITY_METRICS_ENABLED=true
APP_FILE_UPLOAD_MAX_SIZE=10MB
APP_FILE_UPLOAD_GLOBAL_REQUEST_MAX_SIZE=12MB
APP_ASYNC_EXECUTOR_CORE_SIZE=10
APP_ASYNC_EXECUTOR_MAX_SIZE=50
APP_ASYNC_EXECUTOR_QUEUE_CAPACITY=200
APP_PERSISTENCE_JPA_ENABLED=false
APP_JPA_HIBERNATE_BATCH_SIZE=0
APP_JPA_HIBERNATE_ORDER_INSERTS=false
APP_JPA_HIBERNATE_ORDER_UPDATES=false
APP_JPA_HIBERNATE_DEFAULT_BATCH_FETCH_SIZE=0
APP_JPA_HIBERNATE_GENERATE_STATISTICS=false
APP_PERSISTENCE_MONGO_ENABLED=false
APP_PERSISTENCE_MONGO_ACTIVE_PROFILE=
# Optional standard Boot 4 connection path. When omitted, the selected typed Mongo profile must
# provide uri-secret and the deployment must supply a MongoCredentialResolver.
SPRING_MONGODB_URI=
APP_MESSAGING_ENABLED=false
APP_GRAPHQL_ENABLED=false
APP_GRAPHQL_DEPLOYMENT_MODE=
APP_GRAPHQL_EXECUTION_PROFILE=BLOCKING_MVC
APP_GRAPHQL_VALIDATION_POLICY_VERSION=v1
APP_GRAPHQL_OBSERVED_OPERATION_NAMES=
APP_GRAPHQL_GRAPHIQL_ENABLED=false
APP_GRAPHQL_INTROSPECTION_ENABLED=false
APP_GRAPHQL_MAXIMUM_PAGE_SIZE=100
APP_GRAPHQL_MAXIMUM_COMPLEXITY=10000
APP_GRAPHQL_PREPARSED_CACHE_ENTRIES=1000
APP_GRAPHQL_PREPARSED_CACHE_WEIGHT=10000000
APP_GRAPHQL_PREPARSED_CACHE_EXPIRE_AFTER_ACCESS=30m
# Optional build-composition: these bind only when :adapter:inbound:websocket is present.
# The default bootJar does not contain that leaf.
APP_WEBSOCKET_ENABLED=false
APP_WEBSOCKET_ENDPOINT=/ws
APP_WEBSOCKET_ALLOWED_ORIGINS=http://localhost:3000
APP_WEBSOCKET_BROADCAST_DESTINATION=/topic/events
APP_WEBSOCKET_PLATFORM_ENABLED=false
APP_WEBSOCKET_PLATFORM_NODE_ID=local
APP_WEBSOCKET_PLATFORM_ALLOWED_ORIGINS=
APP_WEBSOCKET_PLATFORM_ALLOW_MISSING_ORIGIN=false
APP_WEBSOCKET_PLATFORM_MAX_FRAME_BYTES=65536
APP_WEBSOCKET_PLATFORM_MAX_MESSAGE_BYTES=524288
APP_WEBSOCKET_PLATFORM_MAX_FRAGMENTS=16
APP_WEBSOCKET_PLATFORM_MAX_BUFFERED_OUTBOUND_BYTES_PER_CONNECTION=1048576
APP_WEBSOCKET_PLATFORM_MAX_BUFFERED_OUTBOUND_BYTES_PER_NODE=67108864
APP_WEBSOCKET_PLATFORM_MAX_CONNECTIONS_PER_ACTOR=4
APP_WEBSOCKET_PLATFORM_PING_INTERVAL=15s
APP_WEBSOCKET_PLATFORM_IDLE_TIMEOUT=45s
APP_WEBSOCKET_PLATFORM_MAX_CONNECTION_AGE=4h
APP_WEBSOCKET_PLATFORM_TICKET_LIFETIME=30s
APP_WEBSOCKET_ADVANCED_SOCKJS_ENABLED=false
APP_WEBSOCKET_ADVANCED_STOMP_ENABLED=false
APP_WEBSOCKET_ADVANCED_STOMP_RELAY_ENABLED=false
APP_OUTBOX_ENABLED=false
APP_OUTBOX_RELAY_ENABLED=false
APP_OUTBOX_CANONICAL_TRANSPORT_ENABLED=false
@@ -317,19 +354,51 @@ APP_NOTIFICATION_PLATFORM_SMTP_CREDENTIAL_PROFILE=default
APP_NOTIFICATION_PLATFORM_SMTP_TIMEOUT=10s
APP_NOTIFICATION_PLATFORM_SMTP_MAX_CONCURRENCY=4
APP_NOTIFICATION_PLATFORM_SMTP_RATE_PER_SECOND=10
APP_NOTIFICATION_PLATFORM_SMTP_TLS_MODE=STARTTLS_REQUIRED
APP_NOTIFICATION_PLATFORM_SMTP_SENDER_IDENTITY=no-reply@example.invalid
APP_NOTIFICATION_PLATFORM_SMTP_CONNECT_TIMEOUT=5s
APP_NOTIFICATION_PLATFORM_SMTP_READ_TIMEOUT=10s
APP_NOTIFICATION_PLATFORM_SMTP_WRITE_TIMEOUT=10s
APP_NOTIFICATION_PLATFORM_SMTP_DISPATCH_CONCURRENCY=4
# Shipped SES provider profile. The secret access-key material is the
# APP_NOTIFICATION_PLATFORM_PROVIDER_CREDENTIAL_KEY whose key id must match
# APP_NOTIFICATION_PLATFORM_SES_CREDENTIAL_KEY_ID.
APP_NOTIFICATION_PLATFORM_SES_ENABLED=false
APP_NOTIFICATION_PLATFORM_SES_PRIMARY=false
APP_NOTIFICATION_PLATFORM_SES_ENVIRONMENT=PRODUCTION
APP_NOTIFICATION_PLATFORM_SES_CREDENTIAL_KEY_ID=
APP_NOTIFICATION_PLATFORM_SES_TIMEOUT=10s
APP_NOTIFICATION_PLATFORM_SES_MAX_CONCURRENCY=8
APP_NOTIFICATION_PLATFORM_SES_RATE_PER_SECOND=20
APP_NOTIFICATION_PLATFORM_SES_ENDPOINT=https://email.us-east-1.amazonaws.com
APP_NOTIFICATION_PLATFORM_SES_REGION=us-east-1
APP_NOTIFICATION_PLATFORM_SES_SENDER_IDENTITY=
APP_NOTIFICATION_PLATFORM_SES_ACCESS_KEY_ID=
APP_NOTIFICATION_PLATFORM_SES_CONFIGURATION_SET=
# SMTP transport security and socket deadlines are Spring Mail's settings. When the SMTP provider
# is enabled, configure the actual JavaMailSender with required STARTTLS (or implicit TLS) and
# positive mail.smtp.connectiontimeout / mail.smtp.timeout / mail.smtp.writetimeout values.
SPRING_MAIL_HOST=
SPRING_MAIL_PORT=587
SPRING_MAIL_USERNAME=
SPRING_MAIL_PASSWORD=
SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE=true
SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_REQUIRED=true
SPRING_MAIL_PROPERTIES_MAIL_SMTP_CONNECTIONTIMEOUT=5000
SPRING_MAIL_PROPERTIES_MAIL_SMTP_TIMEOUT=10000
SPRING_MAIL_PROPERTIES_MAIL_SMTP_WRITETIMEOUT=10000
APP_NOTIFICATION_PLATFORM_CLAIM_BATCH_SIZE=50
APP_NOTIFICATION_PLATFORM_LEASE_DURATION=2m
APP_NOTIFICATION_PLATFORM_POLL_INTERVAL=1s
APP_NOTIFICATION_PLATFORM_MAX_CONCURRENCY=64
APP_NOTIFICATION_PLATFORM_MAX_ADDITIONAL_ATTEMPTS=4
APP_NOTIFICATION_PLATFORM_ESTIMATED_DISPATCH_DURATION=2s
APP_NOTIFICATION_PLATFORM_MAX_QUEUE_AGE=24h
APP_NOTIFICATION_PLATFORM_SHUTDOWN_GRACE=20s
APP_NOTIFICATION_PLATFORM_ALLOW_AMBIGUOUS_FALLBACK=false
APP_NOTIFICATION_PLATFORM_MAX_BACKLOG_DEPTH=100000
APP_NOTIFICATION_PLATFORM_MAX_OLDEST_DUE_AGE=10m
APP_NOTIFICATION_PLATFORM_MAX_STUCK_LEASES=50
APP_NOTIFICATION_PLATFORM_MAX_PENDING_PROJECTIONS=50000
APP_NOTIFICATION_PLATFORM_MAX_FAILED_PROJECTIONS=1000
APP_NOTIFICATION_PLATFORM_MAX_OLDEST_PENDING_PROJECTION_AGE=15m
APP_NOTIFICATION_PLATFORM_MAX_OLDEST_RECONCILIATION_AGE=30m
APP_NOTIFICATION_PLATFORM_CALLBACKS_ENABLED=false
APP_NOTIFICATION_PLATFORM_CALLBACK_MAX_BODY_BYTES=65508
APP_NOTIFICATION_PLATFORM_CALLBACK_REPLAY_SKEW=5m
@@ -339,7 +408,6 @@ APP_NOTIFICATION_PLATFORM_CALLBACK_TRUSTED_PROXIES=
# ---- Secrets — supply out of band; never commit a value here ------------------
APP_DATASOURCE_PASSWORD=
APP_PRIVACY_PSEUDONYMIZATION_SALT=
APP_SECURITY_JWT_SIGNING_KEY=
APP_RATE_LIMIT_REDIS_PASSWORD=
APP_RATE_LIMIT_REDIS_KEY_HMAC_SECRET=
APP_SESSION_REDIS_PASSWORD=
+1
View File
@@ -45,6 +45,7 @@ COPY --parents settings.gradle build.gradle **/build.gradle **/gradle.lockfile .
# so settings.gradle's `includeBuild('build-logic')` resolved against a build that declared no
# plugins and every leaf failed on an unknown plugin id, in the dependency-resolution stage below.
COPY build-logic/ ./build-logic/
COPY build-tools/ ./build-tools/
# Resolve every module configuration in STRICT mode (no --write-locks in a release build). This
# custom task fails on drift; Gradle's diagnostic `dependencies` report can print FAILED entries
+31 -36
View File
@@ -41,8 +41,9 @@
`./gradlew bootstrap`은 `bootstrapCompile` → `bootstrapDependencies` →
`bootstrapMigrateAndStart` → `bootstrapSmoke`를 순서대로 실행합니다.
DB와 app lifecycle은 저장소 루트의 base/local Compose 조합이 소유하며, app startup Flyway가
끝나 public health endpoint가 준비되어야 다음 단계로 넘어갑니다. `src/.env`는 env 설정의
SSOT이고 bootstrap이 별도 env template을 만들지 않습니다.
끝나 public health endpoint가 준비되어야 다음 단계로 넘어갑니다. `src/.env.example`은 커밋된
env 계약이고 `src/.env`는 로컬 실행 입력입니다. `verifyEnvKeys`는 example/registry/shipped YAML을
함께 검사합니다.
### Traceable version + dependency locking
@@ -65,15 +66,10 @@ SSOT이고 bootstrap이 별도 env template을 만들지 않습니다.
directory/file mode를 각각 `0755`/`0644`로 고정합니다. Java toolchain은 21이고 로컬·CI patch
version은 root `.tool-versions`의 Temurin 값으로 맞춥니다.
두 번의 clean, no-cache `bootJar` SHA-256 비교는 다음 명령으로 실행합니다.
```bash
cd ..
bash .github/scripts/verify-reproducible-build.sh
```
이 검사는 동일 toolchain·동일 source revision 안에서 archive 재현성을 검증합니다. 서로 다른 JDK
vendor/build나 container base image까지 byte-for-byte 같음을 주장하지 않습니다.
archive task 자체는 timestamp 비보존·재현 가능한 file order·고정 mode를 강제합니다. 현재 저장소에는
별도의 `verify-reproducible-build.sh`가 없으므로 byte-for-byte 이중-build 비교를 자동 게이트라고
주장하지 않습니다. 릴리스 검증의 정본 진입점은 `./gradlew releaseCheck`와
`.github/workflows/release.yml`입니다.
### `-parameters` 컴파일러 플래그
@@ -90,7 +86,7 @@ vendor/build나 container base image까지 byte-for-byte 같음을 주장하지
`allowed_dependencies`를 읽고, 실제 Gradle 프로젝트 의존(`api` / `implementation` /
`compileOnly` / `runtimeOnly`)이 그 범위를 벗어나면 빌드를 실패시킵니다.
- **JSON registry가 의존 방향의 SSOT 입니다.** 새 모듈이나 새 production 의존 edge를 추가하면
registry와 ArchUnit 규칙(`CleanArchitectureTest`)을 함께 갱신해야 합니다. settings와 gate는
registry와 `:app-bootstrap:architectureTest`의 관련 ArchUnit 규칙을 함께 갱신해야 합니다. settings와 gate는
같은 registry를 읽고, 등록되지 않은 leaf나 허용되지 않은 edge를 fail-closed로 거부합니다.
### `verifyRuntimeModuleRegistry`
@@ -127,21 +123,20 @@ Checkstyle은 파싱된 파일에 같은 질문을 하고, leaf 단위로 돕니
- **소유.** app-bootstrap. 이 질문("이 애플리케이션의 배포에 무엇을 줘야 하는가")은 composition
root의 것이고, `./gradlew :domain-core:check`가 알아야 할 사항이 아닙니다. 루트 집계 이름은
`configContractCheck`이고 구현은 `build-logic`의 `ca.config-contract` convention plugin입니다.
- **하는 일.** `docs/registries/env-keys.yaml`, `application.yml`, `src/.env.example` 세 곳을
lock-step(서로 어긋나지 않게) 으로 유지합니다. `env-keys.yaml` 이 `APP_` 키의 SSOT 이고, drift 가 생기면 빌드를
- **하는 일.** `docs/registries/env-keys.yaml`, `application*.yml` + `config/*.yml`,
`src/.env.example`을 lock-step(서로 어긋나지 않게) 으로 유지합니다. `env-keys.yaml` 이 `APP_` 키의 SSOT 이고, drift 가 생기면 빌드를
실패시킵니다.
- **막으려는 것 3가지.** (1) 필수 env 가 조용히 누락되는 것, (2) 더 이상 쓰지 않는 stale env 키가
`.env` 에 남는 것, (3) 실제로 쓰는 `APP_` 키가 registry 에 등록되지 않고 빠져나가는 것.
`.env.example` 에 남는 것, (3) 실제로 쓰는 `APP_` 키가 registry 에 등록되지 않고 빠져나가는 것.
- **검사 항목.**
- **A.** `application.yml` 의 placeholder 중 inline default(`${VAR:default}`)가 없는 **필수**
placeholder(`${VAR}`)는 반드시 `.env` 에 존재해야 합니다.
- **B.** `.env` 의 모든 키는 `application.yml` 의 어떤 `${...}` placeholder 가 참조해야 합니다.
placeholder(`${VAR}`)는 반드시 `.env.example` 에 존재해야 합니다.
- **B.** `.env.example` 의 모든 키는 shipped configuration의 어떤 `${...}` placeholder 또는 등록된 consumer가 참조해야 합니다.
(아무도 안 쓰는 키는 orphan 으로 간주해 실패)
- **C.** `.env` 의 모든 `APP_` 키는 registry 에 `- name: <KEY>` 행이 있어야 합니다.
- **C.** `.env.example` 의 모든 `APP_` 키는 registry 에 `- name: <KEY>` 행이 있어야 합니다.
- **`SPRING_*` 키는 왜 registry 추적 대상이 아닌가.** `SPRING_*` 는 Spring Boot 가 정의한 native 키라
프로젝트가 소유한 계약이 아닙니다. 그래서 C 검사는 일부러 `APP_` prefix 로만 범위를 좁혔습니다.
- **비고.** `src/.env` 가 프로젝트의 커밋된 env 파일이며, 별도의 `.env.example` 템플릿은 두지
않습니다.
- **비고.** `src/.env.example`이 커밋된 환경 계약이고 `src/.env`는 로컬 실행용 입력입니다.
### `verifyPublicPathSnapshot`
@@ -214,10 +209,8 @@ drift하기 시작하면 그때 자동화합니다. 진짜 항목을 상대로,
### Runtime safety (기동 시 `StartupSafetyValidator` 가 fail-fast 검사, D8)
- **`APP_ERROR_DETAIL_EXPOSURE_ENABLED`** — 응답에 내부 에러 상세를 노출할지. `true` | `false`.
**`prod` 프로필에서는 반드시 `false`** 여야 하며, 아니면 기동이 실패합니다.
- **`APP_LOG_BODY_CAPTURE_ENABLED`** — 요청/응답 body 를 로그에 캡처할지. `true` | `false`.
**`prod` 에서는 반드시 `false`**, 아니면 기동 실패.
- 내부 error detail 노출과 request/response body logging은 shipped 기능이 아닙니다. 구현되지 않은
기능을 예약 환경 변수로 노출하지 않으며, request logging은 body를 읽지 않는 계약을 검증합니다.
- **`APP_MULTI_INSTANCE_ENABLED`** — `true` 면 인스턴스 협조용 빈 5종(lock / cache-stampede /
leader / rate-limit / migration)이 모두 있어야 하며, 하나라도 없으면 기동이 실패합니다.
- **`APP_RATE_LIMIT_ENABLED`** — provider-neutral edge rate-limit interceptor 활성화
@@ -311,9 +304,9 @@ fail-fast sentinel 이 포트를 충족합니다(Layer 3).
않습니다 — 끄는 것은 master switch입니다.
- **`APP_MESSAGING_KAFKA_BROKERS`** — `host:port` CSV. `APP_MESSAGING_BROKER=kafka` 일 때만 필수,
아니면 빈 값.
- **`APP_NOTIFICATION_SLACK_PROVIDER`** — Slack provider id(예: `webhook`). notification 플랫폼이
- **`APP_NOTIFICATION_SLACK_WEBHOOK_ENABLED`** — Slack webhook R0 provider enable flag. notification 플랫폼이
켜졌을 때 어떤 provider를 쓸지 고르는 값입니다.
- **`APP_NOTIFICATION_EMAIL_PROVIDER`** — email provider id(예: `google-email`). 위와 같습니다.
- **`APP_NOTIFICATION_GOOGLE_EMAIL_ENABLED`** — Google Email R0 provider enable flag. 위와 같습니다.
### Outbound HTTP client
@@ -456,8 +449,8 @@ Boot 기본값이 바뀌어도 wire 계약이 조용히 깨지지 않게 합니
- **`APP_SERVER_COMPRESSION_ENABLED`** — `true` | `false`.
- **`APP_SERVER_COMPRESSION_MIN_RESPONSE_SIZE`** — 이 크기 미만 payload 는 압축하지 않음(bytes 또는
단위, 예: `1024` | `1KB` | `2KB`).
- **`APP_SERVER_FORWARD_HEADERS_STRATEGY`** — `none` | `native` | `framework`. LB/proxy 뒤에서
`X-Forwarded-*` 를 신뢰할지.
- **`APP_SERVER_FORWARD_HEADERS_STRATEGY`** — `none` | `native` | `framework`. 기본값은 `none`.
LB/proxy가 외부 forwarded header를 제거·치환하는 배포에서만 명시적으로 활성화한다.
- **`APP_SERVER_ERROR_INCLUDE_STACKTRACE`** — `always` | `never` | `on_param`.
- **`APP_SERVER_ERROR_INCLUDE_MESSAGE`** — `always` | `never` | `on_param`.
@@ -493,18 +486,20 @@ Boot 기본값이 바뀌어도 wire 계약이 조용히 깨지지 않게 합니
| 프로파일 | 데이터스토어 | 스키마 소유자 | 외부 인프라 |
| --- | --- | --- | --- |
| `local` (기본) | H2 in-memory | Hibernate `ddl-auto: create-drop` | 없음 |
| `local` (기본) | PostgreSQL | Flyway `db/migration/postgresql` | 필요 |
| `dev` | PostgreSQL | Flyway `db/migration/postgresql` | 필요 |
| `prod` | PostgreSQL | Flyway `db/migration/postgresql` | 필요 |
| `bootRunH2` (명시적 opt-out) | H2 in-memory | Hibernate `ddl-auto: create-drop` | 없음 |
`local` 은 `./gradlew :app-bootstrap:bootRun` 의 기본값(`src/.env` 의 `SPRING_PROFILES_ACTIVE=local`)
이라 Docker 없이 바로 뜹니다. 아래 `APP_DATASOURCE_*` 값은 `local` 에서는 쓰이지 않고
`application-local.yml` 이 덮어씁니다.
`./gradlew :app-bootstrap:bootRun` 은 기본 `local` 프로파일에서도 PostgreSQL/Flyway를 사용합니다.
로컬과 운영의 schema owner를 다르게 두면 migration-only 결함을 개발 중에 놓치기 때문에 바뀐
계약입니다. 먼저 아래 Compose PostgreSQL을 띄운 뒤 `bootRun`을 실행하세요.
`local` 이 검증하는 것은 wiring·요청/응답·애플리케이션 로직이고, **검증하지 않는 것은 migration 과
vendor 동작**입니다. H2 에는 migration tree 가 없어 migration 에만 존재하는 테이블(capability schema
registry, polling-delivery·inbox stream, Spring Integration lock)이 만들어지지 않습니다. 해당
capability 는 `local` 기본값에서 꺼져 있고, 켜면 테이블 없음으로 실패합니다.
Docker 없이 빠르게 wiring·요청/응답·애플리케이션 로직만 확인하려면
`./gradlew :app-bootstrap:bootRunH2`를 명시적으로 사용합니다. 이 태스크만
`APP_PERSISTENCE_VENDOR=h2`, `APP_FLYWAY_ENABLED=false`,
`APP_DATASOURCE_DDL_AUTO=create-drop`을 주입합니다. H2에는 PostgreSQL migration tree가 없으므로
migration/vendor 계약의 증거로 사용하지 않습니다.
`dev` 를 호스트에서 띄우려면(`SPRING_PROFILES_ACTIVE=dev`) PostgreSQL 이 필요합니다.
`docker-compose.local.yml` 의 `db` 서비스가 루프백(`127.0.0.1:5433`)에만 게시하며, 이 주소가
+35 -15
View File
@@ -63,10 +63,30 @@ SSOT(`src/config/architecture/modules.json`)까지 밀어올리지 않는다는
소유한다. 플랫폼은 여전히 **feature-agnostic** 이며 정책·계약·검증 기계만 제공한다.
- feature-agnostic: `classpath:graphql/**` 스키마와 모든 `@Controller` `@QueryMapping`/
`@MutationMapping` 을 generic 하게 합성한다. **WorkLog 등 구체 기능을 이름으로 알지 않는다.**
- classpath opt-in: 현재 `app-bootstrap`/`sample-portfolio` production runtime 은 이 leaf 를
의존하지 않는다. 실제 채택 시 composition root 가 GraphQL leaf 와 인증/인가·CORS 정책,
- shipped-and-gated: `app-bootstrap` production composition 은 이 leaf 를 직접 의존하고,
`APP_GRAPHQL_ENABLED=false` 가 기본이다. 즉 "off"는 classpath 부재가 아니라 GraphQL
auto-configuration/route 부재로 검증한다. 실제 활성화 시 composition root 는 인증/인가·CORS 정책과
GraphiQL/introspection 운영 설정을 함께 명시해야 한다.
## Error-code ownership
`docs/registries/error-codes.yaml` is the skeleton-wide `OperationalError` SSOT; it is not a
catch-all registry for transport-specific presentation codes. GraphQL therefore keeps its own finite
platform wire-code catalogue in `GraphQlErrorCode`.
- GraphQL platform mappers must use `GraphQlErrorCode.platform(...)`. An unregistered platform code
fails immediately.
- application/domain `ApiErrorCode` values remain a separate namespace and pass through with
`GraphQlErrorCode.of(...)`; GraphQL must not rename product errors.
- new GraphQL-owned platform codes use the `GRAPHQL_` prefix. The existing unprefixed platform
values are frozen legacy wire contracts and are listed explicitly by
`legacyUnprefixedPlatformCodes()`.
- modelled-only capability codes are not added to `platformCodes()` until that capability reaches
the shipped request path.
`GraphQlErrorCodeCatalogTest` pins the exact shipped catalogue, the prefix rule and the
application/platform namespace split.
## Allowed
- `:application-core`, `:domain-core`, `:shared-contract`. `:application-core` 는 선언만이 아니라 실제
@@ -138,10 +158,13 @@ health 스키마만 소유한다.
| Capability | 등급 | 증거 |
| --- | --- | --- |
| 실행 파이프라인 / 인가 / cost 예산 | `wired` | `runtime/GraphQlPlatformExecutionPathTest` (random-port, 거부 시 resolver 호출 0회) |
| 실행 파이프라인 / 인가 / cost 예산 | `wired` | `systemTest/runtime/GraphQlPlatformExecutionPathTest` (random-port, 거부 시 resolver 호출 0회) |
| depth/complexity 제한 (`cost/`) | `wired` | 같은 테스트의 depth/alias/complexity 케이스 |
| graphql-java parser options (`GraphQlParserOptionsFactory`) | `modelled` | parser policy/factory 단위 테스트만. Stable auto-configuration은 static parser defaults를 교체하지 않는다. HTTP/document cap이 현재 request-path 방어다. |
| response runtime budget (`GraphQlRuntimeBudgetTracker`) | `modelled` | incremental transport 모델에서만 사용된다. Stable response path에는 설치되지 않아 complexity budget을 대체하지 않는다. |
| preparsed document cache (`execution/`) | `wired` | `GraphQlPreparsedDocumentAdapter` + 같은 테스트의 캐시 hit 케이스 |
| 커스텀 scalar (`scalar/`) | `wired` | 같은 테스트의 scalar coercion 케이스 |
| schema mapping inspection / parallel schema assembler (`schema/`) | `modelled` | `GraphQlMappingInspectionGate`·`GraphQlSchemaAssembler` 단위 테스트만. Stable runtime은 Spring의 schema assembly를 사용하며 소비자 없는 gate bean을 등록하지 않는다. |
| 요청 크기/Accept 협상 (`http/`) | `wired` | `GraphQlRequestBoundsTest`, `GraphQlAcceptNegotiationTest` |
| 관측 tag cardinality (`observation/`) | `wired` | `runtime/GraphQlRequestObservationConventionAdapter` 가 Spring 의 `ExecutionRequestObservationConvention` 을 구현해 Boot 의 `GraphQlObservationAutoConfiguration` 이 이 컨벤션을 가져간다. `autoconfigure/GraphQlObservationWiringTest`(프레임워크가 실제로 해석), `runtime/GraphQlRequestObservationConventionAdapterTest`(실제 `MeterRegistry` 에 임의 이름 10,000개 → series 1개) |
| object 인가 (`security/`) | `modelled` | 답하는 계약은 중립 `dev.caskeleton.application.security.ObjectAccessPolicy` 가 소유하고 이 leaf 는 `ApplicationObjectAuthorization` 매핑만 가진다. 실행 경로에 연결하는 configuration 은 없다 |
@@ -149,7 +172,7 @@ health 스키마만 소유한다.
| cursor 서명 (`pagination/`) | `modelled` | `HmacGraphQlCursorCodec`·`GraphQlCursorKeyRing` 단위 테스트만. **auto-configuration 이 둘 중 무엇도 생성하지 않는다** — `autoconfigure/GraphQlPolicyRequestPathTest` 가 그 사실을 고정 |
| mutation 멱등성 (`mutation/`) | `modelled` | `GraphQlMutationIdempotencyInterceptor` 를 참조하는 configuration 이 없다. 같은 테스트가 고정 |
| persisted operation (`advanced/persisted/`) | `modelled` | 중립 `OperationalRecordStorePort` 기반 레지스트리 + 방향성 테스트. durable 구현체는 미제공 |
| subscription / WebSocket / SSE / RSocket | `modelled` | 정책·상태기계 단위 테스트만. Spring transport handler 는 없다(그래서 타입 이름도 `*Admission` 이다) |
| subscription / SSE / RSocket | `modelled` | GraphQL leaf 는 구독 정책/보안/replay 모델만 소유한다. `graphql-transport-ws` 연결 상태기계와 close-code 전송은 `:adapter:inbound:websocket` 이 소유하며 이 leaf 에 병렬 WebSocket transport 구현을 두지 않는다. SSE/RSocket 은 모델/단위 테스트만 있다. |
| federation / incremental / codegen / compat | `modelled` | 단위 테스트만 |
| 실부하·장애 | 미달성 | `graphqlPerformanceTest` 레인이 자리를 예약, 증거 없으면 릴리스 게이트가 거부 |
@@ -165,14 +188,13 @@ health 스키마만 소유한다.
증거를 요구한다. 실 datastore 기동은 persistence leaf 의 책임 범위다. 이 testkit 은
**production jar 에 없다** — `src/testFixtures/java` 에 살고 `verifyGraphQlProductionJar` 가
그 사실을 jar 내용으로 확인한다.
- **cursor 서명이 요청 경로에 없다 (GQL-INT-003).** `backend.graphql.cursor.key-ids` 를 읽는 곳은
둘 뿐이다: 프로덕션 기동을 거부하는 `GraphQlPlatformStartupValidator` 와 그 값을 돌려주는
`GraphQlPlatformActuatorEndpoint`. **커서에 서명하는 코드는 아무것도 읽지 않는다.** 즉 프로덕션은
키 식별자를 요구하고, 운영자가 넣고, 엔드포인트가 "설정됨"이라고 확인해 주는데, 커서는 validator
메시지가 막는다고 말한 그대로 client-editable 로 남는다. 결함은 "미완성"이 아니라 **startup
validator 가 하나를 완성된 것처럼 보이게 만든다**는 것이다. 닫으려면 배선이 아니라 설계 결정이
필요하다 — `GraphQlCursorKeyRing.of` 는 `Map<String, byte[]>` 를 받고 설정 계약은 "키 자체는
설정에 나타나지 않는다"이므로, **키 재료가 어디서 오는지**를 먼저 정해야 한다.
- **cursor 서명이 요청 경로에 없다 (GQL-INT-003).** `HmacGraphQlCursorCodec`와
`GraphQlCursorKeyRing`은 `modelled` 부품이고 Stable auto-configuration은 어느 쪽도 생성하지
않는다. 따라서 `backend.graphql.cursor.key-ids`는 adopter가 직접 조립할 때 사용할 수 있는
선언 값일 뿐, production startup requirement도 아니고 활성 보호의 증거도 아니다.
`GraphQlCursorKeyRing.of`는 실제 `Map<String, byte[]>`를 요구하므로 다음 승격 조건은 key material
source와 request-path wiring을 함께 설계하는 것이다. 그 전까지 shipped `APP_GRAPHQL_*` 계약에는
cursor key-id를 노출하지 않는다.
- persisted operation 의 durable 저장 구현체 — 이 leaf 는 중립 계약
`dev.caskeleton.shared.opstore.OperationalRecordStorePort` 에만 의존하고 key/value 매핑만
소유한다. Postgres/Redis 구현체는 **그 중립 계약을** 구현하며, 이 leaf 의 타입을 구현하지
@@ -186,9 +208,7 @@ health 스키마만 소유한다.
```bash
cd src
./gradlew :adapter:inbound:graphql:test --console=plain
./gradlew :adapter:inbound:graphql:test \
--tests dev.caskeleton.adapter.inbound.graphql.GraphqlHttpBoundaryQualificationTest \
--console=plain
./gradlew :adapter:inbound:graphql:graphqlTransportQualificationTest --console=plain
```
플랫폼 테스트 레인(`ca.graphql-platform` convention plugin 등록). 기본 `test` 는
+22 -7
View File
@@ -28,12 +28,21 @@ Spring for GraphQL 은 schema-first 다. 빈 스키마로는 부팅이 실패하
메서드를 바인딩한다. 향후 feature 의 GraphQL controller 는 스켈레톤을 수정하지 않고 등록할 수
있다.
현재 `app-bootstrap` 과 `sample-portfolio` 의 production runtime 은 이 leaf 를 의존하지 않는다.
즉 이 모듈은 **classpath opt-in** 이며, 현재 sample 에 feature GraphQL 스키마/controller 가 있다는
뜻이 아니다. leaf 자체는 최소 health 스키마로 독립 기동할 수 있다.
현재 `app-bootstrap` production composition 은 이 leaf 를 **classpath 에 포함**하고
`APP_GRAPHQL_ENABLED=false` 를 기본으로 두는 shipped-and-gated 구조다. 따라서 비활성은 jar 부재가
아니라 runtime route/auto-configuration 비활성으로 증명한다. `sample-portfolio` 에 feature GraphQL
스키마/controller 가 있다는 뜻은 아니며, leaf 자체는 최소 health 스키마로 독립 기동할 수 있다.
## 에러 매핑 — web `GlobalExceptionHandler` / gRPC 인터셉터의 GraphQL 형제
전역 `docs/registries/error-codes.yaml`은 shared `OperationalError` 계약의 SSOT다. GraphQL
transport가 직접 만드는 presentation code까지 그 표에 섞지 않는다. 대신
`GraphQlErrorCode.platformCodes()`가 shipped GraphQL platform code의 유한 catalog를 소유한다.
platform mapper는 반드시 `platform(...)`을 사용하고, application/domain `ApiErrorCode`만
`of(...)` 경로로 그대로 통과시킨다. 새 GraphQL-owned code는 `GRAPHQL_` prefix를 사용하며,
기존 unprefixed code는 wire compatibility 때문에 동결된 legacy 목록으로 관리한다.
`GraphqlExceptionResolver` 는 `DataFetcherExceptionResolverAdapter` 를 확장해, 데이터 페처가
동기적으로 던진 예외 중 안정적 `ApiErrorCode` 를 실은 것(전송-중립 hook `ApiErrorCarrier` 구현)을
`GraphQLError` 로 변환한다. 데이터 페처는 web 컨트롤러처럼 "그냥 던지기만" 하고, 이 resolver 가
@@ -85,8 +94,7 @@ gRPC 와 달리 spring-graphql / graphql-java 는 Spring Boot BOM 이 관리한
```yaml
backend:
graphql:
production: true
environment: PRODUCTION_PUBLIC
deployment-mode: PRODUCTION_INTERNAL
execution-profile: BLOCKING_MVC
validation-policy-version: v1 # preparsed 캐시 키의 일부
console:
@@ -98,11 +106,18 @@ backend:
preparsed-cache-entries: 1000
preparsed-cache-weight: 10000000
preparsed-cache-expire-after-access: 30m
cursor:
key-ids: [cursor-key-1] # 키 자체는 설정에 오지 않는다
observed-operation-names: [] # 비우면 모든 operation 이름이 `other` 로 접힌다
```
shipped composition에서는 위 wired 설정을 `APP_GRAPHQL_*`로 노출한다. `APP_GRAPHQL_ENABLED`와
`APP_GRAPHQL_DEPLOYMENT_MODE` 외에도 execution profile, console, page/complexity, preparsed-cache
한계와 관측 operation allowlist가 `config/graphql.yml`을 통해 같은 property tree로 들어간다.
production mode는 env만으로 완성되지 않는다. 애플리케이션 좌표를 스켈레톤이 알 수 없으므로
**명시적인 `GraphQlAuthorizationPolicy` bean이 반드시 필요**하며, 이것은 의도된 fail-closed
계약이다. 반대로 cursor signing은 아직 요청 경로에 연결되지 않은 `modelled` capability라
`APP_GRAPHQL_CURSOR_KEY_IDS` 같은 운영 키를 제공하지 않고 startup requirement로도 취급하지 않는다.
`observed-operation-names` 가 비어 있는 것이 기본값이자 안전한 값이다. operation 이름은 문법만
검증될 뿐 개수가 제한되지 않으므로, 원본을 그대로 metric label 로 쓰면 정상 클라이언트 하나가
metrics 백엔드를 무너뜨릴 수 있다(`observation/GraphQlOperationNameCardinality`).
+16 -1
View File
@@ -2,6 +2,7 @@ plugins {
id 'ca.spring-library'
id 'ca.spring-config'
id 'java-test-fixtures'
id 'ca.auxiliary-source-set'
id 'ca.graphql-platform'
}
@@ -17,6 +18,11 @@ plugins {
// coordinates the BOM does not manage).
description = 'Inbound adapter: GraphQL API (Spring for GraphQL, GraphQL execution platform)'
auxiliarySourceSets {
sourceSet('systemTest') { compilesAgainst 'main' }
}
// The contract suites, the integration fixtures and the in-memory registries are for the people
// verifying an adoption, not for the adoption. Shipped in the production jar they were reachable
// from any adopter's runtime code — an in-memory persisted-operation registry is a perfectly
@@ -88,9 +94,18 @@ dependencies {
}
strictTestLanes {
lane('systemTest') {
system()
sourceSet = 'systemTest'
description = 'Runs the GraphQL adapter over a real embedded HTTP server.'
}
}
extensions.getByName('strictQualification').register(
'graphqlTransportQualificationTest',
sourceSets.test,
sourceSets.systemTest,
[
'dev.caskeleton.adapter.inbound.graphql.GraphqlHttpBoundaryQualificationTest'
],
+127 -127
View File
@@ -1,62 +1,62 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
biz.aQute.bnd:biz.aQute.bnd.annotation:7.1.0=compileClasspath,testCompileClasspath,testFixturesCompileClasspath
ch.qos.logback:logback-classic:1.5.38=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
ch.qos.logback:logback-core:1.5.38=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.21=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
com.github.ben-manes.caffeine:caffeine:3.2.4=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.github.kevinstern:software-and-algorithms:1.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
biz.aQute.bnd:biz.aQute.bnd.annotation:7.1.0=compileClasspath,systemTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath
ch.qos.logback:logback-classic:1.5.38=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
ch.qos.logback:logback-core:1.5.38=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.21=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
com.github.ben-manes.caffeine:caffeine:3.2.4=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.github.kevinstern:software-and-algorithms:1.0=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.github.spotbugs:spotbugs-annotations:4.10.2=spotbugs
com.github.spotbugs:spotbugs:4.10.2=spotbugs
com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs
com.google.auto.service:auto-service-annotations:1.0.1=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.auto.value:auto-value-annotations:1.9=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.auto:auto-common:1.2.2=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.auto.service:auto-service-annotations:1.0.1=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.auto.value:auto-value-annotations:1.9=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.auto:auto-common:1.2.2=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.code.findbugs:jsr305:3.0.2=checkstyle,spotbugs
com.google.code.gson:gson:2.13.2=spotbugs
com.google.errorprone:error_prone_annotation:2.49.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.errorprone:error_prone_annotations:2.38.0=compileClasspath,testCompileClasspath,testFixturesCompileClasspath
com.google.errorprone:error_prone_annotation:2.49.0=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.errorprone:error_prone_annotations:2.38.0=compileClasspath,systemTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath
com.google.errorprone:error_prone_annotations:2.41.0=spotbugs
com.google.errorprone:error_prone_annotations:2.47.0=checkstyle
com.google.errorprone:error_prone_annotations:2.49.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.errorprone:error_prone_check_api:2.49.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.errorprone:error_prone_core:2.49.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.googlejavaformat:google-java-format:1.35.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.guava:failureaccess:1.0.3=annotationProcessor,checkstyle,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.guava:guava:33.5.0-jre=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.errorprone:error_prone_annotations:2.49.0=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.errorprone:error_prone_check_api:2.49.0=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.errorprone:error_prone_core:2.49.0=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.googlejavaformat:google-java-format:1.35.0=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.guava:failureaccess:1.0.3=annotationProcessor,checkstyle,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.guava:guava:33.5.0-jre=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.guava:guava:33.6.0-jre=checkstyle
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=annotationProcessor,checkstyle,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.j2objc:j2objc-annotations:3.1=annotationProcessor,checkstyle,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.protobuf:protobuf-java:4.33.2=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.graphql-java:graphql-java:25.0=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
com.graphql-java:java-dataloader:6.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=annotationProcessor,checkstyle,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.j2objc:j2objc-annotations:3.1=annotationProcessor,checkstyle,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.google.protobuf:protobuf-java:4.33.2=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
com.graphql-java:graphql-java:25.0=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
com.graphql-java:java-dataloader:6.0.0=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
com.h3xstream.findsecbugs:findsecbugs-plugin:1.14.0=spotbugsPlugins
com.jayway.jsonpath:json-path:2.10.0=testCompileClasspath,testRuntimeClasspath
com.jayway.jsonpath:json-path:2.10.0=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
com.puppycrawl.tools:checkstyle:13.5.0=checkstyle
com.vaadin.external.google:android-json:0.0.20131108.vaadin1=testCompileClasspath,testRuntimeClasspath
com.vaadin.external.google:android-json:0.0.20131108.vaadin1=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
commons-beanutils:commons-beanutils:1.11.0=checkstyle
commons-collections:commons-collections:3.2.2=checkstyle
commons-io:commons-io:2.21.0=spotbugs
commons-logging:commons-logging:1.3.6=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
commons-logging:commons-logging:1.3.6=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
info.picocli:picocli:4.7.7=checkstyle
io.github.eisop:dataflow-errorprone:3.41.0-eisop1=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
io.github.java-diff-utils:java-diff-utils:4.12=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
io.micrometer:context-propagation:1.2.1=runtimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
io.micrometer:micrometer-commons:1.16.7=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
io.micrometer:micrometer-core:1.16.7=testCompileClasspath,testRuntimeClasspath
io.micrometer:micrometer-observation:1.16.7=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
io.projectreactor:reactor-core:3.8.7=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
jakarta.activation:jakarta.activation-api:2.1.4=testCompileClasspath,testRuntimeClasspath
jakarta.annotation:jakarta.annotation-api:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
io.github.eisop:dataflow-errorprone:3.41.0-eisop1=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
io.github.java-diff-utils:java-diff-utils:4.12=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
io.micrometer:context-propagation:1.2.1=runtimeClasspath,systemTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
io.micrometer:micrometer-commons:1.16.7=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
io.micrometer:micrometer-core:1.16.7=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
io.micrometer:micrometer-observation:1.16.7=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
io.projectreactor:reactor-core:3.8.7=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
jakarta.activation:jakarta.activation-api:2.1.4=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
jakarta.annotation:jakarta.annotation-api:3.0.0=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
jakarta.servlet:jakarta.servlet-api:6.1.0=compileClasspath
jakarta.xml.bind:jakarta.xml.bind-api:4.0.5=testCompileClasspath,testRuntimeClasspath
javax.inject:javax.inject:1=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
jakarta.xml.bind:jakarta.xml.bind-api:4.0.5=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
javax.inject:javax.inject:1=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
jaxen:jaxen:2.0.6=spotbugs
net.bytebuddy:byte-buddy-agent:1.17.8=testCompileClasspath,testRuntimeClasspath
net.bytebuddy:byte-buddy:1.17.8=testCompileClasspath,testRuntimeClasspath
net.minidev:accessors-smart:2.6.0=testCompileClasspath,testRuntimeClasspath
net.minidev:json-smart:2.6.0=testCompileClasspath,testRuntimeClasspath
net.bytebuddy:byte-buddy-agent:1.17.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
net.bytebuddy:byte-buddy:1.17.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
net.minidev:accessors-smart:2.6.0=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
net.minidev:json-smart:2.6.0=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
net.sf.saxon:Saxon-HE:12.9=checkstyle,spotbugs
org.antlr:antlr4-runtime:4.13.2=checkstyle
org.apache.bcel:bcel:6.12.0=spotbugs
@@ -65,114 +65,114 @@ org.apache.commons:commons-text:1.15.0=spotbugs
org.apache.commons:commons-text:1.3=checkstyle
org.apache.httpcomponents:httpclient:4.5.13=checkstyle
org.apache.httpcomponents:httpcore:4.4.16=checkstyle
org.apache.logging.log4j:log4j-api:2.25.5=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-api:2.25.5=compileClasspath,runtimeClasspath,spotbugs,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-core:2.25.5=spotbugs
org.apache.logging.log4j:log4j-to-slf4j:2.25.5=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.apache.logging.log4j:log4j-to-slf4j:2.25.5=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.apache.maven.doxia:doxia-core:1.12.0=checkstyle
org.apache.maven.doxia:doxia-logging-api:1.12.0=checkstyle
org.apache.maven.doxia:doxia-module-xdoc:1.12.0=checkstyle
org.apache.maven.doxia:doxia-sink-api:1.12.0=checkstyle
org.apache.tomcat.embed:tomcat-embed-core:11.0.24=testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-el:11.0.24=testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-websocket:11.0.24=testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-core:11.0.24=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-el:11.0.24=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-websocket:11.0.24=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.apache.xbean:xbean-reflect:3.7=checkstyle
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
org.assertj:assertj-core:3.27.7=testCompileClasspath,testRuntimeClasspath
org.awaitility:awaitility:4.3.0=testCompileClasspath,testRuntimeClasspath
org.apiguardian:apiguardian-api:1.1.2=systemTestCompileClasspath,testCompileClasspath
org.assertj:assertj-core:3.27.7=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.awaitility:awaitility:4.3.0=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.codehaus.plexus:plexus-classworlds:2.6.0=checkstyle
org.codehaus.plexus:plexus-component-annotations:2.1.0=checkstyle
org.codehaus.plexus:plexus-container-default:2.1.0=checkstyle
org.codehaus.plexus:plexus-utils:3.3.0=checkstyle
org.dom4j:dom4j:2.2.0=spotbugs
org.hamcrest:hamcrest:3.0=testCompileClasspath,testRuntimeClasspath
org.hdrhistogram:HdrHistogram:2.2.2=testRuntimeClasspath
org.hamcrest:hamcrest:3.0=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.hdrhistogram:HdrHistogram:2.2.2=systemTestRuntimeClasspath,testRuntimeClasspath
org.javassist:javassist:3.28.0-GA=checkstyle
org.jspecify:jspecify:1.0.1=annotationProcessor,checkstyle,compileClasspath,runtimeClasspath,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.junit.jupiter:junit-jupiter-api:6.0.3=testCompileClasspath,testRuntimeClasspath
org.junit.jupiter:junit-jupiter-engine:6.0.3=testRuntimeClasspath
org.junit.jupiter:junit-jupiter-params:6.0.3=testCompileClasspath,testRuntimeClasspath
org.junit.jupiter:junit-jupiter:6.0.3=testCompileClasspath,testRuntimeClasspath
org.junit.platform:junit-platform-commons:6.0.3=testCompileClasspath,testRuntimeClasspath
org.junit.platform:junit-platform-engine:6.0.3=testRuntimeClasspath
org.junit.platform:junit-platform-launcher:6.0.3=testRuntimeClasspath
org.junit:junit-bom:6.0.3=testCompileClasspath,testRuntimeClasspath
org.jspecify:jspecify:1.0.1=annotationProcessor,checkstyle,compileClasspath,runtimeClasspath,systemTestAnnotationProcessor,systemTestCompileClasspath,systemTestRuntimeClasspath,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.junit.jupiter:junit-jupiter-api:6.0.3=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.junit.jupiter:junit-jupiter-engine:6.0.3=systemTestRuntimeClasspath,testRuntimeClasspath
org.junit.jupiter:junit-jupiter-params:6.0.3=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.junit.jupiter:junit-jupiter:6.0.3=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.junit.platform:junit-platform-commons:6.0.3=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.junit.platform:junit-platform-engine:6.0.3=systemTestRuntimeClasspath,testRuntimeClasspath
org.junit.platform:junit-platform-launcher:6.0.3=systemTestRuntimeClasspath,testRuntimeClasspath
org.junit:junit-bom:6.0.3=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.junit:junit-bom:6.1.0=spotbugs
org.latencyutils:LatencyUtils:2.0.3=testRuntimeClasspath
org.mockito:mockito-core:5.20.0=mockitoAgent,testCompileClasspath,testRuntimeClasspath
org.mockito:mockito-junit-jupiter:5.20.0=testCompileClasspath,testRuntimeClasspath
org.objenesis:objenesis:3.3=testRuntimeClasspath
org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath
org.osgi:org.osgi.annotation.bundle:2.0.0=compileClasspath,testCompileClasspath,testFixturesCompileClasspath
org.osgi:org.osgi.annotation.versioning:1.1.2=compileClasspath,testCompileClasspath,testFixturesCompileClasspath
org.osgi:org.osgi.resource:1.0.0=compileClasspath,testCompileClasspath,testFixturesCompileClasspath
org.osgi:org.osgi.service.serviceloader:1.0.0=compileClasspath,testCompileClasspath,testFixturesCompileClasspath
org.latencyutils:LatencyUtils:2.0.3=systemTestRuntimeClasspath,testRuntimeClasspath
org.mockito:mockito-core:5.20.0=mockitoAgent,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.mockito:mockito-junit-jupiter:5.20.0=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.objenesis:objenesis:3.3=systemTestRuntimeClasspath,testRuntimeClasspath
org.opentest4j:opentest4j:1.3.0=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.osgi:org.osgi.annotation.bundle:2.0.0=compileClasspath,systemTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath
org.osgi:org.osgi.annotation.versioning:1.1.2=compileClasspath,systemTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath
org.osgi:org.osgi.resource:1.0.0=compileClasspath,systemTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath
org.osgi:org.osgi.service.serviceloader:1.0.0=compileClasspath,systemTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath
org.ow2.asm:asm-analysis:9.10.1=spotbugs
org.ow2.asm:asm-commons:9.10.1=spotbugs
org.ow2.asm:asm-tree:9.10.1=spotbugs
org.ow2.asm:asm-util:9.10.1=spotbugs
org.ow2.asm:asm:9.10.1=spotbugs
org.ow2.asm:asm:9.7.1=testCompileClasspath,testRuntimeClasspath
org.pcollections:pcollections:4.0.1=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
org.reactivestreams:reactive-streams:1.0.4=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.ow2.asm:asm:9.7.1=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.pcollections:pcollections:4.0.1=annotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
org.reactivestreams:reactive-streams:1.0.4=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.reflections:reflections:0.10.2=checkstyle
org.skyscreamer:jsonassert:1.5.3=testCompileClasspath,testRuntimeClasspath
org.slf4j:jul-to-slf4j:2.0.18=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.slf4j:slf4j-api:2.0.18=compileClasspath,runtimeClasspath,spotbugs,spotbugsSlf4j,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.skyscreamer:jsonassert:1.5.3=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.slf4j:jul-to-slf4j:2.0.18=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.slf4j:slf4j-api:2.0.18=compileClasspath,runtimeClasspath,spotbugs,spotbugsSlf4j,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
org.slf4j:slf4j-simple:2.0.18=checkstyle
org.springframework.boot:spring-boot-autoconfigure:4.0.8=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-autoconfigure:4.0.8=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-configuration-processor:4.0.8=annotationProcessor
org.springframework.boot:spring-boot-graphql-test:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-graphql:4.0.8=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-http-client:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-http-codec:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-http-converter:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-jackson:4.0.8=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-reactor:4.0.8=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-restclient:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-resttestclient:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-security:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-servlet:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-graphql-test:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-graphql:4.0.8=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson-test:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson:4.0.8=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-logging:4.0.8=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-security:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-test:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-web:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter:4.0.8=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test-autoconfigure:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-tomcat:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-web-server:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc-test:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webtestclient:4.0.8=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot:4.0.8=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.graphql:spring-graphql-test:2.0.5=testCompileClasspath,testRuntimeClasspath
org.springframework.graphql:spring-graphql:2.0.5=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.security:spring-security-config:7.0.7=testCompileClasspath,testRuntimeClasspath
org.springframework.security:spring-security-core:7.0.7=testCompileClasspath,testRuntimeClasspath
org.springframework.security:spring-security-crypto:7.0.7=testCompileClasspath,testRuntimeClasspath
org.springframework.security:spring-security-web:7.0.7=testCompileClasspath,testRuntimeClasspath
org.springframework:spring-aop:7.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-beans:7.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-context:7.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-core:7.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-expression:7.0.9=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-test:7.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework:spring-web:7.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework:spring-webflux:7.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework:spring-webmvc:7.0.9=testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-graphql-test:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-graphql:4.0.8=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-http-client:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-http-codec:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-http-converter:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-jackson:4.0.8=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-reactor:4.0.8=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-restclient:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-resttestclient:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-security:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-servlet:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-graphql-test:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-graphql:4.0.8=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson-test:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson:4.0.8=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-logging:4.0.8=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-security:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-test:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-web:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-starter:4.0.8=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test-autoconfigure:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-test:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-tomcat:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-web-server:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc-test:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webmvc:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot-webtestclient:4.0.8=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.boot:spring-boot:4.0.8=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.graphql:spring-graphql-test:2.0.5=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.graphql:spring-graphql:2.0.5=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework.security:spring-security-config:7.0.7=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.security:spring-security-core:7.0.7=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.security:spring-security-crypto:7.0.7=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework.security:spring-security-web:7.0.7=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-aop:7.0.9=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-beans:7.0.9=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-context:7.0.9=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-core:7.0.9=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-expression:7.0.9=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.springframework:spring-test:7.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-web:7.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-webflux:7.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.springframework:spring-webmvc:7.0.9=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.xmlresolver:xmlresolver:5.3.3=checkstyle,spotbugs
org.xmlunit:xmlunit-core:2.10.4=testCompileClasspath,testRuntimeClasspath
org.yaml:snakeyaml:2.5=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
tools.jackson.core:jackson-core:3.1.5=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
tools.jackson.core:jackson-databind:3.1.5=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
tools.jackson:jackson-bom:3.1.5=compileClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
org.xmlunit:xmlunit-core:2.10.4=systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.yaml:snakeyaml:2.5=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
tools.jackson.core:jackson-core:3.1.5=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
tools.jackson.core:jackson-databind:3.1.5=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
tools.jackson:jackson-bom:3.1.5=compileClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
empty=
@@ -1,71 +0,0 @@
package dev.caskeleton.adapter.inbound.graphql.advanced.websocket;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedCapability;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedModuleGuard;
import java.time.Clock;
import java.util.List;
import java.util.Objects;
/**
* Decides whether a WebSocket connection may be opened, and issues its lifecycle if so.
*
* <p>Admission, not a handler. It was called a handler factory, which promised a Spring {@code
* WebSocketHandler} that reads and writes frames; what it returns is a {@link
* GraphQlWebSocketLifecycle} — a state machine with no socket and no I/O. An adopter who wired the
* old name where Spring expected a handler found a name that fit and behaviour that did not. The
* transport binding stays with the runtime that owns the socket; this owns the decision to let a
* connection exist.
*
* <p>The guard is checked here rather than per message, so a deployment without the flag never
* accepts a WebSocket connection at all.
*/
public final class GraphQlWebSocketAdmission {
private final GraphQlAdvancedModuleGuard guard;
private final GraphQlWebSocketProperties properties;
private final Clock clock;
/**
* Creates the factory.
*
* @param guard the Advanced capability guard
* @param properties connection bounds
* @param clock clock used for lifecycle deadlines
*/
public GraphQlWebSocketAdmission(
GraphQlAdvancedModuleGuard guard, GraphQlWebSocketProperties properties, Clock clock) {
this.guard = Objects.requireNonNull(guard);
this.properties = Objects.requireNonNull(properties);
this.clock = Objects.requireNonNull(clock);
}
/** The sub-protocols the server advertises. */
public List<String> supportedSubProtocols() {
return List.of(GraphQlWebSocketProtocol.GRAPHQL_TRANSPORT_WS.subProtocol());
}
/**
* Opens a connection lifecycle.
*
* @throws dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap
* .GraphQlAdvancedCapabilityDisabledException when the capability is not enabled
*/
public GraphQlWebSocketLifecycle open() {
guard.requireEnabled(GraphQlAdvancedCapability.WEBSOCKET_SUBSCRIPTION);
return new GraphQlWebSocketLifecycle(
properties.connectionInitTimeout(),
clock.instant(),
properties.maximumSubscriptionsPerConnection());
}
/**
* Verifies the sub-protocol a client negotiated.
*
* @throws GraphQlWebSocketProtocolException when the client asked for an unsupported protocol
*/
public void requireSupportedSubProtocol(String requested) {
if (!supportedSubProtocols().contains(requested)) {
throw new GraphQlWebSocketProtocolException("unsupported GraphQL WebSocket sub-protocol");
}
}
}
@@ -1,30 +0,0 @@
package dev.caskeleton.adapter.inbound.graphql.advanced.websocket;
import java.util.UUID;
/**
* The identity of one WebSocket connection.
*
* <p>Used for correlation in logs and for drain accounting — never as a metric label. There is one
* of these per connection, so as a tag it would create a time series per client.
*
* @param value opaque connection identity
*/
public record GraphQlWebSocketConnectionId(String value) {
public GraphQlWebSocketConnectionId {
if (value == null || value.isBlank()) {
throw new IllegalArgumentException("connection id is required");
}
}
/** Creates a fresh connection identity. */
public static GraphQlWebSocketConnectionId create() {
return new GraphQlWebSocketConnectionId(UUID.randomUUID().toString());
}
/** Whether this identity may be used as a metric label. Never. */
public static boolean usableAsMetricLabel() {
return false;
}
}
@@ -1,102 +0,0 @@
package dev.caskeleton.adapter.inbound.graphql.advanced.websocket;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedCapability;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedCapabilityDisabledException;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedFeatureFlags;
import java.time.Duration;
import java.util.Objects;
/**
* Decides whether the {@code graphql-transport-ws} handler may exist, and on what terms.
*
* <p>A factory rather than a bean definition because the decision has three inputs and only one of
* them is a flag: the capability must be enabled, the properties must describe a connection that
* can actually be bounded, and the admission policy must be present. A configuration class that
* checked only the flag would produce a handler with an unbounded connection lifetime whenever a
* deployment forgot the rest, and an unbounded WebSocket is a connection slot held by whoever opens
* it.
*
* <p>The factory produces the settings a handler needs rather than the handler itself. Spring
* GraphQL's own {@code GraphQlWebSocketHandler} is the handler; what this leaf owns is whether it
* runs and what limits it runs under, and building the Spring type here would put a framework
* dependency in a module whose whole job is the decision.
*/
public final class GraphQlWebSocketHandlerFactory {
private final GraphQlAdvancedFeatureFlags flags;
private final GraphQlWebSocketProperties properties;
private final GraphQlWebSocketAdmission admission;
/**
* @param flags which capabilities this deployment named
* @param properties the connection bounds
* @param admission who may open a connection
*/
public GraphQlWebSocketHandlerFactory(
GraphQlAdvancedFeatureFlags flags,
GraphQlWebSocketProperties properties,
GraphQlWebSocketAdmission admission) {
this.flags = Objects.requireNonNull(flags, "flags");
this.properties = Objects.requireNonNull(properties, "properties");
this.admission = Objects.requireNonNull(admission, "admission");
}
/** Whether the transport may be installed at all. */
public boolean enabled() {
return flags.isEnabled(GraphQlAdvancedCapability.WEBSOCKET_SUBSCRIPTION);
}
/**
* The settings a handler is installed with.
*
* @throws GraphQlAdvancedCapabilityDisabledException when the capability was not named
*/
public GraphQlWebSocketHandlerSettings settings() {
if (!enabled()) {
// Refused rather than returning a disabled handler. A handler that exists and rejects every
// frame is an endpoint that answers, which is how a client discovers the transport is
// "supported" and writes code against it.
throw new GraphQlAdvancedCapabilityDisabledException(
GraphQlAdvancedCapability.WEBSOCKET_SUBSCRIPTION.name());
}
return new GraphQlWebSocketHandlerSettings(
properties.connectionInitTimeout(),
properties.idleTimeout(),
properties.maximumConnectionAge(),
properties.maximumSubscriptionsPerConnection(),
properties.heartbeatInterval(),
admission);
}
/**
* What a handler is configured with.
*
* @param connectionInitTimeout how long an unacknowledged connection is held
* @param idleTimeout how long a silent connection is held
* @param maximumConnectionAge the ceiling regardless of activity
* @param maximumSubscriptionsPerConnection how many operations one socket may run
* @param heartbeatInterval how often a keepalive is written
* @param admission who may open a connection
*/
public record GraphQlWebSocketHandlerSettings(
Duration connectionInitTimeout,
Duration idleTimeout,
Duration maximumConnectionAge,
int maximumSubscriptionsPerConnection,
Duration heartbeatInterval,
GraphQlWebSocketAdmission admission) {
public GraphQlWebSocketHandlerSettings {
Objects.requireNonNull(connectionInitTimeout, "connectionInitTimeout");
Objects.requireNonNull(idleTimeout, "idleTimeout");
Objects.requireNonNull(maximumConnectionAge, "maximumConnectionAge");
Objects.requireNonNull(heartbeatInterval, "heartbeatInterval");
Objects.requireNonNull(admission, "admission");
if (heartbeatInterval.compareTo(idleTimeout) >= 0) {
throw new IllegalArgumentException(
"a heartbeat at or beyond the idle timeout makes the server time out its own healthy"
+ " connections between beats");
}
}
}
}
@@ -1,115 +0,0 @@
package dev.caskeleton.adapter.inbound.graphql.advanced.websocket;
import java.time.Duration;
import java.time.Instant;
/**
* One connection's lifecycle checks (Advanced plan Task 5).
*
* <p>The connection-init deadline is the one that matters for capacity: without it a client can
* open connections and never authenticate, holding server slots at no cost to itself.
*/
public final class GraphQlWebSocketLifecycle {
private final Duration initTimeout;
private final Instant connectedAt;
private final int maximumSubscriptions;
private int subscriptions;
private boolean initialised;
private boolean draining;
/**
* Creates the lifecycle with default subscription bounds.
*
* @param initTimeout how long the client has to send {@code connection_init}
* @param connectedAt when the connection opened
*/
public GraphQlWebSocketLifecycle(Duration initTimeout, Instant connectedAt) {
this(
initTimeout,
connectedAt,
GraphQlWebSocketProperties.defaults().maximumSubscriptionsPerConnection());
}
/**
* Creates the lifecycle.
*
* @param initTimeout how long the client has to send {@code connection_init}
* @param connectedAt when the connection opened
* @param maximumSubscriptions subscriptions this connection may hold
*/
public GraphQlWebSocketLifecycle(
Duration initTimeout, Instant connectedAt, int maximumSubscriptions) {
if (initTimeout == null || connectedAt == null) {
throw new IllegalArgumentException("init timeout and connection instant are required");
}
if (maximumSubscriptions < 1) {
throw new IllegalArgumentException("maximumSubscriptions must be positive");
}
this.initTimeout = initTimeout;
this.connectedAt = connectedAt;
this.maximumSubscriptions = maximumSubscriptions;
}
/**
* Handles {@code connection_init}.
*
* @throws GraphQlWebSocketProtocolException when it arrives late or twice
*/
public void onConnectionInit(Instant now) {
if (now.isAfter(connectedAt.plus(initTimeout))) {
throw new GraphQlWebSocketProtocolException("connection_init timeout");
}
if (initialised) {
throw new GraphQlWebSocketProtocolException("connection_init sent twice");
}
initialised = true;
}
/**
* Handles {@code subscribe}.
*
* @throws GraphQlWebSocketProtocolException before initialisation, past the limit, or while
* draining
*/
public void onSubscribe() {
if (!initialised) {
throw new GraphQlWebSocketProtocolException("subscribe before connection_init");
}
if (draining) {
throw new GraphQlWebSocketProtocolException(
"server is draining and accepts no new subscriptions");
}
if (subscriptions >= maximumSubscriptions) {
throw new GraphQlWebSocketProtocolException("maximum subscriptions per connection exceeded");
}
subscriptions++;
}
/** Handles {@code complete} for one subscription. */
public void onComplete() {
if (subscriptions > 0) {
subscriptions--;
}
}
/** Marks the server as draining; existing streams continue, new ones are refused. */
public void startDraining() {
draining = true;
}
/** Whether the connection has exceeded its maximum age. */
public boolean expired(Instant now, Duration maximumConnectionAge) {
return now.isAfter(connectedAt.plus(maximumConnectionAge));
}
/** Active subscriptions on this connection. */
public int activeSubscriptions() {
return subscriptions;
}
/** Whether the connection completed {@code connection_init}. */
public boolean initialised() {
return initialised;
}
}
@@ -1,50 +0,0 @@
package dev.caskeleton.adapter.inbound.graphql.advanced.websocket;
import java.time.Duration;
/**
* Bounds on a WebSocket connection (design §20).
*
* <p>Every value bounds a resource a client would otherwise hold indefinitely. The init timeout
* stops a connection that never authenticates from occupying a slot; the maximum age forces
* re-authentication on a connection that would otherwise outlive its credential by days.
*
* @param connectionInitTimeout how long a client has to send {@code connection_init}
* @param idleTimeout how long a connection may stay silent
* @param maximumConnectionAge how long any connection may live
* @param maximumSubscriptionsPerConnection subscriptions one connection may hold
* @param heartbeatInterval ping interval
*/
public record GraphQlWebSocketProperties(
Duration connectionInitTimeout,
Duration idleTimeout,
Duration maximumConnectionAge,
int maximumSubscriptionsPerConnection,
Duration heartbeatInterval) {
public GraphQlWebSocketProperties {
requirePositive(connectionInitTimeout, "connectionInitTimeout");
requirePositive(idleTimeout, "idleTimeout");
requirePositive(maximumConnectionAge, "maximumConnectionAge");
requirePositive(heartbeatInterval, "heartbeatInterval");
if (maximumSubscriptionsPerConnection < 1) {
throw new IllegalArgumentException("maximumSubscriptionsPerConnection must be positive");
}
}
/** Conservative defaults. */
public static GraphQlWebSocketProperties defaults() {
return new GraphQlWebSocketProperties(
Duration.ofSeconds(10),
Duration.ofMinutes(5),
Duration.ofHours(2),
20,
Duration.ofSeconds(30));
}
private static void requirePositive(Duration value, String name) {
if (value == null || value.isZero() || value.isNegative()) {
throw new IllegalArgumentException(name + " must be positive");
}
}
}
@@ -1,27 +0,0 @@
package dev.caskeleton.adapter.inbound.graphql.advanced.websocket;
/**
* The WebSocket sub-protocol the platform speaks.
*
* <p>Only {@code graphql-transport-ws}. The older {@code subscriptions-transport-ws} is superseded
* and unmaintained, and advertising it would commit the platform to a protocol nobody is fixing.
*/
public enum GraphQlWebSocketProtocol {
/** The current protocol. */
GRAPHQL_TRANSPORT_WS("graphql-transport-ws");
/** The superseded protocol, never advertised. */
public static final String UNSUPPORTED_LEGACY_SUB_PROTOCOL = "graphql-ws";
private final String subProtocol;
GraphQlWebSocketProtocol(String subProtocol) {
this.subProtocol = subProtocol;
}
/** The advertised sub-protocol name. */
public String subProtocol() {
return subProtocol;
}
}
@@ -1,20 +0,0 @@
package dev.caskeleton.adapter.inbound.graphql.advanced.websocket;
/**
* Raised on a protocol violation.
*
* <p>Carries no {@code connection_init} payload: that payload is where credentials arrive.
*/
public class GraphQlWebSocketProtocolException extends RuntimeException {
private static final long serialVersionUID = 1L;
/**
* Creates the failure.
*
* @param reason bounded description of the violation
*/
public GraphQlWebSocketProtocolException(String reason) {
super(reason);
}
}
@@ -15,8 +15,10 @@ import org.springframework.core.env.Environment;
* whatever any project condition says. That is the difference between an endpoint that is off and
* one whose project beans are absent while the framework serves it anyway.
*
* <p>A misspelled entry fails open silently — the filter simply never matches — so the test that
* protects this asserts a 404 on the real port rather than checking what this method returns.
* <p>A misspelled or newly added Boot entry fails open silently — the filter simply never matches.
* The repository therefore protects both sides: AutoConfigurationReachabilityParityTest compares
* this exact target set with Boot's current GraphQL import candidates, while the shipped system
* test still proves the off state publishes no GraphQL route on a real port.
*/
public final class GraphQlOffAutoConfigurationImportFilter
implements AutoConfigurationImportFilter, EnvironmentAware {
@@ -26,15 +28,17 @@ public final class GraphQlOffAutoConfigurationImportFilter
private static final Set<String> GRAPHQL_AUTO_CONFIGURATIONS =
Set.of(
"org.springframework.boot.graphql.autoconfigure.GraphQlAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.observation.GraphQlObservationAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.data.GraphQlQueryByExampleAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.data.GraphQlQuerydslAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.data.GraphQlReactiveQueryByExampleAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.data.GraphQlReactiveQuerydslAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.observation.GraphQlObservationAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.reactive.GraphQlWebFluxAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.rsocket.GraphQlRSocketAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.rsocket.RSocketGraphQlClientAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.reactive.GraphQlWebFluxAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.reactive.GraphQlWebFluxSecurityAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.servlet.GraphQlWebMvcAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.servlet.GraphQlWebMvcSecurityAutoConfiguration");
"org.springframework.boot.graphql.autoconfigure.security.GraphQlWebFluxSecurityAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.security.GraphQlWebMvcSecurityAutoConfiguration",
"org.springframework.boot.graphql.autoconfigure.servlet.GraphQlWebMvcAutoConfiguration");
private Environment environment;
@@ -13,7 +13,8 @@ import java.util.Set;
* plane is exposed at all and behind which authorization.
*
* <p>{@link #report()} returns hashes and bounded counts only — no SDL, no persisted documents, no
* keys.
* keys. Cursor key ids are configuration declarations only; this endpoint does not claim that
* cursor signing is active unless a composition has separately wired that modelled capability.
*/
public final class GraphQlPlatformActuatorEndpoint {
@@ -15,6 +15,7 @@ import dev.caskeleton.adapter.inbound.graphql.execution.BoundedPreparsedDocument
import dev.caskeleton.adapter.inbound.graphql.execution.GraphQlExecutionPipeline;
import dev.caskeleton.adapter.inbound.graphql.execution.GraphQlPreparsedCacheMetrics;
import dev.caskeleton.adapter.inbound.graphql.execution.GraphQlPreparsedCachePolicy;
import dev.caskeleton.adapter.inbound.graphql.http.GraphQlExtensionsPolicy;
import dev.caskeleton.adapter.inbound.graphql.http.GraphQlJsonStructurePolicy;
import dev.caskeleton.adapter.inbound.graphql.observation.GraphQlDataLoaderObservationConvention;
import dev.caskeleton.adapter.inbound.graphql.observation.GraphQlMetricCardinalityPolicy;
@@ -36,7 +37,6 @@ import dev.caskeleton.adapter.inbound.graphql.runtime.GraphQlRequestObservationC
import dev.caskeleton.adapter.inbound.graphql.runtime.GraphQlWireErrorMapper;
import dev.caskeleton.adapter.inbound.graphql.runtime.servlet.GraphQlRequestBodyLimitFilter;
import dev.caskeleton.adapter.inbound.graphql.scalar.GraphQlScalarWiringConfigurer;
import dev.caskeleton.adapter.inbound.graphql.schema.GraphQlMappingInspectionGate;
import dev.caskeleton.adapter.inbound.graphql.schema.GraphQlScalarDefinition;
import dev.caskeleton.adapter.inbound.graphql.schema.GraphQlScalarManifest;
import dev.caskeleton.adapter.inbound.graphql.security.GraphQlAuthenticationContextFactory;
@@ -454,6 +454,13 @@ public class GraphQlPlatformAutoConfiguration {
return GraphQlJsonStructurePolicy.from(clientPolicy);
}
/** Stable request-envelope extension allowlist. */
@Bean
@ConditionalOnMissingBean
public GraphQlExtensionsPolicy graphQlExtensionsPolicy() {
return GraphQlExtensionsPolicy.stableDefaults();
}
/** Establishes the request context on the real {@code /graphql} endpoint. */
@Bean
@ConditionalOnMissingBean(GraphQlPlatformWebInterceptor.class)
@@ -462,6 +469,7 @@ public class GraphQlPlatformAutoConfiguration {
GraphQlAuthenticationContextFactory contextFactory,
GraphQlClientPolicy clientPolicy,
GraphQlJsonStructurePolicy structurePolicy,
GraphQlExtensionsPolicy extensionsPolicy,
GraphQlPlatformSettings properties,
Clock graphQlPlatformClock) {
return new GraphQlPlatformWebInterceptor(
@@ -469,6 +477,7 @@ public class GraphQlPlatformAutoConfiguration {
contextFactory,
clientPolicy,
structurePolicy,
extensionsPolicy,
new GraphQlClientProfile(DEFAULT_ANONYMOUS_PROFILE),
TenantContext.system(DEFAULT_ANONYMOUS_TENANT),
properties.production(),
@@ -498,13 +507,6 @@ public class GraphQlPlatformAutoConfiguration {
return new GraphQlScalarWiringConfigurer(manifest);
}
/** The Stable schema mapping gate. */
@Bean
@ConditionalOnMissingBean
public GraphQlMappingInspectionGate graphQlMappingInspectionGate() {
return GraphQlMappingInspectionGate.stable();
}
/** The metric attribute allowlist. */
@Bean
@ConditionalOnMissingBean
@@ -17,7 +17,8 @@ import java.util.TreeSet;
* @param deploymentMode the single safety posture this deployment runs under
* @param httpProfile transport profile version
* @param supportedCapabilities capability names that are active
* @param cursorKeyIds signing key identities, without the keys
* @param cursorKeyIds declared cursor key identities, without the keys; not proof that signing is
* active
* @param registeredOperations count of registered operations
* @param registeredFetchProfiles count of registered fetch profiles
*/
@@ -30,7 +30,7 @@ import org.springframework.boot.context.properties.bind.DefaultValue;
* @param executionProfile runtime execution profile
* @param console query console and introspection exposure
* @param limits page and cost ceilings
* @param cursor cursor signing key ring
* @param cursor declared cursor signing key identities for adopter-composed/modelled support
* @param unsupported capabilities this platform deliberately does not implement
* @param unbridgedBlockingResolvers resolvers that block without an approved bridge
*/
@@ -111,7 +111,11 @@ public record GraphQlPlatformSettings(
}
/**
* The cursor signing key ring.
* Declared cursor signing key identities for the modelled cursor capability.
*
* <p>The Stable runtime does not construct a cursor codec or key ring. These ids become
* operationally meaningful only in an adopter composition that also supplies key material and
* request-path wiring.
*
* @param keyIds signing key identities; the keys themselves never appear in configuration
*/
@@ -190,7 +194,7 @@ public record GraphQlPlatformSettings(
GraphQlExecutionProfile.BLOCKING_MVC,
Console.disabled(),
Limits.defaults(),
Cursor.of(Set.of("cursor-key-1")),
Cursor.none(),
Unsupported.none(),
"v1",
Set.of(),
@@ -7,10 +7,11 @@ import java.util.List;
/**
* Refuses to start an unsafe or contradictory configuration (design §23).
*
* <p>Everything checked here is a setting that would otherwise fail silently, at request time, in
* production: a missing cursor key means unsigned cursors, an enabled console means a public query
* editor, an unbounded page size means the cost budget has no multiplier to apply. Each is far
* cheaper to catch at boot.
* <p>Everything checked here belongs to a capability that is actually on the request path. An
* enabled console means a public query editor and an unbounded page size means the cost budget has
* no multiplier to apply, so both are cheaper to catch at boot. Modelled-but-unwired capabilities
* are deliberately excluded: startup must not imply that configuration for an inactive capability
* is protecting traffic.
*/
public final class GraphQlPlatformStartupValidator {
@@ -39,9 +40,6 @@ public final class GraphQlPlatformStartupValidator {
if (properties.console().graphiqlEnabled() && !properties.deploymentMode().graphiqlAllowed()) {
problems.add("GraphiQL must not be enabled in " + properties.deploymentMode());
}
if (properties.production() && properties.cursor().keyIds().isEmpty()) {
problems.add("a cursor signing key is required; unsigned cursors are client-editable");
}
if (properties.console().introspectionEnabled()
&& !properties.deploymentMode().introspectionAllowed()) {
problems.add("introspection is not permitted in " + properties.deploymentMode());
@@ -1,5 +1,6 @@
package dev.caskeleton.adapter.inbound.graphql.error;
import java.util.Set;
import java.util.regex.Pattern;
/**
@@ -22,12 +23,50 @@ public record GraphQlErrorCode(String value) {
/** Caller is not permitted. */
public static final String AUTHORIZATION_DENIED = "AUTHORIZATION_DENIED";
/** Caller did not authenticate. Kept unprefixed for wire compatibility. */
public static final String AUTHENTICATION_REQUIRED = "AUTHENTICATION_REQUIRED";
/** Resource existence is deliberately hidden. Kept unprefixed for wire compatibility. */
public static final String RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND";
/** Request budget exhausted. */
public static final String REQUEST_TIMEOUT = "REQUEST_TIMEOUT";
/** A dependency was unavailable. */
public static final String DEPENDENCY_UNAVAILABLE = "DEPENDENCY_UNAVAILABLE";
/** Stable request-document structure rejection. */
public static final String GRAPHQL_DOCUMENT_SHAPE_REJECTED = "GRAPHQL_DOCUMENT_SHAPE_REJECTED";
/** Stable pre-execution complexity rejection. */
public static final String GRAPHQL_COMPLEXITY_EXCEEDED = "GRAPHQL_COMPLEXITY_EXCEEDED";
/** Stable operation-name rejection. */
public static final String GRAPHQL_OPERATION_NAME_REQUIRED = "GRAPHQL_OPERATION_NAME_REQUIRED";
private static final Set<String> LEGACY_UNPREFIXED_PLATFORM_CODES =
Set.of(
INTERNAL_ERROR,
REQUEST_ERROR,
AUTHORIZATION_DENIED,
AUTHENTICATION_REQUIRED,
RESOURCE_NOT_FOUND,
REQUEST_TIMEOUT,
DEPENDENCY_UNAVAILABLE);
private static final Set<String> PLATFORM_CODES =
Set.of(
INTERNAL_ERROR,
REQUEST_ERROR,
AUTHORIZATION_DENIED,
AUTHENTICATION_REQUIRED,
RESOURCE_NOT_FOUND,
REQUEST_TIMEOUT,
DEPENDENCY_UNAVAILABLE,
GRAPHQL_DOCUMENT_SHAPE_REJECTED,
GRAPHQL_COMPLEXITY_EXCEEDED,
GRAPHQL_OPERATION_NAME_REQUIRED);
private static final Pattern PATTERN = Pattern.compile("[A-Z][A-Z0-9_]{2,63}");
public GraphQlErrorCode {
@@ -36,8 +75,39 @@ public record GraphQlErrorCode(String value) {
}
}
/** Creates a code. */
/**
* Creates an application/product-owned code.
*
* <p>This intentionally accepts any bounded stable code because application {@code ApiErrorCode}
* values and adopter-specific resolver mappings pass through GraphQL without becoming GraphQL
* platform codes.
*/
public static GraphQlErrorCode of(String value) {
return new GraphQlErrorCode(value);
}
/**
* Creates a GraphQL-platform-owned wire code.
*
* <p>Unlike {@link #of(String)}, this is fail-closed: a platform mapper cannot invent a new
* client-visible code without first adding it to the finite local catalogue. New platform codes
* use the {@code GRAPHQL_} prefix; the unprefixed entries are the frozen legacy wire values kept
* for compatibility.
*/
public static GraphQlErrorCode platform(String value) {
if (!PLATFORM_CODES.contains(value)) {
throw new IllegalArgumentException("unregistered GraphQL platform error code: " + value);
}
return new GraphQlErrorCode(value);
}
/** Current client-visible codes emitted directly by the shipped GraphQL platform. */
public static Set<String> platformCodes() {
return PLATFORM_CODES;
}
/** Frozen unprefixed platform codes retained for wire compatibility. */
public static Set<String> legacyUnprefixedPlatformCodes() {
return LEGACY_UNPREFIXED_PLATFORM_CODES;
}
}
@@ -21,7 +21,7 @@ public final class GraphQlRequestErrorMapper {
}
return GraphQlWireError.of(
clientMessage(outcome),
GraphQlErrorCode.of(GraphQlErrorCode.REQUEST_ERROR),
GraphQlErrorCode.platform(GraphQlErrorCode.REQUEST_ERROR),
GraphQlErrorCategory.REQUEST,
context);
}
@@ -35,7 +35,7 @@ public final class GraphQlRequestErrorMapper {
: GraphQlInternalErrorMasker.safeMessage(String.join("; ", validationMessages));
return GraphQlWireError.of(
message,
GraphQlErrorCode.of(GraphQlErrorCode.REQUEST_ERROR),
GraphQlErrorCode.platform(GraphQlErrorCode.REQUEST_ERROR),
GraphQlErrorCategory.REQUEST,
context);
}
@@ -46,7 +46,7 @@ public final class GraphQlSubscriptionExceptionResolver {
public GraphQlWireError credentialExpired(GraphQlErrorContext context) {
return GraphQlWireError.of(
"구독 자격 증명이 만료되어 스트림을 종료합니다.",
GraphQlErrorCode.of(GraphQlErrorCode.AUTHORIZATION_DENIED),
GraphQlErrorCode.platform(GraphQlErrorCode.AUTHORIZATION_DENIED),
GraphQlErrorCategory.AUTHORIZATION,
context);
}
@@ -55,7 +55,7 @@ public final class GraphQlSubscriptionExceptionResolver {
public GraphQlWireError serverDraining(GraphQlErrorContext context) {
return GraphQlWireError.of(
"서버 종료로 스트림을 종료합니다. 다시 구독하세요.",
GraphQlErrorCode.of(GraphQlErrorCode.DEPENDENCY_UNAVAILABLE),
GraphQlErrorCode.platform(GraphQlErrorCode.DEPENDENCY_UNAVAILABLE),
GraphQlErrorCategory.DEPENDENCY,
context);
}
@@ -52,7 +52,7 @@ public record GraphQlWireError(String message, List<Object> path, Map<String, Ob
OPAQUE_MESSAGE,
Map.of(
"code",
GraphQlErrorCode.INTERNAL_ERROR,
GraphQlErrorCode.platform(GraphQlErrorCode.INTERNAL_ERROR).value(),
"category",
GraphQlErrorCategory.INTERNAL.name(),
"retryable",
@@ -96,9 +96,7 @@ public enum GraphQlAdvancedModule {
* repository, an entity or a Spring Data type. Everything it works with is a name the deployment
* registered.
*/
SPRING_DATA("advanced.springdata", "advanced.springdata"),
WEBSOCKET("advanced.websocket", "advanced.websocket", "advanced.bootstrap");
SPRING_DATA("advanced.springdata", "advanced.springdata");
private final String id;
private final String packageSuffix;
@@ -58,7 +58,7 @@ public final class GraphQlPlatformRejectionMapper {
if (failure instanceof GraphQlAuthenticationException) {
return GraphQlWireError.of(
"인증이 필요합니다.",
GraphQlErrorCode.of("AUTHENTICATION_REQUIRED"),
GraphQlErrorCode.platform(GraphQlErrorCode.AUTHENTICATION_REQUIRED),
GraphQlErrorCategory.AUTHORIZATION,
context);
}
@@ -67,14 +67,14 @@ public final class GraphQlPlatformRejectionMapper {
// exists in another tenant is the disclosure the isolation rule exists to prevent.
return GraphQlWireError.of(
"요청한 리소스를 찾을 수 없습니다.",
GraphQlErrorCode.of("RESOURCE_NOT_FOUND"),
GraphQlErrorCode.platform(GraphQlErrorCode.RESOURCE_NOT_FOUND),
GraphQlErrorCategory.AUTHORIZATION,
context);
}
if (failure instanceof GraphQlStructuralLimitException violation) {
return GraphQlWireError.of(
"요청 문서가 허용된 구조 한계를 초과했습니다.",
GraphQlErrorCode.of(GraphQlStructuralLimitException.CODE),
GraphQlErrorCode.platform(GraphQlStructuralLimitException.CODE),
GraphQlErrorCategory.REQUEST,
context)
.withConstraint(violation.limitName());
@@ -82,14 +82,14 @@ public final class GraphQlPlatformRejectionMapper {
if (failure instanceof GraphQlComplexityRejectedException) {
return GraphQlWireError.of(
"요청의 예상 비용이 허용 한도를 초과했습니다.",
GraphQlErrorCode.of(GraphQlComplexityRejectedException.CODE),
GraphQlErrorCode.platform(GraphQlComplexityRejectedException.CODE),
GraphQlErrorCategory.REQUEST,
context);
}
if (failure instanceof GraphQlAnonymousOperationException) {
return GraphQlWireError.of(
"실행할 operation 을 하나로 특정할 수 없습니다.",
GraphQlErrorCode.of(GraphQlAnonymousOperationException.CODE),
GraphQlErrorCode.platform(GraphQlAnonymousOperationException.CODE),
GraphQlErrorCategory.REQUEST,
context);
}
@@ -99,7 +99,7 @@ public final class GraphQlPlatformRejectionMapper {
// is enforced where the exception is constructed rather than trusted here.
return GraphQlWireError.of(
"요청 형식이 올바르지 않습니다.",
GraphQlErrorCode.of(GraphQlErrorCode.REQUEST_ERROR),
GraphQlErrorCode.platform(GraphQlErrorCode.REQUEST_ERROR),
GraphQlErrorCategory.REQUEST,
context)
.withConstraint(constraintOf(malformed));
@@ -107,14 +107,14 @@ public final class GraphQlPlatformRejectionMapper {
if (failure instanceof GraphQlRequestTooLargeException) {
return GraphQlWireError.of(
"요청이 허용된 크기를 초과했습니다.",
GraphQlErrorCode.of(GraphQlErrorCode.REQUEST_ERROR),
GraphQlErrorCode.platform(GraphQlErrorCode.REQUEST_ERROR),
GraphQlErrorCategory.REQUEST,
context);
}
if (failure instanceof GraphQlRequestCancelledException) {
return GraphQlWireError.of(
"요청 처리 시간이 초과되었습니다.",
GraphQlErrorCode.of(GraphQlErrorCode.REQUEST_TIMEOUT),
GraphQlErrorCode.platform(GraphQlErrorCode.REQUEST_TIMEOUT),
GraphQlErrorCategory.TIMEOUT,
context);
}
@@ -6,6 +6,7 @@ import dev.caskeleton.adapter.inbound.graphql.context.GraphQlRequestContext;
import dev.caskeleton.adapter.inbound.graphql.context.TenantContext;
import dev.caskeleton.adapter.inbound.graphql.error.GraphQlErrorContext;
import dev.caskeleton.adapter.inbound.graphql.error.GraphQlWireError;
import dev.caskeleton.adapter.inbound.graphql.http.GraphQlExtensionsPolicy;
import dev.caskeleton.adapter.inbound.graphql.http.GraphQlJsonStructurePolicy;
import dev.caskeleton.adapter.inbound.graphql.http.GraphQlRequestSize;
import dev.caskeleton.adapter.inbound.graphql.http.GraphQlRequestTooLargeException;
@@ -45,6 +46,7 @@ public final class GraphQlPlatformWebInterceptor implements WebGraphQlIntercepto
private final GraphQlAuthenticationContextFactory contextFactory;
private final GraphQlClientPolicy policy;
private final GraphQlJsonStructurePolicy structurePolicy;
private final GraphQlExtensionsPolicy extensionsPolicy;
private final GraphQlClientProfile anonymousProfile;
private final TenantContext anonymousTenant;
private final boolean anonymousProfileProtected;
@@ -66,6 +68,7 @@ public final class GraphQlPlatformWebInterceptor implements WebGraphQlIntercepto
GraphQlAuthenticationContextFactory contextFactory,
GraphQlClientPolicy policy,
GraphQlJsonStructurePolicy structurePolicy,
GraphQlExtensionsPolicy extensionsPolicy,
GraphQlClientProfile anonymousProfile,
TenantContext anonymousTenant,
boolean anonymousProfileProtected,
@@ -74,6 +77,8 @@ public final class GraphQlPlatformWebInterceptor implements WebGraphQlIntercepto
this.contextFactory = Objects.requireNonNull(contextFactory, "context factory is required");
this.policy = Objects.requireNonNull(policy, "client policy is required");
this.structurePolicy = Objects.requireNonNull(structurePolicy, "structure policy is required");
this.extensionsPolicy =
Objects.requireNonNull(extensionsPolicy, "extensions policy is required");
this.anonymousProfile = Objects.requireNonNull(anonymousProfile, "anonymous profile");
this.anonymousTenant = Objects.requireNonNull(anonymousTenant, "anonymous tenant");
this.anonymousProfileProtected = anonymousProfileProtected;
@@ -129,6 +134,7 @@ public final class GraphQlPlatformWebInterceptor implements WebGraphQlIntercepto
}
structurePolicy.verify("variables", variables);
structurePolicy.verify("extensions", request.getExtensions());
extensionsPolicy.verify(request.getExtensions());
}
private GraphQlRequestContext requestContext(WebGraphQlRequest request) {
@@ -50,9 +50,9 @@ public final class GraphQlAuthorizationInterceptor {
String message = decision.hideExistence() ? "요청한 리소스를 찾을 수 없습니다." : "이 작업을 수행할 권한이 없습니다.";
return GraphQlWireError.of(
message,
GraphQlErrorCode.of(
GraphQlErrorCode.platform(
decision.hideExistence()
? "RESOURCE_NOT_FOUND"
? GraphQlErrorCode.RESOURCE_NOT_FOUND
: GraphQlErrorCode.AUTHORIZATION_DENIED),
GraphQlErrorCategory.AUTHORIZATION,
context);
@@ -6,46 +6,25 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedCapability;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedCapabilityDisabledException;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedFeatureFlags;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedModuleGuard;
import dev.caskeleton.adapter.inbound.graphql.advanced.rsocket.GraphQlRSocketHandlerFactory;
import dev.caskeleton.adapter.inbound.graphql.advanced.rsocket.GraphQlRSocketProperties;
import dev.caskeleton.adapter.inbound.graphql.advanced.rsocket.GraphQlRSocketRoutePolicy;
import dev.caskeleton.adapter.inbound.graphql.advanced.sse.GraphQlSseConnectionPolicy;
import dev.caskeleton.adapter.inbound.graphql.advanced.sse.GraphQlSseHandlerFactory;
import dev.caskeleton.adapter.inbound.graphql.advanced.sse.GraphQlSseProperties;
import dev.caskeleton.adapter.inbound.graphql.advanced.websocket.GraphQlWebSocketAdmission;
import dev.caskeleton.adapter.inbound.graphql.advanced.websocket.GraphQlWebSocketHandlerFactory;
import dev.caskeleton.adapter.inbound.graphql.advanced.websocket.GraphQlWebSocketProperties;
import java.time.Clock;
import java.time.Duration;
import java.time.ZoneOffset;
import java.util.Set;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
/**
* Whether each transport may exist at all, and what it is installed with.
* Whether each transport model may exist at all, and what it is installed with.
*
* <p>The three factories are the seam between "a deployment named this capability" and "a handler
* is serving requests". The seam matters because the alternative — a handler that is always
* installed and rejects when disabled — is an endpoint that answers, and an endpoint that answers
* is one a client writes code against.
* <p>WebSocket transport is deliberately absent: graphql-transport-ws connection state and close
* semantics are owned by the websocket leaf. This leaf keeps only the SSE and RSocket models that
* do not duplicate another inbound adapter.
*/
class TransportHandlerFactoryTest {
private static final Clock CLOCK =
Clock.fixed(java.time.Instant.parse("2026-08-25T10:00:00Z"), ZoneOffset.UTC);
private static GraphQlWebSocketAdmission admission(GraphQlAdvancedFeatureFlags flags) {
return new GraphQlWebSocketAdmission(
new GraphQlAdvancedModuleGuard(flags), GraphQlWebSocketProperties.defaults(), CLOCK);
}
private static GraphQlWebSocketHandlerFactory websocket(GraphQlAdvancedFeatureFlags flags) {
return new GraphQlWebSocketHandlerFactory(
flags, GraphQlWebSocketProperties.defaults(), admission(flags));
}
private static GraphQlSseHandlerFactory sse(GraphQlAdvancedFeatureFlags flags) {
return new GraphQlSseHandlerFactory(
flags, GraphQlSseProperties.defaults(), GraphQlSseConnectionPolicy.standard());
@@ -64,11 +43,10 @@ class TransportHandlerFactoryTest {
}
@Test
@DisplayName("no transport exists until its capability is named")
@DisplayName("no modelled transport exists until its capability is named")
void noTransportExistsUntilNamed() {
GraphQlAdvancedFeatureFlags off = GraphQlAdvancedFeatureFlags.disabled();
assertThat(websocket(off).enabled()).isFalse();
assertThat(sse(off).enabled()).isFalse();
assertThat(rsocket(off, false).enabled()).isFalse();
}
@@ -76,55 +54,17 @@ class TransportHandlerFactoryTest {
@Test
@DisplayName("asking a disabled transport for its settings is refused, not answered emptily")
void disabledTransportRefusesRatherThanAnswering() {
// A handler that exists and rejects every request is an endpoint that answers, which is how a
// client discovers the transport is "supported".
GraphQlAdvancedFeatureFlags off = GraphQlAdvancedFeatureFlags.disabled();
assertThatThrownBy(() -> websocket(off).settings())
.isInstanceOf(GraphQlAdvancedCapabilityDisabledException.class);
assertThatThrownBy(() -> sse(off).settings())
.isInstanceOf(GraphQlAdvancedCapabilityDisabledException.class);
assertThatThrownBy(() -> rsocket(off, false).settings())
.isInstanceOf(GraphQlAdvancedCapabilityDisabledException.class);
}
@Test
@DisplayName("a named WebSocket capability produces bounded settings")
void websocketSettingsAreBounded() {
GraphQlWebSocketHandlerFactory.GraphQlWebSocketHandlerSettings settings =
websocket(
GraphQlAdvancedFeatureFlags.enabling(
GraphQlAdvancedCapability.WEBSOCKET_SUBSCRIPTION))
.settings();
assertThat(settings.connectionInitTimeout()).isPositive();
assertThat(settings.maximumConnectionAge()).isPositive();
assertThat(settings.maximumSubscriptionsPerConnection()).isPositive();
assertThat(settings.heartbeatInterval()).isLessThan(settings.idleTimeout());
}
@Test
@DisplayName("a heartbeat at or beyond the idle timeout is refused")
void selfDefeatingHeartbeatIsRefused() {
// The server would time out its own healthy connections between beats.
assertThatThrownBy(
() ->
new GraphQlWebSocketHandlerFactory.GraphQlWebSocketHandlerSettings(
Duration.ofSeconds(10),
Duration.ofSeconds(30),
Duration.ofHours(1),
10,
Duration.ofSeconds(30),
admission(GraphQlAdvancedFeatureFlags.disabled())))
.isInstanceOf(IllegalArgumentException.class)
.hasMessageContaining("time out its own healthy connections");
}
@Test
@DisplayName("SSE says how many connections a client will hold before it is enabled")
void sseReportsItsConnectionCost() {
// Distinct Connection: one POST per subscription. A client with twenty subscriptions holds
// twenty connections, and a browser's six-per-origin limit is reached at six.
GraphQlSseHandlerFactory factory =
sse(GraphQlAdvancedFeatureFlags.enabling(GraphQlAdvancedCapability.SSE_SUBSCRIPTION));
@@ -135,8 +75,6 @@ class TransportHandlerFactoryTest {
@Test
@DisplayName("RSocket needs the transport switch as well as the capability")
void rsocketNeedsBothGates() {
// Two acts rather than one. A flag is set by whoever edits configuration; enabling an
// experimental transport should not be reachable the same way a supported one is.
GraphQlAdvancedFeatureFlags named =
GraphQlAdvancedFeatureFlags.enabling(GraphQlAdvancedCapability.RSOCKET);
@@ -147,7 +85,6 @@ class TransportHandlerFactoryTest {
@Test
@DisplayName("an experimental transport with no named consumer is refused")
void unnamedConsumerIsRefused() {
// One nobody will notice breaking, which is the state it must not reach.
assertThatThrownBy(
() ->
new GraphQlRSocketHandlerFactory.GraphQlRSocketHandlerSettings(
@@ -157,13 +94,12 @@ class TransportHandlerFactoryTest {
}
@Test
@DisplayName("enabling one transport does not enable another")
@DisplayName("enabling SSE does not enable RSocket")
void capabilitiesAreIndependent() {
GraphQlAdvancedFeatureFlags onlyWebSocket =
GraphQlAdvancedFeatureFlags.enabling(GraphQlAdvancedCapability.WEBSOCKET_SUBSCRIPTION);
GraphQlAdvancedFeatureFlags onlySse =
GraphQlAdvancedFeatureFlags.enabling(GraphQlAdvancedCapability.SSE_SUBSCRIPTION);
assertThat(websocket(onlyWebSocket).enabled()).isTrue();
assertThat(sse(onlyWebSocket).enabled()).isFalse();
assertThat(rsocket(onlyWebSocket, true).enabled()).isFalse();
assertThat(sse(onlySse).enabled()).isTrue();
assertThat(rsocket(onlySse, true).enabled()).isFalse();
}
}
@@ -1,124 +0,0 @@
package dev.caskeleton.adapter.inbound.graphql.advanced.websocket;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatCode;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedCapability;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedCapabilityDisabledException;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedFeatureFlags;
import dev.caskeleton.adapter.inbound.graphql.advanced.bootstrap.GraphQlAdvancedModuleGuard;
import java.time.Clock;
import java.time.Duration;
import java.time.Instant;
import java.time.ZoneOffset;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
/** graphql-transport-ws protocol adapter (Advanced plan Task 5). */
@Tag("graphql-advanced")
class GraphQlWebSocketProtocolTest {
private static final Instant CONNECTED_AT = Instant.parse("2026-08-12T00:00:00Z");
@Test
void connectionInitAfterDeadlineIsRejected() {
var lifecycle = new GraphQlWebSocketLifecycle(Duration.ofSeconds(5), CONNECTED_AT);
assertThatThrownBy(() -> lifecycle.onConnectionInit(Instant.parse("2026-08-12T00:00:06Z")))
.isInstanceOf(GraphQlWebSocketProtocolException.class);
}
@Test
void theSupersededSubProtocolIsNeverAdvertised() {
var factory = factory(GraphQlAdvancedCapability.WEBSOCKET_SUBSCRIPTION);
assertThat(factory.supportedSubProtocols()).containsExactly("graphql-transport-ws");
assertThatThrownBy(
() ->
factory.requireSupportedSubProtocol(
GraphQlWebSocketProtocol.UNSUPPORTED_LEGACY_SUB_PROTOCOL))
.isInstanceOf(GraphQlWebSocketProtocolException.class);
}
@Test
void subscribeBeforeInitialisationIsAProtocolError() {
var lifecycle = new GraphQlWebSocketLifecycle(Duration.ofSeconds(5), CONNECTED_AT);
assertThatThrownBy(lifecycle::onSubscribe)
.isInstanceOf(GraphQlWebSocketProtocolException.class);
lifecycle.onConnectionInit(CONNECTED_AT.plusSeconds(1));
assertThatCode(lifecycle::onSubscribe).doesNotThrowAnyException();
assertThat(lifecycle.activeSubscriptions()).isEqualTo(1);
assertThatThrownBy(() -> lifecycle.onConnectionInit(CONNECTED_AT.plusSeconds(2)))
.isInstanceOf(GraphQlWebSocketProtocolException.class);
}
@Test
void aConnectionIsBoundedInSubscriptionsAndAge() {
var lifecycle = new GraphQlWebSocketLifecycle(Duration.ofSeconds(5), CONNECTED_AT, 1);
lifecycle.onConnectionInit(CONNECTED_AT.plusSeconds(1));
lifecycle.onSubscribe();
assertThatThrownBy(lifecycle::onSubscribe)
.isInstanceOf(GraphQlWebSocketProtocolException.class)
.hasMessageContaining("maximum subscriptions");
lifecycle.onComplete();
assertThatCode(lifecycle::onSubscribe).doesNotThrowAnyException();
assertThat(lifecycle.expired(CONNECTED_AT.plus(Duration.ofHours(3)), Duration.ofHours(2)))
.isTrue();
}
@Test
void drainingRefusesNewSubscriptions() {
var lifecycle = new GraphQlWebSocketLifecycle(Duration.ofSeconds(5), CONNECTED_AT);
lifecycle.onConnectionInit(CONNECTED_AT.plusSeconds(1));
lifecycle.startDraining();
assertThatThrownBy(lifecycle::onSubscribe)
.isInstanceOf(GraphQlWebSocketProtocolException.class)
.hasMessageContaining("draining");
}
@Test
void theCapabilityFlagGovernsWhetherConnectionsOpenAtAll() {
var disabled =
new GraphQlWebSocketAdmission(
new GraphQlAdvancedModuleGuard(GraphQlAdvancedFeatureFlags.disabled()),
GraphQlWebSocketProperties.defaults(),
Clock.fixed(CONNECTED_AT, ZoneOffset.UTC));
assertThatThrownBy(disabled::open)
.isInstanceOf(GraphQlAdvancedCapabilityDisabledException.class);
assertThat(factory(GraphQlAdvancedCapability.WEBSOCKET_SUBSCRIPTION).open().initialised())
.isFalse();
}
@Test
void connectionIdentitiesAreNeverMetricLabels() {
assertThat(GraphQlWebSocketConnectionId.create().value()).isNotBlank();
assertThat(GraphQlWebSocketConnectionId.usableAsMetricLabel()).isFalse();
}
@Test
void connectionBoundsMustAllBePositive() {
assertThatThrownBy(
() ->
new GraphQlWebSocketProperties(
Duration.ZERO,
Duration.ofMinutes(1),
Duration.ofHours(1),
10,
Duration.ofSeconds(5)))
.isInstanceOf(IllegalArgumentException.class);
}
private static GraphQlWebSocketAdmission factory(GraphQlAdvancedCapability capability) {
return new GraphQlWebSocketAdmission(
new GraphQlAdvancedModuleGuard(GraphQlAdvancedFeatureFlags.enabling(capability)),
GraphQlWebSocketProperties.defaults(),
Clock.fixed(CONNECTED_AT, ZoneOffset.UTC));
}
}
@@ -171,9 +171,7 @@ class GraphQlDeploymentModeContractTest {
@DisplayName("a production mode refuses the permissive default, naming the mode")
void aProductionModeRefusesThePermissiveDefault(String mode) {
runner
.withPropertyValues(
"backend.graphql.deployment-mode=" + mode,
"backend.graphql.cursor.key-ids=cursor-key-1")
.withPropertyValues("backend.graphql.deployment-mode=" + mode)
.run(
context ->
assertThat(context)
@@ -81,9 +81,7 @@ class GraphQlPlatformAutoConfigurationTest {
@Test
void productionRefusesToStartWithoutAnExplicitAuthorizationPolicy() {
runner
.withPropertyValues(
"backend.graphql.deployment-mode=PRODUCTION_INTERNAL",
"backend.graphql.cursor.key-ids=cursor-key-1")
.withPropertyValues("backend.graphql.deployment-mode=PRODUCTION_INTERNAL")
.run(
context ->
assertThat(context)
@@ -13,14 +13,17 @@ import org.junit.jupiter.api.Test;
class GraphQlPlatformStartupValidatorTest {
@Test
void productionRejectsGraphiqlAndMissingCursorKey() {
void productionRejectsGraphiqlButDoesNotPretendCursorSigningIsWired() {
var properties =
GraphQlPlatformSettings.productionDefaults()
.withGraphiqlEnabled(true)
.withCursorKeyIds(Set.of());
assertThatThrownBy(() -> new GraphQlPlatformStartupValidator().validate(properties))
.isInstanceOf(GraphQlPlatformConfigurationException.class);
.isInstanceOf(GraphQlPlatformConfigurationException.class)
.hasMessageContaining("GraphiQL");
assertThat(new GraphQlPlatformStartupValidator().problems(properties))
.noneSatisfy(problem -> assertThat(problem).contains("cursor signing key"));
}
@Test
@@ -40,7 +43,7 @@ class GraphQlPlatformStartupValidatorTest {
.withCursorKeyIds(Set.of())
.withUnsupportedCapability("multipart", true);
assertThat(new GraphQlPlatformStartupValidator().problems(properties)).hasSize(3);
assertThat(new GraphQlPlatformStartupValidator().problems(properties)).hasSize(2);
}
@Test
@@ -116,7 +119,7 @@ class GraphQlPlatformStartupValidatorTest {
assertThat(report.schemaHash()).hasSize(64);
assertThat(report.httpProfile()).isEqualTo("V1");
assertThat(report.cursorKeyIds()).containsExactly("cursor-key-1");
assertThat(report.cursorKeyIds()).isEmpty();
assertThat(endpoint.reportAsMap().keySet())
.doesNotContain("sdl", "schema", "persistedDocuments", "cursorKeys", "secret");
}
@@ -23,24 +23,18 @@ import org.springframework.boot.test.context.runner.ApplicationContextRunner;
* <p>It records the other half, which no test asserted and which reads as working from every angle
* an operator can see:
*
* <p><b>Cursor signing is not on the request path.</b> {@code backend.graphql.cursor.key-ids} is
* consumed in exactly two places — {@link GraphQlPlatformStartupValidator}, which refuses to start
* a production deployment without it, and {@link GraphQlPlatformActuatorEndpoint}, which reports it
* back. Nothing signs a cursor with it. {@code HmacGraphQlCursorCodec} and {@link
* GraphQlCursorKeyRing} exist and are unit-tested; neither is ever constructed by the platform. So
* production demands a key identity, an operator supplies one, the endpoint confirms it is
* configured — and cursors remain exactly as client-editable as they were, which is the thing the
* validator's own message says the key prevents.
* <p><b>Cursor signing is not on the request path.</b> {@code HmacGraphQlCursorCodec} and {@link
* GraphQlCursorKeyRing} exist and are unit-tested; neither is ever constructed by the Stable
* platform. A declared {@code backend.graphql.cursor.key-ids} value is therefore metadata for a
* modelled capability, not a startup safety requirement and not evidence that a request is signed.
*
* <p><b>Mutation idempotency is not on the request path either.</b> {@link
* GraphQlMutationIdempotencyInterceptor} is referenced by no configuration.
*
* <p>Both are honest {@code modelled} capabilities by this leaf's own grading table — the defect is
* not that they are unfinished, it is that a startup validator makes one of them look finished.
* Closing it is a design decision rather than a wiring one: {@link GraphQlCursorKeyRing#of} takes
* {@code Map<String, byte[]>} and the settings deliberately say the keys themselves never appear in
* configuration, so where the key material comes from has to be decided before anything can be
* wired. Until it is, this test fails the moment somebody wires one half without the other.
* <p>Both are honest {@code modelled} capabilities by this leaf's own grading table. Cursor signing
* still needs a separate design decision because {@link GraphQlCursorKeyRing#of} takes {@code
* Map<String, byte[]>} while the settings intentionally contain only key identities. Until a secret
* source and request-path wiring exist, startup must remain neutral about that capability.
*/
class GraphQlPolicyRequestPathTest {
@@ -97,16 +91,15 @@ class GraphQlPolicyRequestPathTest {
}
@Test
@DisplayName("the startup validator still demands the key it cannot make anyone use")
void theValidatorStillDemandsTheUnusedKey() {
@DisplayName("the startup validator does not claim an unwired cursor signer protects production")
void theValidatorDoesNotDemandTheUnusedKey() {
GraphQlPlatformSettings production =
GraphQlPlatformSettings.productionDefaults().withCursorKeyIds(Set.of());
assertThat(new GraphQlPlatformStartupValidator().problems(production))
.as(
"kept, not removed: the demand is right and the missing half is the implementation. "
+ "When cursor signing reaches the request path, the two cases above invert and "
+ "this one stays exactly as it is.")
.anySatisfy(problem -> assertThat(problem).contains("cursor signing key"));
"a modelled capability becomes a startup requirement only after its secret source and "
+ "request-path wiring exist")
.noneSatisfy(problem -> assertThat(problem).contains("cursor signing key"));
}
}
@@ -0,0 +1,72 @@
package dev.caskeleton.adapter.inbound.graphql.error;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import dev.caskeleton.adapter.inbound.graphql.cost.GraphQlComplexityRejectedException;
import dev.caskeleton.adapter.inbound.graphql.cost.GraphQlParserRejectedException;
import dev.caskeleton.adapter.inbound.graphql.cost.GraphQlRuntimeBudgetExceededException;
import dev.caskeleton.adapter.inbound.graphql.cost.GraphQlStructuralLimitException;
import dev.caskeleton.adapter.inbound.graphql.dataloader.GraphQlBatchTimeoutException;
import dev.caskeleton.adapter.inbound.graphql.execution.GraphQlAnonymousOperationException;
import dev.caskeleton.adapter.inbound.graphql.pagination.GraphQlCursorException;
import java.util.Set;
import org.junit.jupiter.api.Test;
class GraphQlErrorCodeCatalogTest {
@Test
void shippedPlatformWireCodesAreAnExactFiniteCatalogue() {
assertThat(GraphQlErrorCode.platformCodes())
.containsExactlyInAnyOrder(
GraphQlErrorCode.INTERNAL_ERROR,
GraphQlErrorCode.REQUEST_ERROR,
GraphQlErrorCode.AUTHORIZATION_DENIED,
GraphQlErrorCode.AUTHENTICATION_REQUIRED,
GraphQlErrorCode.RESOURCE_NOT_FOUND,
GraphQlErrorCode.REQUEST_TIMEOUT,
GraphQlErrorCode.DEPENDENCY_UNAVAILABLE,
GraphQlErrorCode.GRAPHQL_DOCUMENT_SHAPE_REJECTED,
GraphQlErrorCode.GRAPHQL_COMPLEXITY_EXCEEDED,
GraphQlErrorCode.GRAPHQL_OPERATION_NAME_REQUIRED);
assertThat(GraphQlStructuralLimitException.CODE)
.isEqualTo(GraphQlErrorCode.GRAPHQL_DOCUMENT_SHAPE_REJECTED);
assertThat(GraphQlComplexityRejectedException.CODE)
.isEqualTo(GraphQlErrorCode.GRAPHQL_COMPLEXITY_EXCEEDED);
assertThat(GraphQlAnonymousOperationException.CODE)
.isEqualTo(GraphQlErrorCode.GRAPHQL_OPERATION_NAME_REQUIRED);
}
@Test
void newPlatformCodesMustUseTheGraphQlPrefix() {
Set<String> legacy = GraphQlErrorCode.legacyUnprefixedPlatformCodes();
assertThat(GraphQlErrorCode.platformCodes())
.allSatisfy(
code ->
assertThat(legacy.contains(code) || code.startsWith("GRAPHQL_"))
.as("new GraphQL platform wire code must be namespaced: %s", code)
.isTrue());
}
@Test
void modelledOnlyCapabilityCodesDoNotPretendToBeShippedWireCodes() {
assertThat(GraphQlErrorCode.platformCodes())
.doesNotContain(
GraphQlParserRejectedException.CODE,
GraphQlRuntimeBudgetExceededException.CODE,
GraphQlRuntimeBudgetExceededException.PARTIAL_RESPONSE_CODE,
GraphQlBatchTimeoutException.CODE,
GraphQlCursorException.CODE);
}
@Test
void applicationCodesRemainASeparatePassThroughNamespace() {
assertThat(GraphQlErrorCode.of("ORDER_NOT_FOUND").value()).isEqualTo("ORDER_NOT_FOUND");
assertThatThrownBy(() -> GraphQlErrorCode.platform("ORDER_NOT_FOUND"))
.isInstanceOf(IllegalArgumentException.class)
.hasMessageContaining("unregistered GraphQL platform error code");
}
}
+19
View File
@@ -56,6 +56,25 @@ Package root: `dev.caskeleton.adapter.inbound.grpc`.
`enabled=true`는 `allowInsecureLocal=true`와 실제 loopback `bindAddress`가 함께 없으면
configuration binding/startup 단계에서 실패한다.
## Adopting this capability
gRPC is also a **build-composition opt-in**. The default bootJar does not contain this leaf.
1. Add `:adapter:inbound:grpc` to the consuming composition and add the corresponding allowed
dependency edge in `config/architecture/modules.json`.
2. Register settings through the capability root; do not add
`dev.caskeleton.adapter.inbound.grpc` to the shipped `@ConfigurationPropertiesScan`.
3. Provide any feature `BindableService` plus exactly one `GrpcAuthenticationPolicy`.
4. Run `./gradlew :adapter:inbound:grpc:test :conditionalTransportQualification` before promotion.
5. Production adoption is incomplete until composition-owned configuration/env registry entries
exist for the selected runtime contract.
**Current transport limit:** the P1 server is plaintext and deliberately permits only loopback
binding. It is therefore suitable for local-process or same-Pod sidecar communication only. It
cannot bind `0.0.0.0` for a normal Kubernetes Service, cannot accept cross-Pod traffic, and must
not be presented as a cluster-facing gRPC endpoint. Cluster exposure requires the deferred TLS/mTLS
credential path and a separately qualified non-loopback bind.
## Feature 기여 방법
현재 저장소에는 production feature RPC나 sample gRPC service가 없다. 향후 feature를 도입할
+13 -7
View File
@@ -24,6 +24,10 @@
- **fail-closed local insecure bind.** 기본은 서버 비활성·reflection 비활성이다. 현재 구현의
plaintext credential은 `allowInsecureLocal=true`를 명시하고 실제 loopback 주소에 바인딩할
때만 허용한다. wildcard/외부 주소의 insecure 시작은 실패한다.
이 제약의 운영적 의미는 명확하다: **현재 어댑터는 local/same-Pod sidecar 전용**이다.
`0.0.0.0`에 바인딩해 Kubernetes Service 뒤에서 다른 Pod의 RPC를 받는 구성은 현재 구현으로
만들 수 없다. 그런 cluster-facing 노출은 TLS/mTLS credential 경로와 non-loopback
qualification이 추가된 뒤의 범위다.
## 왜 `.proto` 도 protobuf 플러그인도 없는가
@@ -36,8 +40,9 @@
## 기능(feature)은 어떻게 기여하는가 — machinery/feature 분리
향후 feature 모듈은 `BindableService`와 정확히 한 개의 `GrpcAuthenticationPolicy`를 Spring
빈으로 함께 기여한다. runner는 feature 이름을 알지 않고 generic하게 등록하되, 서비스가 하나라도
향후 feature 모듈은 노출할 `BindableService` bean에 `@GrpcExposedService`를 붙이고 정확히 한
개의 `GrpcAuthenticationPolicy`를 함께 기여한다. runner는 qualifier로 선택된 서비스만 등록하며,
같은 context의 unqualified `BindableService`는 gRPC 포트에 노출하지 않는다. 노출 서비스가 하나라도
있는데 인증 정책이 없거나 단일하지 않으면 listener 시작을 거부한다. 정책은 gRPC `Metadata`만 받아
Spring Security에 결합되지 않으며, `false` 반환과 policy 예외는 동일한 안정적
`UNAUTHENTICATED` 계약으로 끝난다.
@@ -77,11 +82,12 @@ handler throw, listener callback throw, `responseObserver.onError(...)`, raw
## 의존성 버전 — strict locking
Spring Boot BOM 은 `io.grpc:*`/protobuf 버전을 관리하지 않고 이 저장소엔 version catalog 도
없다. 그래서 `io.grpc:grpc-bom` + `com.google.protobuf:protobuf-bom` 을 **이 모듈의**
`dependencyManagement` 에서 platform 으로 import 한다(루트 `ext.grpcVersion`/`ext.protobufVersion`
가 단일 SSOT). 모듈 스코프로 두어 strict per-module lockfile 의 blast radius 를 이 모듈에만
가둔다 — 공유 루트 dependencyManagement 블록은 io.grpc-free 로 유지된다.
Spring Boot BOM은 `io.grpc:*`/protobuf 버전을 관리하지 않는다. 이 저장소에는
`gradle/libs.versions.toml` version catalog가 있고, 이 leaf는 그 `grpc` /
`protobufGrpc` 버전을 읽어 `io.grpc:grpc-bom` + `com.google.protobuf:protobuf-bom`을
**모듈 로컬** `dependencyManagement`에 import한다. 모듈 스코프로 두는 이유는 catalog 부재가
아니라 strict per-module lockfile과 dependency-management blast radius를 이 leaf에 가두기
위해서다.
## P1 qualification과 P2 유보
+3 -10
View File
@@ -14,16 +14,9 @@ String protobufVersion = libs.versions.protobufGrpc.get()
// come from grpc-services at runtime, and a future consuming feature owns its `.proto`/services.
//
// io.grpc:* / protobuf versions are NOT managed by the Spring Boot BOM, so the grpc-bom +
// protobuf-bom platforms are imported HERE (module scope) using the root `ext.grpcVersion` /
// `ext.protobufVersion` SSOT — this keeps the strict-locking blast radius to this module (the shared
// root dependencyManagement block stays io.grpc-free).
//
// This sentence used to end "and this repo has no version catalog", which is false:
// gradle/libs.versions.toml exists and this leaf's siblings use it. Module scope is a locking
// decision, not a consequence of a missing catalog. The catalog simply has no io.grpc or protobuf
// entry, which leaves protobuf with two sources — catalog `protobuf` (used by
// adapter:inbound:websocket) and root `ext.protobufVersion` (used here) — on different majors. They
// do not meet today because neither leaf is in a composition root; see the W2A handoff.
// protobuf-bom platforms are imported HERE (module scope) using the repository version catalog.
// Module scope is a locking/dependency-management decision, not a consequence of a missing catalog;
// the shared root dependencyManagement block stays io.grpc-free.
dependencyManagement {
imports {
@@ -0,0 +1,19 @@
package dev.caskeleton.adapter.inbound.grpc;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.beans.factory.annotation.Qualifier;
/**
* Explicit opt-in for a feature {@code BindableService} that this adapter may publish.
*
* <p>A Spring context can contain gRPC services for other transports, tooling or tests. Type alone
* is therefore not an exposure decision. Only beans carrying this qualifier are added to the server
* owned by {@link GrpcServerRunner}.
*/
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Qualifier
public @interface GrpcExposedService {}
@@ -11,8 +11,8 @@ import org.springframework.context.annotation.Configuration;
/**
* Wires the gRPC transport machinery only when {@code ca-skeleton.grpc.enabled=true} is explicit.
* All collaborators are plain objects composed here, mirroring the clean DI style used across the
* skeleton. Feature {@link BindableService} beans are injected via {@link ObjectProvider} and
* registered generically by {@link GrpcServerRunner}. See README.
* skeleton. A feature service is exposed only when its {@link BindableService} bean carries {@link
* GrpcExposedService}; unrelated services in the same context remain private. See README.
*/
@Configuration(proxyBeanMethods = false)
@ConditionalOnProperty(
@@ -40,14 +40,14 @@ public class GrpcServerConfig {
@Bean
GrpcServerRunner grpcServerRunner(
ObjectProvider<BindableService> services,
@GrpcExposedService ObjectProvider<BindableService> services,
ObjectProvider<GrpcAuthenticationPolicy> authenticationPolicies,
GrpcServerProperties properties,
GrpcExceptionHandlingInterceptor exceptionInterceptor,
GrpcStatusMapper statusMapper,
HealthStatusManager healthStatusManager) {
return new GrpcServerRunner(
services,
services.orderedStream().toList(),
authenticationPolicies,
properties,
exceptionInterceptor,
@@ -23,16 +23,18 @@ import org.springframework.context.SmartLifecycle;
* on context refresh, graceful shutdown on close. Deliberately avoids any third-party
* grpc-spring-boot starter so the skeleton has no Spring Boot version coupling.
*
* <p>Feature services are discovered generically: every {@link BindableService} bean is registered
* behind caller-supplied authentication and the {@link GrpcExceptionHandlingInterceptor}. The
* skeleton also registers standard {@code grpc.health.v1} health and, only when explicitly enabled,
* v1 server reflection, so it needs no feature {@code .proto}. See README.
* <p>Feature services are supplied as an explicit, pre-filtered list by {@link GrpcServerConfig}.
* Only beans qualified with {@link GrpcExposedService} reach that list; merely being a {@link
* BindableService} is not an exposure decision. Every exposed feature service is registered behind
* caller-supplied authentication and the {@link GrpcExceptionHandlingInterceptor}. The skeleton
* also registers standard {@code grpc.health.v1} health and, only when explicitly enabled, v1
* server reflection, so it needs no feature {@code .proto}. See README.
*/
public class GrpcServerRunner implements SmartLifecycle {
private static final Logger log = LoggerFactory.getLogger(GrpcServerRunner.class);
private final ObjectProvider<BindableService> services;
private final List<BindableService> services;
private final ObjectProvider<GrpcAuthenticationPolicy> authenticationPolicies;
private final GrpcServerProperties properties;
private final GrpcExceptionHandlingInterceptor exceptionInterceptor;
@@ -41,13 +43,13 @@ public class GrpcServerRunner implements SmartLifecycle {
private volatile Server server;
public GrpcServerRunner(
ObjectProvider<BindableService> services,
List<BindableService> services,
ObjectProvider<GrpcAuthenticationPolicy> authenticationPolicies,
GrpcServerProperties properties,
GrpcExceptionHandlingInterceptor exceptionInterceptor,
GrpcStatusMapper statusMapper,
HealthStatusManager healthStatusManager) {
this.services = services;
this.services = List.copyOf(services);
this.authenticationPolicies = authenticationPolicies;
this.properties = properties;
this.exceptionInterceptor = exceptionInterceptor;
@@ -60,7 +62,7 @@ public class GrpcServerRunner implements SmartLifecycle {
if (isRunning()) {
return;
}
List<BindableService> featureServices = services.orderedStream().toList();
List<BindableService> featureServices = services;
List<GrpcAuthenticationPolicy> policies = authenticationPolicies.orderedStream().toList();
if (!featureServices.isEmpty() && policies.size() != 1) {
throw new IllegalStateException(
@@ -288,6 +288,7 @@ class GrpcP1BoundaryWireTest {
}
@Bean
@GrpcExposedService
BindableService p1FeatureService() {
return () ->
ServerServiceDefinition.builder(SERVICE_NAME)
@@ -104,6 +104,7 @@ class GrpcSafeActivationTest {
static class FeatureServiceConfiguration {
@Bean
@GrpcExposedService
BindableService featureService() {
return () -> ServerServiceDefinition.builder("test.Feature").build();
}
@@ -2,8 +2,10 @@ package dev.caskeleton.adapter.inbound.grpc;
import static org.assertj.core.api.Assertions.assertThat;
import io.grpc.BindableService;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
import io.grpc.ServerServiceDefinition;
import io.grpc.health.v1.HealthCheckRequest;
import io.grpc.health.v1.HealthCheckResponse;
import io.grpc.health.v1.HealthCheckResponse.ServingStatus;
@@ -20,6 +22,8 @@ import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicReference;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* Boots the skeleton gRPC machinery in a real Spring context on an ephemeral port ({@code
@@ -65,6 +69,37 @@ class GrpcServerRunnerBootTest {
});
}
@Test
void unqualifiedBindableServiceIsNotPublished() {
contextRunner
.withUserConfiguration(UnqualifiedServiceConfiguration.class)
.run(
context -> {
assertThat(context.getStartupFailure()).isNull();
GrpcServerRunner runner = context.getBean(GrpcServerRunner.class);
ManagedChannel channel =
ManagedChannelBuilder.forAddress("localhost", runner.getListeningPort())
.usePlaintext()
.build();
try {
assertThat(listServicesViaReflection(channel))
.contains("grpc.health.v1.Health", "grpc.reflection.v1.ServerReflection")
.doesNotContain("test.Private");
} finally {
channel.shutdownNow().awaitTermination(5, TimeUnit.SECONDS);
}
});
}
@Configuration(proxyBeanMethods = false)
static class UnqualifiedServiceConfiguration {
@Bean
BindableService privateService() {
return () -> ServerServiceDefinition.builder("test.Private").build();
}
}
private static List<String> listServicesViaReflection(ManagedChannel channel)
throws InterruptedException {
List<String> services = new ArrayList<>();
+3 -3
View File
@@ -38,7 +38,7 @@ Package root: `dev.caskeleton.adapter.inbound.web`.
## Boundary validation & mapper contract
`feature-boundary-validation-mapping-contract` (LLM Wiki branch note) fixes the
`feature-boundary-validation-mapping-contract` (design record) fixes the
behaviour at this layer's boundaries. The repo-level guardrails (ArchUnit +
Jackson config + handler) only catch the static violations — the contract below
also drives the runtime patterns reference implementations must follow.
@@ -106,7 +106,7 @@ handlers and error codes live in the consuming module (see sample's
## Schema / serialization contract
`feature-schema-serialization-contract` (LLM Wiki branch note) fixes the
`feature-schema-serialization-contract` (design record) fixes the
*response producer* side of the wire contract — the sibling of the B1 *request
consumer* policy above. The deserialization switches (B1) and the
null/empty/missing 3-state (`Patch<T>` + `JsonNullable`, B2) already cover the
@@ -148,7 +148,7 @@ live in `app-bootstrap` (`application.yml` `spring.jackson.serialization.*` /
## Business rule validation contract
`feature-business-rule-validation-contract` (LLM Wiki branch note) fixes **which
`feature-business-rule-validation-contract` (design record) fixes **which
rule is validated at which boundary**, so "validation" does not collapse into the
controller DTO or a DB constraint. It sits on top of the boundary/mapping contract
above and is enforced by ArchUnit + contract tests (not new runtime mechanism).
+13 -12
View File
@@ -447,17 +447,18 @@ commit-aware response wrapper 계약을 구현한다. 또한 이 모듈은 HTML
## idempotency
### IdempotencyKeySupport
- HTTP 요청으로부터 application `IdempotencyExecutor` 입력을 조립하는 web 측 helper.
- principal 은 인증된 `AuthenticatedPrincipal#idpUserId()` — rate-limit 키 및 로그 `user_principal` 과 동일
표현. 미인증 호출자는 principal 이 없어 `IdempotencyScope.of`
가 `IdempotencyScopeMissingException`(→ 400)으로 거부 → scope 없는 키의 전역 충돌 방지.
- `프로젝트 선택`: fingerprint 는 raw 전송 바이트가 아니라 직렬화된 command payload 기준으로
계산 → JSON 키 순서/공백 차이로 인한 false mismatch 방지. 단, 바이트 동일 body 를 두 번 POST 한 클라이언트는
여전히 매칭. 완전한 요청 canonicalization 은 실제 요청 패턴으로 추가 검증이 필요하다.
- tenant 는 null(단일 테넌트); tenant scoping 은 아직 구현하지 않은 확장 지점이다.
### Ownership
- `Idempotency-Key`는 HTTP 경계가 읽어 application command/context로 전달할 수 있지만, **claim / fingerprint /
replay / in-flight arbitration은 application use case가 소유**한다.
- web leaf에는 별도 DB replay 엔진을 두지 않는다. 같은 요청 의미를 web/application 두 계층이 서로 다른
fingerprint로 판정하면 동일 key의 의미가 endpoint마다 달라지기 때문이다.
- production 예시는 sample의 poster image publication 경로다. controller는 key를 받기만 하고,
`PublishPosterImageUseCase`가 application `IdempotencyExecutor`를 사용한다.
- response-loss system fixture도 동일한 application executor를 사용해, 연결이 끊긴 뒤 같은 key 재시도에서
첫 committed 결과가 복구되고 side effect가 한 번만 실행되는지 검증한다.
### JsonIdempotentResponseCodec
- Jackson 기반 `IdempotentResponseCodec`(§B): web 어댑터가 application executor 의 저장/replay JSON wire 포맷을
소유. (역)직렬화 실패는 `MappingException` 으로 surface 되어 base handler 가 raw 500 이 아닌 `MAPPING_FAILED`
400 으로 라우팅.
- Jackson 기반 `IdempotentResponseCodec`: application executor가 저장/replay하는 결과의 **JSON 표현만**
web 어댑터가 소유한다.
- (역)직렬화 실패는 `MappingException`으로 surface 되어 base handler가 raw 500 대신
`MAPPING_FAILED` 400으로 라우팅한다.
+60 -3
View File
@@ -15,6 +15,8 @@ plugins {
// HTTP / web adapters. Depends on application and shared operational contracts.
dependencies {
implementation project(':application-core')
implementation project(':application-notification')
implementation project(':application-fileserver')
implementation project(':shared-contract')
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
@@ -72,6 +74,12 @@ tasks.named('test') {
// tests and by the composition root. A rule pack that only its own fixture tests import is verified
// as library code and applied to nothing — the shape the JPA testkit had to be corrected out of.
auxiliarySourceSets {
sourceSet('systemTest') {
compilesAgainst 'main', 'testFixtures'
}
sourceSet('performanceTest') {
compilesAgainst 'main', 'testFixtures'
}
// The Jetty compatibility lane is its own source set because it needs a different embedded
// server on the classpath. Two servers in one source set means Spring Boot picks one and the
// "Jetty" lane silently runs on Tomcat — a compatibility matrix that certifies the same
@@ -182,14 +190,54 @@ dependencies {
strictTestLanes {
// A release compatibility gate that is not wired to a task is a document.
lane('webFluxContractTest') {
system()
sourceSet = 'webfluxContractTest'
description = 'Runs the Stable HTTP contract against a real Reactor Netty.'
description = 'Runs the Stable HTTP system contract against a real Reactor Netty.'
jvmArgs '-Duser.timezone=UTC'
requires(
'dev.caskeleton.adapter.inbound.web.testkit.budget.ReactiveWebBudgetIT',
'dev.caskeleton.adapter.inbound.web.testkit.contract.ReactiveContractRecordingIT',
'dev.caskeleton.adapter.inbound.web.testkit.fault.ReactiveCommitThenConnectionResetIT',
'dev.caskeleton.adapter.inbound.web.testkit.operation.ReactiveOperationHttpIT',
'dev.caskeleton.adapter.inbound.web.testkit.order.WebFluxPipelineOrderIT',
'dev.caskeleton.adapter.inbound.web.testkit.streaming.WebFluxSseContractIT',
'dev.caskeleton.adapter.inbound.web.testkit.throttle.ReactiveWebThrottleIT',
'dev.caskeleton.adapter.inbound.web.testkit.webflux.ReactorNettyWebContractIT')
}
// Docker-gated, and it says so rather than skipping. A lane that quietly passes when the
// container runtime is missing is a lane that has been certifying nothing since whenever Docker
// last broke.
lane('systemTest') {
system()
sourceSet = 'systemTest'
description = 'Runs the Stable HTTP system contract against the default Tomcat runtime.'
jvmArgs '-Duser.timezone=UTC'
}
lane('performanceTest') {
performance()
sourceSet = 'performanceTest'
description = 'Runs Tomcat load, resource-bound, slow-client and graceful-shutdown checks.'
jvmArgs '-Duser.timezone=UTC'
}
lane('webJettyPerformanceTest') {
performance()
sourceSet = 'jettyCompatTest'
description = 'Runs Jetty load, resource-bound, slow-client and graceful-shutdown checks.'
jvmArgs '-Duser.timezone=UTC'
requires('dev.caskeleton.adapter.inbound.web.testkit.performance.JettyLoadAndShutdownIT')
}
lane('webFluxPerformanceTest') {
performance()
sourceSet = 'webfluxContractTest'
description = 'Runs Reactor Netty load, resource-bound, slow-client and graceful-shutdown checks.'
jvmArgs '-Duser.timezone=UTC'
requires('dev.caskeleton.adapter.inbound.web.testkit.performance.ReactorNettyLoadAndShutdownIT')
}
lane('webNginxProxyTest') {
integration()
sourceSet = 'nginxProxyTest'
@@ -198,9 +246,18 @@ strictTestLanes {
}
lane('webJettyCompatTest') {
system()
sourceSet = 'jettyCompatTest'
description = 'Runs the Stable HTTP contract against a real Jetty instead of Tomcat.'
description = 'Runs the Stable HTTP system contract against a real Jetty instead of Tomcat.'
jvmArgs '-Duser.timezone=UTC'
requires(
'dev.caskeleton.adapter.inbound.web.testkit.budget.JettyWebBudgetIT',
'dev.caskeleton.adapter.inbound.web.testkit.contract.JettyContractRecordingIT',
'dev.caskeleton.adapter.inbound.web.testkit.fault.JettyCommitThenConnectionResetIT',
'dev.caskeleton.adapter.inbound.web.testkit.mvc.JettyWebContractIT',
'dev.caskeleton.adapter.inbound.web.testkit.operation.JettyOperationHttpIT',
'dev.caskeleton.adapter.inbound.web.testkit.order.JettyPipelineOrderIT',
'dev.caskeleton.adapter.inbound.web.testkit.throttle.JettyWebThrottleIT')
}
// The cross-stack gate. It depends on every recording lane rather than tolerating a missing one:
@@ -210,7 +267,7 @@ strictTestLanes {
tag = 'web-parity'
description = 'Compares the wire contract recorded by Tomcat, Jetty and Reactor Netty.'
jvmArgs '-Duser.timezone=UTC'
dependsOn 'test', 'webJettyCompatTest', 'webFluxContractTest'
dependsOn 'systemTest', 'webJettyCompatTest', 'webFluxContractTest'
}
// The Advanced lane. Every capability is off unless a deployment names it, so none of them is
+147 -147
View File
@@ -1,65 +1,65 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
biz.aQute.bnd:biz.aQute.bnd.annotation:7.1.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
ch.qos.logback:logback-classic:1.5.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
ch.qos.logback:logback-core:1.5.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.21=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.woodstox:woodstox-core:7.1.1=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.fasterxml:classmate:1.7.3=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.github.ben-manes.caffeine:caffeine:3.2.4=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
biz.aQute.bnd:biz.aQute.bnd.annotation:7.1.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,performanceTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
ch.qos.logback:logback-classic:1.5.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
ch.qos.logback:logback-core:1.5.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.21=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.21.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.fasterxml.woodstox:woodstox-core:7.1.1=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.fasterxml:classmate:1.7.3=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.github.ben-manes.caffeine:caffeine:3.2.4=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.github.docker-java:docker-java-api:3.7.1=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
com.github.docker-java:docker-java-transport-zerodep:3.7.1=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
com.github.docker-java:docker-java-transport:3.7.1=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
com.github.kevinstern:software-and-algorithms:1.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.github.kevinstern:software-and-algorithms:1.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.github.spotbugs:spotbugs-annotations:4.10.2=spotbugs
com.github.spotbugs:spotbugs:4.10.2=spotbugs
com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs
com.google.auto.service:auto-service-annotations:1.0.1=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.auto.value:auto-value-annotations:1.9=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.auto:auto-common:1.2.2=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.auto.service:auto-service-annotations:1.0.1=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.auto.value:auto-value-annotations:1.9=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.auto:auto-common:1.2.2=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.code.findbugs:jsr305:3.0.2=checkstyle,spotbugs
com.google.code.gson:gson:2.13.2=spotbugs
com.google.errorprone:error_prone_annotation:2.49.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.errorprone:error_prone_annotations:2.38.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
com.google.errorprone:error_prone_annotation:2.49.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.errorprone:error_prone_annotations:2.38.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,performanceTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
com.google.errorprone:error_prone_annotations:2.41.0=spotbugs
com.google.errorprone:error_prone_annotations:2.47.0=checkstyle
com.google.errorprone:error_prone_annotations:2.49.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.errorprone:error_prone_check_api:2.49.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.errorprone:error_prone_core:2.49.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.googlejavaformat:google-java-format:1.35.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.guava:failureaccess:1.0.3=annotationProcessor,checkstyle,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.guava:guava:33.5.0-jre=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.errorprone:error_prone_annotations:2.49.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.errorprone:error_prone_check_api:2.49.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.errorprone:error_prone_core:2.49.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.googlejavaformat:google-java-format:1.35.0=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.guava:failureaccess:1.0.3=annotationProcessor,checkstyle,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.guava:guava:33.5.0-jre=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.guava:guava:33.6.0-jre=checkstyle
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=annotationProcessor,checkstyle,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.j2objc:j2objc-annotations:3.1=annotationProcessor,checkstyle,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.protobuf:protobuf-java:4.33.2=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=annotationProcessor,checkstyle,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.j2objc:j2objc-annotations:3.1=annotationProcessor,checkstyle,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.google.protobuf:protobuf-java:4.33.2=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
com.h3xstream.findsecbugs:findsecbugs-plugin:1.14.0=spotbugsPlugins
com.jayway.jsonpath:json-path:2.10.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.nimbusds:nimbus-jose-jwt:10.4=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.jayway.jsonpath:json-path:2.10.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.nimbusds:nimbus-jose-jwt:10.4=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.puppycrawl.tools:checkstyle:13.5.0=checkstyle
com.tngtech.archunit:archunit-junit5-api:1.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.tngtech.archunit:archunit-junit5-engine-api:1.3.0=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath
com.tngtech.archunit:archunit-junit5-engine:1.3.0=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath
com.tngtech.archunit:archunit-junit5:1.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.tngtech.archunit:archunit:1.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.vaadin.external.google:android-json:0.0.20131108.vaadin1=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
com.tngtech.archunit:archunit-junit5-api:1.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.tngtech.archunit:archunit-junit5-engine-api:1.3.0=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,performanceTestRuntimeClasspath,systemTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath
com.tngtech.archunit:archunit-junit5-engine:1.3.0=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,performanceTestRuntimeClasspath,systemTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath
com.tngtech.archunit:archunit-junit5:1.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.tngtech.archunit:archunit:1.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
com.vaadin.external.google:android-json:0.0.20131108.vaadin1=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
commons-beanutils:commons-beanutils:1.11.0=checkstyle
commons-codec:commons-codec:1.19.0=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
commons-collections:commons-collections:3.2.2=checkstyle
commons-io:commons-io:2.20.0=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
commons-io:commons-io:2.21.0=spotbugs
commons-logging:commons-logging:1.3.6=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
commons-logging:commons-logging:1.3.6=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
info.picocli:picocli:4.7.7=checkstyle
io.github.eisop:dataflow-errorprone:3.41.0-eisop1=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
io.github.java-diff-utils:java-diff-utils:4.12=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
io.micrometer:micrometer-commons:1.16.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.micrometer:micrometer-observation:1.16.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.github.eisop:dataflow-errorprone:3.41.0-eisop1=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
io.github.java-diff-utils:java-diff-utils:4.12=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
io.micrometer:micrometer-commons:1.16.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.micrometer:micrometer-observation:1.16.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.netty:netty-buffer:4.2.17.Final=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.netty:netty-codec-base:4.2.17.Final=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.netty:netty-codec-classes-quic:4.2.17.Final=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
@@ -83,58 +83,58 @@ io.netty:netty-transport-native-unix-common:4.2.17.Final=webfluxContractTestComp
io.netty:netty-transport:4.2.17.Final=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.projectreactor.netty:reactor-netty-core:1.3.7=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.projectreactor.netty:reactor-netty-http:1.3.7=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.projectreactor:reactor-core:3.8.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.projectreactor:reactor-test:3.8.7=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.swagger.core.v3:swagger-annotations-jakarta:2.2.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
io.swagger.core.v3:swagger-core-jakarta:2.2.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
io.swagger.core.v3:swagger-models-jakarta:2.2.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
jakarta.activation:jakarta.activation-api:2.1.4=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
jakarta.annotation:jakarta.annotation-api:3.0.0=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.projectreactor:reactor-core:3.8.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.projectreactor:reactor-test:3.8.7=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
io.swagger.core.v3:swagger-annotations-jakarta:2.2.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
io.swagger.core.v3:swagger-core-jakarta:2.2.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
io.swagger.core.v3:swagger-models-jakarta:2.2.38=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
jakarta.activation:jakarta.activation-api:2.1.4=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
jakarta.annotation:jakarta.annotation-api:3.0.0=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
jakarta.enterprise:jakarta.enterprise.cdi-api:4.1.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
jakarta.enterprise:jakarta.enterprise.lang-model:4.1.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
jakarta.inject:jakarta.inject-api:2.0.1=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
jakarta.interceptor:jakarta.interceptor-api:2.2.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
jakarta.servlet:jakarta.servlet-api:6.1.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
jakarta.servlet:jakarta.servlet-api:6.1.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,performanceTestRuntimeClasspath,systemTestRuntimeClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
jakarta.transaction:jakarta.transaction-api:2.0.1=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
jakarta.validation:jakarta.validation-api:3.1.1=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
jakarta.validation:jakarta.validation-api:3.1.1=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
jakarta.websocket:jakarta.websocket-api:2.2.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
jakarta.websocket:jakarta.websocket-client-api:2.2.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
jakarta.xml.bind:jakarta.xml.bind-api:4.0.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
javax.inject:javax.inject:1=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
jakarta.xml.bind:jakarta.xml.bind-api:4.0.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
javax.inject:javax.inject:1=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
jaxen:jaxen:2.0.6=spotbugs
net.bytebuddy:byte-buddy-agent:1.17.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
net.bytebuddy:byte-buddy:1.17.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
net.bytebuddy:byte-buddy-agent:1.17.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
net.bytebuddy:byte-buddy:1.17.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
net.java.dev.jna:jna:5.18.1=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
net.minidev:accessors-smart:2.6.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
net.minidev:json-smart:2.6.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
net.minidev:accessors-smart:2.6.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
net.minidev:json-smart:2.6.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
net.sf.saxon:Saxon-HE:12.9=checkstyle,spotbugs
org.antlr:antlr4-runtime:4.13.2=checkstyle
org.apache.bcel:bcel:6.12.0=spotbugs
org.apache.commons:commons-compress:1.28.0=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
org.apache.commons:commons-lang3:3.20.0=checkstyle,compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.apache.commons:commons-lang3:3.20.0=checkstyle,compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,spotbugs,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.apache.commons:commons-text:1.15.0=spotbugs
org.apache.commons:commons-text:1.3=checkstyle
org.apache.httpcomponents:httpclient:4.5.13=checkstyle
org.apache.httpcomponents:httpcore:4.4.16=checkstyle
org.apache.logging.log4j:log4j-api:2.25.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.apache.logging.log4j:log4j-api:2.25.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,spotbugs,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.apache.logging.log4j:log4j-core:2.25.5=spotbugs
org.apache.logging.log4j:log4j-to-slf4j:2.25.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.apache.logging.log4j:log4j-to-slf4j:2.25.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.apache.maven.doxia:doxia-core:1.12.0=checkstyle
org.apache.maven.doxia:doxia-logging-api:1.12.0=checkstyle
org.apache.maven.doxia:doxia-module-xdoc:1.12.0=checkstyle
org.apache.maven.doxia:doxia-sink-api:1.12.0=checkstyle
org.apache.tomcat.embed:tomcat-embed-core:11.0.24=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-el:11.0.24=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-websocket:11.0.24=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-core:11.0.24=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-el:11.0.24=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.apache.tomcat.embed:tomcat-embed-websocket:11.0.24=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.apache.xbean:xbean-reflect:3.7=checkstyle
org.apiguardian:apiguardian-api:1.1.2=jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.assertj:assertj-core:3.27.7=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.awaitility:awaitility:4.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.apiguardian:apiguardian-api:1.1.2=jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,performanceTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.assertj:assertj-core:3.27.7=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.awaitility:awaitility:4.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.codehaus.plexus:plexus-classworlds:2.6.0=checkstyle
org.codehaus.plexus:plexus-component-annotations:2.1.0=checkstyle
org.codehaus.plexus:plexus-container-default:2.1.0=checkstyle
org.codehaus.plexus:plexus-utils:3.3.0=checkstyle
org.codehaus.woodstox:stax2-api:4.2.2=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.codehaus.woodstox:stax2-api:4.2.2=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.dom4j:dom4j:2.2.0=spotbugs
org.eclipse.jetty.compression:jetty-compression-common:12.1.12=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
org.eclipse.jetty.compression:jetty-compression-gzip:12.1.12=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
@@ -166,112 +166,112 @@ org.eclipse.jetty:jetty-server:12.1.12=jettyCompatTestCompileClasspath,jettyComp
org.eclipse.jetty:jetty-session:12.1.12=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
org.eclipse.jetty:jetty-util:12.1.12=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
org.eclipse.jetty:jetty-xml:12.1.12=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
org.hamcrest:hamcrest:3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.hibernate.validator:hibernate-validator:9.0.1.Final=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.hamcrest:hamcrest:3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.hibernate.validator:hibernate-validator:9.0.1.Final=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.javassist:javassist:3.28.0-GA=checkstyle
org.jboss.logging:jboss-logging:3.6.3.Final=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.jboss.logging:jboss-logging:3.6.3.Final=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.jetbrains:annotations:17.0.0=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
org.jspecify:jspecify:1.0.1=annotationProcessor,checkstyle,compileClasspath,jettyCompatTestAnnotationProcessor,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestAnnotationProcessor,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitAnnotationProcessor,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestAnnotationProcessor,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.jupiter:junit-jupiter-api:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.jupiter:junit-jupiter-engine:6.0.3=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath,webfluxContractTestRuntimeClasspath
org.junit.jupiter:junit-jupiter-params:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.jupiter:junit-jupiter:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.platform:junit-platform-commons:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.platform:junit-platform-engine:6.0.3=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath,webfluxContractTestRuntimeClasspath
org.junit.platform:junit-platform-launcher:6.0.3=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath,webfluxContractTestRuntimeClasspath
org.junit:junit-bom:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.jspecify:jspecify:1.0.1=annotationProcessor,checkstyle,compileClasspath,jettyCompatTestAnnotationProcessor,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestAnnotationProcessor,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestAnnotationProcessor,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestAnnotationProcessor,systemTestCompileClasspath,systemTestRuntimeClasspath,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitAnnotationProcessor,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestAnnotationProcessor,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.jupiter:junit-jupiter-api:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.jupiter:junit-jupiter-engine:6.0.3=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,performanceTestRuntimeClasspath,systemTestRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath,webfluxContractTestRuntimeClasspath
org.junit.jupiter:junit-jupiter-params:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.jupiter:junit-jupiter:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.platform:junit-platform-commons:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit.platform:junit-platform-engine:6.0.3=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,performanceTestRuntimeClasspath,systemTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath,webfluxContractTestRuntimeClasspath
org.junit.platform:junit-platform-launcher:6.0.3=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,performanceTestRuntimeClasspath,systemTestRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath,webfluxContractTestRuntimeClasspath
org.junit:junit-bom:6.0.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.junit:junit-bom:6.1.0=spotbugs
org.mockito:mockito-core:5.20.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,mockitoAgent,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.mockito:mockito-junit-jupiter:5.20.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.objenesis:objenesis:3.3=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath,webfluxContractTestRuntimeClasspath
org.openapitools:jackson-databind-nullable:0.2.6=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.opentest4j:opentest4j:1.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.osgi:org.osgi.annotation.bundle:2.0.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.osgi:org.osgi.annotation.versioning:1.1.2=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.osgi:org.osgi.resource:1.0.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.osgi:org.osgi.service.serviceloader:1.0.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.mockito:mockito-core:5.20.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,mockitoAgent,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.mockito:mockito-junit-jupiter:5.20.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.objenesis:objenesis:3.3=jettyCompatTestRuntimeClasspath,nginxProxyTestRuntimeClasspath,performanceTestRuntimeClasspath,systemTestRuntimeClasspath,testRuntimeClasspath,testkitRuntimeClasspath,webfluxContractTestRuntimeClasspath
org.openapitools:jackson-databind-nullable:0.2.6=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.opentest4j:opentest4j:1.3.0=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.osgi:org.osgi.annotation.bundle:2.0.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,performanceTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.osgi:org.osgi.annotation.versioning:1.1.2=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,performanceTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.osgi:org.osgi.resource:1.0.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,performanceTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.osgi:org.osgi.service.serviceloader:1.0.0=compileClasspath,jettyCompatTestCompileClasspath,nginxProxyTestCompileClasspath,performanceTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath,testkitCompileClasspath,webfluxContractTestCompileClasspath
org.ow2.asm:asm-analysis:9.10.1=spotbugs
org.ow2.asm:asm-commons:9.10.1=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,spotbugs
org.ow2.asm:asm-tree:9.10.1=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,spotbugs
org.ow2.asm:asm-util:9.10.1=spotbugs
org.ow2.asm:asm:9.10.1=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,spotbugs
org.ow2.asm:asm:9.7.1=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.pcollections:pcollections:4.0.1=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
org.reactivestreams:reactive-streams:1.0.4=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.ow2.asm:asm:9.7.1=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.pcollections:pcollections:4.0.1=annotationProcessor,jettyCompatTestAnnotationProcessor,nginxProxyTestAnnotationProcessor,performanceTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor,testkitAnnotationProcessor,webfluxContractTestAnnotationProcessor
org.reactivestreams:reactive-streams:1.0.4=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.reflections:reflections:0.10.2=checkstyle
org.rnorth.duct-tape:duct-tape:1.0.8=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
org.skyscreamer:jsonassert:1.5.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.slf4j:jul-to-slf4j:2.0.18=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.slf4j:slf4j-api:2.0.18=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,spotbugs,spotbugsSlf4j,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.skyscreamer:jsonassert:1.5.3=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.slf4j:jul-to-slf4j:2.0.18=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.slf4j:slf4j-api:2.0.18=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,spotbugs,spotbugsSlf4j,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
org.slf4j:slf4j-simple:2.0.18=checkstyle
org.springdoc:springdoc-openapi-starter-common:3.0.0=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springdoc:springdoc-openapi-starter-webmvc-api:3.0.0=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-autoconfigure:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springdoc:springdoc-openapi-starter-common:3.0.0=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springdoc:springdoc-openapi-starter-webmvc-api:3.0.0=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-autoconfigure:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-configuration-processor:4.0.8=annotationProcessor
org.springframework.boot:spring-boot-http-codec:4.0.8=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-http-converter:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-jackson:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-http-converter:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-jackson:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-jetty:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
org.springframework.boot:spring-boot-netty:4.0.8=webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-reactor-netty:4.0.8=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-reactor:4.0.8=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-resttestclient:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-security-oauth2-resource-server:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-security:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-servlet:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-resttestclient:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-security-oauth2-resource-server:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-security:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-servlet:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-jackson:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-jetty-runtime:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-jetty:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-logging:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-oauth2-resource-server:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-logging:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-oauth2-resource-server:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-reactor-netty:4.0.8=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-security:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-validation:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-web:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-security:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-tomcat:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-validation:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-web:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-webflux:4.0.8=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-test-autoconfigure:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-tomcat:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-validation:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-web-server:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter-webmvc:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-starter:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-test-autoconfigure:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-tomcat:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-validation:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-web-server:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-webflux:4.0.8=webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.boot:spring-boot-webmvc-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-webmvc:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.security:spring-security-config:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-core:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-crypto:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-oauth2-core:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-oauth2-jose:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-oauth2-resource-server:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-test:7.0.7=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-web:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.session:spring-session-core:4.0.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework:spring-aop:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-beans:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-context:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-core:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-expression:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-test:7.0.9=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-web:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-webflux:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-webmvc:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-webmvc-test:4.0.8=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot-webmvc:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.boot:spring-boot:4.0.8=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework.security:spring-security-config:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-core:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-crypto:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-oauth2-core:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-oauth2-jose:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-oauth2-resource-server:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-test:7.0.7=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.security:spring-security-web:7.0.7=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework.session:spring-session-core:4.0.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.springframework:spring-aop:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-beans:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-context:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-core:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-expression:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-test:7.0.9=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-web:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-webflux:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.springframework:spring-webmvc:7.0.9=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
org.testcontainers:testcontainers-junit-jupiter:2.0.5=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
org.testcontainers:testcontainers:2.0.5=nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath
org.xmlresolver:xmlresolver:5.3.3=checkstyle,spotbugs
org.xmlunit:xmlunit-core:2.10.4=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.yaml:snakeyaml:2.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
tools.jackson.core:jackson-core:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
tools.jackson.core:jackson-databind:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
tools.jackson.dataformat:jackson-dataformat-cbor:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
tools.jackson.dataformat:jackson-dataformat-xml:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
tools.jackson:jackson-bom:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.xmlunit:xmlunit-core:2.10.4=jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
org.yaml:snakeyaml:2.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
tools.jackson.core:jackson-core:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
tools.jackson.core:jackson-databind:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
tools.jackson.dataformat:jackson-dataformat-cbor:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
tools.jackson.dataformat:jackson-dataformat-xml:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath
tools.jackson:jackson-bom:3.1.5=compileClasspath,jettyCompatTestCompileClasspath,jettyCompatTestRuntimeClasspath,nginxProxyTestCompileClasspath,nginxProxyTestRuntimeClasspath,performanceTestCompileClasspath,performanceTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath,testkitCompileClasspath,testkitRuntimeClasspath,webfluxContractTestCompileClasspath,webfluxContractTestRuntimeClasspath
empty=
@@ -1,74 +1,58 @@
package dev.caskeleton.adapter.inbound.web.advanced;
import java.util.Locale;
import java.util.Optional;
/**
* The web capabilities that are not part of Stable, each behind its own flag.
* Advanced web capabilities tracked by release evidence.
*
* <p>One flag per capability, not one for "advanced". They have nothing in common operationally:
* virtual threads change how every request is scheduled, streaming changes how long a response
* holds a connection, XML adds a parser with a decades-long history of entity-expansion attacks. A
* single switch would make those one decision, and a deployment that wanted the first would be
* given the third.
*
* <p>Every constant is off unless named.
* <p>The catalog distinguishes capabilities this leaf can activate itself from library-only
* capabilities that require an adopter-owned composition. A catalog entry is not a promise that a
* property exists.
*/
public enum WebAdvancedFeature {
MVC_VIRTUAL_THREADS(
ActivationPath.RUNTIME_PROPERTY, "backend.web.advanced.mvc-virtual-threads.enabled", true),
WEBFLUX_BLOCKING_BRIDGE(ActivationPath.LIBRARY_ONLY, null, true),
JSON_MERGE_PATCH(ActivationPath.LIBRARY_ONLY, null, false),
JSON_PATCH(ActivationPath.LIBRARY_ONLY, null, false),
SSE(ActivationPath.LIBRARY_ONLY, null, false),
NDJSON(ActivationPath.RUNTIME_PROPERTY, "backend.web.advanced.ndjson.enabled", false),
JSON_SEQUENCE(
ActivationPath.RUNTIME_PROPERTY, "backend.web.advanced.json-sequence.enabled", false),
FUNCTIONAL_WEBFLUX(ActivationPath.LIBRARY_ONLY, null, false),
CBOR(ActivationPath.LIBRARY_ONLY, null, false),
XML(ActivationPath.LIBRARY_ONLY, null, false),
OPENAPI_32(ActivationPath.LIBRARY_ONLY, null, false),
RATELIMIT_DRAFT_HEADERS(ActivationPath.LIBRARY_ONLY, null, false);
/**
* A virtual-thread executor for MVC request handling.
*
* <p>Changes the scheduling model, not the concurrency budget. See {@code
* VirtualThreadAdmissionGuard} for why those are different things.
*/
MVC_VIRTUAL_THREADS,
private final ActivationPath activationPath;
private final String runtimeProperty;
private final boolean affectsUnrelatedRequests;
/** A bounded, registered offload for blocking work called from WebFlux. */
WEBFLUX_BLOCKING_BRIDGE,
/** RFC 7396 {@code application/merge-patch+json}. */
JSON_MERGE_PATCH,
/** RFC 6902 {@code application/json-patch+json}. */
JSON_PATCH,
/** Server-sent events. */
SSE,
/** {@code application/x-ndjson} streaming. */
NDJSON,
/** RFC 7464 {@code application/json-seq} streaming. */
JSON_SEQUENCE,
/** Functional WebFlux routes, registered against the operation catalog. */
FUNCTIONAL_WEBFLUX,
/** {@code application/cbor} as a representation. */
CBOR,
/** {@code application/xml} as a representation. */
XML,
/** OpenAPI 3.2 generated alongside the Stable 3.1 snapshot. */
OPENAPI_32,
/** Draft {@code RateLimit} and {@code RateLimit-Policy} response headers. */
RATELIMIT_DRAFT_HEADERS;
/** The property that turns this on. */
public String propertyName() {
return "backend.web.advanced." + name().toLowerCase(Locale.ROOT).replace('_', '-') + ".enabled";
WebAdvancedFeature(
ActivationPath activationPath, String runtimeProperty, boolean affectsUnrelatedRequests) {
this.activationPath = activationPath;
this.runtimeProperty = runtimeProperty;
this.affectsUnrelatedRequests = affectsUnrelatedRequests;
}
/**
* Whether enabling this changes behaviour for requests that do not use it.
*
* <p>The distinction that decides how much soak a capability needs. A codec only affects requests
* that negotiate it; a virtual-thread executor affects every request in the process, and the
* blocking bridge affects the event loop that every reactive request shares.
*/
/** Whether this leaf owns a runtime switch or only reusable library code. */
public ActivationPath activationPath() {
return activationPath;
}
/** Concrete activation property, only for capabilities this leaf actually wires. */
public Optional<String> runtimeProperty() {
return Optional.ofNullable(runtimeProperty);
}
/** Whether enabling this changes behaviour for requests that do not use it. */
public boolean affectsUnrelatedRequests() {
return this == MVC_VIRTUAL_THREADS || this == WEBFLUX_BLOCKING_BRIDGE;
return affectsUnrelatedRequests;
}
public enum ActivationPath {
RUNTIME_PROPERTY,
LIBRARY_ONLY
}
}
@@ -1,47 +0,0 @@
package dev.caskeleton.adapter.inbound.web.advanced;
import java.util.EnumSet;
import java.util.Objects;
import java.util.Set;
/**
* Which Advanced capabilities this deployment named.
*
* <p>A value rather than a property lookup at each call site, so that "what is on" is one thing an
* operator can print rather than a set of conditions scattered through the configuration.
*/
public final class WebAdvancedFeatureFlags {
private final Set<WebAdvancedFeature> enabled;
private WebAdvancedFeatureFlags(Set<WebAdvancedFeature> enabled) {
this.enabled = Set.copyOf(enabled);
}
/** Nothing enabled. The default, and what a Stable deployment has. */
public static WebAdvancedFeatureFlags none() {
return new WebAdvancedFeatureFlags(EnumSet.noneOf(WebAdvancedFeature.class));
}
/** Exactly these. */
public static WebAdvancedFeatureFlags of(WebAdvancedFeature... features) {
Objects.requireNonNull(features, "features");
return new WebAdvancedFeatureFlags(Set.of(features));
}
/** Whether a capability is on. */
public boolean enabled(WebAdvancedFeature feature) {
Objects.requireNonNull(feature, "feature");
return enabled.contains(feature);
}
/** Everything that is on, for the startup report. */
public Set<WebAdvancedFeature> all() {
return enabled;
}
/** Whether this deployment behaves as a Stable one for requests that use no Advanced feature. */
public boolean stableBehaviourPreserved() {
return enabled.stream().noneMatch(WebAdvancedFeature::affectsUnrelatedRequests);
}
}
@@ -0,0 +1,27 @@
package dev.caskeleton.adapter.inbound.web.advanced.mvc;
import dev.caskeleton.adapter.inbound.web.advanced.stream.encoding.StreamFraming;
import dev.caskeleton.adapter.inbound.web.advanced.stream.encoding.StreamRecordEncoder;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
/** Wires RFC 7464 JSON text-sequence streaming independently of NDJSON. */
@Configuration(proxyBeanMethods = false)
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET)
@ConditionalOnProperty(
prefix = "backend.web.advanced.json-sequence",
name = "enabled",
havingValue = "true")
@Import(MvcStreamingSupportConfiguration.class)
public class MvcJsonSequenceConfiguration {
@Bean
@ConditionalOnMissingBean(name = "mvcJsonSequenceWriter")
public MvcStreamWriter mvcJsonSequenceWriter(StreamRecordEncoder encoder) {
return new MvcStreamWriter(encoder, StreamFraming.JSON_SEQUENCE);
}
}
@@ -1,86 +1,27 @@
package dev.caskeleton.adapter.inbound.web.advanced.mvc;
import dev.caskeleton.adapter.inbound.web.advanced.stream.WebStreamPolicy;
import dev.caskeleton.adapter.inbound.web.advanced.stream.WebStreamRegistry;
import dev.caskeleton.adapter.inbound.web.advanced.stream.encoding.StreamFraming;
import dev.caskeleton.adapter.inbound.web.advanced.stream.encoding.StreamRecordEncoder;
import dev.caskeleton.adapter.inbound.web.json.WebObjectMapperFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
/**
* Wires servlet-side record streaming: NDJSON and RFC 7464 JSON text sequences.
*
* <p><strong>No server-sent events here, and not by oversight.</strong> This repository's {@code
* feature-streaming-response-contract} D3 refuses SSE on the servlet stack, and {@code
* CleanArchitectureTest.NO_SSE_EMITTER} / {@code NO_RESPONSE_BODY_EMITTER} enforce it: production
* code may not name {@code SseEmitter} or {@code ResponseBodyEmitter}. The same decision explicitly
* permits {@code StreamingResponseBody}, which is the shape {@link MvcStreamWriter} writes — a
* response body produced incrementally, in the request-response model, rather than a server-push
* channel.
*
* <p>The design package this leaf implements asks for an MVC SSE adapter. That request loses to the
* repository's own recorded decision, which is what {@code AGENTS.md} says happens when the two
* disagree. The reactive stack keeps its SSE adapter, where no such rule applies.
*
* <p>What survives from the SSE design is the part that was never SSE-specific: a bounded registry
* of open streams, a per-item encoder that enforces the size ceiling before framing, and a
* disconnect classifier — because on the servlet stack a failed write is still the only signal that
* a client has gone.
*/
/** Wires servlet-side NDJSON streaming only. */
@Configuration(proxyBeanMethods = false)
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET)
@ConditionalOnProperty(
prefix = "backend.web.advanced.ndjson",
name = "enabled",
havingValue = "true")
@Import(MvcStreamingSupportConfiguration.class)
public class MvcStreamingExecutorConfiguration {
/** The bounds every stream on this node runs under. */
@Bean
@ConditionalOnMissingBean
public WebStreamPolicy webStreamPolicy() {
return WebStreamPolicy.conventional();
}
/**
* The node's stream ceiling.
*
* <p>Sized independently of the request thread pool: a stream is a request that never finishes,
* so the pool bounds arrivals and this bounds residents.
*/
@Bean
@ConditionalOnMissingBean
public WebStreamRegistry webStreamRegistry() {
return new WebStreamRegistry(1_000);
}
/** Serializes stream records, and enforces the per-item ceiling before framing. */
@Bean
@ConditionalOnMissingBean
public StreamRecordEncoder streamRecordEncoder(WebStreamPolicy policy) {
return new StreamRecordEncoder(WebObjectMapperFactory.standard(), policy);
}
/** The NDJSON writer. */
@Bean
@ConditionalOnMissingBean(name = "mvcNdjsonWriter")
public MvcStreamWriter mvcNdjsonWriter(StreamRecordEncoder encoder) {
return new MvcStreamWriter(encoder, StreamFraming.NDJSON);
}
/**
* The JSON text sequence writer.
*
* <p>A separate bean rather than a parameter on one, because the framing is a property of the
* route's media type and a route wires the writer that matches what it declares it produces.
*/
@Bean
@ConditionalOnMissingBean(name = "mvcJsonSequenceWriter")
public MvcStreamWriter mvcJsonSequenceWriter(StreamRecordEncoder encoder) {
return new MvcStreamWriter(encoder, StreamFraming.JSON_SEQUENCE);
}
}
@@ -0,0 +1,32 @@
package dev.caskeleton.adapter.inbound.web.advanced.mvc;
import dev.caskeleton.adapter.inbound.web.advanced.stream.WebStreamPolicy;
import dev.caskeleton.adapter.inbound.web.advanced.stream.WebStreamRegistry;
import dev.caskeleton.adapter.inbound.web.advanced.stream.encoding.StreamRecordEncoder;
import dev.caskeleton.adapter.inbound.web.json.WebObjectMapperFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/** Shared bounded streaming infrastructure imported only by a concrete streaming capability. */
@Configuration(proxyBeanMethods = false)
class MvcStreamingSupportConfiguration {
@Bean
@ConditionalOnMissingBean
WebStreamPolicy webStreamPolicy() {
return WebStreamPolicy.conventional();
}
@Bean
@ConditionalOnMissingBean
WebStreamRegistry webStreamRegistry() {
return new WebStreamRegistry(1_000);
}
@Bean
@ConditionalOnMissingBean
StreamRecordEncoder streamRecordEncoder(WebStreamPolicy policy) {
return new StreamRecordEncoder(WebObjectMapperFactory.standard(), policy);
}
}
@@ -70,9 +70,4 @@ public record VirtualThreadProfile(
+ "being applied",
"downstream wait time: the signal that admission is admitting more than the pools serve");
}
/** The property that turns this on. */
public static String propertyName() {
return "backend.web.advanced.virtual-threads.enabled";
}
}
@@ -35,6 +35,10 @@ import org.springframework.web.client.RestClientException;
matchIfMissing = true)
public class JwtDecoderConfig {
static final String ERROR_TIMESTAMP_INVALID = "jwt_timestamp_invalid";
static final String ERROR_ISSUER_MISMATCH = "jwt_issuer_mismatch";
static final String ERROR_AUDIENCE_MISMATCH = "jwt_audience_mismatch";
@Bean
public JwtDecoder jwtDecoder(SecuritySettings settings) {
// Lazy: JWKS discovery happens on first decode, not at startup.
@@ -72,20 +76,38 @@ public class JwtDecoderConfig {
/** The explicit validator chain: timestamp (60s skew) + issuer + optional audience. */
static OAuth2TokenValidator<Jwt> jwtValidator(String issuerUri, String audience) {
List<OAuth2TokenValidator<Jwt>> validators = new ArrayList<>();
validators.add(new JwtTimestampValidator(Duration.ofSeconds(60)));
validators.add(new JwtIssuerValidator(issuerUri));
validators.add(
taggedValidator(
new JwtTimestampValidator(Duration.ofSeconds(60)), ERROR_TIMESTAMP_INVALID));
validators.add(taggedValidator(new JwtIssuerValidator(issuerUri), ERROR_ISSUER_MISMATCH));
if (audience != null && !audience.isBlank()) {
validators.add(audienceValidator(audience));
}
return new DelegatingOAuth2TokenValidator<>(validators);
}
private static OAuth2TokenValidator<Jwt> taggedValidator(
OAuth2TokenValidator<Jwt> delegate, String errorCode) {
return jwt -> {
OAuth2TokenValidatorResult result = delegate.validate(jwt);
if (!result.hasErrors()) {
return result;
}
java.util.List<OAuth2Error> tagged =
result.getErrors().stream()
.map(error -> new OAuth2Error(errorCode, error.getDescription(), error.getUri()))
.toList();
return OAuth2TokenValidatorResult.failure(tagged);
};
}
private static OAuth2TokenValidator<Jwt> audienceValidator(String audience) {
return jwt -> {
if (jwt.getAudience() != null && jwt.getAudience().contains(audience)) {
return OAuth2TokenValidatorResult.success();
}
OAuth2Error error = new OAuth2Error("invalid_token", "The aud claim is not valid", null);
OAuth2Error error =
new OAuth2Error(ERROR_AUDIENCE_MISMATCH, "The aud claim is not valid", null);
return OAuth2TokenValidatorResult.failure(error);
};
}
@@ -11,9 +11,9 @@ import org.springframework.security.oauth2.jwt.JwtValidationException;
/**
* Classifies a resource-server security failure into a fine-grained {@link OperationalError} by
* inspecting the exception graph and validator/Nimbus message text. Unmapped failures fall back to
* the generic, safe {@code AUTH_TOKEN_MALFORMED} (401) rather than a 500. See README for the design
* rationale.
* inspecting structured validator error codes first and Nimbus message text only as a decoder
* fallback. Unmapped failures fall back to the generic, safe {@code AUTH_TOKEN_MALFORMED} (401)
* rather than a 500. See README for the design rationale.
*/
public class SecurityErrorClassifier {
@@ -24,7 +24,7 @@ public class SecurityErrorClassifier {
return byCause;
}
if (ex instanceof OAuth2AuthenticationException oauth) {
OperationalError byError = classifyByText(describe(oauth.getError()));
OperationalError byError = classify(oauth.getError());
return byError != null ? byError : OperationalError.AUTH_TOKEN_MALFORMED;
}
if (ex instanceof InsufficientAuthenticationException) {
@@ -51,17 +51,30 @@ public class SecurityErrorClassifier {
}
if (cause instanceof JwtValidationException validation) {
// A JWKS retrieval failure can surface wrapped in validation errors too.
OperationalError fromText = null;
OperationalError classified = null;
for (OAuth2Error error : validation.getErrors()) {
OperationalError mapped = classifyByText(describe(error));
fromText = higherPriority(fromText, mapped);
classified = higherPriority(classified, classify(error));
}
return fromText != null ? fromText : OperationalError.AUTH_TOKEN_MALFORMED;
return classified != null ? classified : OperationalError.AUTH_TOKEN_MALFORMED;
}
// BadJwtException extends JwtException; both carry the decode/signature/kid/JWKS message.
return classifyByText(cause.getMessage());
}
private OperationalError classify(OAuth2Error error) {
if (error == null) {
return null;
}
OperationalError structured =
switch (error.getErrorCode()) {
case JwtDecoderConfig.ERROR_TIMESTAMP_INVALID -> OperationalError.AUTH_TOKEN_EXPIRED;
case JwtDecoderConfig.ERROR_ISSUER_MISMATCH -> OperationalError.AUTH_ISSUER_MISMATCH;
case JwtDecoderConfig.ERROR_AUDIENCE_MISMATCH -> OperationalError.AUTH_AUDIENCE_MISMATCH;
default -> null;
};
return structured != null ? structured : classifyByText(describe(error));
}
/**
* Maps a single validator/decoder message to a code. Ordered, narrow heuristics; returns {@code
* null} when nothing matches so callers can fall back.
@@ -1,5 +1,6 @@
package dev.caskeleton.adapter.inbound.web.config;
import dev.caskeleton.adapter.inbound.web.core.OwnsAbsoluteWebRoute;
import dev.caskeleton.adapter.inbound.web.settings.PresentationSettings;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
@@ -20,6 +21,7 @@ public class PresentationWebConfig implements WebMvcConfigurer {
if (prefix == null || prefix.isEmpty()) {
return;
}
configurer.addPathPrefix(prefix, c -> true);
configurer.addPathPrefix(
prefix, controller -> !controller.isAnnotationPresent(OwnsAbsoluteWebRoute.class));
}
}
@@ -0,0 +1,17 @@
package dev.caskeleton.adapter.inbound.web.core;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marks a controller whose mappings already own their complete externally visible path.
*
* <p>Controllers with this marker are not rewritten by the global presentation API prefix. Use it
* for platform/internal/versioned routes such as {@code /v1/files} or {@code /internal/...}; normal
* application routes should stay relative to the configured presentation prefix.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface OwnsAbsoluteWebRoute {}
@@ -12,6 +12,9 @@ package dev.caskeleton.adapter.inbound.web.core;
*/
public record WebRequestId(String value) {
/** Servlet/request-context attribute key used by transport bindings. */
public static final String REQUEST_ATTRIBUTE = WebRequestId.class.getName() + ".request";
/** The longest accepted identifier: enough for a UUID or a trace-shaped value, and no more. */
private static final int MAX_LENGTH = 128;
@@ -11,6 +11,9 @@ package dev.caskeleton.adapter.inbound.web.core;
*/
public record WebTraceId(String value) {
/** Servlet/request-context attribute key used by transport bindings. */
public static final String REQUEST_ATTRIBUTE = WebTraceId.class.getName() + ".request";
/** The longest accepted identifier; a W3C trace id is 32 hex characters. */
private static final int MAX_LENGTH = 128;
@@ -1,5 +1,6 @@
package dev.caskeleton.adapter.inbound.web.fileserver.admin;
import dev.caskeleton.adapter.inbound.web.core.OwnsAbsoluteWebRoute;
import dev.caskeleton.adapter.inbound.web.fileserver.dto.UploadedFileResponse;
import dev.caskeleton.adapter.inbound.web.fileserver.security.FileserverRequestContextFactory;
import dev.caskeleton.application.fileserver.admin.FileserverAdminService;
@@ -34,6 +35,7 @@ import org.springframework.web.bind.annotation.RestController;
* <p>A reconcile without an explicit {@code dryRun=false} is always a dry run. That default lives
* here as well as in the command, because the most dangerous request is the one that omits a field.
*/
@OwnsAbsoluteWebRoute
@RestController
@ConditionalOnProperty(
prefix = "app.fileserver-platform",
@@ -1,7 +1,11 @@
package dev.caskeleton.adapter.inbound.web.fileserver.controller;
import dev.caskeleton.adapter.inbound.web.core.OwnsAbsoluteWebRoute;
import dev.caskeleton.adapter.inbound.web.fileserver.config.BlockingTransferExecutor;
import dev.caskeleton.adapter.inbound.web.fileserver.dto.UploadedFileResponse;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpConditionalRequest;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpDownloadDecision;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpDownloadPlanner;
import dev.caskeleton.adapter.inbound.web.fileserver.http.MvcConditionalRequestFactory;
import dev.caskeleton.adapter.inbound.web.fileserver.http.MvcDownloadResponseWriter;
import dev.caskeleton.adapter.inbound.web.fileserver.http.ZeroCopyEligibility;
@@ -10,7 +14,6 @@ import dev.caskeleton.adapter.inbound.web.fileserver.security.FileserverRequestC
import dev.caskeleton.application.fileserver.api.ByteRange;
import dev.caskeleton.application.fileserver.api.FileId;
import dev.caskeleton.application.fileserver.api.security.RequestContext;
import dev.caskeleton.application.fileserver.api.transfer.ConditionalRequest;
import dev.caskeleton.application.fileserver.download.DownloadApplicationService;
import dev.caskeleton.application.fileserver.download.DownloadDescriptor;
import dev.caskeleton.application.fileserver.download.DownloadRequest;
@@ -37,12 +40,14 @@ import org.springframework.web.bind.annotation.RestController;
* convention. Content is opened only after the decision says a body is expected, so a {@code 304},
* {@code 412}, or {@code 416} answer never reaches storage.
*/
@OwnsAbsoluteWebRoute
@RestController
@ConditionalOnProperty(prefix = "app.fileserver-platform", name = "enabled", havingValue = "true")
public class FileDownloadController {
private final DownloadApplicationService downloadService;
private final MvcConditionalRequestFactory conditionalFactory;
private final HttpDownloadPlanner downloadPlanner;
private final MvcDownloadResponseWriter responseWriter;
private final FileserverRequestContextFactory contextFactory;
private final BlockingTransferExecutor transferExecutor;
@@ -60,6 +65,7 @@ public class FileDownloadController {
public FileDownloadController(
DownloadApplicationService downloadService,
MvcConditionalRequestFactory conditionalFactory,
HttpDownloadPlanner downloadPlanner,
MvcDownloadResponseWriter responseWriter,
FileserverRequestContextFactory contextFactory,
BlockingTransferExecutor transferExecutor,
@@ -67,6 +73,7 @@ public class FileDownloadController {
ZeroCopyEligibility zeroCopy) {
this.downloadService = downloadService;
this.conditionalFactory = conditionalFactory;
this.downloadPlanner = downloadPlanner;
this.responseWriter = responseWriter;
this.contextFactory = contextFactory;
this.transferExecutor = transferExecutor;
@@ -89,26 +96,26 @@ public class FileDownloadController {
HttpServletRequest request,
HttpServletResponse response) {
boolean headOnly = RequestMethod.HEAD.name().equalsIgnoreCase(request.getMethod());
ConditionalRequest conditional = conditionalFactory.from(request, headOnly);
HttpConditionalRequest conditional = conditionalFactory.from(request, headOnly);
RequestContext context = contextFactory.current();
DownloadDescriptor descriptor =
downloadService.describe(
new DownloadRequest(FileId.parse(fileId), conditional, inline), context);
responseWriter.writeHeaders(descriptor, response);
if (!descriptor.bodyExpected()) {
downloadService.describe(new DownloadRequest(FileId.parse(fileId)), context);
HttpDownloadDecision decision = downloadPlanner.plan(descriptor, conditional, inline);
responseWriter.writeHeaders(decision, response);
if (!decision.bodyExpected()) {
return;
}
// Delegation is decided only after authorization and the READY gate, so the internal redirect
// can only ever name content this caller was already allowed to read.
if (delegationStrategy.shouldDelegate(descriptor)) {
delegationStrategy.delegate(descriptor, response);
if (delegationStrategy.shouldDelegate(decision)) {
delegationStrategy.delegate(decision.descriptor(), response);
return;
}
// `isSecure` is read here, on the container thread, because the request may be recycled before
// the transfer task runs.
boolean secure = request.isSecure();
transferExecutor.call(() -> stream(descriptor, response, secure));
transferExecutor.call(() -> stream(decision, response, secure));
}
/**
@@ -127,17 +134,15 @@ public class FileDownloadController {
* it would send the prefix twice — a body that is longer than its own {@code Content-Length} and
* matches neither the length nor the digest the client was promised. That case aborts instead.
*/
private Void stream(DownloadDescriptor descriptor, HttpServletResponse response, boolean secure) {
if (!descriptor.isPartial() && descriptor.representation().length() == 0) {
private Void stream(HttpDownloadDecision decision, HttpServletResponse response, boolean secure) {
if (!decision.isPartial() && decision.descriptor().representation().length() == 0) {
// A zero-length representation has no range at all. Clamping produced 0..0 — a one-byte
// request over an empty object — which storage correctly refused as unsatisfiable, so a
// legitimately empty file answered 416 instead of an empty 200.
return null;
}
ByteRange range =
descriptor.isPartial()
? descriptor.singleRange()
: ByteRange.entire(descriptor.representation().length());
DownloadDescriptor descriptor = decision.descriptor();
ByteRange range = decision.payloadRange();
try {
if (zeroCopy.isEligible(true, range.length(), secure)) {
ZeroCopyTransferResult transfer =
@@ -1,5 +1,6 @@
package dev.caskeleton.adapter.inbound.web.fileserver.controller;
import dev.caskeleton.adapter.inbound.web.core.OwnsAbsoluteWebRoute;
import dev.caskeleton.adapter.inbound.web.fileserver.config.BlockingTransferExecutor;
import dev.caskeleton.adapter.inbound.web.fileserver.config.FileserverWebProperties;
import dev.caskeleton.adapter.inbound.web.fileserver.dto.BatchUploadItemResult;
@@ -15,7 +16,7 @@ import dev.caskeleton.application.fileserver.api.error.FileserverErrorCode;
import dev.caskeleton.application.fileserver.api.error.FileserverException;
import dev.caskeleton.application.fileserver.api.error.FileserverFailureContext;
import dev.caskeleton.application.fileserver.api.security.RequestContext;
import dev.caskeleton.application.fileserver.api.transfer.UploadProtocol;
import dev.caskeleton.application.fileserver.api.transfer.UploadMode;
import dev.caskeleton.application.fileserver.upload.CreateUploadRequest;
import dev.caskeleton.application.fileserver.upload.FileView;
import dev.caskeleton.application.fileserver.upload.FinalizeUploadRequest;
@@ -46,6 +47,7 @@ import org.springframework.web.multipart.MultipartFile;
* heap. Every transfer goes through the bounded transfer pool, which turns overload into a fast
* retryable rejection instead of container-thread exhaustion.
*/
@OwnsAbsoluteWebRoute
@RestController
@ConditionalOnProperty(prefix = "app.fileserver-platform", name = "enabled", havingValue = "true")
public class FileUploadController {
@@ -94,7 +96,7 @@ public class FileUploadController {
Channels.newChannel(body),
declaredLength(intent),
context,
UploadProtocol.RAW));
UploadMode.SINGLE_SHOT));
return created(view);
}
@@ -113,7 +115,7 @@ public class FileUploadController {
ReadableByteChannel content = Channels.newChannel(body);
FileView view =
transferExecutor.call(
() -> upload(intent, content, file.getSize(), context, UploadProtocol.MULTIPART));
() -> upload(intent, content, file.getSize(), context, UploadMode.SINGLE_SHOT));
return created(view);
}
}
@@ -153,7 +155,7 @@ public class FileUploadController {
ReadableByteChannel content = Channels.newChannel(body);
FileView view =
transferExecutor.call(
() -> upload(intent, content, part.getSize(), context, UploadProtocol.BATCH));
() -> upload(intent, content, part.getSize(), context, UploadMode.BATCH));
return BatchUploadItemResult.accepted(clientPartId, view);
} catch (FileserverException failure) {
return BatchUploadItemResult.rejected(clientPartId, failure.code());
@@ -163,18 +165,17 @@ public class FileUploadController {
}
/**
* Records the protocol the request actually used.
* Records the application upload mode represented by this HTTP endpoint.
*
* <p>Every endpoint previously persisted {@code RAW}. The recorded protocol is what a resume, an
* audit, and a reconciliation read to decide how an upload was produced, so labelling a batch
* part as a raw upload makes all three describe something that never happened.
* <p>Wire details stay in the adapter; the application receives only lifecycle semantics such as
* single-shot or batch.
*/
private FileView upload(
UploadIntent intent,
ReadableByteChannel content,
long contentLength,
RequestContext context,
UploadProtocol protocol) {
UploadMode mode) {
CreateUploadRequest request =
new CreateUploadRequest(
properties.defaultNamespace(),
@@ -182,7 +183,7 @@ public class FileUploadController {
intent.claimedMediaType(),
intent.declaredLength(),
intent.expectedSha256(),
protocol,
mode,
clock.instant().plus(properties.uploadTtl()));
return uploadService.upload(
request,
@@ -1,5 +1,6 @@
package dev.caskeleton.adapter.inbound.web.fileserver.draft12;
import dev.caskeleton.adapter.inbound.web.core.OwnsAbsoluteWebRoute;
import dev.caskeleton.adapter.inbound.web.fileserver.config.BlockingTransferExecutor;
import dev.caskeleton.adapter.inbound.web.fileserver.config.FileserverWebProperties;
import dev.caskeleton.adapter.inbound.web.fileserver.security.FileserverRequestContextFactory;
@@ -7,7 +8,7 @@ import dev.caskeleton.application.fileserver.api.UploadId;
import dev.caskeleton.application.fileserver.api.error.MalformedRequestException;
import dev.caskeleton.application.fileserver.api.error.UploadOffsetMismatchException;
import dev.caskeleton.application.fileserver.api.security.RequestContext;
import dev.caskeleton.application.fileserver.api.transfer.UploadProtocol;
import dev.caskeleton.application.fileserver.api.transfer.UploadMode;
import dev.caskeleton.application.fileserver.upload.AppendUploadResult;
import dev.caskeleton.application.fileserver.upload.CreateUploadRequest;
import dev.caskeleton.application.fileserver.upload.FinalizeUploadRequest;
@@ -42,6 +43,7 @@ import org.springframework.web.bind.annotation.RestController;
* Upload-Complete}, the partial-upload media type, and the offset-mismatch problem type. Nothing is
* guessed from a later revision.
*/
@OwnsAbsoluteWebRoute
@RestController
@ExperimentalApi(specification = "draft-ietf-httpbis-resumable-upload-12")
@ConditionalOnProperty(
@@ -87,7 +89,7 @@ public class Draft12UploadController {
Optional.empty(),
declaredLength(request),
Optional.empty(),
UploadProtocol.HTTPBIS_DRAFT12,
UploadMode.EXPERIMENTAL_RESUMABLE,
clock.instant().plus(draftProperties.uploadTtl())),
contextFactory.current());
@@ -25,6 +25,6 @@ public record UploadedFileResponse(
view.descriptor().mediaType(),
view.descriptor().size(),
view.descriptor().sha256(),
view.descriptor().strongEtag());
"\"" + view.descriptor().sha256() + "\"");
}
}
@@ -1,39 +1,32 @@
package dev.caskeleton.application.fileserver.api.transfer;
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import dev.caskeleton.application.fileserver.api.ByteRange;
import dev.caskeleton.application.fileserver.api.error.RangeNotSatisfiableException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Locale;
/**
* RFC 9110 byte-range parsing with a mandatory budget.
*
* <p>A syntactically invalid header is ignored and the full representation is served, which is what
* the specification requires. A syntactically valid header that no range can satisfy is a hard
* {@code 416}. The budget is enforced before any content handle is opened.
*/
/** RFC 9110 byte-range parser with a mandatory work budget. */
public final class DefaultHttpRangeResolver implements HttpRangeResolver {
private static final String UNIT_PREFIX = "bytes=";
@Override
public ResolvedRanges resolve(String rangeHeader, long representationLength, RangeBudget budget) {
public HttpResolvedRanges resolve(
String rangeHeader, long representationLength, HttpRangePolicy policy) {
if (representationLength < 0) {
throw new IllegalArgumentException("representationLength must not be negative");
}
if (rangeHeader == null || rangeHeader.isBlank()) {
return ResolvedRanges.full(representationLength);
return HttpResolvedRanges.full(representationLength);
}
String normalized = rangeHeader.trim().toLowerCase(Locale.ROOT);
if (!normalized.startsWith(UNIT_PREFIX)) {
// An unknown range unit must be ignored, not rejected.
return ResolvedRanges.full(representationLength);
return HttpResolvedRanges.full(representationLength);
}
String[] specifiers = normalized.substring(UNIT_PREFIX.length()).split(",", -1);
if (specifiers.length > budget.maxRanges()) {
throw RangeNotSatisfiableException.of(representationLength);
if (specifiers.length > policy.maxRanges()) {
throw HttpRangeNotSatisfiableException.of(representationLength);
}
List<ByteRange> parsed = new ArrayList<>();
@@ -44,31 +37,25 @@ public final class DefaultHttpRangeResolver implements HttpRangeResolver {
}
}
if (parsed.isEmpty()) {
throw RangeNotSatisfiableException.of(representationLength);
throw HttpRangeNotSatisfiableException.of(representationLength);
}
List<ByteRange> effective = budget.mergeOverlaps() ? merge(parsed) : parsed;
if (effective.size() > budget.maxRanges()) {
throw RangeNotSatisfiableException.of(representationLength);
List<ByteRange> effective = policy.mergeOverlaps() ? merge(parsed) : parsed;
if (effective.size() > policy.maxRanges()) {
throw HttpRangeNotSatisfiableException.of(representationLength);
}
long total = effective.stream().mapToLong(ByteRange::length).sum();
if (total > budget.maxTotalBytes()
|| total > representationLength * (long) budget.maxRanges()) {
throw RangeNotSatisfiableException.of(representationLength);
if (total > policy.maxTotalBytes()
|| total > representationLength * (long) policy.maxRanges()) {
throw HttpRangeNotSatisfiableException.of(representationLength);
}
return new ResolvedRanges(effective, representationLength);
return new HttpResolvedRanges(effective, representationLength);
}
/**
* Parses one range specifier.
*
* <p>Returns {@code null} for a specifier that is syntactically valid but cannot be satisfied, so
* a partially satisfiable multi-range request still succeeds on its satisfiable parts.
*/
private static ByteRange parseSpecifier(String specifier, long representationLength) {
int dash = specifier.indexOf('-');
if (dash < 0) {
throw RangeNotSatisfiableException.of(representationLength);
throw HttpRangeNotSatisfiableException.of(representationLength);
}
String first = specifier.substring(0, dash).trim();
String last = specifier.substring(dash + 1).trim();
@@ -98,16 +85,15 @@ public final class DefaultHttpRangeResolver implements HttpRangeResolver {
private static long parseLong(String token, long representationLength) {
if (token.isEmpty() || !token.chars().allMatch(Character::isDigit)) {
throw RangeNotSatisfiableException.of(representationLength);
throw HttpRangeNotSatisfiableException.of(representationLength);
}
try {
return Long.parseLong(token);
} catch (NumberFormatException exception) {
throw RangeNotSatisfiableException.of(representationLength);
throw HttpRangeNotSatisfiableException.of(representationLength);
}
}
/** Coalesces overlapping and adjacent ranges so a bomb cannot be built from many small ones. */
private static List<ByteRange> merge(List<ByteRange> ranges) {
List<ByteRange> sorted = new ArrayList<>(ranges);
sorted.sort(Comparator.comparingLong(ByteRange::startInclusive));
@@ -1,16 +1,11 @@
package dev.caskeleton.application.fileserver.api.transfer;
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import java.time.Instant;
import java.util.Objects;
import java.util.Optional;
/**
* Transport-neutral view of the conditional and range headers of one request.
*
* <p>Adapters translate their own header types into this record so the decision logic is shared and
* cannot diverge between MVC and WebFlux.
*/
public record ConditionalRequest(
/** HTTP conditional/range headers parsed at the inbound boundary. */
public record HttpConditionalRequest(
Optional<String> ifMatch,
Optional<String> ifNoneMatch,
Optional<Instant> ifModifiedSince,
@@ -19,7 +14,7 @@ public record ConditionalRequest(
Optional<String> range,
boolean headOnly) {
public ConditionalRequest {
public HttpConditionalRequest {
Objects.requireNonNull(ifMatch, "ifMatch");
Objects.requireNonNull(ifNoneMatch, "ifNoneMatch");
Objects.requireNonNull(ifModifiedSince, "ifModifiedSince");
@@ -28,9 +23,8 @@ public record ConditionalRequest(
Objects.requireNonNull(range, "range");
}
/** Unconditional full-representation GET. */
public static ConditionalRequest plainGet() {
return new ConditionalRequest(
public static HttpConditionalRequest plainGet() {
return new HttpConditionalRequest(
Optional.empty(),
Optional.empty(),
Optional.empty(),
@@ -40,9 +34,8 @@ public record ConditionalRequest(
false);
}
/** Unconditional GET restricted to one range. */
public static ConditionalRequest rangeGet(String range) {
return new ConditionalRequest(
public static HttpConditionalRequest rangeGet(String range) {
return new HttpConditionalRequest(
Optional.empty(),
Optional.empty(),
Optional.empty(),
@@ -1,19 +1,12 @@
package dev.caskeleton.application.fileserver.api.transfer;
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import dev.caskeleton.application.fileserver.api.security.SanitizedFilename;
import java.nio.charset.StandardCharsets;
import java.util.Locale;
import java.util.Set;
/**
* Builds a {@code Content-Disposition} value that cannot carry an injection.
*
* <p>The ASCII {@code filename} form is restricted to a safe subset and the UTF-8 {@code filename*}
* form is percent-encoded, so no quote, separator, or newline can escape the header. Scriptable
* media types are always offered as an attachment unless the caller explicitly opted into an inline
* safe profile.
*/
public final class ContentDispositionFactory {
/** Builds injection-safe HTTP Content-Disposition values for uploaded content. */
public final class HttpContentDispositionFactory {
private static final Set<String> SCRIPTABLE_MEDIA_TYPES =
Set.of(
@@ -25,27 +18,16 @@ public final class ContentDispositionFactory {
"application/xhtml",
"text/javascript",
"application/javascript");
private static final String FALLBACK_ASCII = "file";
/** Attachment disposition, the default for every download. */
public String attachment(SanitizedFilename filename) {
return build("attachment", filename);
}
/**
* Inline disposition when, and only when, the media type is not scriptable.
*
* <p>Serving HTML or SVG inline from a user-upload origin is a stored cross-site scripting
* primitive, so it degrades to an attachment instead of trusting the caller.
*/
public String inlineOrAttachment(SanitizedFilename filename, String mediaType) {
boolean scriptable =
mediaType != null && SCRIPTABLE_MEDIA_TYPES.contains(baseMediaType(mediaType));
return build(scriptable ? "attachment" : "inline", filename);
return build(isScriptable(mediaType) ? "attachment" : "inline", filename);
}
/** True when {@code mediaType} must never be rendered inline from an upload origin. */
public boolean isScriptable(String mediaType) {
return mediaType != null && SCRIPTABLE_MEDIA_TYPES.contains(baseMediaType(mediaType));
}
@@ -56,13 +38,12 @@ public final class ContentDispositionFactory {
return base.trim().toLowerCase(Locale.ROOT);
}
private String build(String disposition, SanitizedFilename filename) {
private static String build(String disposition, SanitizedFilename filename) {
String ascii = toSafeAscii(filename.value());
String encoded = percentEncodeUtf8(filename.value());
return disposition + "; filename=\"" + ascii + "\"; filename*=UTF-8''" + encoded;
}
/** Reduces the name to a conservative ASCII subset for the legacy {@code filename} parameter. */
private static String toSafeAscii(String value) {
StringBuilder builder = new StringBuilder();
for (int index = 0; index < value.length(); index++) {
@@ -0,0 +1,61 @@
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import dev.caskeleton.application.fileserver.api.ByteRange;
import dev.caskeleton.application.fileserver.download.DownloadDescriptor;
import java.util.List;
import java.util.Objects;
/** Complete HTTP response decision derived from an authorized download descriptor. */
public record HttpDownloadDecision(
HttpDownloadOutcome outcome,
DownloadDescriptor descriptor,
List<ByteRange> ranges,
String contentDisposition,
String cacheControl,
boolean bodyExpected) {
public HttpDownloadDecision {
Objects.requireNonNull(outcome, "outcome");
Objects.requireNonNull(descriptor, "descriptor");
Objects.requireNonNull(ranges, "ranges");
Objects.requireNonNull(contentDisposition, "contentDisposition");
Objects.requireNonNull(cacheControl, "cacheControl");
ranges = List.copyOf(ranges);
}
public int status() {
return switch (outcome) {
case FULL -> 200;
case PARTIAL -> 206;
case NOT_MODIFIED -> 304;
case PRECONDITION_FAILED -> 412;
};
}
public boolean isPartial() {
return outcome == HttpDownloadOutcome.PARTIAL;
}
public ByteRange singleRange() {
if (ranges.size() != 1) {
throw new IllegalStateException("decision does not carry exactly one range");
}
return ranges.getFirst();
}
public ByteRange payloadRange() {
return isPartial() ? singleRange() : ByteRange.entire(descriptor.representation().length());
}
public long payloadLength() {
return switch (outcome) {
case FULL -> descriptor.representation().length();
case PARTIAL -> singleRange().length();
case NOT_MODIFIED, PRECONDITION_FAILED -> 0;
};
}
public String strongEtag() {
return "\"" + descriptor.representation().sha256() + "\"";
}
}
@@ -0,0 +1,9 @@
package dev.caskeleton.adapter.inbound.web.fileserver.http;
/** Wire-level outcome selected from HTTP preconditions and range headers. */
public enum HttpDownloadOutcome {
FULL,
PARTIAL,
NOT_MODIFIED,
PRECONDITION_FAILED
}
@@ -0,0 +1,122 @@
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import dev.caskeleton.application.fileserver.api.transfer.FileRepresentation;
import dev.caskeleton.application.fileserver.download.DownloadDescriptor;
import java.time.Instant;
import java.util.List;
import java.util.Optional;
/** Owns HTTP conditional, Range, cache and content-disposition decisions for downloads. */
public final class HttpDownloadPlanner {
private final HttpRangeResolver rangeResolver;
private final HttpContentDispositionFactory dispositionFactory;
private final HttpDownloadPolicy policy;
public HttpDownloadPlanner(
HttpRangeResolver rangeResolver,
HttpContentDispositionFactory dispositionFactory,
HttpDownloadPolicy policy) {
this.rangeResolver = rangeResolver;
this.dispositionFactory = dispositionFactory;
this.policy = policy;
}
public HttpDownloadDecision plan(
DownloadDescriptor descriptor, HttpConditionalRequest request, boolean inlineRequested) {
FileRepresentation representation = descriptor.representation();
String etag = strongEtag(representation);
if (failsIfMatch(request, etag) || failsIfUnmodifiedSince(request, representation)) {
return decision(
HttpDownloadOutcome.PRECONDITION_FAILED, descriptor, List.of(), false, inlineRequested);
}
if (matchesIfNoneMatch(request, etag) || isNotModifiedSince(request, representation)) {
return decision(
HttpDownloadOutcome.NOT_MODIFIED, descriptor, List.of(), false, inlineRequested);
}
boolean bodyExpected = !request.headOnly();
if (request.range().isEmpty() || !ifRangeMatches(request, etag)) {
return decision(
HttpDownloadOutcome.FULL, descriptor, List.of(), bodyExpected, inlineRequested);
}
HttpResolvedRanges resolved =
rangeResolver.resolve(
request.range().orElseThrow(), representation.length(), policy.rangePolicy());
if (!resolved.isPartial()) {
return decision(
HttpDownloadOutcome.FULL, descriptor, List.of(), bodyExpected, inlineRequested);
}
return decision(
HttpDownloadOutcome.PARTIAL, descriptor, resolved.ranges(), bodyExpected, inlineRequested);
}
private HttpDownloadDecision decision(
HttpDownloadOutcome outcome,
DownloadDescriptor descriptor,
List<dev.caskeleton.application.fileserver.api.ByteRange> ranges,
boolean bodyExpected,
boolean inlineRequested) {
String disposition =
inlineRequested && policy.inlineAllowed()
? dispositionFactory.inlineOrAttachment(
descriptor.filename(), descriptor.representation().mediaType())
: dispositionFactory.attachment(descriptor.filename());
return new HttpDownloadDecision(
outcome, descriptor, ranges, disposition, policy.cacheControl(), bodyExpected);
}
private static boolean failsIfMatch(HttpConditionalRequest request, String etag) {
Optional<String> ifMatch = request.ifMatch();
if (ifMatch.isEmpty()) {
return false;
}
String value = ifMatch.orElseThrow().trim();
return !"*".equals(value) && !containsStrongEtag(value, etag);
}
private static boolean failsIfUnmodifiedSince(
HttpConditionalRequest request, FileRepresentation representation) {
return request.ifUnmodifiedSince().isPresent()
&& representation.publishedAt().isAfter(request.ifUnmodifiedSince().orElseThrow());
}
private static boolean matchesIfNoneMatch(HttpConditionalRequest request, String etag) {
Optional<String> ifNoneMatch = request.ifNoneMatch();
if (ifNoneMatch.isEmpty()) {
return false;
}
String value = ifNoneMatch.orElseThrow().trim();
return "*".equals(value) || containsStrongEtag(value, etag);
}
private static boolean isNotModifiedSince(
HttpConditionalRequest request, FileRepresentation representation) {
if (request.ifNoneMatch().isPresent() || request.ifModifiedSince().isEmpty()) {
return false;
}
Instant since = request.ifModifiedSince().orElseThrow();
return !representation.publishedAt().isAfter(since);
}
private static boolean ifRangeMatches(HttpConditionalRequest request, String etag) {
Optional<String> ifRange = request.ifRange();
return ifRange.isEmpty() || containsStrongEtag(ifRange.orElseThrow().trim(), etag);
}
private static String strongEtag(FileRepresentation representation) {
return "\"" + representation.sha256() + "\"";
}
private static boolean containsStrongEtag(String headerValue, String strongEtag) {
for (String candidate : List.of(headerValue.split(","))) {
String trimmed = candidate.trim();
if (!trimmed.startsWith("W/") && trimmed.equals(strongEtag)) {
return true;
}
}
return false;
}
}
@@ -0,0 +1,16 @@
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import java.util.Objects;
/** HTTP-only download response policy bound by the composition root. */
public record HttpDownloadPolicy(
HttpRangePolicy rangePolicy, String cacheControl, boolean inlineAllowed) {
public HttpDownloadPolicy {
Objects.requireNonNull(rangePolicy, "rangePolicy");
Objects.requireNonNull(cacheControl, "cacheControl");
if (cacheControl.isBlank()) {
throw new IllegalArgumentException("cacheControl must be non-blank");
}
}
}
@@ -0,0 +1,28 @@
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import dev.caskeleton.application.fileserver.api.error.FileserverErrorCode;
import dev.caskeleton.application.fileserver.api.error.FileserverException;
import dev.caskeleton.application.fileserver.api.error.FileserverFailureContext;
/** HTTP Range request for which no requested byte interval can be served. */
public final class HttpRangeNotSatisfiableException extends FileserverException {
private static final long serialVersionUID = 1L;
private final long representationLength;
private HttpRangeNotSatisfiableException(long representationLength) {
super(
"requested range is not satisfiable",
FileserverFailureContext.of(FileserverErrorCode.RANGE_NOT_SATISFIABLE, false));
this.representationLength = representationLength;
}
public static HttpRangeNotSatisfiableException of(long representationLength) {
return new HttpRangeNotSatisfiableException(representationLength);
}
public long representationLength() {
return representationLength;
}
}
@@ -0,0 +1,32 @@
package dev.caskeleton.adapter.inbound.web.fileserver.http;
/** Bounded work budget for one HTTP Range request. */
public record HttpRangePolicy(int maxRanges, long maxTotalBytes, boolean mergeOverlaps) {
private static final int DESIGN_MAX_RANGES = 8;
public HttpRangePolicy {
if (maxRanges < 1 || maxRanges > DESIGN_MAX_RANGES) {
throw new IllegalArgumentException("maxRanges must be between 1 and 8");
}
if (maxTotalBytes <= 0) {
throw new IllegalArgumentException("maxTotalBytes must be positive");
}
}
public static HttpRangePolicy single(long maxTotalBytes) {
return new HttpRangePolicy(1, maxTotalBytes, false);
}
public static HttpRangePolicy unbounded() {
return new HttpRangePolicy(1, Long.MAX_VALUE, false);
}
public static HttpRangePolicy multi(int maxRanges, long maxTotalBytes) {
return new HttpRangePolicy(maxRanges, maxTotalBytes, true);
}
public boolean allowsMultipleRanges() {
return maxRanges > 1;
}
}
@@ -0,0 +1,6 @@
package dev.caskeleton.adapter.inbound.web.fileserver.http;
/** Parses and bounds one HTTP Range header. */
public interface HttpRangeResolver {
HttpResolvedRanges resolve(String rangeHeader, long representationLength, HttpRangePolicy policy);
}
@@ -1,18 +1,13 @@
package dev.caskeleton.application.fileserver.api.transfer;
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import dev.caskeleton.application.fileserver.api.ByteRange;
import java.util.List;
import java.util.Objects;
/**
* Ranges normalized against a concrete representation length.
*
* <p>An empty list means the request asked for the whole representation, which is a {@code 200},
* not a {@code 206}.
*/
public record ResolvedRanges(List<ByteRange> ranges, long representationLength) {
/** HTTP byte ranges normalized against one immutable representation. */
public record HttpResolvedRanges(List<ByteRange> ranges, long representationLength) {
public ResolvedRanges {
public HttpResolvedRanges {
Objects.requireNonNull(ranges, "ranges");
if (representationLength < 0) {
throw new IllegalArgumentException("representationLength must not be negative");
@@ -20,8 +15,8 @@ public record ResolvedRanges(List<ByteRange> ranges, long representationLength)
ranges = List.copyOf(ranges);
}
public static ResolvedRanges full(long representationLength) {
return new ResolvedRanges(List.of(), representationLength);
public static HttpResolvedRanges full(long representationLength) {
return new HttpResolvedRanges(List.of(), representationLength);
}
public boolean isPartial() {
@@ -1,6 +1,5 @@
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import dev.caskeleton.application.fileserver.api.transfer.ConditionalRequest;
import jakarta.servlet.http.HttpServletRequest;
import java.time.Instant;
import java.time.ZonedDateTime;
@@ -9,19 +8,11 @@ import java.time.format.DateTimeParseException;
import java.util.Optional;
import org.springframework.http.HttpHeaders;
/**
* Translates servlet headers into the transport-neutral conditional request.
*
* <p>Doing the translation here — and only here — is what lets MVC, WebFlux, and the delegation
* path share one decision implementation instead of each re-deriving the precedence rules.
*
* <p>An unparseable HTTP-date is treated as absent rather than as a failure, which is what RFC 9110
* requires: a malformed conditional header must be ignored, not turned into an error.
*/
/** Parses servlet conditional/range headers at the HTTP boundary. */
public final class MvcConditionalRequestFactory {
public ConditionalRequest from(HttpServletRequest request, boolean headOnly) {
return new ConditionalRequest(
public HttpConditionalRequest from(HttpServletRequest request, boolean headOnly) {
return new HttpConditionalRequest(
header(request, HttpHeaders.IF_MATCH),
header(request, HttpHeaders.IF_NONE_MATCH),
date(request, HttpHeaders.IF_MODIFIED_SINCE),
@@ -43,7 +34,7 @@ public final class MvcConditionalRequestFactory {
}
try {
return Optional.of(
ZonedDateTime.parse(raw.get(), DateTimeFormatter.RFC_1123_DATE_TIME).toInstant());
ZonedDateTime.parse(raw.orElseThrow(), DateTimeFormatter.RFC_1123_DATE_TIME).toInstant());
} catch (DateTimeParseException malformed) {
return Optional.empty();
}
@@ -1,7 +1,6 @@
package dev.caskeleton.adapter.inbound.web.fileserver.http;
import dev.caskeleton.application.fileserver.api.ByteRange;
import dev.caskeleton.application.fileserver.download.DownloadDescriptor;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.OutputStream;
@@ -12,46 +11,34 @@ import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import org.springframework.http.HttpHeaders;
/**
* Writes one download decision onto a servlet response.
*
* <p>GET and HEAD render exactly the same header set; only the body differs. That is deliberate: a
* HEAD whose {@code Content-Length} or {@code ETag} disagreed with the GET would make range
* resumption and cache revalidation unreliable.
*
* <p>The body is streamed through one bounded buffer, so a large object costs a fixed amount of
* heap rather than its own size.
*/
/** Renders one HTTP download decision onto a servlet response. */
public final class MvcDownloadResponseWriter {
/** Header that stops a browser re-sniffing a declared media type. */
public static final String CONTENT_TYPE_OPTIONS = "X-Content-Type-Options";
private static final int BUFFER_BYTES = 64 * 1024;
private static final DateTimeFormatter HTTP_DATE =
DateTimeFormatter.RFC_1123_DATE_TIME.withZone(ZoneOffset.UTC);
/** Writes status and headers; {@code 304} deliberately carries no representation metadata. */
public void writeHeaders(DownloadDescriptor descriptor, HttpServletResponse response) {
response.setStatus(descriptor.status());
response.setHeader(HttpHeaders.ETAG, descriptor.representation().strongEtag());
public void writeHeaders(HttpDownloadDecision decision, HttpServletResponse response) {
response.setStatus(decision.status());
response.setHeader(HttpHeaders.ETAG, decision.strongEtag());
response.setHeader(
HttpHeaders.LAST_MODIFIED,
HTTP_DATE.format(
ZonedDateTime.ofInstant(descriptor.representation().lastModified(), ZoneOffset.UTC)));
ZonedDateTime.ofInstant(
decision.descriptor().representation().publishedAt(), ZoneOffset.UTC)));
response.setHeader(HttpHeaders.ACCEPT_RANGES, "bytes");
response.setHeader(HttpHeaders.CACHE_CONTROL, descriptor.cacheControl());
// Uploaded content never gets to describe itself: without nosniff a browser may re-interpret a
// declared octet-stream as HTML and execute it from this origin.
response.setHeader(HttpHeaders.CACHE_CONTROL, decision.cacheControl());
response.setHeader(CONTENT_TYPE_OPTIONS, "nosniff");
if (descriptor.status() == HttpServletResponse.SC_NOT_MODIFIED) {
if (decision.outcome() == HttpDownloadOutcome.NOT_MODIFIED) {
return;
}
response.setHeader(HttpHeaders.CONTENT_TYPE, descriptor.representation().mediaType());
response.setHeader(HttpHeaders.CONTENT_DISPOSITION, descriptor.contentDisposition());
response.setHeader(HttpHeaders.CONTENT_LENGTH, String.valueOf(payloadLength(descriptor)));
if (descriptor.isPartial()) {
ByteRange range = descriptor.singleRange();
response.setHeader(
HttpHeaders.CONTENT_TYPE, decision.descriptor().representation().mediaType());
response.setHeader(HttpHeaders.CONTENT_DISPOSITION, decision.contentDisposition());
response.setHeader(HttpHeaders.CONTENT_LENGTH, String.valueOf(decision.payloadLength()));
if (decision.isPartial()) {
ByteRange range = decision.singleRange();
response.setHeader(
HttpHeaders.CONTENT_RANGE,
"bytes "
@@ -59,11 +46,10 @@ public final class MvcDownloadResponseWriter {
+ "-"
+ range.endInclusive()
+ "/"
+ descriptor.representation().length());
+ decision.descriptor().representation().length());
}
}
/** Streams {@code content} into the response through a single bounded buffer. */
public void writeBody(ReadableByteChannel content, HttpServletResponse response)
throws IOException {
ByteBuffer buffer = ByteBuffer.allocate(BUFFER_BYTES);
@@ -77,17 +63,4 @@ public final class MvcDownloadResponseWriter {
target.flush();
}
}
/**
* Length the body would carry.
*
* <p>A HEAD reports the length it would have sent, so the header set matches the GET exactly even
* though no bytes follow.
*/
private static long payloadLength(DownloadDescriptor descriptor) {
if (descriptor.isPartial()) {
return descriptor.singleRange().length();
}
return descriptor.representation().length();
}
}
@@ -1,5 +1,6 @@
package dev.caskeleton.adapter.inbound.web.fileserver.lifecycle;
import dev.caskeleton.adapter.inbound.web.core.OwnsAbsoluteWebRoute;
import dev.caskeleton.adapter.inbound.web.fileserver.dto.RelocateFileRequest;
import dev.caskeleton.adapter.inbound.web.fileserver.dto.UploadedFileResponse;
import dev.caskeleton.adapter.inbound.web.fileserver.security.FileserverRequestContextFactory;
@@ -36,6 +37,7 @@ import org.springframework.web.bind.annotation.RestController;
* — which the repository's AIP-122 segment rule does not model. The design fixes those paths, so
* the code moves rather than the contract.
*/
@OwnsAbsoluteWebRoute
@RestController
@ConditionalOnProperty(prefix = "app.fileserver-platform", name = "enabled", havingValue = "true")
public class FileLifecycleController {
@@ -54,7 +56,8 @@ public class FileLifecycleController {
@PathVariable("fileId") String fileId,
@RequestHeader(name = HttpHeaders.IF_MATCH, required = false) String ifMatch) {
DeleteOutcome outcome =
lifecycleService.delete(FileId.parse(fileId), optional(ifMatch), contextFactory.current());
lifecycleService.delete(
FileId.parse(fileId), expectedSha256(ifMatch), contextFactory.current());
return outcome.physicalCleanupScheduled()
? ResponseEntity.accepted().build()
: ResponseEntity.noContent().build();
@@ -74,7 +77,7 @@ public class FileLifecycleController {
FileId.parse(fileId),
StorageNamespace.of(request.namespace()),
Optional.ofNullable(request.filename()),
optional(ifMatch)),
expectedSha256(ifMatch)),
contextFactory.current());
return ResponseEntity.accepted()
.location(URI.create("/v1/files/" + copied.fileId().canonicalText()))
@@ -93,11 +96,24 @@ public class FileLifecycleController {
lifecycleService.move(
FileId.parse(fileId),
StorageNamespace.of(request.namespace()),
optional(ifMatch),
expectedSha256(ifMatch),
contextFactory.current()));
}
private static Optional<String> optional(String header) {
return header == null || header.isBlank() ? Optional.empty() : Optional.of(header);
private static Optional<String> expectedSha256(String ifMatch) {
if (ifMatch == null || ifMatch.isBlank() || "*".equals(ifMatch.trim())) {
return Optional.empty();
}
String validator = ifMatch.trim();
if (!validator.startsWith("W/")
&& validator.length() >= 2
&& validator.startsWith("\"")
&& validator.endsWith("\"")) {
return Optional.of(validator.substring(1, validator.length() - 1));
}
// Preserve the old strong-comparison behavior: malformed or weak validators reach the
// application as a value that cannot equal a SHA-256 digest and therefore fail the
// precondition.
return Optional.of(validator);
}
}
@@ -1,5 +1,7 @@
package dev.caskeleton.adapter.inbound.web.fileserver.nginx;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpDownloadDecision;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpDownloadOutcome;
import dev.caskeleton.application.fileserver.download.DownloadDescriptor;
import jakarta.servlet.http.HttpServletResponse;
@@ -26,12 +28,11 @@ public final class NginxDownloadStrategy {
}
/** True when this descriptor should be transferred by the proxy rather than in-process. */
public boolean shouldDelegate(DownloadDescriptor descriptor) {
public boolean shouldDelegate(HttpDownloadDecision decision) {
return properties.enabled()
&& descriptor.bodyExpected()
&& !descriptor.isPartial()
&& descriptor.status() == HttpServletResponse.SC_OK
&& descriptor.representation().length() >= properties.minimumBytes();
&& decision.bodyExpected()
&& decision.outcome() == HttpDownloadOutcome.FULL
&& decision.descriptor().representation().length() >= properties.minimumBytes();
}
/**
@@ -1,8 +1,8 @@
package dev.caskeleton.adapter.inbound.web.fileserver.problem;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpRangeNotSatisfiableException;
import dev.caskeleton.application.fileserver.api.error.FileserverErrorCode;
import dev.caskeleton.application.fileserver.api.error.FileserverException;
import dev.caskeleton.application.fileserver.api.error.RangeNotSatisfiableException;
import java.util.LinkedHashMap;
import java.util.Map;
@@ -53,7 +53,7 @@ public final class FileserverProblemHeaders {
if (retryAfter != null && failure.context().retryable()) {
headers.put("Retry-After", String.valueOf(retryAfter));
}
if (failure instanceof RangeNotSatisfiableException unsatisfiable) {
if (failure instanceof HttpRangeNotSatisfiableException unsatisfiable) {
headers.put("Content-Range", "bytes */" + unsatisfiable.representationLength());
}
return headers;
@@ -1,10 +1,12 @@
package dev.caskeleton.adapter.inbound.web.fileserver.reactive;
import dev.caskeleton.adapter.inbound.web.fileserver.dto.UploadedFileResponse;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpConditionalRequest;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpDownloadDecision;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpDownloadPlanner;
import dev.caskeleton.application.fileserver.api.ByteRange;
import dev.caskeleton.application.fileserver.api.FileId;
import dev.caskeleton.application.fileserver.api.security.RequestContext;
import dev.caskeleton.application.fileserver.api.transfer.ConditionalRequest;
import dev.caskeleton.application.fileserver.download.DownloadApplicationService;
import dev.caskeleton.application.fileserver.download.DownloadDescriptor;
import dev.caskeleton.application.fileserver.download.DownloadRequest;
@@ -39,14 +41,17 @@ public final class FileDownloadHandler {
private final DownloadApplicationService downloadService;
private final ReactiveDownloadResponseWriter responseWriter;
private final HttpDownloadPlanner downloadPlanner;
private final FileserverIoScheduler ioScheduler;
public FileDownloadHandler(
DownloadApplicationService downloadService,
ReactiveDownloadResponseWriter responseWriter,
HttpDownloadPlanner downloadPlanner,
FileserverIoScheduler ioScheduler) {
this.downloadService = downloadService;
this.responseWriter = responseWriter;
this.downloadPlanner = downloadPlanner;
this.ioScheduler = ioScheduler;
}
@@ -67,22 +72,24 @@ public final class FileDownloadHandler {
boolean inline = request.queryParam("inline").map(Boolean::parseBoolean).orElse(false);
RequestContext context = contextOf(request);
return Mono.fromCallable(
() ->
downloadService.describe(
new DownloadRequest(fileId, conditionalOf(request, headOnly), inline), context))
HttpConditionalRequest conditional = conditionalOf(request, headOnly);
return Mono.fromCallable(() -> downloadService.describe(new DownloadRequest(fileId), context))
.subscribeOn(ioScheduler.scheduler())
.flatMap(descriptor -> respond(descriptor, headOnly));
.map(descriptor -> downloadPlanner.plan(descriptor, conditional, inline))
.flatMap(this::respond);
}
private Mono<ServerResponse> respond(DownloadDescriptor descriptor, boolean headOnly) {
private Mono<ServerResponse> respond(HttpDownloadDecision decision) {
ServerResponse.BodyBuilder builder =
ServerResponse.status(descriptor.status())
.headers(headers -> headers.putAll(responseWriter.headersFor(descriptor)));
if (!descriptor.bodyExpected() || headOnly) {
ServerResponse.status(decision.status())
.headers(headers -> headers.putAll(responseWriter.headersFor(decision)));
if (!decision.bodyExpected()) {
return builder.build();
}
return builder.body(content(descriptor), DataBuffer.class);
if (decision.descriptor().representation().length() == 0) {
return builder.body(Flux.empty(), DataBuffer.class);
}
return builder.body(content(decision), DataBuffer.class);
}
/**
@@ -91,10 +98,10 @@ public final class FileDownloadHandler {
* <p>{@code readByteChannel} closes the channel and releases every buffer it emitted when the
* subscriber cancels, which is the behaviour a disconnecting client depends on.
*/
private Flux<DataBuffer> content(DownloadDescriptor descriptor) {
ByteRange range = responseWriter.payloadRange(descriptor);
private Flux<DataBuffer> content(HttpDownloadDecision decision) {
ByteRange range = decision.payloadRange();
return DataBufferUtils.readByteChannel(
() -> openContent(descriptor, range),
() -> openContent(decision.descriptor(), range),
DefaultDataBufferFactory.sharedInstance,
CHUNK_BYTES)
.subscribeOn(ioScheduler.scheduler());
@@ -104,9 +111,9 @@ public final class FileDownloadHandler {
return downloadService.openContent(descriptor, range);
}
private static ConditionalRequest conditionalOf(ServerRequest request, boolean headOnly) {
private static HttpConditionalRequest conditionalOf(ServerRequest request, boolean headOnly) {
HttpHeaders headers = request.headers().asHttpHeaders();
return new ConditionalRequest(
return new HttpConditionalRequest(
header(headers, HttpHeaders.IF_MATCH),
header(headers, HttpHeaders.IF_NONE_MATCH),
date(headers, HttpHeaders.IF_MODIFIED_SINCE),
@@ -9,7 +9,7 @@ import dev.caskeleton.adapter.inbound.web.fileserver.mapper.UploadIntent;
import dev.caskeleton.application.fileserver.api.FileState;
import dev.caskeleton.application.fileserver.api.error.FileserverException;
import dev.caskeleton.application.fileserver.api.security.RequestContext;
import dev.caskeleton.application.fileserver.api.transfer.UploadProtocol;
import dev.caskeleton.application.fileserver.api.transfer.UploadMode;
import dev.caskeleton.application.fileserver.upload.CreateUploadRequest;
import dev.caskeleton.application.fileserver.upload.FileView;
import dev.caskeleton.application.fileserver.upload.FinalizeUploadRequest;
@@ -119,7 +119,7 @@ public final class FileUploadHandler {
intent.claimedMediaType(),
intent.declaredLength(),
intent.expectedSha256(),
UploadProtocol.RAW,
UploadMode.SINGLE_SHOT,
clock.instant().plus(properties.uploadTtl()));
}
@@ -2,6 +2,7 @@ package dev.caskeleton.adapter.inbound.web.fileserver.reactive;
import dev.caskeleton.adapter.inbound.web.fileserver.config.FileserverWebProperties;
import dev.caskeleton.adapter.inbound.web.fileserver.config.TransferExecutorProperties;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpDownloadPlanner;
import dev.caskeleton.adapter.inbound.web.fileserver.problem.FileserverProblemFactory;
import dev.caskeleton.adapter.inbound.web.fileserver.security.FileserverRequestContextFactory;
import dev.caskeleton.application.fileserver.download.DownloadApplicationService;
@@ -85,8 +86,9 @@ public class FileserverReactiveConfiguration {
public FileDownloadHandler fileserverReactiveDownloadHandler(
DownloadApplicationService downloadService,
ReactiveDownloadResponseWriter responseWriter,
HttpDownloadPlanner downloadPlanner,
FileserverIoScheduler ioScheduler) {
return new FileDownloadHandler(downloadService, responseWriter, ioScheduler);
return new FileDownloadHandler(downloadService, responseWriter, downloadPlanner, ioScheduler);
}
/**
@@ -1,49 +1,39 @@
package dev.caskeleton.adapter.inbound.web.fileserver.reactive;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpDownloadDecision;
import dev.caskeleton.adapter.inbound.web.fileserver.http.HttpDownloadOutcome;
import dev.caskeleton.application.fileserver.api.ByteRange;
import dev.caskeleton.application.fileserver.download.DownloadDescriptor;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
/**
* Renders a download decision into reactive response headers.
*
* <p>It is deliberately a mirror of the servlet writer, driven by the same descriptor, so MVC and
* WebFlux answer byte-identical headers for the same request. A parity test compares them directly.
*/
/** Renders the shared HTTP download decision as WebFlux headers. */
public final class ReactiveDownloadResponseWriter {
/** Header that stops a browser re-sniffing a declared media type. */
public static final String CONTENT_TYPE_OPTIONS = "X-Content-Type-Options";
private static final DateTimeFormatter HTTP_DATE =
DateTimeFormatter.RFC_1123_DATE_TIME.withZone(ZoneOffset.UTC);
/**
* Builds the header set for {@code descriptor}; {@code 304} carries no representation metadata.
*/
public HttpHeaders headersFor(DownloadDescriptor descriptor) {
public HttpHeaders headersFor(HttpDownloadDecision decision) {
HttpHeaders headers = new HttpHeaders();
headers.set(HttpHeaders.ETAG, descriptor.representation().strongEtag());
headers.set(HttpHeaders.ETAG, decision.strongEtag());
headers.set(
HttpHeaders.LAST_MODIFIED,
HTTP_DATE.format(
ZonedDateTime.ofInstant(descriptor.representation().lastModified(), ZoneOffset.UTC)));
ZonedDateTime.ofInstant(
decision.descriptor().representation().publishedAt(), ZoneOffset.UTC)));
headers.set(HttpHeaders.ACCEPT_RANGES, "bytes");
headers.set(HttpHeaders.CACHE_CONTROL, descriptor.cacheControl());
// Same reason as the servlet writer: uploaded content is never allowed to describe itself.
headers.set(HttpHeaders.CACHE_CONTROL, decision.cacheControl());
headers.set(CONTENT_TYPE_OPTIONS, "nosniff");
if (descriptor.status() == HttpStatus.NOT_MODIFIED.value()) {
if (decision.outcome() == HttpDownloadOutcome.NOT_MODIFIED) {
return headers;
}
headers.set(HttpHeaders.CONTENT_TYPE, descriptor.representation().mediaType());
headers.set(HttpHeaders.CONTENT_DISPOSITION, descriptor.contentDisposition());
headers.set(HttpHeaders.CONTENT_LENGTH, String.valueOf(payloadLength(descriptor)));
if (descriptor.isPartial()) {
ByteRange range = descriptor.singleRange();
headers.set(HttpHeaders.CONTENT_TYPE, decision.descriptor().representation().mediaType());
headers.set(HttpHeaders.CONTENT_DISPOSITION, decision.contentDisposition());
headers.set(HttpHeaders.CONTENT_LENGTH, String.valueOf(decision.payloadLength()));
if (decision.isPartial()) {
ByteRange range = decision.singleRange();
headers.set(
HttpHeaders.CONTENT_RANGE,
"bytes "
@@ -51,21 +41,8 @@ public final class ReactiveDownloadResponseWriter {
+ "-"
+ range.endInclusive()
+ "/"
+ descriptor.representation().length());
+ decision.descriptor().representation().length());
}
return headers;
}
/** Range the body should cover; a full representation is expressed as one whole-object range. */
public ByteRange payloadRange(DownloadDescriptor descriptor) {
return descriptor.isPartial()
? descriptor.singleRange()
: ByteRange.entire(descriptor.representation().length());
}
private static long payloadLength(DownloadDescriptor descriptor) {
return descriptor.isPartial()
? descriptor.singleRange().length()
: descriptor.representation().length();
}
}
@@ -1,11 +1,12 @@
package dev.caskeleton.adapter.inbound.web.fileserver.tus;
import dev.caskeleton.adapter.inbound.web.core.OwnsAbsoluteWebRoute;
import dev.caskeleton.adapter.inbound.web.fileserver.config.BlockingTransferExecutor;
import dev.caskeleton.adapter.inbound.web.fileserver.config.FileserverWebProperties;
import dev.caskeleton.adapter.inbound.web.fileserver.security.FileserverRequestContextFactory;
import dev.caskeleton.application.fileserver.api.UploadId;
import dev.caskeleton.application.fileserver.api.security.RequestContext;
import dev.caskeleton.application.fileserver.api.transfer.UploadProtocol;
import dev.caskeleton.application.fileserver.api.transfer.UploadMode;
import dev.caskeleton.application.fileserver.upload.AppendUploadResult;
import dev.caskeleton.application.fileserver.upload.CreateUploadRequest;
import dev.caskeleton.application.fileserver.upload.FinalizeUploadRequest;
@@ -44,6 +45,7 @@ import org.springframework.web.bind.annotation.RestController;
* <p>Every protocol request validates {@code Tus-Resumable} first. An offset mismatch answers
* {@code 409} without touching the body, which is what makes a mismatched resume safe to retry.
*/
@OwnsAbsoluteWebRoute
@RestController
@ConditionalOnProperty(
prefix = "app.fileserver-platform",
@@ -110,7 +112,7 @@ public class TusController {
Optional.ofNullable(parser.metadata(request).get("filetype")),
parser.declaredLength(request),
Optional.empty(),
UploadProtocol.TUS_1_0,
UploadMode.RESUMABLE,
expiresAt),
context);
@@ -1,6 +1,7 @@
package dev.caskeleton.adapter.inbound.web.filter;
import dev.caskeleton.adapter.inbound.web.auth.AuthenticatedPrincipal;
import dev.caskeleton.adapter.inbound.web.core.WebRequestId;
import dev.caskeleton.adapter.inbound.web.observability.HeaderSanitizer;
import dev.caskeleton.adapter.inbound.web.observability.MdcKeys;
import dev.caskeleton.application.observability.UserPrincipalPseudonymizerPort;
@@ -22,12 +23,13 @@ import org.springframework.web.servlet.HandlerMapping;
/**
* Logs one structured line per HTTP request and threads the correlation ids onto MDC using the
* snake_case keys of {@link MdcKeys}. Inbound {@code X-Request-Id} / {@code X-Correlation-Id} are
* sanitized and length-capped before use; absent/blank values are server-generated. A valid inbound
* W3C {@code traceparent} is adopted onto MDC ({@code trace_id} / {@code span_id}), otherwise a
* fresh ROOT traceparent is generated; the resolved value is set on the response header. {@code
* user_principal} is pseudonymized via {@link UserPrincipalPseudonymizerPort} before being placed
* on MDC.
* snake_case keys of {@link MdcKeys}. The request id is assigned by the transport's request-id
* filter and stored as a {@link WebRequestId}; this filter never makes a second trust decision from
* {@code X-Request-Id}. Inbound {@code X-Correlation-Id} is sanitized and length-capped before use;
* absent/blank values are server-generated. A valid inbound W3C {@code traceparent} is adopted onto
* MDC ({@code trace_id} / {@code span_id}), otherwise a fresh ROOT traceparent is generated; the
* resolved value is set on the response header. {@code user_principal} is pseudonymized via {@link
* UserPrincipalPseudonymizerPort} before being placed on MDC.
*
* <p>See README for the design rationale, including the fork landmine around the generated {@code
* trace_id} when a real tracer is later wired in.
@@ -53,7 +55,9 @@ public class RequestLoggingFilter extends OncePerRequestFilter {
HttpServletRequest req, HttpServletResponse res, FilterChain chain)
throws ServletException, IOException {
String requestId = resolveOrGenerate(req.getHeader(HEADER_REQUEST_ID));
Object assignedRequestId = req.getAttribute(WebRequestId.REQUEST_ATTRIBUTE);
String requestId =
assignedRequestId instanceof WebRequestId id ? id.value() : UUID.randomUUID().toString();
String correlationId = resolveOrGenerate(req.getHeader(HEADER_CORRELATION_ID));
res.setHeader(HEADER_REQUEST_ID, requestId);
res.setHeader(HEADER_CORRELATION_ID, correlationId);
@@ -6,8 +6,7 @@ package dev.caskeleton.adapter.inbound.web.http;
*/
public final class ApiHeaders {
// versioning + idempotency name
public static final String X_API_VERSION = "X-Api-Version";
// idempotency
public static final String IDEMPOTENCY_KEY = "Idempotency-Key";
// conditional requests
@@ -8,12 +8,11 @@ import java.util.Optional;
/**
* One success response: a status, its headers and the resource itself.
*
* <p>The body is the resource, not a wrapper around it. The design forbids a global {@code
* ApiResponse<T>} envelope and the reason is worth keeping next to the type: an envelope puts a
* second status inside a response that already has one, so a client has two places to look and they
* can disagree. It also makes every response a custom media type in practice, which costs the
* platform every generic HTTP tool — a cache that understands {@code 304}, a client generator that
* understands a schema, a proxy that understands {@code Content-Type}.
* <p>This type models the HTTP status, headers and resource before any composition-specific
* response body policy is applied. The shipped servlet application wraps JSON success bodies in the
* shared {@code Envelope}; the reusable problem-document fixtures deliberately do not. Keeping the
* HTTP response model free of either wrapper lets the composition root choose one wire contract
* without teaching status/header policy about that choice.
*
* @param <T> the resource type
* @param status the HTTP status
@@ -1,74 +0,0 @@
package dev.caskeleton.adapter.inbound.web.idempotency;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import tools.jackson.databind.JsonNode;
import tools.jackson.databind.ObjectMapper;
import tools.jackson.databind.node.ArrayNode;
import tools.jackson.databind.node.ObjectNode;
/**
* Renders a request model into bytes that are the same for two requests that mean the same thing.
*
* <p>The design's rule is that raw JSON bytes are not the fingerprint source, and the reason is
* that they are not stable across anything: a client library that reorders object members, a proxy
* that reformats, a version bump that changes whitespace — each turns a retry into a different
* request and breaks the key silently.
*
* <p>So the model is serialised, re-read as a tree, canonicalised with object members sorted, and
* printed with no incidental whitespace. Array order is preserved, because an array is a sequence
* and reordering it does change what was asked for.
*/
public final class DeterministicCommandEncoder {
private final ObjectMapper mapper;
/**
* An encoder over a mapper.
*
* @param mapper the mapper the platform reads requests with
*/
public DeterministicCommandEncoder(ObjectMapper mapper) {
this.mapper = Objects.requireNonNull(mapper, "mapper");
}
/**
* The canonical form of a request model.
*
* @param command the bound request model, or null when the operation takes no body
*/
public String canonicalize(Object command) {
if (command == null) {
return "";
}
try {
JsonNode tree = mapper.valueToTree(command);
return canonicalize(tree).toString();
} catch (RuntimeException notSerialisable) {
throw new IllegalArgumentException(
"the request model cannot be canonicalised, so it cannot be fingerprinted",
notSerialisable);
}
}
/** Sorts object members recursively, leaving array order alone. */
private JsonNode canonicalize(JsonNode node) {
if (node.isObject()) {
ObjectNode sorted = mapper.createObjectNode();
List<String> names = new ArrayList<>(node.propertyNames());
names.sort(String::compareTo);
for (String name : names) {
sorted.set(name, canonicalize(node.get(name)));
}
return sorted;
}
if (node.isArray()) {
ArrayNode array = mapper.createArrayNode();
// Order preserved: an array is a sequence, and reordering it changes what was asked for.
node.forEach(element -> array.add(canonicalize(element)));
return array;
}
return node;
}
}
@@ -1,102 +0,0 @@
package dev.caskeleton.adapter.inbound.web.idempotency;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.TreeMap;
/**
* Which headers are part of what a request asked for.
*
* <p>An allowlist, and a short one. Most headers describe the exchange rather than the intent:
* {@code traceparent}, {@code X-Request-Id} and {@code User-Agent} differ between a request and its
* retry, so including them means a legitimate retry looks like a different request and the
* idempotency key stops working — silently, and only under the network conditions that make retries
* happen.
*
* <p>{@code Authorization} and {@code Cookie} are excluded for a different reason: the fingerprint
* is stored, and a stored digest of a credential is a credential in the database.
*/
public final class FingerprintHeaderPolicy {
/** Headers that change what a request means. */
private static final Set<String> SEMANTIC_BY_DEFAULT =
Set.of("content-type", "content-language", "accept-language");
/** Headers that must never reach a stored digest. */
private static final Set<String> NEVER =
Set.of(
"authorization",
"proxy-authorization",
"cookie",
"set-cookie",
"traceparent",
"tracestate",
"x-request-id",
"user-agent",
"date",
"idempotency-key");
private final Set<String> included;
private FingerprintHeaderPolicy(Set<String> included) {
this.included = Set.copyOf(included);
}
/** The platform default: the three headers that change meaning. */
public static FingerprintHeaderPolicy standard() {
return new FingerprintHeaderPolicy(SEMANTIC_BY_DEFAULT);
}
/**
* A policy including additional headers.
*
* @param headerNames headers this deployment considers semantic
* @throws IllegalArgumentException when one of them is a credential or a per-exchange value
*/
public static FingerprintHeaderPolicy including(Set<String> headerNames) {
Objects.requireNonNull(headerNames, "headerNames");
for (String name : headerNames) {
if (NEVER.contains(name.toLowerCase(Locale.ROOT))) {
throw new IllegalArgumentException(
"header '"
+ name
+ "' must not be fingerprinted: it is either a credential, which would be stored as"
+ " a digest, or per-exchange, which would make a legitimate retry look different");
}
}
var included = new java.util.TreeSet<>(SEMANTIC_BY_DEFAULT);
headerNames.forEach(name -> included.add(name.toLowerCase(Locale.ROOT)));
return new FingerprintHeaderPolicy(included);
}
/**
* The headers that contribute, lower-cased and sorted.
*
* @param headers the request headers
*/
public Map<String, String> select(Map<String, String> headers) {
Map<String, String> selected = new TreeMap<>();
if (headers == null) {
return selected;
}
headers.forEach(
(name, value) -> {
if (name == null || value == null) {
return;
}
String lower = name.toLowerCase(Locale.ROOT);
if (included.contains(lower) && !NEVER.contains(lower)) {
selected.put(lower, value.trim());
}
});
return selected;
}
/** Whether a header contributes. */
public boolean contributes(String headerName) {
String lower = headerName == null ? "" : headerName.toLowerCase(Locale.ROOT);
return included.contains(lower) && !NEVER.contains(lower);
}
}
@@ -1,85 +0,0 @@
package dev.caskeleton.adapter.inbound.web.idempotency;
import dev.caskeleton.application.idempotency.IdempotencyRecord;
import java.util.Objects;
import java.util.Optional;
/**
* What the transport should do with a keyed request.
*
* <p>Four outcomes rather than a boolean, because each leads somewhere different: run the
* operation, replay a stored response, tell the caller their request is already in flight, or tell
* them the key was used for something else. Collapsing them would force the fingerprint mismatch to
* share an answer with one of the others — and answering that with a replay hands the caller a
* receipt for a request they never made.
*
* @param outcome what the transport should do
* @param record the record already held, when there is one
*/
public record IdempotencyAdmission(Outcome outcome, Optional<IdempotencyRecord> record) {
public IdempotencyAdmission {
Objects.requireNonNull(outcome, "outcome");
Objects.requireNonNull(record, "record");
}
/** What the transport should do. */
public enum Outcome {
/** No key was supplied and the operation does not require one: run it unguarded. */
NOT_KEYED,
/** The claim was won: run the operation. */
PROCEED,
/** A completed record exists for the same request: answer with the stored response. */
REPLAY,
/** Another attempt with this key is running: answer 409. */
IN_PROGRESS,
/** The key was used for a different request: answer 422 rather than replaying. */
FINGERPRINT_MISMATCH
}
/** The operation runs with no idempotency record. */
public static IdempotencyAdmission notKeyed() {
return new IdempotencyAdmission(Outcome.NOT_KEYED, Optional.empty());
}
/** The claim was won. */
public static IdempotencyAdmission proceed() {
return new IdempotencyAdmission(Outcome.PROCEED, Optional.empty());
}
/** A stored response answers this request. */
public static IdempotencyAdmission replay(IdempotencyRecord record) {
return new IdempotencyAdmission(Outcome.REPLAY, Optional.of(record));
}
/** Another attempt holds the key. */
public static IdempotencyAdmission inProgress(IdempotencyRecord record) {
return new IdempotencyAdmission(Outcome.IN_PROGRESS, Optional.of(record));
}
/**
* Another attempt holds the key and the record itself could not be read.
*
* <p>Reachable when a claim loses the race and the winner's record expires before it can be read.
* The answer is still 409: something else holds the key right now, and the caller's retry is the
* correct next move whether or not we can describe what it collided with.
*/
public static IdempotencyAdmission inProgressUnreadable() {
return new IdempotencyAdmission(Outcome.IN_PROGRESS, Optional.empty());
}
/** The key was used for a different request. */
public static IdempotencyAdmission fingerprintMismatch(IdempotencyRecord record) {
return new IdempotencyAdmission(Outcome.FINGERPRINT_MISMATCH, Optional.of(record));
}
/** Whether the transport should run the operation. */
public boolean shouldRun() {
return outcome == Outcome.PROCEED || outcome == Outcome.NOT_KEYED;
}
}
@@ -1,33 +0,0 @@
package dev.caskeleton.adapter.inbound.web.idempotency;
import java.util.regex.Pattern;
/**
* The key a client supplies to make a mutation safe to repeat.
*
* <p>Bounded and printable because it becomes a database key and a log field. An unbounded key is a
* row somebody else pays for; a key with a newline in it is a log line the caller writes.
*
* <p>The value is opaque to the platform. A client that reuses one across different requests gets a
* conflict rather than a wrong answer, which is what the fingerprint check is for.
*
* @param value the client-supplied key
*/
public record IdempotencyKey(String value) {
/** Long enough for a UUID or a ULID, short enough to index. */
private static final Pattern GRAMMAR = Pattern.compile("[A-Za-z0-9._:-]{8,255}");
public IdempotencyKey {
if (value == null || !GRAMMAR.matcher(value).matches()) {
throw new IllegalArgumentException("an idempotency key must match [A-Za-z0-9._:-]{8,255}");
}
}
@Override
public String toString() {
// Never the value: this ends up in log lines, and the key identifies a caller's in-flight
// mutation, which is enough to replay somebody else's response to them.
return "IdempotencyKey[***]";
}
}
@@ -1,66 +0,0 @@
package dev.caskeleton.adapter.inbound.web.idempotency;
import dev.caskeleton.adapter.inbound.web.auth.AuthenticatedPrincipal;
import dev.caskeleton.adapter.inbound.web.http.ApiHeaders;
import dev.caskeleton.application.idempotency.IdempotencyScope;
import dev.caskeleton.application.idempotency.IdempotentResponseCodec;
import dev.caskeleton.application.idempotency.RequestFingerprint;
import dev.caskeleton.shared.error.MappingException;
import jakarta.servlet.http.HttpServletRequest;
import java.util.Optional;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Component;
import tools.jackson.core.JacksonException;
import tools.jackson.databind.ObjectMapper;
/**
* Web-side helper that assembles the inputs the application {@code IdempotencyExecutor} needs from
* an HTTP request: the {@code Idempotency-Key} header, the scope (principal + use case name, tenant
* seam), the request body fingerprint, and a JSON response codec. See README for the design
* rationale.
*/
@Component
public class IdempotencyKeySupport {
private final ObjectMapper objectMapper;
public IdempotencyKeySupport(ObjectMapper objectMapper) {
this.objectMapper = objectMapper;
}
/** The trimmed {@code Idempotency-Key} header value, or empty when absent/blank. */
public Optional<String> idempotencyKey(HttpServletRequest request) {
String value = request.getHeader(ApiHeaders.IDEMPOTENCY_KEY);
return (value == null || value.isBlank()) ? Optional.empty() : Optional.of(value.trim());
}
/** Build the scope for the current authenticated caller (tenant left null). */
public IdempotencyScope scope(String idempotencyKey, String useCaseName) {
return IdempotencyScope.of(currentPrincipal(), idempotencyKey, useCaseName);
}
/** SHA-256 fingerprint of the serialized request payload. */
public RequestFingerprint fingerprint(Object requestPayload) {
try {
return RequestFingerprint.ofSha256(objectMapper.writeValueAsBytes(requestPayload));
} catch (JacksonException e) {
throw new MappingException("failed to fingerprint idempotent request payload", e);
}
}
/** A JSON codec for replaying a use case result of type {@code R}. */
public <R> IdempotentResponseCodec<R> codec(Class<R> responseType) {
return new JsonIdempotentResponseCodec<>(objectMapper, responseType);
}
private static String currentPrincipal() {
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
if (auth != null
&& auth.isAuthenticated()
&& auth.getPrincipal() instanceof AuthenticatedPrincipal user) {
return user.idpUserId();
}
return null; // IdempotencyScope.of → IdempotencyScopeMissingException (400)
}
}
@@ -1,97 +0,0 @@
package dev.caskeleton.adapter.inbound.web.idempotency;
import dev.caskeleton.adapter.inbound.web.error.ProblemCode;
import dev.caskeleton.application.idempotency.IdempotencyRecord;
import dev.caskeleton.application.idempotency.StoredResponse;
import java.util.Objects;
import java.util.Optional;
/**
* How an {@link IdempotencyAdmission} becomes an HTTP answer, decided once for both stacks.
*
* <p>The mapping is the contract clients depend on — 409 means "retry shortly", 422 means "your key
* is spent, pick a new one", and a replay must be visibly a replay. Letting the MVC filter and the
* WebFlux filter each decide would make that contract a property of which container happened to
* serve the request.
*
* @param runOperation whether the operation should be invoked
* @param status the response status when it should not
* @param problemCode the failure code when the answer is a problem document
* @param replayPayload the stored response when the answer is a replay
*/
public record IdempotencyResponsePlan(
boolean runOperation,
int status,
Optional<ProblemCode> problemCode,
Optional<String> replayPayload) {
/** Marks a response as served from a stored record rather than freshly computed. */
public static final String REPLAYED_HEADER = "Idempotency-Replayed";
/** Tells a caller colliding with an in-flight attempt how long to wait. */
public static final String RETRY_AFTER_HEADER = "Retry-After";
/** Seconds advertised in {@code Retry-After} when an attempt is already in flight. */
public static final int IN_PROGRESS_RETRY_AFTER_SECONDS = 1;
public IdempotencyResponsePlan {
Objects.requireNonNull(problemCode, "problemCode");
Objects.requireNonNull(replayPayload, "replayPayload");
if (runOperation && (problemCode.isPresent() || replayPayload.isPresent())) {
throw new IllegalArgumentException("a plan that runs the operation cannot also answer it");
}
if (problemCode.isPresent() && replayPayload.isPresent()) {
throw new IllegalArgumentException("a plan cannot both fail and replay");
}
}
/**
* The plan for one admission.
*
* @param admission what the gate decided
* @param replayStatus the status the stored response was originally answered with
*/
public static IdempotencyResponsePlan of(IdempotencyAdmission admission, int replayStatus) {
Objects.requireNonNull(admission, "admission");
return switch (admission.outcome()) {
case NOT_KEYED, PROCEED ->
new IdempotencyResponsePlan(true, 0, Optional.empty(), Optional.empty());
case REPLAY ->
new IdempotencyResponsePlan(
false,
replayStatus,
Optional.empty(),
Optional.of(
admission
.record()
.map(IdempotencyRecord::response)
.map(StoredResponse::payload)
.orElseThrow(
() ->
new IllegalStateException(
"a REPLAY admission carries a COMPLETED record, and the record"
+ " type already refuses to be COMPLETED without a"
+ " response"))));
// 409, not 425 or 429: the caller is not too early and is not being throttled. Its own
// earlier attempt is still running, and the state it is asking about is genuinely in
// conflict until that attempt lands.
case IN_PROGRESS ->
new IdempotencyResponsePlan(
false,
409,
Optional.of(ProblemCode.IDEMPOTENCY_REQUEST_IN_PROGRESS),
Optional.empty());
// 422, not 409: the request is syntactically fine and nothing is racing it. What is wrong is
// that the key has already been spent on different content, and no retry of *this* request
// will ever succeed. 409 would invite exactly that useless retry.
case FINGERPRINT_MISMATCH ->
new IdempotencyResponsePlan(
false, 422, Optional.of(ProblemCode.IDEMPOTENCY_KEY_REUSED), Optional.empty());
};
}
/** Whether the answer is a stored response. */
public boolean replayed() {
return replayPayload.isPresent();
}
}
@@ -1,94 +0,0 @@
package dev.caskeleton.adapter.inbound.web.idempotency;
import dev.caskeleton.adapter.inbound.web.core.WebOperationName;
import dev.caskeleton.application.idempotency.RequestFingerprint;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.HexFormat;
import java.util.Map;
import java.util.Objects;
/**
* Builds the digest that decides whether a repeated key is the same request.
*
* <p>Four inputs: the operation, the normalised path identifiers, the canonical request model and
* the selected headers. Each is there because leaving it out lets two different requests share a
* fingerprint — and a shared fingerprint means the second one is answered with the first one's
* stored response.
*
* <p>The path identifiers matter most and are the easiest to forget: {@code POST
* /accounts/1/transfers} and {@code POST /accounts/2/transfers} have identical bodies when the
* amount is the same, so a fingerprint over the body alone would let a caller's transfer from one
* account be answered with the receipt from another.
*
* <p>It produces {@code application-core}'s {@link RequestFingerprint} rather than a web-owned one.
* That module already owns the idempotency port, the record and the store contract, and a second
* fingerprint type in the transport would be a second answer to "is this the same request" — the
* canonical-ownership conflict this repository has had to unpick before.
*
* <p>What this class adds is the <em>semantic</em> construction the application port cannot make:
* {@code RequestFingerprint.ofSha256(byte[])} hashes the raw body, and raw bytes are not stable
* across a client library that reorders members or a proxy that reformats.
*/
public final class SemanticRequestFingerprintFactory {
private static final char SEPARATOR = '\u001f';
private final DeterministicCommandEncoder encoder;
private final FingerprintHeaderPolicy headerPolicy;
/**
* A factory over an encoder and a header policy.
*
* @param encoder renders the request model canonically
* @param headerPolicy decides which headers are part of the request's meaning
*/
public SemanticRequestFingerprintFactory(
DeterministicCommandEncoder encoder, FingerprintHeaderPolicy headerPolicy) {
this.encoder = Objects.requireNonNull(encoder, "encoder");
this.headerPolicy = Objects.requireNonNull(headerPolicy, "headerPolicy");
}
/**
* The fingerprint of one keyed request.
*
* @param operation the operation being invoked
* @param pathVariables the identifiers the path named, keyed by variable name
* @param command the bound request model, or null
* @param headers the request headers
*/
public RequestFingerprint create(
WebOperationName operation,
Map<String, String> pathVariables,
Object command,
Map<String, String> headers) {
Objects.requireNonNull(operation, "operation");
StringBuilder canonical = new StringBuilder();
canonical.append(operation.value());
new java.util.TreeMap<>(pathVariables == null ? Map.<String, String>of() : pathVariables)
.forEach(
(name, value) -> canonical.append(SEPARATOR).append(name).append('=').append(value));
canonical.append(SEPARATOR).append(encoder.canonicalize(command));
headerPolicy
.select(headers)
.forEach(
(name, value) -> canonical.append(SEPARATOR).append(name).append(':').append(value));
return new RequestFingerprint(digest(canonical.toString()));
}
/**
* Lower-case hex, because that is the shape {@code RequestFingerprint} accepts.
*
* <p>Base64 would be shorter and would be rejected: the application type validates its input, so
* the encoding is part of that contract rather than this class's choice.
*/
private static String digest(String canonical) {
try {
MessageDigest sha256 = MessageDigest.getInstance("SHA-256");
return HexFormat.of().formatHex(sha256.digest(canonical.getBytes(StandardCharsets.UTF_8)));
} catch (NoSuchAlgorithmException impossible) {
throw new IllegalStateException("SHA-256 is required by every JVM", impossible);
}
}
}

Some files were not shown because too many files have changed in this diff Show More