Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTTBroker: Add status badge and toggle to broker page #5084

Closed
2 of 3 tasks
Tracked by #5015
knolleary opened this issue Feb 7, 2025 · 2 comments · Fixed by #5113
Closed
2 of 3 tasks
Tracked by #5015

MQTTBroker: Add status badge and toggle to broker page #5084

knolleary opened this issue Feb 7, 2025 · 2 comments · Fixed by #5113
Assignees
Milestone

Comments

@knolleary
Copy link
Member

knolleary commented Feb 7, 2025

The agent runs by default, but can be optionally paused by the user.

This task is to reflect that in the UI.

This only applies to the 3rd party brokers today - until we move Team Broker over to use the agent as well.

PR #5081 adds an endpoint to get the current status of the broker.

This task will require:

Tasks

Preview Give feedback
@hardillb
Copy link
Contributor

hardillb commented Feb 7, 2025

The agent already has a start/stop api

  • POST /api/v1/commands/start
  • POST /apt/v1/command/stop

These will toggle the client on/off in the agent

There is a app.containers.sendBrokerAgentCommand(broker, command) api where command is string with values

  • start
  • stop

@hardillb
Copy link
Contributor

First 2 tasks done.

Start/stop UI still to do

@hardillb hardillb moved this from In Design to Review in 🛠 Development Feb 12, 2025
@github-project-automation github-project-automation bot moved this from Review to Done in 🛠 Development Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants