Skip to content

Resolve "Create end point for machine logbook"

Marjolaine Bodin requested to merge bodin/icat-plus:301-machine_logbook into master

Closes #301 (closed)

  • to search machine events, we search events with investigationId is null and instrumentName is null

Info for ACU

  • I've installed a test portal on dau-dm-01:3000 connected to the test DB. ACU can connect with localContact user.
  • Swagger doc http://dau-dm-01:8000/api-docs/#/DataAcquisition/post_dataacquisition__apiKey__notification
  • Example of event to send to ACU:
{
  "type": "broadcast",
  "tag": [
    {
      "name": "machine"
    }
  ],
  "category": "error",
  "content": [
    {
      "format": "plainText",
      "text": "beam loss!"
    }
  ],
  "source": "ebs",
  "machine": "",
  "software": ""
}
Edited by Marjolaine Bodin

Merge request reports

Loading