Skip to content

Retire the WebSocket/STOMP stack now that events ride Server-Sent Events - #52

Merged
johardi merged 1 commit into
mainfrom
feat/308-retire-stomp
Jul 28, 2026
Merged

Retire the WebSocket/STOMP stack now that events ride Server-Sent Events#52
johardi merged 1 commit into
mainfrom
feat/308-retire-stomp

Conversation

@johardi

@johardi johardi commented Jul 28, 2026

Copy link
Copy Markdown
Member

The gateway half of protegeproject/webprotege-gwt-ui#308, the epic's final cleanup. The STOMP broker, subscription interceptor, /wsapps rule, and the websocket push half of the event bridge are removed; everything the SSE transport uses moved out of the websocket package (the app-wide ObjectMapper config to the gateway root; access manager, capabilities, wire DTOs, and the bridge — now ProjectEventsSseBridgeHandler — to the sse package). The dead websocket-era packaged-event mirror is deleted.

Dependency note: the websocket starter is swapped for an explicit web starter. Verified by dependency-tree diff (web was actually arriving transitively via webprotege-ipc, so nothing was ever at risk — but a web app should declare its framework) and by the full suite including the Testcontainers context-load test: 63/63 green.

Grep gates: stomp|sockjs|wsapps|websocket appear only in the two-line historical note in the bridge's javadoc.

The STOMP broker, its subscription interceptor, and the websocket push
half of the event bridge are gone; the bridge now feeds the SSE stream
registry alone and is named for what it does. Everything that lived in
the websocket package but serves the SSE transport moved out of it: the
application-wide ObjectMapper configuration to the gateway root, and the
access manager, capabilities, wire DTOs, and the bridge itself to the
sse package. The unused websocket-era packaged-event mirror is deleted
outright, along with the /wsapps security rule and the allowed-origin
setting only the broker consumed.

The websocket starter is replaced by an explicit web starter. The web
stack was in fact arriving transitively through webprotege-ipc, not the
websocket starter as once assumed, but a web application should declare
its web framework directly rather than lean on a library's transitive
graph either way.

Completes the gateway half of protegeproject/webprotege-gwt-ui#308
(epic protegeproject/webprotege-gwt-ui#303).
@johardi
johardi merged commit 744284a into main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant