Details
-
Type:
Task
-
Status: Done
-
Priority:
(None)
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Full vs partial update reporting
-
Labels:
-
Sprint:MEN Sprint 122
-
Story Points:8
-
Epic Link:
-
Backlog:yes
-
Days in progress:4
Description
Acceptance criteria:
- Implement handling of clears_artifact_provides in the artifact format.
- All the artifact_provides stored in the DB are matched against all entries in the attribute, glob-style.
- When committing artifact, existing provides that had no matches must be retained
- When committing artifact, existing provides that matched must be erased
- Provides that come with the current artifact (even if in a different payload) must always be retained, even if they match
- If an artifact comes with no clears_artifact_provides (nil value), then the client must behave as if '*' was specified, in other words match everything. This is to preserve backwards compatibility.
Feature branch name: feature-partial_updates