Add automated EMQX bridge setup for Expert broker#7184
Open
Add automated EMQX bridge setup for Expert broker#7184
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #7184 +/- ##
==========================================
+ Coverage 76.59% 76.72% +0.13%
==========================================
Files 405 409 +4
Lines 20579 20742 +163
Branches 4975 5016 +41
==========================================
+ Hits 15762 15915 +153
- Misses 4817 4827 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
hardillb
requested changes
May 5, 2026
Contributor
hardillb
left a comment
There was a problem hiding this comment.
Need to sort out the TLS stuff, give me a shout if needed.
And just a schedule bit
Co-authored-by: Ben Hardill <ben@flowforge.com>
hardillb
approved these changes
May 6, 2026
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.
Description
TLDR
Adds setup and maintenance for automated configuration of FF App team broker to new central Expert Broker
DETAILS
This PR introduces provisioning for the EMQX bridge between the FlowFuse App Instance Broker and the Expert Broker. It adds resource templates, orchestrator and helper functions, and scheduled tasks to ensure the bridge is always correctly configured and synchronized, both at startup and on a weekly basis. Additionally, it extends the license API to expose the raw license string (for configuring the bridge), and adds corresponding unit tests.
EMQX Bridge Provisioning and Management
setup.jsthat provides high-level orchestration (syncBridge), low-level resource management (addBridge,removeBridge), and health-check (validateBridge) functions for the EMQX bridge, including dependency-aware resource creation and teardown, configuration validation, and error handling.templates.js, supporting the full bridge lifecycle and MQTT v5 features required for expert chat and inflight requests.Automated Bridge Synchronization
License API
raw()method, returning the raw license string for use in bridge configuration.raw()method and license status reporting in both licensed and unlicensed scenarios. [1] [2]Related Issue(s)
closes #7181
Checklist
flowforge.yml?FlowFuse/helmto update ConfigMap TemplateFlowFuse/CloudProjectto update values for Staging/ProductionLabels
area:migrationlabel