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

Use update_control_map values returned from backend in client

    XMLWordPrintable

    Details

      Description

      Acceptance criteria:

      • When doing deployments/next call, submit the update_control_map: true parameter in the POST body. GET has empty body, as before.
      • When receiving deployments/next response: Using access functions provided in MEN-4535, insert the map returned in the update_control_map key into the set of active maps, if present.
      • Use deployment ID to set the id field of the map.
        • If there already is an id key, and its value is different from the deployment ID, it is an error.
      • If there is no update_control_map in the response, the maps with the given deployment ID should be removed (all priorities), if they exist.
      • Unit tests.
      • Feature branch: feature-update_control_maps

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: