refactor: 리펙토링 진행중 의존성 gradle은 얇게 유지, 각 모듈에서 처리하고 있는 부분에 대해서 리펙토링
This commit is contained in:
@@ -12,15 +12,20 @@ Package root: `dev.caskeleton.adapter.inbound.websocket`.
|
||||
|
||||
## Responsibility
|
||||
|
||||
- Opt-in STOMP over SockJS transport configuration and typed validation.
|
||||
- HTTP-handshake principal enforcement and client-inbound STOMP destination authorization.
|
||||
- Fixed client-safe STOMP `ERROR` mapping.
|
||||
- Best-effort in-process event push through an explicit `LiveEventProjector` allowlist.
|
||||
- Bounded `Map<String, String>` wire projections; never raw domain object serialization.
|
||||
This leaf contains **two different scopes** and they must not be read as one deployed feature:
|
||||
|
||||
The module is absent from both shipped runtime compositions. Being registered and tested does not
|
||||
activate it. A future composition must deliberately add the registered dependency and set
|
||||
`ca-skeleton.websocket.enabled=true` with explicit safe origins.
|
||||
1. **Opt-in STOMP/SockJS channel** — `stomp/**` owns the Spring transport configuration, typed
|
||||
`app.websocket.*` settings, handshake principal/origin checks, destination policy,
|
||||
fixed client-safe STOMP `ERROR` mapping, and best-effort in-process event projection.
|
||||
2. **WebSocket platform library** — the larger `core/protocol/handshake/outbound/resume/cluster/`
|
||||
`presence/codec/servlet/...` packages provide reusable protocol, budget, backpressure,
|
||||
lifecycle and qualification machinery. The shipped composition does **not** assemble
|
||||
`PlatformWebSocketHandler` or expose this platform as a runtime endpoint.
|
||||
|
||||
The module itself is absent from both shipped runtime compositions. Being registered and tested
|
||||
does not activate either scope. Adding the leaf to a future composition is a build-time decision;
|
||||
enabling a concrete runtime still requires that composition to own the corresponding root wiring
|
||||
and configuration.
|
||||
|
||||
## Allowed
|
||||
|
||||
@@ -38,16 +43,59 @@ activate it. A future composition must deliberately add the registered dependenc
|
||||
- A production feature `@MessageMapping` in this skeleton leaf.
|
||||
- A module-local YAML file; composition roots own property values.
|
||||
|
||||
## Typed settings (`ca-skeleton.websocket.*`)
|
||||
## Typed settings (`app.websocket.*`)
|
||||
|
||||
| key | default | enabled-mode contract |
|
||||
There is one property tree and one operator env prefix: `app.websocket.*` ↔ `APP_WEBSOCKET_*`.
|
||||
The default bootJar does not contain this leaf, so these values matter only in a composition that
|
||||
adopts it.
|
||||
|
||||
| property | env | default / role |
|
||||
| --- | --- | --- |
|
||||
| `enabled` | `false` | must be explicitly `true` to create config and broadcaster |
|
||||
| `endpoint` | `/ws` | normalized absolute path, no query/fragment/traversal |
|
||||
| `allowed-origins` | `http://localhost:3000` | explicit HTTP(S) origins only; blank/wildcard/path rejected |
|
||||
| `broadcast-destination` | `/topic/events` | one normalized `/topic/**` destination |
|
||||
| `app.websocket.enabled` | `APP_WEBSOCKET_ENABLED` | `false`; enables the legacy STOMP/SockJS channel |
|
||||
| `app.websocket.endpoint` | `APP_WEBSOCKET_ENDPOINT` | `/ws` |
|
||||
| `app.websocket.allowed-origins` | `APP_WEBSOCKET_ALLOWED_ORIGINS` | `http://localhost:3000`; explicit origins only |
|
||||
| `app.websocket.broadcast-destination` | `APP_WEBSOCKET_BROADCAST_DESTINATION` | `/topic/events` |
|
||||
| `app.websocket.platform.enabled` | `APP_WEBSOCKET_PLATFORM_ENABLED` | `false`; enables validation for an explicitly assembled platform runtime |
|
||||
| `app.websocket.platform.node-id` | `APP_WEBSOCKET_PLATFORM_NODE_ID` | `local` |
|
||||
| `app.websocket.platform.allowed-origins` | `APP_WEBSOCKET_PLATFORM_ALLOWED_ORIGINS` | empty by default |
|
||||
| `app.websocket.platform.allow-missing-origin` | `APP_WEBSOCKET_PLATFORM_ALLOW_MISSING_ORIGIN` | `false` |
|
||||
| `app.websocket.platform.max-frame-bytes` | `APP_WEBSOCKET_PLATFORM_MAX_FRAME_BYTES` | `65536` |
|
||||
| `app.websocket.platform.max-message-bytes` | `APP_WEBSOCKET_PLATFORM_MAX_MESSAGE_BYTES` | `524288` |
|
||||
| `app.websocket.platform.max-fragments` | `APP_WEBSOCKET_PLATFORM_MAX_FRAGMENTS` | `16` |
|
||||
| `app.websocket.platform.max-buffered-outbound-bytes-per-connection` | `APP_WEBSOCKET_PLATFORM_MAX_BUFFERED_OUTBOUND_BYTES_PER_CONNECTION` | `1048576` |
|
||||
| `app.websocket.platform.max-buffered-outbound-bytes-per-node` | `APP_WEBSOCKET_PLATFORM_MAX_BUFFERED_OUTBOUND_BYTES_PER_NODE` | `67108864` |
|
||||
| `app.websocket.platform.max-connections-per-actor` | `APP_WEBSOCKET_PLATFORM_MAX_CONNECTIONS_PER_ACTOR` | `4` |
|
||||
| `app.websocket.platform.ping-interval` | `APP_WEBSOCKET_PLATFORM_PING_INTERVAL` | `15s` |
|
||||
| `app.websocket.platform.idle-timeout` | `APP_WEBSOCKET_PLATFORM_IDLE_TIMEOUT` | `45s` |
|
||||
| `app.websocket.platform.max-connection-age` | `APP_WEBSOCKET_PLATFORM_MAX_CONNECTION_AGE` | `4h` |
|
||||
| `app.websocket.platform.ticket-lifetime` | `APP_WEBSOCKET_PLATFORM_TICKET_LIFETIME` | `30s` |
|
||||
| `app.websocket.advanced.sockjs.enabled` | `APP_WEBSOCKET_ADVANCED_SOCKJS_ENABLED` | `false` |
|
||||
| `app.websocket.advanced.stomp.enabled` | `APP_WEBSOCKET_ADVANCED_STOMP_ENABLED` | `false` |
|
||||
| `app.websocket.advanced.stomp.relay.enabled` | `APP_WEBSOCKET_ADVANCED_STOMP_RELAY_ENABLED` | `false` |
|
||||
|
||||
`WebSocketProperties` is `@Validated`. Invalid enabled settings fail context startup.
|
||||
`WebSocketProperties` is `@Validated`. Invalid enabled settings fail context startup. Advanced
|
||||
capabilities without a concrete runtime configuration do **not** get synthetic env keys merely
|
||||
because they exist in `WebSocketAdvancedCapability`.
|
||||
|
||||
## Adopting this capability
|
||||
|
||||
WebSocket is a **build-composition opt-in**, not a dormant feature inside the default bootJar.
|
||||
|
||||
1. Add `:adapter:inbound:websocket` to the consuming composition's runtime dependencies and add
|
||||
the matching allowed edge in `config/architecture/modules.json`.
|
||||
2. Keep settings registration with the capability root; do not add
|
||||
`dev.caskeleton.adapter.inbound.websocket` back to the shipped
|
||||
`@ConfigurationPropertiesScan`.
|
||||
3. For the STOMP/SockJS channel, supply composition-owned configuration and explicitly enable
|
||||
`app.websocket.enabled=true` with a non-wildcard origin allowlist.
|
||||
4. Do **not** treat the larger platform library as deployed merely because the jar is present.
|
||||
A composition must explicitly assemble its handler/lifecycle dependencies before the platform
|
||||
runbook applies.
|
||||
5. Run the leaf qualification lanes and the repository conditional-transport aggregate before
|
||||
promoting the composition:
|
||||
`./gradlew :adapter:inbound:websocket:test :adapter:inbound:websocket:systemTest :conditionalTransportQualification`.
|
||||
6. Production adoption is not complete until the property namespace/env-registry contract is
|
||||
registered in the composition SSOT; do not invent an unregistered `APP_*` switch locally.
|
||||
|
||||
## Inbound policy
|
||||
|
||||
@@ -71,10 +119,10 @@ That is a future adoption example, not an existing runtime feature.
|
||||
|
||||
## Evidence and limits
|
||||
|
||||
`WebSocketBoundaryQualificationTest` starts a random-port Tomcat and crosses real SockJS/STOMP
|
||||
handshake, Origin, principal, subscription, server projection push, application SEND, broker SEND
|
||||
rejection, and ERROR redaction. Unit tests cover settings, projector cardinality/bounds, and channel
|
||||
policy.
|
||||
The fast `test` lane covers settings, policy, protocol, budget and module-boundary behavior.
|
||||
`WebSocketBoundaryQualificationTest` now lives in `systemTest`; it starts a random-port Tomcat
|
||||
and crosses real SockJS/STOMP handshake, Origin, principal, subscription, server projection push,
|
||||
application SEND, broker SEND rejection, and ERROR redaction.
|
||||
|
||||
The simple broker is local, single-process, best-effort R1 evidence only. Broker relay,
|
||||
multi-node/durable delivery, rollback-safe publication, replay/resume, backpressure, and a versioned
|
||||
|
||||
@@ -6,7 +6,7 @@ live in [CLAUDE.md](CLAUDE.md); this document records why the P1 boundary has th
|
||||
## Opt-in instead of accidental exposure
|
||||
|
||||
The leaf is built and tested but is not part of `app-bootstrap` or `sample-portfolio` production
|
||||
runtime membership. Even after a future composition adds it, `ca-skeleton.websocket.enabled=false`
|
||||
runtime membership. Even after a future composition adds it, `app.websocket.enabled=false`
|
||||
keeps its configuration and broadcaster absent. Enabling requires explicit non-wildcard origins,
|
||||
so merely adding the artifact cannot expose a wildcard STOMP broker.
|
||||
|
||||
|
||||
@@ -59,6 +59,9 @@ dependencies {
|
||||
// tests and available to the composition root. A rule pack that only its own fixture tests import
|
||||
// is verified as library code and applied to nothing.
|
||||
auxiliarySourceSets {
|
||||
sourceSet('systemTest') {
|
||||
compilesAgainst 'main', 'testFixtures'
|
||||
}
|
||||
// Jetty replaces Tomcat for this lane only. With both on one classpath Boot starts Tomcat and
|
||||
// the lane certifies the same container twice — which for a WebSocket matters more than for
|
||||
// HTTP, because upgrade handling, close-frame timing and idle handling are all container code.
|
||||
@@ -111,6 +114,13 @@ dependencies {
|
||||
strictTestLanes {
|
||||
// Docker-gated, and it fails rather than skipping. A proxy contract that quietly passes without
|
||||
// a proxy has been certifying nothing since whenever the container runtime last broke.
|
||||
lane('systemTest') {
|
||||
system()
|
||||
sourceSet = 'systemTest'
|
||||
description = 'Runs the WebSocket transport and abuse contracts against real Tomcat sockets.'
|
||||
jvmArgs '-Duser.timezone=UTC'
|
||||
}
|
||||
|
||||
lane('websocketNginxTest') {
|
||||
integration()
|
||||
sourceSet = 'nginxWebSocketTest'
|
||||
@@ -121,8 +131,9 @@ strictTestLanes {
|
||||
// The real-container lane. Upgrade negotiation, close-frame handling and idle behaviour are
|
||||
// container code, so a mock dispatcher certifies none of it.
|
||||
lane('websocketJettyTest') {
|
||||
system()
|
||||
sourceSet = 'jettyWebSocketTest'
|
||||
description = 'Runs the WebSocket runtime contract against a real Jetty instead of Tomcat.'
|
||||
description = 'Runs the WebSocket system contract against a real Jetty instead of Tomcat.'
|
||||
jvmArgs '-Duser.timezone=UTC'
|
||||
}
|
||||
|
||||
@@ -139,7 +150,7 @@ strictTestLanes {
|
||||
|
||||
extensions.getByName('strictQualification').register(
|
||||
'websocketTransportQualificationTest',
|
||||
sourceSets.test,
|
||||
sourceSets.systemTest,
|
||||
[
|
||||
'dev.caskeleton.adapter.inbound.websocket.stomp.WebSocketBoundaryQualificationTest'
|
||||
],
|
||||
|
||||
@@ -1,78 +1,78 @@
|
||||
# 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,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,testCompileClasspath
|
||||
ch.qos.logback:logback-classic:1.5.38=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
ch.qos.logback:logback-core:1.5.38=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.fasterxml.jackson.core:jackson-annotations:2.21=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.fasterxml:classmate:1.7.3=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.github.ben-manes.caffeine:caffeine:3.2.4=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
biz.aQute.bnd:biz.aQute.bnd.annotation:7.1.0=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath
|
||||
ch.qos.logback:logback-classic:1.5.38=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
ch.qos.logback:logback-core:1.5.38=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.fasterxml.jackson.core:jackson-annotations:2.21=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.fasterxml:classmate:1.7.3=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.github.ben-manes.caffeine:caffeine:3.2.4=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.github.docker-java:docker-java-api:3.7.1=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
com.github.docker-java:docker-java-transport-zerodep:3.7.1=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
com.github.docker-java:docker-java-transport:3.7.1=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
com.github.kevinstern:software-and-algorithms:1.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.github.kevinstern:software-and-algorithms:1.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,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,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.auto.value:auto-value-annotations:1.9=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.auto:auto-common:1.2.2=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.auto.service:auto-service-annotations:1.0.1=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.auto.value:auto-value-annotations:1.9=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.auto:auto-common:1.2.2=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,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,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.errorprone:error_prone_annotations:2.38.0=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,testCompileClasspath
|
||||
com.google.errorprone:error_prone_annotation:2.49.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.errorprone:error_prone_annotations:2.38.0=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath
|
||||
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,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.errorprone:error_prone_check_api:2.49.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.errorprone:error_prone_core:2.49.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.googlejavaformat:google-java-format:1.35.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.guava:failureaccess:1.0.3=annotationProcessor,checkstyle,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.guava:guava:33.5.0-jre=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.errorprone:error_prone_annotations:2.49.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.errorprone:error_prone_check_api:2.49.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.errorprone:error_prone_core:2.49.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.googlejavaformat:google-java-format:1.35.0=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.guava:failureaccess:1.0.3=annotationProcessor,checkstyle,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.guava:guava:33.5.0-jre=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,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,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.j2objc:j2objc-annotations:3.1=annotationProcessor,checkstyle,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.protobuf:protobuf-java:4.33.2=annotationProcessor,compileClasspath,jettyWebSocketTestAnnotationProcessor,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestAnnotationProcessor,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor,testRuntimeClasspath
|
||||
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=annotationProcessor,checkstyle,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.j2objc:j2objc-annotations:3.1=annotationProcessor,checkstyle,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
com.google.protobuf:protobuf-java:4.33.2=annotationProcessor,compileClasspath,jettyWebSocketTestAnnotationProcessor,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestAnnotationProcessor,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestAnnotationProcessor,systemTestCompileClasspath,systemTestRuntimeClasspath,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor,testRuntimeClasspath
|
||||
com.h3xstream.findsecbugs:findsecbugs-plugin:1.14.0=spotbugsPlugins
|
||||
com.jayway.jsonpath:json-path:2.10.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
com.jayway.jsonpath:json-path:2.10.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
com.puppycrawl.tools:checkstyle:13.5.0=checkstyle
|
||||
com.tngtech.archunit:archunit-junit5-api:1.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.tngtech.archunit:archunit-junit5-engine-api:1.3.0=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.tngtech.archunit:archunit-junit5-engine:1.3.0=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.tngtech.archunit:archunit-junit5:1.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.tngtech.archunit:archunit:1.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.vaadin.external.google:android-json:0.0.20131108.vaadin1=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
com.tngtech.archunit:archunit-junit5-api:1.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.tngtech.archunit:archunit-junit5-engine-api:1.3.0=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,systemTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.tngtech.archunit:archunit-junit5-engine:1.3.0=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,systemTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.tngtech.archunit:archunit-junit5:1.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.tngtech.archunit:archunit:1.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
com.vaadin.external.google:android-json:0.0.20131108.vaadin1=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
commons-beanutils:commons-beanutils:1.11.0=checkstyle
|
||||
commons-codec:commons-codec:1.19.0=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
commons-collections:commons-collections:3.2.2=checkstyle
|
||||
commons-io:commons-io:2.20.0=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
commons-io:commons-io:2.21.0=spotbugs
|
||||
commons-logging:commons-logging:1.3.6=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
commons-logging:commons-logging:1.3.6=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
info.picocli:picocli:4.7.7=checkstyle
|
||||
io.github.eisop:dataflow-errorprone:3.41.0-eisop1=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
io.github.java-diff-utils:java-diff-utils:4.12=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
io.micrometer:micrometer-commons:1.16.7=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
io.micrometer:micrometer-observation:1.16.7=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
io.projectreactor:reactor-core:3.8.7=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
jakarta.activation:jakarta.activation-api:2.1.4=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
jakarta.annotation:jakarta.annotation-api:3.0.0=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
io.github.eisop:dataflow-errorprone:3.41.0-eisop1=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
io.github.java-diff-utils:java-diff-utils:4.12=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
io.micrometer:micrometer-commons:1.16.7=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
io.micrometer:micrometer-observation:1.16.7=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
io.projectreactor:reactor-core:3.8.7=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
jakarta.activation:jakarta.activation-api:2.1.4=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
jakarta.annotation:jakarta.annotation-api:3.0.0=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
jakarta.enterprise:jakarta.enterprise.cdi-api:4.1.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
jakarta.enterprise:jakarta.enterprise.lang-model:4.1.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
jakarta.inject:jakarta.inject-api:2.0.1=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
jakarta.interceptor:jakarta.interceptor-api:2.2.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
jakarta.servlet:jakarta.servlet-api:6.1.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
jakarta.transaction:jakarta.transaction-api:2.0.1=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
jakarta.validation:jakarta.validation-api:3.1.1=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
jakarta.validation:jakarta.validation-api:3.1.1=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
jakarta.websocket:jakarta.websocket-api:2.2.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
jakarta.websocket:jakarta.websocket-client-api:2.2.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
jakarta.xml.bind:jakarta.xml.bind-api:4.0.5=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
javax.inject:javax.inject:1=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
jakarta.xml.bind:jakarta.xml.bind-api:4.0.5=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
javax.inject:javax.inject:1=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
jaxen:jaxen:2.0.6=spotbugs
|
||||
net.bytebuddy:byte-buddy-agent:1.17.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
net.bytebuddy:byte-buddy:1.17.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
net.bytebuddy:byte-buddy-agent:1.17.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
net.bytebuddy:byte-buddy:1.17.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
net.java.dev.jna:jna:5.18.1=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
net.minidev:accessors-smart:2.6.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
net.minidev:json-smart:2.6.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
net.minidev:accessors-smart:2.6.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
net.minidev:json-smart:2.6.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,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
|
||||
@@ -82,20 +82,20 @@ 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,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.apache.logging.log4j:log4j-api:2.25.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,spotbugs,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.apache.logging.log4j:log4j-core:2.25.5=spotbugs
|
||||
org.apache.logging.log4j:log4j-to-slf4j:2.25.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.apache.logging.log4j:log4j-to-slf4j:2.25.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,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=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.apache.tomcat.embed:tomcat-embed-el:11.0.24=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.apache.tomcat.embed:tomcat-embed-websocket:11.0.24=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.apache.tomcat.embed:tomcat-embed-core:11.0.24=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.apache.tomcat.embed:tomcat-embed-el:11.0.24=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.apache.tomcat.embed:tomcat-embed-websocket:11.0.24=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.apache.xbean:xbean-reflect:3.7=checkstyle
|
||||
org.apiguardian:apiguardian-api:1.1.2=jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath
|
||||
org.assertj:assertj-core:3.27.7=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.awaitility:awaitility:4.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.apiguardian:apiguardian-api:1.1.2=jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath,testFixturesCompileClasspath
|
||||
org.assertj:assertj-core:3.27.7=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.awaitility:awaitility:4.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,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
|
||||
@@ -131,91 +131,91 @@ org.eclipse.jetty:jetty-server:12.1.12=jettyWebSocketTestCompileClasspath,jettyW
|
||||
org.eclipse.jetty:jetty-session:12.1.12=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
org.eclipse.jetty:jetty-util:12.1.12=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
org.eclipse.jetty:jetty-xml:12.1.12=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
org.hamcrest:hamcrest:3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.hibernate.validator:hibernate-validator:9.0.1.Final=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.hamcrest:hamcrest:3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.hibernate.validator:hibernate-validator:9.0.1.Final=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.javassist:javassist:3.28.0-GA=checkstyle
|
||||
org.jboss.logging:jboss-logging:3.6.3.Final=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.jboss.logging:jboss-logging:3.6.3.Final=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.jetbrains:annotations:17.0.0=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
org.jspecify:jspecify:1.0.1=annotationProcessor,checkstyle,compileClasspath,jettyWebSocketTestAnnotationProcessor,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestAnnotationProcessor,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.jupiter:junit-jupiter-api:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.jupiter:junit-jupiter-engine:6.0.3=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.jupiter:junit-jupiter-params:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.junit.jupiter:junit-jupiter:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.junit.platform:junit-platform-commons:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.platform:junit-platform-engine:6.0.3=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.platform:junit-platform-launcher:6.0.3=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit:junit-bom:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.jspecify:jspecify:1.0.1=annotationProcessor,checkstyle,compileClasspath,jettyWebSocketTestAnnotationProcessor,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestAnnotationProcessor,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestAnnotationProcessor,systemTestCompileClasspath,systemTestRuntimeClasspath,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.jupiter:junit-jupiter-api:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.jupiter:junit-jupiter-engine:6.0.3=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,systemTestRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.jupiter:junit-jupiter-params:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.junit.jupiter:junit-jupiter:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.junit.platform:junit-platform-commons:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.platform:junit-platform-engine:6.0.3=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,systemTestRuntimeClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit.platform:junit-platform-launcher:6.0.3=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,systemTestRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit:junit-bom:6.0.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.junit:junit-bom:6.1.0=spotbugs
|
||||
org.mockito:mockito-core:5.20.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,mockitoAgent,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.mockito:mockito-junit-jupiter:5.20.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.objenesis:objenesis:3.3=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,testRuntimeClasspath
|
||||
org.opentest4j:opentest4j:1.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.osgi:org.osgi.annotation.bundle:2.0.0=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,testCompileClasspath
|
||||
org.osgi:org.osgi.annotation.versioning:1.1.2=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,testCompileClasspath
|
||||
org.osgi:org.osgi.resource:1.0.0=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,testCompileClasspath
|
||||
org.osgi:org.osgi.service.serviceloader:1.0.0=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,testCompileClasspath
|
||||
org.mockito:mockito-core:5.20.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,mockitoAgent,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.mockito:mockito-junit-jupiter:5.20.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.objenesis:objenesis:3.3=jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestRuntimeClasspath,systemTestRuntimeClasspath,testRuntimeClasspath
|
||||
org.opentest4j:opentest4j:1.3.0=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.osgi:org.osgi.annotation.bundle:2.0.0=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath
|
||||
org.osgi:org.osgi.annotation.versioning:1.1.2=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath
|
||||
org.osgi:org.osgi.resource:1.0.0=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath
|
||||
org.osgi:org.osgi.service.serviceloader:1.0.0=compileClasspath,jettyWebSocketTestCompileClasspath,nginxWebSocketTestCompileClasspath,systemTestCompileClasspath,testCompileClasspath
|
||||
org.ow2.asm:asm-analysis:9.10.1=spotbugs
|
||||
org.ow2.asm:asm-commons:9.10.1=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,spotbugs
|
||||
org.ow2.asm:asm-tree:9.10.1=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,spotbugs
|
||||
org.ow2.asm:asm-util:9.10.1=spotbugs
|
||||
org.ow2.asm:asm:9.10.1=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,spotbugs
|
||||
org.ow2.asm:asm:9.7.1=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.pcollections:pcollections:4.0.1=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
org.reactivestreams:reactive-streams:1.0.4=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.ow2.asm:asm:9.7.1=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.pcollections:pcollections:4.0.1=annotationProcessor,jettyWebSocketTestAnnotationProcessor,nginxWebSocketTestAnnotationProcessor,systemTestAnnotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
|
||||
org.reactivestreams:reactive-streams:1.0.4=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.reflections:reflections:0.10.2=checkstyle
|
||||
org.rnorth.duct-tape:duct-tape:1.0.8=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
org.skyscreamer:jsonassert:1.5.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.slf4j:jul-to-slf4j:2.0.18=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.slf4j:slf4j-api:2.0.18=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,spotbugs,spotbugsSlf4j,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.skyscreamer:jsonassert:1.5.3=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.slf4j:jul-to-slf4j:2.0.18=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.slf4j:slf4j-api:2.0.18=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,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,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-autoconfigure:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-configuration-processor:4.0.8=annotationProcessor
|
||||
org.springframework.boot:spring-boot-http-converter:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-jackson:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-http-converter:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-jackson:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-jetty:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-resttestclient:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-servlet:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-jackson-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-jackson:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-resttestclient:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-servlet:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-jackson-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-jackson:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-jetty-runtime:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-jetty:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-logging:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-tomcat:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-validation:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-webmvc:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-websocket:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-test-autoconfigure:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-tomcat:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-validation:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-web-server:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-webmvc-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-webmvc:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-websocket:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-aop:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-beans:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-context:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-core:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-expression:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-messaging:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-test:7.0.9=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-web:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-webflux:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-webmvc:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-websocket:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-logging:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-tomcat-runtime:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-tomcat:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-validation:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-webmvc-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-webmvc:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter-websocket:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-starter:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-test-autoconfigure:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-tomcat:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-validation:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-web-server:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-webmvc-test:4.0.8=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-webmvc:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot-websocket:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework.boot:spring-boot:4.0.8=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-aop:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-beans:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-context:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-core:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-expression:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-messaging:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-test:7.0.9=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-web:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-webflux:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-webmvc:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.springframework:spring-websocket:7.0.9=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.testcontainers:testcontainers-junit-jupiter:2.0.5=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
org.testcontainers:testcontainers:2.0.5=nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath
|
||||
org.xmlresolver:xmlresolver:5.3.3=checkstyle,spotbugs
|
||||
org.xmlunit:xmlunit-core:2.10.4=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.yaml:snakeyaml:2.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
tools.jackson.core:jackson-core:3.1.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
tools.jackson.core:jackson-databind:3.1.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
tools.jackson.dataformat:jackson-dataformat-cbor:3.1.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
tools.jackson:jackson-bom:3.1.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
org.xmlunit:xmlunit-core:2.10.4=jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
org.yaml:snakeyaml:2.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
tools.jackson.core:jackson-core:3.1.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
tools.jackson.core:jackson-databind:3.1.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
tools.jackson.dataformat:jackson-dataformat-cbor:3.1.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
tools.jackson:jackson-bom:3.1.5=compileClasspath,jettyWebSocketTestCompileClasspath,jettyWebSocketTestRuntimeClasspath,nginxWebSocketTestCompileClasspath,nginxWebSocketTestRuntimeClasspath,runtimeClasspath,systemTestCompileClasspath,systemTestRuntimeClasspath,testCompileClasspath,testFixturesRuntimeClasspath,testRuntimeClasspath
|
||||
empty=
|
||||
|
||||
+5
-19
@@ -1,19 +1,12 @@
|
||||
package dev.caskeleton.adapter.inbound.websocket.advanced;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* The capabilities that are not part of Stable, each behind its own flag.
|
||||
* The Advanced capabilities tracked by promotion evidence.
|
||||
*
|
||||
* <p>One flag per capability rather than one for "advanced", because they have nothing in common
|
||||
* operationally. Enabling resume adds a token and a store; enabling a Redis fan-out adds a network
|
||||
* dependency to the delivery path; enabling STOMP adds a second protocol parser reachable from an
|
||||
* unauthenticated frame. 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. A capability that defaulted on would be in production
|
||||
* before anyone reviewed what it costs, and several of these change the failure modes of the whole
|
||||
* platform rather than adding a feature beside it.
|
||||
* <p>This enum deliberately does not manufacture configuration property names. A catalog entry is
|
||||
* not proof that a runtime implementation or feature flag exists. Concrete configuration classes
|
||||
* own the flags for the capabilities that are actually wired today (STOMP, broker relay and
|
||||
* SockJS); the remaining entries describe promotion/evidence scope only.
|
||||
*/
|
||||
public enum WebSocketAdvancedCapability {
|
||||
|
||||
@@ -71,13 +64,6 @@ public enum WebSocketAdvancedCapability {
|
||||
/** The GraphQL-over-WebSocket transport. */
|
||||
GRAPHQL_TRANSPORT;
|
||||
|
||||
/** The property that enables this capability. */
|
||||
public String propertyName() {
|
||||
return "backend.websocket.advanced."
|
||||
+ name().toLowerCase(Locale.ROOT).replace('_', '-')
|
||||
+ ".enabled";
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether this capability changes the platform's failure modes rather than adding beside them.
|
||||
*
|
||||
|
||||
+6
-15
@@ -6,12 +6,15 @@ package dev.caskeleton.adapter.inbound.websocket.advanced.resume;
|
||||
* <p>The distinctions are not for the client, which is told the same thing for most of them — they
|
||||
* are for the operator. "Clients cannot resume" has completely different causes and remedies
|
||||
* depending on which of these is climbing: an expired-token spike is a client that has been offline
|
||||
* longer than the window, an unknown-key spike is a key rotation that removed a key still in use,
|
||||
* and a replay spike is either a client bug or somebody replaying captured tokens.
|
||||
* longer than the window and an unknown-key spike is a key rotation that removed a key still in
|
||||
* use.
|
||||
*
|
||||
* <p>This codec is stateless. A valid token may therefore be presented again until it expires;
|
||||
* replay detection is not claimed by this outcome model.
|
||||
*/
|
||||
public enum ResumeTokenOutcome {
|
||||
|
||||
/** Valid, unspent, and within its window. */
|
||||
/** Valid and within its window. */
|
||||
ACCEPTED,
|
||||
|
||||
/**
|
||||
@@ -29,18 +32,6 @@ public enum ResumeTokenOutcome {
|
||||
/** Well-formed, correctly signed, and past its expiry. */
|
||||
EXPIRED,
|
||||
|
||||
/**
|
||||
* Already used.
|
||||
*
|
||||
* <p>Distinct from expired because it means something different: a token is single-use, so a
|
||||
* second presentation is either a client that retried without minting a new one or somebody
|
||||
* replaying a captured token. Both need looking at; neither is normal.
|
||||
*/
|
||||
REPLAYED,
|
||||
|
||||
/** Correctly signed but bound to a different actor, endpoint, session or subprotocol. */
|
||||
NOT_AUTHORISED,
|
||||
|
||||
/** The signature does not verify. */
|
||||
TAMPERED;
|
||||
|
||||
|
||||
+3
-3
@@ -18,9 +18,9 @@ import java.util.Objects;
|
||||
* decode. Without the session id there is nothing to resume.
|
||||
*
|
||||
* <p>The stream positions are the substance: a resume is "I last saw N on each of these streams",
|
||||
* and the server sends what came after. Carrying them in the token rather than trusting the client
|
||||
* to restate them is what makes a replayed token detectable — a token presented twice asks for the
|
||||
* same range twice, which is a different thing from a client legitimately catching up.
|
||||
* and the server sends what came after. Carrying them in the signed token prevents the client from
|
||||
* moving those positions. It does not make the token single-use: without a redemption store the
|
||||
* same valid token can request the same replay range again until it expires.
|
||||
*
|
||||
* @param sessionId the session being resumed
|
||||
* @param actor who may resume it
|
||||
|
||||
+20
-7
@@ -6,6 +6,7 @@ import dev.caskeleton.adapter.inbound.websocket.core.WebSocketEndpointProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.security.WebSocketOriginPolicy;
|
||||
import java.time.Duration;
|
||||
import java.util.Objects;
|
||||
import org.springframework.beans.factory.ObjectProvider;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
|
||||
@@ -35,7 +36,7 @@ import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry
|
||||
@EnableWebSocket
|
||||
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET)
|
||||
@ConditionalOnProperty(
|
||||
prefix = "app.websocket-platform.advanced.sockjs",
|
||||
prefix = "app.websocket.advanced.sockjs",
|
||||
name = "enabled",
|
||||
havingValue = "true")
|
||||
public class SockJsConfiguration implements WebSocketConfigurer {
|
||||
@@ -47,13 +48,17 @@ public class SockJsConfiguration implements WebSocketConfigurer {
|
||||
|
||||
public SockJsConfiguration(
|
||||
SockJsCompatibilityProfile profile,
|
||||
WebSocketEndpointCatalog endpoints,
|
||||
WebSocketOriginPolicy origins,
|
||||
WebSocketHandler handler) {
|
||||
ObjectProvider<WebSocketEndpointCatalog> endpoints,
|
||||
ObjectProvider<WebSocketOriginPolicy> origins,
|
||||
ObjectProvider<WebSocketHandler> handler) {
|
||||
this.profile = Objects.requireNonNull(profile, "profile");
|
||||
this.endpoints = Objects.requireNonNull(endpoints, "endpoints");
|
||||
this.origins = Objects.requireNonNull(origins, "origins");
|
||||
this.handler = Objects.requireNonNull(handler, "handler");
|
||||
this.endpoints =
|
||||
required(
|
||||
endpoints, "SockJS requires a WebSocketEndpointCatalog bean from the composition root");
|
||||
this.origins =
|
||||
required(origins, "SockJS requires a WebSocketOriginPolicy bean from the composition root");
|
||||
this.handler =
|
||||
required(handler, "SockJS requires a WebSocketHandler bean from the composition root");
|
||||
}
|
||||
|
||||
/** The fallback set, overridable by a deployment that knows its browser population. */
|
||||
@@ -92,6 +97,14 @@ public class SockJsConfiguration implements WebSocketConfigurer {
|
||||
}
|
||||
}
|
||||
|
||||
private static <T> T required(ObjectProvider<T> provider, String message) {
|
||||
T value = provider.getIfAvailable();
|
||||
if (value == null) {
|
||||
throw new IllegalStateException(message);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
private static EndpointContentClass contentClassOf(WebSocketEndpointProfile endpoint) {
|
||||
// Derived from whether the endpoint authenticates. An endpoint that requires a credential is
|
||||
// carrying something worth protecting; a public one is not. A deployment with a finer answer
|
||||
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
package dev.caskeleton.adapter.inbound.websocket.advanced.stomp;
|
||||
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.env.Environment;
|
||||
|
||||
/**
|
||||
* Connects the Advanced STOMP broker exclusivity rule to the actual Spring startup lifecycle.
|
||||
*
|
||||
* <p>This configuration lives inside the Advanced package on purpose. Stable WebSocket modules may
|
||||
* not depend on Advanced modules, so the Stable startup guard cannot call this policy without
|
||||
* breaking the leaf's internal DAG.
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class AdvancedStompSafetyConfiguration {
|
||||
|
||||
@Bean
|
||||
InitializingBean advancedStompBrokerExclusivity(Environment environment) {
|
||||
return () -> {
|
||||
boolean legacyStomp = enabled(environment, "app.websocket.enabled");
|
||||
boolean advancedStomp = enabled(environment, "app.websocket.advanced.stomp.enabled");
|
||||
boolean relay = enabled(environment, "app.websocket.advanced.stomp.relay.enabled");
|
||||
|
||||
// There is currently no Advanced simple-broker configuration in this leaf. Passing false is
|
||||
// intentional: enabling Advanced STOMP without the relay is an incomplete composition and
|
||||
// must fail rather than start a brokerless message pipeline.
|
||||
StompBrokerExclusivity.verify(legacyStomp, advancedStomp, false, relay);
|
||||
};
|
||||
}
|
||||
|
||||
private static boolean enabled(Environment environment, String key) {
|
||||
return environment.getProperty(key, Boolean.class, false);
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -24,7 +24,7 @@ public final class StompBrokerExclusivity {
|
||||
/**
|
||||
* Fail the context rather than start an ambiguous broker.
|
||||
*
|
||||
* @param legacyStompEnabled whether {@code ca-skeleton.websocket.enabled} is set
|
||||
* @param legacyStompEnabled whether {@code app.websocket.enabled} is set
|
||||
* @param advancedStompEnabled whether the Advanced STOMP capability is named
|
||||
* @param simpleBrokerEnabled whether the in-memory broker is configured
|
||||
* @param relayEnabled whether the RabbitMQ relay is configured
|
||||
@@ -37,7 +37,7 @@ public final class StompBrokerExclusivity {
|
||||
List<String> faults = new ArrayList<>();
|
||||
if (legacyStompEnabled && advancedStompEnabled) {
|
||||
faults.add(
|
||||
"both the legacy STOMP channel (ca-skeleton.websocket.enabled) and the Advanced STOMP "
|
||||
"both the legacy STOMP channel (app.websocket.enabled) and the Advanced STOMP "
|
||||
+ "adapter are enabled; each configures the message broker and the one that wins is "
|
||||
+ "decided by bean ordering");
|
||||
}
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerCo
|
||||
@EnableWebSocketMessageBroker
|
||||
@Import(StompDefaultsConfiguration.class)
|
||||
@ConditionalOnProperty(
|
||||
prefix = "app.websocket-platform.advanced.stomp",
|
||||
prefix = "app.websocket.advanced.stomp",
|
||||
name = "enabled",
|
||||
havingValue = "true")
|
||||
public class StompConfiguration implements WebSocketMessageBrokerConfigurer {
|
||||
|
||||
+9
-3
@@ -18,7 +18,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(
|
||||
prefix = "app.websocket-platform.advanced.stomp",
|
||||
prefix = "app.websocket.advanced.stomp",
|
||||
name = "enabled",
|
||||
havingValue = "true")
|
||||
public class StompDefaultsConfiguration {
|
||||
@@ -39,8 +39,14 @@ public class StompDefaultsConfiguration {
|
||||
*/
|
||||
@Bean
|
||||
@ConditionalOnMissingBean
|
||||
public StompAuthorizationPolicy stompAuthorizationPolicy(StompDestinationCatalog catalog) {
|
||||
return new StompAuthorizationPolicy(catalog);
|
||||
public StompAuthorizationPolicy stompAuthorizationPolicy(
|
||||
ObjectProvider<StompDestinationCatalog> catalog) {
|
||||
StompDestinationCatalog value = catalog.getIfAvailable();
|
||||
if (value == null) {
|
||||
throw new IllegalStateException(
|
||||
"Advanced STOMP requires a StompDestinationCatalog bean from the composition root");
|
||||
}
|
||||
return new StompAuthorizationPolicy(value);
|
||||
}
|
||||
|
||||
/** The interceptor, given whatever this deployment uses to read a principal's permissions. */
|
||||
|
||||
+9
-3
@@ -2,6 +2,7 @@ package dev.caskeleton.adapter.inbound.websocket.advanced.stomp.rabbit;
|
||||
|
||||
import dev.caskeleton.adapter.inbound.websocket.advanced.stomp.StompProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.core.WebSocketNodeId;
|
||||
import org.springframework.beans.factory.ObjectProvider;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@@ -22,7 +23,7 @@ import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerCo
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(
|
||||
prefix = "app.websocket-platform.advanced.stomp.relay",
|
||||
prefix = "app.websocket.advanced.stomp.relay",
|
||||
name = "enabled",
|
||||
havingValue = "true")
|
||||
public class RabbitBrokerRelayConfiguration implements WebSocketMessageBrokerConfigurer {
|
||||
@@ -55,8 +56,13 @@ public class RabbitBrokerRelayConfiguration implements WebSocketMessageBrokerCon
|
||||
@Bean
|
||||
@ConditionalOnMissingBean
|
||||
public MultiNodeUserDestination multiNodeUserDestination(
|
||||
UserDestinationPolicy policy, WebSocketNodeId nodeId) {
|
||||
return new MultiNodeUserDestination(policy, nodeId);
|
||||
UserDestinationPolicy policy, ObjectProvider<WebSocketNodeId> nodeId) {
|
||||
WebSocketNodeId value = nodeId.getIfAvailable();
|
||||
if (value == null) {
|
||||
throw new IllegalStateException(
|
||||
"STOMP relay requires a WebSocketNodeId bean from the composition root");
|
||||
}
|
||||
return new MultiNodeUserDestination(policy, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+95
@@ -0,0 +1,95 @@
|
||||
package dev.caskeleton.adapter.inbound.websocket.config;
|
||||
|
||||
import dev.caskeleton.adapter.inbound.websocket.authz.MessageAuthorizationPolicy;
|
||||
import dev.caskeleton.adapter.inbound.websocket.core.WebSocketEndpointCatalog;
|
||||
import dev.caskeleton.adapter.inbound.websocket.core.WebSocketStackProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketMessageCatalog;
|
||||
import dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketProtocolProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.security.WebSocketAuthenticationProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.security.WebSocketOriginPolicy;
|
||||
import java.util.Set;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.beans.factory.ObjectProvider;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.env.Environment;
|
||||
|
||||
/**
|
||||
* Connects the WebSocket fail-closed policy objects to the actual Spring startup lifecycle.
|
||||
*
|
||||
* <p>The policy classes are useful only if the composition root cannot bypass them. This
|
||||
* configuration deliberately performs the checks during context startup: an incoherent transport
|
||||
* either starts with every required contract in place or does not start at all.
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class WebSocketPlatformSafetyConfiguration {
|
||||
|
||||
@Bean
|
||||
InitializingBean webSocketPlatformSafetyGuards(
|
||||
Environment environment,
|
||||
ObjectProvider<WebSocketEndpointCatalog> endpoints,
|
||||
ObjectProvider<WebSocketMessageCatalog> messages,
|
||||
ObjectProvider<MessageAuthorizationPolicy> authorization,
|
||||
ObjectProvider<WebSocketOriginPolicy> origins,
|
||||
ObjectProvider<WebSocketAuthenticationProfile> authentication,
|
||||
ObjectProvider<WebSocketProtocolProfile> protocol) {
|
||||
return () -> {
|
||||
if (!enabled(environment, "app.websocket.platform.enabled")) {
|
||||
return;
|
||||
}
|
||||
|
||||
WebSocketEndpointCatalog endpointCatalog =
|
||||
require(endpoints, "WebSocketEndpointCatalog", "app.websocket.platform.enabled");
|
||||
WebSocketMessageCatalog messageCatalog =
|
||||
require(messages, "WebSocketMessageCatalog", "app.websocket.platform.enabled");
|
||||
MessageAuthorizationPolicy authorizationPolicy =
|
||||
require(authorization, "MessageAuthorizationPolicy", "app.websocket.platform.enabled");
|
||||
WebSocketOriginPolicy originPolicy =
|
||||
require(origins, "WebSocketOriginPolicy", "app.websocket.platform.enabled");
|
||||
WebSocketAuthenticationProfile authenticationProfile =
|
||||
require(
|
||||
authentication, "WebSocketAuthenticationProfile", "app.websocket.platform.enabled");
|
||||
WebSocketProtocolProfile protocolProfile =
|
||||
require(protocol, "WebSocketProtocolProfile", "app.websocket.platform.enabled");
|
||||
|
||||
Set<WebSocketStackProfile> stacks =
|
||||
endpointCatalog.all().stream()
|
||||
.map(profile -> profile.stack())
|
||||
.collect(java.util.stream.Collectors.toUnmodifiableSet());
|
||||
if (stacks.size() == 1) {
|
||||
WebSocketStackExclusivity.require(stacks.iterator().next());
|
||||
}
|
||||
|
||||
new WebSocketPlatformStartupValidator(production(environment))
|
||||
.validate(
|
||||
endpointCatalog,
|
||||
messageCatalog,
|
||||
authorizationPolicy,
|
||||
originPolicy,
|
||||
authenticationProfile,
|
||||
protocolProfile);
|
||||
};
|
||||
}
|
||||
|
||||
private static boolean enabled(Environment environment, String key) {
|
||||
return environment.getProperty(key, Boolean.class, false);
|
||||
}
|
||||
|
||||
private static boolean production(Environment environment) {
|
||||
for (String profile : environment.getActiveProfiles()) {
|
||||
if ("prod".equals(profile) || "production".equals(profile)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private static <T> T require(ObjectProvider<T> provider, String type, String feature) {
|
||||
T value = provider.getIfAvailable();
|
||||
if (value == null) {
|
||||
throw new IllegalStateException(
|
||||
feature + " requires a " + type + " bean from the composition root");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -32,7 +32,7 @@ import org.springframework.boot.context.properties.bind.DefaultValue;
|
||||
* @param maxConnectionAge how long any connection may live
|
||||
* @param ticketLifetime how long a connection ticket is valid
|
||||
*/
|
||||
@ConfigurationProperties(prefix = "backend.websocket")
|
||||
@ConfigurationProperties(prefix = "app.websocket.platform")
|
||||
public record WebSocketPlatformSettings(
|
||||
@DefaultValue("false") boolean enabled,
|
||||
@DefaultValue("local") String nodeId,
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ public record WebSocketSubprotocolName(String value) {
|
||||
|
||||
/** The Stable production subprotocol. */
|
||||
public static WebSocketSubprotocolName stable() {
|
||||
return new WebSocketSubprotocolName("hyeonworks.realtime.v1.json");
|
||||
return new WebSocketSubprotocolName("ca-skeleton.realtime.v1.json");
|
||||
}
|
||||
|
||||
/** Whether the token carries a version segment. */
|
||||
|
||||
+7
-6
@@ -1,7 +1,7 @@
|
||||
package dev.caskeleton.adapter.inbound.websocket.moduleboundary;
|
||||
|
||||
/**
|
||||
* Whether a module may name a framework type.
|
||||
* Whether a module may name a runtime/framework type.
|
||||
*
|
||||
* <p>The distinction is load-bearing for this platform specifically. A WebSocket connection is a
|
||||
* long-lived object owned by a container, and the temptation to reach for the container's own
|
||||
@@ -12,12 +12,13 @@ package dev.caskeleton.adapter.inbound.websocket.moduleboundary;
|
||||
public enum WebSocketModulePurity {
|
||||
|
||||
/**
|
||||
* Java standard library and this platform's own types only.
|
||||
* Framework-free decision code.
|
||||
*
|
||||
* <p>No Spring, no Servlet, no Reactor, no Netty. The design requires it of {@code
|
||||
* websocket-core-api} and it is worth more here than in an HTTP platform: the same decision has
|
||||
* to hold for a servlet session and a reactive one, and a module that can see neither cannot
|
||||
* accidentally depend on one.
|
||||
* <p>Java standard library, this platform's own types, and repository-owned application/domain
|
||||
* contracts are allowed. Application ports are intentional: they keep a capability testable
|
||||
* without a server while still letting it delegate durable storage/fan-out to the application
|
||||
* boundary. Spring, Servlet, Reactor, Netty, Jackson, logging/metrics runtime types are not
|
||||
* allowed.
|
||||
*/
|
||||
CORE,
|
||||
|
||||
|
||||
+36
-14
@@ -35,6 +35,7 @@ public final class OutboundQueue {
|
||||
private final int maxMessages;
|
||||
private final long maxBytes;
|
||||
private long bufferedBytes;
|
||||
private long retainedBytes;
|
||||
private long droppedMessages;
|
||||
private boolean losslessOverflowed;
|
||||
|
||||
@@ -80,18 +81,14 @@ public final class OutboundQueue {
|
||||
}
|
||||
|
||||
int bytes = message.byteCount();
|
||||
boolean roomLocally = size() < maxMessages && bufferedBytes + bytes <= maxBytes;
|
||||
boolean roomLocally = size() < maxMessages && retainedBytes + bytes <= maxBytes;
|
||||
if (!roomLocally || !globalBudget.reserve(bytes)) {
|
||||
if (roomLocally) {
|
||||
// The node ceiling refused it, not this connection's. Nothing was reserved, so nothing is
|
||||
// released.
|
||||
return refuse(message);
|
||||
}
|
||||
return refuse(message);
|
||||
}
|
||||
|
||||
lanes.get(message.priority()).addLast(message);
|
||||
bufferedBytes += bytes;
|
||||
retainedBytes += bytes;
|
||||
message.conflationKey().ifPresent(key -> conflatable.put(key, message));
|
||||
return OutboundEnqueueResult.ACCEPTED;
|
||||
}
|
||||
@@ -107,12 +104,26 @@ public final class OutboundQueue {
|
||||
lane -> {
|
||||
OutboundMessage message = lane.pollFirst();
|
||||
bufferedBytes -= message.byteCount();
|
||||
globalBudget.release(message.byteCount());
|
||||
message.conflationKey().ifPresent(key -> conflatable.remove(key, message));
|
||||
return message;
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Releases the connection-local and node-wide reservations after a dequeued message has finished
|
||||
* its socket write attempt.
|
||||
*
|
||||
* <p>Polling removes the message from this connection's pending queue, but the payload is still
|
||||
* retained by the writer while the sink is blocked. Releasing either byte reservation at poll
|
||||
* time lets a slow peer hold one in-flight payload beyond the configured memory ceiling.
|
||||
*/
|
||||
void releaseInFlight(OutboundMessage message) {
|
||||
Objects.requireNonNull(message, "message");
|
||||
retainedBytes -= message.byteCount();
|
||||
requireNonNegativeRetainedBytes();
|
||||
globalBudget.release(message.byteCount());
|
||||
}
|
||||
|
||||
/** How many messages are waiting. */
|
||||
public int size() {
|
||||
return lanes.values().stream().mapToInt(Deque::size).sum();
|
||||
@@ -147,15 +158,24 @@ public final class OutboundQueue {
|
||||
* every connection that was ever slow.
|
||||
*/
|
||||
public void discardAll() {
|
||||
lanes
|
||||
.values()
|
||||
.forEach(
|
||||
lane -> {
|
||||
lane.forEach(message -> globalBudget.release(message.byteCount()));
|
||||
lane.clear();
|
||||
});
|
||||
long discardedBytes = 0;
|
||||
for (Deque<OutboundMessage> lane : lanes.values()) {
|
||||
for (OutboundMessage message : lane) {
|
||||
discardedBytes += message.byteCount();
|
||||
globalBudget.release(message.byteCount());
|
||||
}
|
||||
lane.clear();
|
||||
}
|
||||
conflatable.clear();
|
||||
bufferedBytes = 0;
|
||||
retainedBytes -= discardedBytes;
|
||||
requireNonNegativeRetainedBytes();
|
||||
}
|
||||
|
||||
private void requireNonNegativeRetainedBytes() {
|
||||
if (retainedBytes < 0) {
|
||||
throw new IllegalStateException("connection outbound byte accounting became negative");
|
||||
}
|
||||
}
|
||||
|
||||
private OutboundEnqueueResult refuse(OutboundMessage message) {
|
||||
@@ -175,11 +195,13 @@ public final class OutboundQueue {
|
||||
lane.remove(superseded);
|
||||
globalBudget.release(superseded.byteCount());
|
||||
bufferedBytes -= superseded.byteCount();
|
||||
retainedBytes -= superseded.byteCount();
|
||||
// Reserved for the replacement before it is queued. Assuming the sizes match would let a
|
||||
// growing conflated value drift past both bounds one byte at a time.
|
||||
if (globalBudget.reserve(replacement.byteCount())) {
|
||||
lanes.get(replacement.priority()).addLast(replacement);
|
||||
bufferedBytes += replacement.byteCount();
|
||||
retainedBytes += replacement.byteCount();
|
||||
conflatable.put(replacement.conflationKey().orElseThrow(), replacement);
|
||||
} else {
|
||||
conflatable.remove(superseded.conflationKey().orElseThrow());
|
||||
|
||||
+9
@@ -142,6 +142,15 @@ public final class SerializedOutboundWriter {
|
||||
queueLock.unlock();
|
||||
}
|
||||
return;
|
||||
} finally {
|
||||
// A polled payload is still retained while sink.write blocks, so both its connection and
|
||||
// node-wide reservations end only when that write attempt has completed.
|
||||
queueLock.lock();
|
||||
try {
|
||||
queue.releaseInFlight(message);
|
||||
} finally {
|
||||
queueLock.unlock();
|
||||
}
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
||||
+9
-8
@@ -18,8 +18,9 @@ import java.util.Objects;
|
||||
* seconds later.
|
||||
* <li>The queue drains within the deadline. What is still queued at the deadline is lost, so the
|
||||
* deadline has to be longer than a full queue takes to write.
|
||||
* <li>Close is 1012 — service restart — not 1001 or 1006. A client can tell "come back" from
|
||||
* "something broke" only by the code, and 1006 means it never saw one at all.
|
||||
* <li>Close is 1001 — going away — rather than 1006. The deployed servlet/lifecycle path uses the
|
||||
* standard going-away signal for a node that is being drained; 1006 means the client never
|
||||
* saw a close frame at all.
|
||||
* <li>Clients reconnect with jitter. Without it every client of the restarted node reconnects in
|
||||
* the same instant and the replacement is met by the entire population at once.
|
||||
* <li>No duplicate command is produced. A reconnect that resends an in-flight command needs the
|
||||
@@ -33,8 +34,8 @@ import java.util.Objects;
|
||||
public record WebSocketRollingRestartScenario(
|
||||
Duration drainDeadline, int expectedCloseCode, Duration reconnectJitter) {
|
||||
|
||||
/** RFC 6455's service-restart close code. */
|
||||
public static final int SERVICE_RESTART = 1012;
|
||||
/** The deployed node-drain close code: RFC 6455 "going away". */
|
||||
public static final int RESTART_CLOSE_CODE = 1001;
|
||||
|
||||
public WebSocketRollingRestartScenario {
|
||||
Objects.requireNonNull(drainDeadline, "drainDeadline");
|
||||
@@ -48,17 +49,17 @@ public record WebSocketRollingRestartScenario(
|
||||
throw new IllegalArgumentException(
|
||||
"without jitter every client of the restarted node reconnects in the same instant");
|
||||
}
|
||||
if (expectedCloseCode != SERVICE_RESTART) {
|
||||
if (expectedCloseCode != RESTART_CLOSE_CODE) {
|
||||
throw new IllegalArgumentException(
|
||||
"a rolling restart closes 1012; 1001 says the server is going away for good and 1006"
|
||||
+ " says the client never saw a close frame at all");
|
||||
"a rolling restart closes 1001 because this node is going away; 1006 says the client"
|
||||
+ " never saw a close frame at all");
|
||||
}
|
||||
}
|
||||
|
||||
/** The conventional scenario. */
|
||||
public static WebSocketRollingRestartScenario conventional() {
|
||||
return new WebSocketRollingRestartScenario(
|
||||
Duration.ofSeconds(30), SERVICE_RESTART, Duration.ofSeconds(5));
|
||||
Duration.ofSeconds(30), RESTART_CLOSE_CODE, Duration.ofSeconds(5));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+13
-8
@@ -8,6 +8,7 @@ import dev.caskeleton.adapter.inbound.websocket.error.WebSocketFailureCategory;
|
||||
import dev.caskeleton.adapter.inbound.websocket.inbound.FragmentAssembler;
|
||||
import dev.caskeleton.adapter.inbound.websocket.inbound.FragmentAssemblyException;
|
||||
import dev.caskeleton.adapter.inbound.websocket.outbound.GlobalBufferBudget;
|
||||
import dev.caskeleton.adapter.inbound.websocket.outbound.OutboundEnqueueResult;
|
||||
import dev.caskeleton.adapter.inbound.websocket.outbound.OutboundQueue;
|
||||
import dev.caskeleton.adapter.inbound.websocket.outbound.SerializedOutboundWriter;
|
||||
import java.util.Map;
|
||||
@@ -170,14 +171,18 @@ public class PlatformWebSocketHandler extends TextWebSocketHandler
|
||||
if (writer == null) {
|
||||
return;
|
||||
}
|
||||
writer.offer(
|
||||
new dev.caskeleton.adapter.inbound.websocket.outbound.OutboundMessage(
|
||||
new dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketMessageId(
|
||||
Integer.toHexString(reply.hashCode()) + "-r"),
|
||||
reply,
|
||||
dev.caskeleton.adapter.inbound.websocket.outbound.OutboundDelivery.GUARANTEED,
|
||||
dev.caskeleton.adapter.inbound.websocket.outbound.OutboundPriority.RESPONSE,
|
||||
Optional.empty()));
|
||||
OutboundEnqueueResult result =
|
||||
writer.offer(
|
||||
new dev.caskeleton.adapter.inbound.websocket.outbound.OutboundMessage(
|
||||
new dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketMessageId(
|
||||
Integer.toHexString(reply.hashCode()) + "-r"),
|
||||
reply,
|
||||
dev.caskeleton.adapter.inbound.websocket.outbound.OutboundDelivery.GUARANTEED,
|
||||
dev.caskeleton.adapter.inbound.websocket.outbound.OutboundPriority.RESPONSE,
|
||||
Optional.empty()));
|
||||
if (result == OutboundEnqueueResult.CONNECTION_MUST_CLOSE) {
|
||||
closeFor(session, WebSocketFailureCategory.OVERLOADED, "outbound buffer exhausted");
|
||||
}
|
||||
}
|
||||
|
||||
private void closeFor(
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@ import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerCo
|
||||
* WebSocket (STOMP over SockJS) driving-adapter configuration.
|
||||
*
|
||||
* <ul>
|
||||
* <li>Clients connect to {@code ca-skeleton.websocket.endpoint} (default {@code /ws}).
|
||||
* <li>Clients connect to {@code app.websocket.endpoint} (default {@code /ws}).
|
||||
* <li>They subscribe under {@code /topic/**} to receive server pushes (the simple in-memory
|
||||
* broker).
|
||||
* <li>Client-to-server messages are routed to {@code @MessageMapping} methods under the {@code
|
||||
@@ -29,7 +29,7 @@ import org.springframework.web.socket.config.annotation.WebSocketMessageBrokerCo
|
||||
@Configuration
|
||||
@EnableWebSocketMessageBroker
|
||||
@EnableConfigurationProperties(WebSocketProperties.class)
|
||||
@ConditionalOnProperty(prefix = "ca-skeleton.websocket", name = "enabled", havingValue = "true")
|
||||
@ConditionalOnProperty(prefix = "app.websocket", name = "enabled", havingValue = "true")
|
||||
public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
|
||||
|
||||
private final WebSocketProperties properties;
|
||||
|
||||
+2
-2
@@ -7,8 +7,8 @@ import java.util.Arrays;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
/** WebSocket (STOMP) settings bound from {@code ca-skeleton.websocket.*}. */
|
||||
@ConfigurationProperties(prefix = "ca-skeleton.websocket")
|
||||
/** WebSocket (STOMP) settings bound from {@code app.websocket.*}. */
|
||||
@ConfigurationProperties(prefix = "app.websocket")
|
||||
@Validated
|
||||
public class WebSocketProperties {
|
||||
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ http {
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
server_name hyeonworks.com;
|
||||
server_name example.com;
|
||||
|
||||
location /ws/ {
|
||||
proxy_set_header Host $host;
|
||||
|
||||
@@ -31,7 +31,7 @@ http {
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
server_name hyeonworks.com;
|
||||
server_name example.com;
|
||||
|
||||
location /ws/ {
|
||||
proxy_http_version 1.1;
|
||||
@@ -43,7 +43,7 @@ http {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Host hyeonworks.com;
|
||||
proxy_set_header X-Forwarded-Host example.com;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header Forwarded "";
|
||||
|
||||
|
||||
+4
-4
@@ -55,10 +55,10 @@ import org.springframework.web.socket.sockjs.client.WebSocketTransport;
|
||||
classes = WebSocketBoundaryQualificationTest.TestBootstrap.class,
|
||||
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
|
||||
properties = {
|
||||
"ca-skeleton.websocket.enabled=true",
|
||||
"ca-skeleton.websocket.endpoint=/ws",
|
||||
"ca-skeleton.websocket.allowed-origins=https://allowed.example",
|
||||
"ca-skeleton.websocket.broadcast-destination=/topic/events"
|
||||
"app.websocket.enabled=true",
|
||||
"app.websocket.endpoint=/ws",
|
||||
"app.websocket.allowed-origins=https://allowed.example",
|
||||
"app.websocket.broadcast-destination=/topic/events"
|
||||
})
|
||||
class WebSocketBoundaryQualificationTest {
|
||||
|
||||
-18
@@ -174,24 +174,6 @@ class ResumeTokenTest {
|
||||
assertThat(ResumeTokenOutcome.EXPIRED.clientMayRetryWithNewToken()).isTrue();
|
||||
assertThat(ResumeTokenOutcome.UNKNOWN_KEY.clientMayRetryWithNewToken()).isTrue();
|
||||
assertThat(ResumeTokenOutcome.TAMPERED.clientMayRetryWithNewToken()).isFalse();
|
||||
assertThat(ResumeTokenOutcome.REPLAYED.clientMayRetryWithNewToken()).isFalse();
|
||||
assertThat(ResumeTokenOutcome.NOT_AUTHORISED.clientMayRetryWithNewToken()).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("every advanced capability has its own flag and none defaults on")
|
||||
void everyCapabilityHasItsOwnFlag() {
|
||||
// One flag for "advanced" would make enabling resume and enabling a network dependency in the
|
||||
// delivery path the same decision.
|
||||
assertThat(WebSocketAdvancedCapability.values()).hasSizeGreaterThan(10);
|
||||
assertThat(WebSocketAdvancedCapability.RESUME.propertyName())
|
||||
.isEqualTo("backend.websocket.advanced.resume.enabled");
|
||||
assertThat(
|
||||
java.util.Arrays.stream(WebSocketAdvancedCapability.values())
|
||||
.map(WebSocketAdvancedCapability::propertyName)
|
||||
.distinct()
|
||||
.count())
|
||||
.isEqualTo(WebSocketAdvancedCapability.values().length);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
package dev.caskeleton.adapter.inbound.websocket.config;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
import dev.caskeleton.adapter.inbound.websocket.stomp.WebSocketProperties;
|
||||
import java.util.Map;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.context.properties.bind.Bindable;
|
||||
import org.springframework.boot.context.properties.bind.Binder;
|
||||
import org.springframework.core.env.StandardEnvironment;
|
||||
import org.springframework.core.env.SystemEnvironmentPropertySource;
|
||||
|
||||
class WebSocketEnvironmentBindingTest {
|
||||
|
||||
@Test
|
||||
void officialAppWebsocketEnvironmentNamesBindTheCanonicalPropertyTree() {
|
||||
StandardEnvironment environment = new StandardEnvironment();
|
||||
environment
|
||||
.getPropertySources()
|
||||
.addFirst(
|
||||
new SystemEnvironmentPropertySource(
|
||||
"websocket-contract",
|
||||
Map.of(
|
||||
"APP_WEBSOCKET_ENABLED", "true",
|
||||
"APP_WEBSOCKET_ENDPOINT", "/live/ws",
|
||||
"APP_WEBSOCKET_ALLOWED_ORIGINS", "https://client.example",
|
||||
"APP_WEBSOCKET_BROADCAST_DESTINATION", "/topic/live",
|
||||
"APP_WEBSOCKET_PLATFORM_ENABLED", "true",
|
||||
"APP_WEBSOCKET_PLATFORM_NODE_ID", "node-a",
|
||||
"APP_WEBSOCKET_PLATFORM_MAX_FRAME_BYTES", "32768",
|
||||
"APP_WEBSOCKET_ADVANCED_STOMP_ENABLED", "true")));
|
||||
|
||||
WebSocketProperties stomp =
|
||||
Binder.get(environment)
|
||||
.bind("app.websocket", Bindable.of(WebSocketProperties.class))
|
||||
.orElseThrow(() -> new AssertionError("websocket env did not bind"));
|
||||
WebSocketPlatformSettings platform =
|
||||
Binder.get(environment)
|
||||
.bind("app.websocket.platform", Bindable.of(WebSocketPlatformSettings.class))
|
||||
.orElseThrow(() -> new AssertionError("websocket env did not bind"));
|
||||
|
||||
assertThat(stomp.isEnabled()).isTrue();
|
||||
assertThat(stomp.getEndpoint()).isEqualTo("/live/ws");
|
||||
assertThat(stomp.getAllowedOrigins()).isEqualTo("https://client.example");
|
||||
assertThat(stomp.getBroadcastDestination()).isEqualTo("/topic/live");
|
||||
|
||||
assertThat(platform.enabled()).isTrue();
|
||||
assertThat(platform.nodeId()).isEqualTo("node-a");
|
||||
assertThat(platform.maxFrameBytes()).isEqualTo(32768);
|
||||
|
||||
assertThat(environment.getProperty("app.websocket.advanced.stomp.enabled", Boolean.class))
|
||||
.isTrue();
|
||||
}
|
||||
}
|
||||
+167
@@ -0,0 +1,167 @@
|
||||
package dev.caskeleton.adapter.inbound.websocket.config;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
import dev.caskeleton.adapter.inbound.websocket.advanced.sockjs.SockJsConfiguration;
|
||||
import dev.caskeleton.adapter.inbound.websocket.advanced.stomp.AdvancedStompSafetyConfiguration;
|
||||
import dev.caskeleton.adapter.inbound.websocket.advanced.stomp.StompDefaultsConfiguration;
|
||||
import dev.caskeleton.adapter.inbound.websocket.advanced.stomp.StompProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.advanced.stomp.rabbit.RabbitBrokerRelayConfiguration;
|
||||
import dev.caskeleton.adapter.inbound.websocket.authz.MessageAuthorizationPolicy;
|
||||
import dev.caskeleton.adapter.inbound.websocket.budget.WebSocketConnectionBudget;
|
||||
import dev.caskeleton.adapter.inbound.websocket.core.WebSocketEndpointCatalog;
|
||||
import dev.caskeleton.adapter.inbound.websocket.core.WebSocketEndpointName;
|
||||
import dev.caskeleton.adapter.inbound.websocket.core.WebSocketEndpointProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.core.WebSocketStackProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketMessageCatalog;
|
||||
import dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketMessageDescriptor;
|
||||
import dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketMessageDirection;
|
||||
import dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketMessageFamily;
|
||||
import dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketMessageType;
|
||||
import dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketProtocolProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.protocol.WebSocketSchemaVersion;
|
||||
import dev.caskeleton.adapter.inbound.websocket.security.WebSocketAuthenticationProfile;
|
||||
import dev.caskeleton.adapter.inbound.websocket.security.WebSocketOriginPolicy;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
|
||||
import org.springframework.boot.test.context.runner.WebApplicationContextRunner;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
class WebSocketPlatformSafetyConfigurationTest {
|
||||
|
||||
private static final WebSocketMessageType PLACE = new WebSocketMessageType("order.place.v1");
|
||||
|
||||
@Test
|
||||
void advancedStompAndLegacyStompAreRejectedByTheActualStartupPath() {
|
||||
new ApplicationContextRunner()
|
||||
.withUserConfiguration(AdvancedStompSafetyConfiguration.class)
|
||||
.withPropertyValues(
|
||||
"app.websocket.enabled=true",
|
||||
"app.websocket.advanced.stomp.enabled=true",
|
||||
"app.websocket.advanced.stomp.relay.enabled=true")
|
||||
.run(
|
||||
context -> {
|
||||
assertThat(context).hasFailed();
|
||||
assertThat(context.getStartupFailure())
|
||||
.hasMessageContaining("legacy STOMP")
|
||||
.hasMessageContaining("Advanced STOMP");
|
||||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
void platformStartupValidatorIsPartOfTheActualStartupPath() {
|
||||
new ApplicationContextRunner()
|
||||
.withUserConfiguration(
|
||||
WebSocketPlatformSafetyConfiguration.class, UnsafePlatformComposition.class)
|
||||
.withPropertyValues("app.websocket.platform.enabled=true")
|
||||
.run(
|
||||
context -> {
|
||||
assertThat(context).hasFailed();
|
||||
assertThat(context.getStartupFailure()).hasMessageContaining("the whole defence");
|
||||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
void enablingSockJsNamesTheMissingCompositionPrerequisite() {
|
||||
new WebApplicationContextRunner()
|
||||
.withUserConfiguration(SockJsConfiguration.class)
|
||||
.withPropertyValues("app.websocket.advanced.sockjs.enabled=true")
|
||||
.run(
|
||||
context -> {
|
||||
assertThat(context).hasFailed();
|
||||
assertThat(context.getStartupFailure())
|
||||
.hasRootCauseMessage(
|
||||
"SockJS requires a WebSocketEndpointCatalog bean from the composition root");
|
||||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
void enablingRabbitRelayNamesTheMissingNodeIdentity() {
|
||||
new ApplicationContextRunner()
|
||||
.withUserConfiguration(
|
||||
RabbitBrokerRelayConfiguration.class, RelayCompositionPrerequisites.class)
|
||||
.withPropertyValues("app.websocket.advanced.stomp.relay.enabled=true")
|
||||
.run(
|
||||
context -> {
|
||||
assertThat(context).hasFailed();
|
||||
assertThat(context.getStartupFailure())
|
||||
.hasRootCauseMessage(
|
||||
"STOMP relay requires a WebSocketNodeId bean from the composition root");
|
||||
});
|
||||
}
|
||||
|
||||
@Test
|
||||
void enablingAdvancedStompNamesTheMissingDestinationCatalog() {
|
||||
new ApplicationContextRunner()
|
||||
.withUserConfiguration(StompDefaultsConfiguration.class)
|
||||
.withPropertyValues("app.websocket.advanced.stomp.enabled=true")
|
||||
.run(
|
||||
context -> {
|
||||
assertThat(context).hasFailed();
|
||||
assertThat(context.getStartupFailure())
|
||||
.hasMessageContaining(
|
||||
"Advanced STOMP requires a StompDestinationCatalog bean from the composition root");
|
||||
});
|
||||
}
|
||||
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
static class RelayCompositionPrerequisites {
|
||||
|
||||
@Bean
|
||||
StompProfile stompProfile() {
|
||||
return StompProfile.conventional();
|
||||
}
|
||||
}
|
||||
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
static class UnsafePlatformComposition {
|
||||
|
||||
@Bean
|
||||
WebSocketEndpointCatalog endpoints() {
|
||||
return WebSocketEndpointCatalog.of(
|
||||
List.of(
|
||||
new WebSocketEndpointProfile(
|
||||
new WebSocketEndpointName("orders"),
|
||||
"/ws/orders",
|
||||
WebSocketStackProfile.SERVLET,
|
||||
true,
|
||||
WebSocketConnectionBudget.standard(),
|
||||
100)));
|
||||
}
|
||||
|
||||
@Bean
|
||||
WebSocketMessageCatalog messages() {
|
||||
return WebSocketMessageCatalog.of(
|
||||
List.of(
|
||||
new WebSocketMessageDescriptor(
|
||||
PLACE,
|
||||
WebSocketMessageFamily.COMMAND,
|
||||
WebSocketMessageDirection.CLIENT_TO_SERVER,
|
||||
WebSocketSchemaVersion.v(1))));
|
||||
}
|
||||
|
||||
@Bean
|
||||
MessageAuthorizationPolicy authorization() {
|
||||
return MessageAuthorizationPolicy.of(Map.of(PLACE, Set.of()));
|
||||
}
|
||||
|
||||
@Bean
|
||||
WebSocketOriginPolicy origins() {
|
||||
return WebSocketOriginPolicy.browsersOnly(Set.of());
|
||||
}
|
||||
|
||||
@Bean
|
||||
WebSocketAuthenticationProfile authentication() {
|
||||
return WebSocketAuthenticationProfile.SESSION_COOKIE;
|
||||
}
|
||||
|
||||
@Bean
|
||||
WebSocketProtocolProfile protocol() {
|
||||
return WebSocketProtocolProfile.stable();
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
-2
@@ -38,8 +38,9 @@ public final class WebSocketBuildModel {
|
||||
* <p>The design's constraint names Servlet, Spring MVC, Spring WebFlux and Reactor. The set here
|
||||
* is wider on purpose: {@code jakarta} covers servlet and validation, {@code com.fasterxml}
|
||||
* covers Jackson, {@code io.micrometer} covers observation. Each binds a module to a runtime just
|
||||
* as firmly as Spring does, and a "core" module that can only be exercised with Jackson on the
|
||||
* classpath is not the portable decision the split exists to protect.
|
||||
* as firmly as Spring does. Repository-owned {@code dev.caskeleton.application} and {@code
|
||||
* dev.caskeleton.domain} contracts are intentionally absent: CORE means framework-free, not
|
||||
* "forbidden from depending on application ports".
|
||||
*/
|
||||
public static final Pattern FRAMEWORK_IMPORT =
|
||||
Pattern.compile(
|
||||
|
||||
+8
-3
@@ -164,14 +164,19 @@ class OutboundQueueTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("writing a message returns its space to the node")
|
||||
void pollingReleasesNodeCapacity() {
|
||||
@DisplayName("polling keeps node capacity reserved until the writer finishes")
|
||||
void pollingKeepsNodeCapacityReservedUntilWriteCompletion() {
|
||||
GlobalBufferBudget shared = new GlobalBufferBudget(100);
|
||||
OutboundQueue connection = new OutboundQueue(BUDGET, 100, shared);
|
||||
connection.offer(
|
||||
message("m-1", "x".repeat(80), OutboundDelivery.DROPPABLE, OutboundPriority.EVENT));
|
||||
|
||||
connection.poll();
|
||||
OutboundMessage inFlight = connection.poll().orElseThrow();
|
||||
|
||||
assertThat(connection.bufferedBytes()).isZero();
|
||||
assertThat(shared.buffered()).isEqualTo(80);
|
||||
|
||||
connection.releaseInFlight(inFlight);
|
||||
|
||||
assertThat(shared.buffered()).isZero();
|
||||
assertThat(shared.peak()).isEqualTo(80);
|
||||
|
||||
+36
@@ -152,6 +152,42 @@ class SerializedOutboundWriterTest {
|
||||
.isEqualTo(OutboundEnqueueResult.CONNECTION_MUST_CLOSE);
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("node budget stays reserved until the socket write completes")
|
||||
void nodeBudgetIncludesTheMessageWhileTheSinkIsBlocked() throws Exception {
|
||||
GlobalBufferBudget shared = new GlobalBufferBudget(10_000);
|
||||
OutboundQueue queue = new OutboundQueue(BUDGET, 1000, shared);
|
||||
CountDownLatch writeStarted = new CountDownLatch(1);
|
||||
CountDownLatch releaseWrite = new CountDownLatch(1);
|
||||
SerializedOutboundWriter writer =
|
||||
new SerializedOutboundWriter(
|
||||
new WebSocketConnectionId("c-01H8XQ2N4K"),
|
||||
queue,
|
||||
payload -> {
|
||||
writeStarted.countDown();
|
||||
if (!releaseWrite.await(5, TimeUnit.SECONDS)) {
|
||||
throw new AssertionError("blocked sink was not released");
|
||||
}
|
||||
});
|
||||
|
||||
OutboundMessage outbound = message("m-in-flight", "x".repeat(500));
|
||||
try (ExecutorService executor = Executors.newSingleThreadExecutor()) {
|
||||
Future<?> writing = executor.submit(() -> writer.offer(outbound));
|
||||
|
||||
assertThat(writeStarted.await(5, TimeUnit.SECONDS)).isTrue();
|
||||
assertThat(shared.buffered())
|
||||
.as("in-flight bytes still occupy heap/node buffer capacity until the sink returns")
|
||||
.isEqualTo(outbound.byteCount());
|
||||
|
||||
releaseWrite.countDown();
|
||||
writing.get(5, TimeUnit.SECONDS);
|
||||
} finally {
|
||||
releaseWrite.countDown();
|
||||
}
|
||||
|
||||
assertThat(shared.buffered()).isZero();
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("closing returns the connection's buffered bytes to the node")
|
||||
void closingReleasesNodeCapacity() {
|
||||
|
||||
+2
-2
@@ -26,9 +26,9 @@ class WebSocketProtocolProfileTest {
|
||||
void stableSubprotocolIsVersioned() {
|
||||
// The only place a WebSocket can put a version. Without it both ends assume their own current
|
||||
// format and find out later.
|
||||
assertThat(STABLE.value()).isEqualTo("hyeonworks.realtime.v1.json");
|
||||
assertThat(STABLE.value()).isEqualTo("ca-skeleton.realtime.v1.json");
|
||||
assertThat(STABLE.versioned()).isTrue();
|
||||
assertThat(new WebSocketSubprotocolName("hyeonworks.realtime.json").versioned()).isFalse();
|
||||
assertThat(new WebSocketSubprotocolName("ca-skeleton.realtime.json").versioned()).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+14
-17
@@ -34,7 +34,7 @@ class WebSocketRollingRestartScenarioTest {
|
||||
@Test
|
||||
@DisplayName("a clean restart reports nothing")
|
||||
void cleanRestartReportsNothing() {
|
||||
assertThat(blockers(true, true, true, 1012, true, 0)).isEmpty();
|
||||
assertThat(blockers(true, true, true, 1001, true, 0)).isEmpty();
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -42,32 +42,29 @@ class WebSocketRollingRestartScenarioTest {
|
||||
void readinessLeftUpBlocks() {
|
||||
// The balancer keeps sending connections to a node that is trying to empty itself, so the
|
||||
// queue never reaches zero and the deadline forces a cut that looked avoidable.
|
||||
assertThat(blockers(false, true, true, 1012, true, 0))
|
||||
assertThat(blockers(false, true, true, 1001, true, 0))
|
||||
.anyMatch(blocker -> blocker.contains("balancer kept sending"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("accepting a handshake while draining is a blocker")
|
||||
void acceptingWhileDrainingBlocks() {
|
||||
assertThat(blockers(true, false, true, 1012, true, 0))
|
||||
assertThat(blockers(true, false, true, 1001, true, 0))
|
||||
.anyMatch(blocker -> blocker.contains("about to cut"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("an unfinished drain names what is lost")
|
||||
void unfinishedDrainBlocks() {
|
||||
assertThat(blockers(true, true, false, 1012, true, 0))
|
||||
assertThat(blockers(true, true, false, 1001, true, 0))
|
||||
.anyMatch(blocker -> blocker.contains("what remains is lost"));
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("1001 and 1006 are both wrong, for different reasons")
|
||||
void wrongCloseCodeBlocks() {
|
||||
// 1001 says the server is going away for good, so a client that honours it stops retrying.
|
||||
@DisplayName("an abnormal close is a blocker")
|
||||
void abnormalCloseBlocks() {
|
||||
// 1006 is not a close code at all — it means no frame arrived, which is what an abrupt kill
|
||||
// looks like.
|
||||
assertThat(blockers(true, true, true, 1001, true, 0))
|
||||
.anyMatch(blocker -> blocker.contains("observed close code 1001"));
|
||||
assertThat(blockers(true, true, true, 1006, true, 0))
|
||||
.anyMatch(blocker -> blocker.contains("observed close code 1006"));
|
||||
}
|
||||
@@ -75,7 +72,7 @@ class WebSocketRollingRestartScenarioTest {
|
||||
@Test
|
||||
@DisplayName("an un-jittered reconnect is a blocker")
|
||||
void unjitteredReconnectBlocks() {
|
||||
assertThat(blockers(true, true, true, 1012, false, 0))
|
||||
assertThat(blockers(true, true, true, 1001, false, 0))
|
||||
.anyMatch(blocker -> blocker.contains("whole population"));
|
||||
}
|
||||
|
||||
@@ -84,7 +81,7 @@ class WebSocketRollingRestartScenarioTest {
|
||||
void duplicateCommandBlocks() {
|
||||
// The one failure with a financial shape. A reconnect that resends an in-flight command needs
|
||||
// the idempotency ledger to recognise it; if it does not, the restart charged somebody twice.
|
||||
assertThat(blockers(true, true, true, 1012, true, 3))
|
||||
assertThat(blockers(true, true, true, 1001, true, 3))
|
||||
.anyMatch(blocker -> blocker.contains("3 command(s) executed twice"));
|
||||
}
|
||||
|
||||
@@ -98,24 +95,24 @@ class WebSocketRollingRestartScenarioTest {
|
||||
@DisplayName("a scenario with no deadline or no jitter is refused at construction")
|
||||
void degenerateScenarioIsRefused() {
|
||||
assertThatThrownBy(
|
||||
() -> new WebSocketRollingRestartScenario(Duration.ZERO, 1012, Duration.ofSeconds(5)))
|
||||
() -> new WebSocketRollingRestartScenario(Duration.ZERO, 1001, Duration.ofSeconds(5)))
|
||||
.isInstanceOf(IllegalArgumentException.class)
|
||||
.hasMessageContaining("never completes");
|
||||
assertThatThrownBy(
|
||||
() -> new WebSocketRollingRestartScenario(Duration.ofSeconds(30), 1012, Duration.ZERO))
|
||||
() -> new WebSocketRollingRestartScenario(Duration.ofSeconds(30), 1001, Duration.ZERO))
|
||||
.isInstanceOf(IllegalArgumentException.class)
|
||||
.hasMessageContaining("same instant");
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("a scenario that expects the wrong close code is refused at construction")
|
||||
@DisplayName("a scenario that expects a different close code is refused at construction")
|
||||
void wrongExpectationIsRefused() {
|
||||
// Otherwise the scenario would certify the defect it exists to catch.
|
||||
// Otherwise the release gate could drift away from the close code the runtime actually sends.
|
||||
assertThatThrownBy(
|
||||
() ->
|
||||
new WebSocketRollingRestartScenario(
|
||||
Duration.ofSeconds(30), 1001, Duration.ofSeconds(5)))
|
||||
Duration.ofSeconds(30), 1012, Duration.ofSeconds(5)))
|
||||
.isInstanceOf(IllegalArgumentException.class)
|
||||
.hasMessageContaining("going away for good");
|
||||
.hasMessageContaining("closes 1001");
|
||||
}
|
||||
}
|
||||
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
package dev.caskeleton.adapter.inbound.websocket.servlet;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.Mockito.doAnswer;
|
||||
import static org.mockito.Mockito.mock;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import dev.caskeleton.adapter.inbound.websocket.budget.WebSocketConnectionBudget;
|
||||
import dev.caskeleton.adapter.inbound.websocket.outbound.GlobalBufferBudget;
|
||||
import java.time.Duration;
|
||||
import java.util.Optional;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.web.socket.CloseStatus;
|
||||
import org.springframework.web.socket.TextMessage;
|
||||
import org.springframework.web.socket.WebSocketSession;
|
||||
|
||||
class PlatformWebSocketHandlerBackpressureTest {
|
||||
|
||||
@Test
|
||||
void guaranteedReplyOverflowClosesTheConnectionInsteadOfSilentlyLosingTheReply()
|
||||
throws Exception {
|
||||
WebSocketConnectionBudget budget =
|
||||
new WebSocketConnectionBudget(
|
||||
16, 64, 4, 100, 10, Duration.ofHours(1), Duration.ofMinutes(1));
|
||||
PlatformWebSocketHandler handler =
|
||||
new PlatformWebSocketHandler(
|
||||
budget,
|
||||
new GlobalBufferBudget(1_024),
|
||||
(connection, request) -> Optional.of("0123456789"));
|
||||
|
||||
WebSocketSession session = mock(WebSocketSession.class);
|
||||
AtomicBoolean open = new AtomicBoolean(true);
|
||||
AtomicReference<CloseStatus> observedClose = new AtomicReference<>();
|
||||
CountDownLatch writeStarted = new CountDownLatch(1);
|
||||
CountDownLatch releaseWrite = new CountDownLatch(1);
|
||||
|
||||
when(session.getId()).thenReturn("session-01");
|
||||
when(session.isOpen()).thenAnswer(ignored -> open.get());
|
||||
doAnswer(
|
||||
ignored -> {
|
||||
writeStarted.countDown();
|
||||
if (!releaseWrite.await(5, TimeUnit.SECONDS)) {
|
||||
throw new AssertionError("first socket write did not get released");
|
||||
}
|
||||
return null;
|
||||
})
|
||||
.when(session)
|
||||
.sendMessage(any(TextMessage.class));
|
||||
doAnswer(
|
||||
invocation -> {
|
||||
observedClose.set(invocation.getArgument(0));
|
||||
open.set(false);
|
||||
return null;
|
||||
})
|
||||
.when(session)
|
||||
.close(any(CloseStatus.class));
|
||||
|
||||
handler.afterConnectionEstablished(session);
|
||||
|
||||
try (var executor = Executors.newSingleThreadExecutor()) {
|
||||
var first =
|
||||
executor.submit(
|
||||
() -> {
|
||||
try {
|
||||
handler.handleTextMessage(session, new TextMessage("one"));
|
||||
} catch (Exception failure) {
|
||||
throw new RuntimeException(failure);
|
||||
}
|
||||
});
|
||||
|
||||
assertThat(writeStarted.await(5, TimeUnit.SECONDS)).isTrue();
|
||||
|
||||
// The writer lock is held by the first socket write. This reply therefore remains buffered
|
||||
// and consumes the connection's entire 10-byte outbound budget.
|
||||
handler.handleTextMessage(session, new TextMessage("two"));
|
||||
|
||||
// A third GUARANTEED reply cannot enter the bounded queue. The handler must close so the
|
||||
// client reconnects/resynchronises instead of waiting forever for a reply that was lost.
|
||||
handler.handleTextMessage(session, new TextMessage("three"));
|
||||
|
||||
assertThat(observedClose.get()).isNotNull();
|
||||
assertThat(observedClose.get().getCode()).isEqualTo(1013);
|
||||
|
||||
releaseWrite.countDown();
|
||||
first.get(5, TimeUnit.SECONDS);
|
||||
} finally {
|
||||
releaseWrite.countDown();
|
||||
handler.afterConnectionClosed(session, CloseStatus.NORMAL);
|
||||
}
|
||||
}
|
||||
}
|
||||
+15
-15
@@ -32,10 +32,10 @@ class WebSocketPropertiesTest {
|
||||
void enabledSafeSettingsBind() {
|
||||
runner
|
||||
.withPropertyValues(
|
||||
"ca-skeleton.websocket.enabled=true",
|
||||
"ca-skeleton.websocket.endpoint=/live/ws",
|
||||
"ca-skeleton.websocket.allowed-origins=https://client.example:8443",
|
||||
"ca-skeleton.websocket.broadcast-destination=/topic/live-events")
|
||||
"app.websocket.enabled=true",
|
||||
"app.websocket.endpoint=/live/ws",
|
||||
"app.websocket.allowed-origins=https://client.example:8443",
|
||||
"app.websocket.broadcast-destination=/topic/live-events")
|
||||
.run(
|
||||
context -> {
|
||||
assertThat(context).hasNotFailed();
|
||||
@@ -48,20 +48,20 @@ class WebSocketPropertiesTest {
|
||||
@ParameterizedTest
|
||||
@ValueSource(
|
||||
strings = {
|
||||
"ca-skeleton.websocket.allowed-origins=*",
|
||||
"ca-skeleton.websocket.allowed-origins=",
|
||||
"ca-skeleton.websocket.allowed-origins=https://*.example.test",
|
||||
"ca-skeleton.websocket.allowed-origins=https://client.example/path",
|
||||
"ca-skeleton.websocket.endpoint=ws",
|
||||
"ca-skeleton.websocket.endpoint=/ws//admin",
|
||||
"ca-skeleton.websocket.endpoint=/ws?token=raw",
|
||||
"ca-skeleton.websocket.broadcast-destination=/queue/events",
|
||||
"ca-skeleton.websocket.broadcast-destination=/topic/",
|
||||
"ca-skeleton.websocket.broadcast-destination=/topic/events?raw=true"
|
||||
"app.websocket.allowed-origins=*",
|
||||
"app.websocket.allowed-origins=",
|
||||
"app.websocket.allowed-origins=https://*.example.test",
|
||||
"app.websocket.allowed-origins=https://client.example/path",
|
||||
"app.websocket.endpoint=ws",
|
||||
"app.websocket.endpoint=/ws//admin",
|
||||
"app.websocket.endpoint=/ws?token=raw",
|
||||
"app.websocket.broadcast-destination=/queue/events",
|
||||
"app.websocket.broadcast-destination=/topic/",
|
||||
"app.websocket.broadcast-destination=/topic/events?raw=true"
|
||||
})
|
||||
void enabledUnsafeSettingFailsBinding(String invalidSetting) {
|
||||
runner
|
||||
.withPropertyValues("ca-skeleton.websocket.enabled=true", invalidSetting)
|
||||
.withPropertyValues("app.websocket.enabled=true", invalidSetting)
|
||||
.run(
|
||||
context -> {
|
||||
assertThat(context).hasFailed();
|
||||
|
||||
Reference in New Issue
Block a user