Commit c12bc20b authored by Giuseppe Tropea's avatar Giuseppe Tropea
Browse files

Merge branch 'fix/missingObservedAt' into 'master'

DATA(25)000166_NGSI-LD_Core_clarify_merging_two_Attributes

See merge request !13
parents 6db89fde 95e7907d
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -681,11 +681,13 @@ attribute is present at the Entity level:
In case of conflicting information for an Attribute, where a _`datasetId`_ is
duplicated, but there are differences in the other attribute data, if an
_`expiresAt`_ _DateTime_ is present on the Attribute and the date lies in the
past, it shall be discarded, thereafter the one with the most recent
_`observedAt`_ _DateTime_, if present, and otherwise the one with the most
recent _`modifiedAt`_ _DateTime_ shall be provided. If no other mechanism for
determining the most current Attribute instance is found, the NGSI-LD system
shall choose the Attribute instance at random and the result is indeterminate.
past, it shall be discarded. Thereafter, any attribute data where an
_`observedAt`_ _DateTime_ is present shall take precedence, with the one with
the most recent _`observedAt`_ _DateTime_ being provided. If no _`observedAt`_
is present, the attribute data with the most recent _`modifiedAt`_ _DateTime_
shall be provided. If no other mechanism for determining the most current
Attribute instance is found, the NGSI-LD system shall choose the Attribute
instance at random and the result is indeterminate.

When conflicting information is received for the non-reified _`expiresAt`_
attribute at an Entity level: