Commit
d56f449967ab2d893f97a1736a3d8eb79c23148a
by timothyjwardAllow data and metadata update de-duplication
This commit adds a DuplicateAction to the pushed updates, which determines the behaviour when the pushed update contains a duplicate value or metadata value. A duplicate value is determined by object equality, or == if one value is null. The default for resource values is that duplicates updates are applied, updating the timestamp and generating a update event. The default for metadata values is that duplicate updates are ignored, avoiding timestamp updates and update events. The reason for this difference is that repeated data readings can often give the same value, but this is a new reading. In general metadata values do not change, and so duplicates aren't interesting.
Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: d56f449)