Skip to content
Success

#33 (Aug 8, 2024, 5:26:04 PM)

Started 1 yr 11 mo ago
Took 3.1 sec
Build Artifacts
api-0.0.2-SNAPSHOT.jar52.69 KiB view
api-0.0.2-SNAPSHOT.pom3.17 KiB view
Initial version of the programmatic whiteboard
(commit: 4a1d370)
thomas.calmant at
Added some javadoc
(commit: 3b4582c)
thomas.calmant at
Put constants in an interface and use them internally

Reuse the previous property name for the list of providers
(commit: ed3470c)
thomas.calmant at
Removed generic from WhiteboardHandler interface
(commit: 6bb42da)
thomas.calmant at
Added note on javadoc
(commit: a95e364)
thomas.calmant at
Addressed review comments
(commit: ca3e7b4)
thomas.calmant at
Small enhancements of the provider snapshot API

Added utility methods to easily access services and resources by name
(commit: 6a6a881)
thomas.calmant at
Allow default resource metadata to be set in the model

Provider instances have the ability to independently set metadata values, however in most cases metadata is common to all instances of a model and it is relatively static. It therefore makes sense to be able to define default metadata at the resource model level which is applied to the instance when it is first created.

Note that only the Extra metadata is used to populate the defaults. This prevents other data about the resource (e.g. the resource type and value type) from being added and bloating the metadata. To differentiate default metadata values from metadata values which are set later the default metadata values will have no associated timestamp. This is in line with the behaviour for default resource values.

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: fad36b2)
timothyjward at
Allow 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)
timothyjward at
Changes in dependency
  1. sensinact-parent #29#33 (detail)
  2. SensiNact core Annotations #32#33 (detail)
  3. SensiNact GeoJSON mapping types #32#33 (detail)