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

Client update check: pass artifact_provides in body key, instead of in raw body

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Acceptance criteria:

      • Start calling v2/deployments/next endpoint from https://tracker.mender.io/browse/MEN-4784
        • Pass artifact_provides (and the special artifact_name and device_type we add to it) in device_provides key as a JSON object.
        • Pass update_control_map as a bool in the top level.
      • Fall back to v1 POST endpoint, then GET endpoint, as before.
      • Unit tests

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10040 Kristian Amlie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: