Skip to content

WIP: Convert zmq socket to HTTP server

David Gabriel Monk requested to merge dmonk/http-server into master

The aims of this change were twofold:

  • Add a HTTP server in place of the ZMQ socket.
    • Each command to have its own endpoint.
  • Convert the packet format from msgpack to JSON for human readability.
    • This allows for data such as info-devices to be read from a cURL command without needing any libraries to decode.

Endpoint status

  • info-devices
  • info-commands
  • info-fsms
  • run-command
  • get-command-status
  • engage-fsm
  • reset-fsm
  • disengage-fsm
  • run-fsm-transition
  • get-fsm-transition-status
Edited by David Gabriel Monk

Merge request reports