Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5714

[iot-manager] Record device lifecycle events in the database

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Webhooks
    • Labels:
    • Sprint:
      MEN Sprint 170
    • Story Points:
      8
    • Epic Link:
    • Backlog:
      yes
    • Days in progress:
      8

      Description

      With iot integrations (especially webhook services) it can happen that the service processing the requests are temporarily unavailable or for some other reason unable to process the request. To this end we need to store the event along with the delivery status for any of the existing integrations (if active). Introducing the concept of events also creates the need for enumerating event types which needs to be stored with the event.

      To limit the potential of generating large amounts of data we will also need to put a limit on the event persistence by limiting the total number of events stored per tenant.

      Acceptance criteria:

      • Create a log collection for storing events along with delivery status
      • Create an endpoint for GETing event records from the log

        Attachments

          Activity

            People

            Assignee:
            kjaskiewicz Krzysztof Jaśkiewicz
            Reporter:
            alfrunes Alf-Rune Siqveland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: