- All endpoints that accept the update_control_map parameter must check that "ID" field inside the map matches the deployment ID or is empty.
- This implies that in the request to create the deployment, the ID must always be empty, since the deployment ID is not known yet.
- If the check fails, return 400.
- If the ID in the map is empty, the service must fill it in with the deployment ID before storing the map in the database.
- Unit tests