Skip to content

feat(events): allow stomp server to handle multiple event sources#1386

Open
JamesDoingStuff wants to merge 1 commit into
mainfrom
jg/waffle-test-posixuid
Open

feat(events): allow stomp server to handle multiple event sources#1386
JamesDoingStuff wants to merge 1 commit into
mainfrom
jg/waffle-test-posixuid

Conversation

@JamesDoingStuff

Copy link
Copy Markdown
Contributor

AP-1158
Each new connection is stored in a connection manager object, each with its own event queue. This means that a new connection won't overwrite a previous one

Comment thread charts/events/generic-servers/stomp-server.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why the ClusterWorkflowTemplate is in the templates in events and not in examples? Is this tracked by groups or is it intentionally ignored?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are purely for testing event-based triggering while it's still in development and aren't meant to be examples for users to follow, so I don't intend to keep them in the repository long-term. They aren't tracked by groups but they aren't ignored either; they still appear in the template list.

workflows.diamond.ac.uk/source: generic
workflows.diamond.ac.uk/beamline: b01-1
spec:
enabled: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be worth helm templating the different trigger.enabled values?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think I will put that in as it will mean I can test events more easily without spamming dozens of workflows. Worth noting though that the plan is to eventually have these Triggers be created by users via the graph, so these will get deleted

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I've just realised that the enabled field in the triggers currently doesn't do anything - I need to implement it in the metacontroller sync hook. I'll probably do that in a separate PR as it's a little beyond the scope of this one I feel

@JamesDoingStuff JamesDoingStuff force-pushed the jg/waffle-test-posixuid branch from ec4b303 to 394261c Compare June 12, 2026 08:12
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.

3 participants