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

[iot-manager] Replace global "Settings" with the concept of "Integrations"

    XMLWordPrintable

    Details

      Description

      Instead of having a single settings object, we're interested in providing up to multiple cloud integrations for a single tenant. For this iteration we will, for simplicity, only allow a single integration to be configured at the time and only support a single type "iot-hub". Each integration contains a unique integration ID and a set of credentials.

       

      Acceptance criteria:

      • API to register, list and remove integrations
        • POST /integrations
          • Saves the (valid) integration document if none exist for the tenant.
          • Verify (test) the credentials by calling an API endpoint
          • Credentials are encrypted before they're stored in the database.
        • GET /integrations
          • Returns a (paginated) list of the integration(s)
        • DELETE /integrations/{id}
          • Removes the integration with the given ID
          • DO NOT allow removing an integration if there exist device-association with this integration.
        • PUT /integrations/{id}/credentials
          • Replace credentials for an existing integration

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              MaciejTe Maciej Tomczuk
              Reporter:
              alfrunes Alf-Rune Siqveland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support