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

Support update_control_map in deployments/next endpoint

    XMLWordPrintable

    Details

      Description

      Acceptance criteria:

      • Enterprise plan only.
      • When deployments/next endpoint is called, check for the existence of update_control_map in the top-level deployments object.
        • If it doesn't exist or is empty, keep existing behavior, IOW return the same as today.
        • If it does exist, check for update_control_map parameter.
          • If unset or set to any other value than "true", fail the update for this device with "Device does not support Update Control. Need to create a deployment without Update Control for this device.". Return 204 to device.
          • If set to "true", return the update_control_map JSON object in the client response.
      • It is only needed to support the update_control_map parameter in POST requests.
      • Unit tests.
      • Feature branch: feature-update_control_maps

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alfrunes Alf-Rune Siqveland
                Reporter:
                a10040 Kristian Amlie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel