feat(router): add event relays administration page - #321
Closed
JohnChantz wants to merge 7 commits into
Closed
Conversation
Give operators CRUD for mapping exact bus events to ReBAC-protected socket rooms, with a local template preview before save.
16 tasks
Subscribe to MongoDB change streams through a short-lived admin socket ticket so operators can see pending updates without auto-refreshing the grid.
The Database module returns the index list itself, so reading result.indexes threw on the model settings tab.
Give schema settings JS, Postman, and Admin snippets so developers can subscribe to change events without guessing the handshake. Deduplicate resume tokens so reconnects do not inflate the pending-update count.
Keep both branches' package.json test scripts: event-relays, realtime, and schema-fields.
Give operators an in-page guide so they can tell relays from queues and wire a bus event to permission-scoped socket subscribers.
This was referenced Sep 11, 2026
Collaborator
Author
|
Split into two independent PRs for review:
The original |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:
masterbranchfix #xxx, where "xxx" is the issue number)If adding a new feature, the PR's description includes:
Other information:
Summary
/router/event-relaysso operators can create, edit, disable, and delete mappings from exact bus events to ReBAC-protected socket rooms.Test plan
/router/event-relaysagainst a Router that includes the event-relays Admin APIactive), delete, and searchpnpm test:event-relays