- 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