Skip to content
Success

Changes

Summary

  1. Added tests for null parsed filter when creating a predicate (commit: d26d378) (details)
  2. Added a metrics provider handler (commit: 962b426) (details)
  3. Metrics: Keep track of gauges bound before activation (commit: 14ac75f) (details)
  4. Added metrics provider presence test (commit: b5620b5) (details)
  5. Normalize metrics resources names (commit: 369831b) (details)
  6. Review metrics provider test (commit: d87aac5) (details)
  7. Fixed computation of topic segments for MQTT DevFactory context (commit: 3a77504) (details)
  8. Enables complex EMF Resource Objects (commit: d25bd7a) (details)
  9. Adds addition Test (commit: e8eaa0b) (details)
  10. Initial version of the programmatic whiteboard (commit: 4a1d370) (details)
  11. Added WB handler providers property update (commit: 0037932) (details)
  12. Better Whiteboard handlers priority test (commit: 1e0e476) (details)
  13. Added some javadoc (commit: 3b4582c) (details)
  14. Put constants in an interface and use them internally (commit: ed3470c) (details)
  15. Removed generic from WhiteboardHandler interface (commit: 6bb42da) (details)
  16. Added note on javadoc (commit: a95e364) (details)
  17. Addressed review comments (commit: ca3e7b4) (details)
  18. Fixed resource description construction in session (commit: 31c92de) (details)
  19. Small enhancements of the Gogo shell commands for sensiNact (commit: dfa86c7) (details)
  20. Fix to list services and resources on newly created provider instances (commit: 91d5fff) (details)
  21. Added ability to set resource metadata before it gets a value (commit: 41054e4) (details)
  22. Protect against metadata w/o timestamp (commit: 2671b7b) (details)
  23. Update to Dash Plugin 1.1.0 (commit: 9a42124) (details)
  24. Small enhancements of the provider snapshot API (commit: 6a6a881) (details)
  25. Use new Snapshot API in other projects (commit: 2af3b58) (details)
  26. Allow default resource metadata to be set in the model (commit: fad36b2) (details)
  27. Fixed provider snapshot filterEmptyServices to keep services insertion order (commit: 202312d) (details)
  28. Implement the expand query for SensorThings northbound (commit: 79ed936) (details)
  29. Added support for resource metadata in device factory (commit: e8798ff) (details)
  30. Fixed inclusion of metadata in resource description (commit: d03aef6) (details)
  31. Add metadata to resource GET when requested (commit: 48ec9bb) (details)
  32. Mark metadata DTOs with NullAction.IGNORE (commit: 5dfb831) (details)
  33. [doc] remove empty 'how-to' chapter (commit: cd470de) (details)
  34. [doc] describe northbound&southbound concepts (commit: dc936e6) (details)
  35. [doc] improve install instructions (commit: e389d35) (details)
  36. [doc] deduplicate install instructions (commit: 5c25c36) (details)
  37. [doc] improve northbound quick-start (commit: 1bc9977) (details)
  38. [doc] deduplicate northbound quick-start (commit: 61e4218) (details)
  39. [doc] improve southbound quick-start (commit: 1305208) (details)
  40. [doc] deduplicate getting-started (commit: 2d17cac) (details)
  41. Allow data and metadata update de-duplication (commit: d56f449) (details)
  42. Further improvements to timestamp mapping (commit: 508355c) (details)
  43. Add northbound API/SPI to the sensinact BOM (commit: 111f254) (details)
  44. dataUpdate now supports multiple updates (commit: c7b3cb4) (details)
  45. Annotated DTO mapping error (commit: 117c165) (details)
Commit d26d37856be5f673d40f26aac9f6db12e2815560 by thomas.calmant
Added tests for null parsed filter when creating a predicate
(commit: d26d378)
The file was modifiednorthbound/websocket/src/main/java/org/eclipse/sensinact/northbound/ws/impl/WebSocketEndpoint.java (diff)
Commit 962b4263b7aed4f9a7f617c60cfeeedd2279ffce by thomas.calmant
Added a metrics provider handler
(commit: 962b426)
The file was addedcore/impl/src/main/java/org/eclipse/sensinact/core/metrics/impl/MetricsProviderHandler.java
Commit 14ac75fd30dd588a0f9ffd36ca677e56de3c38ad by thomas.calmant
Metrics: Keep track of gauges bound before activation
(commit: 14ac75f)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/metrics/impl/MetricsManager.java (diff)
Commit b5620b533bf9d1a843640e3d6229b5d9b5f02e2a by thomas.calmant
Added metrics provider presence test
(commit: b5620b5)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/integration/metrics/MetricsTest.java (diff)
Commit 369831bc264e7abf8a7314b916da0065f03c6b5a by thomas.calmant
Normalize metrics resources names
(commit: 369831b)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/metrics/impl/CallbackReporter.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/integration/metrics/MetricsTest.java (diff)
Commit 3a7750455e0b94be49dfc11cd9c9d86254159c0e by thomas.calmant
Fixed computation of topic segments for MQTT DevFactory context
(commit: 3a77504)
The file was addedsouthbound/mqtt/mqtt-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/mqtt/factory/ContextTest.java
The file was modifiedsouthbound/mqtt/mqtt-device-factory/src/main/java/org/eclipse/sensinact/gateway/southbound/mqtt/factory/MqttDeviceFactoryHandler.java (diff)
Commit d25bd7a0758ee5e7089bf33a3e821b50221fc827 by j.albert
Enables complex EMF Resource Objects

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
(commit: d25bd7a)
The file was modifiedcore/models/testdata/src/main/resources/model/testdata.ecore (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/integration/EMFUpdateServiceTest.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/model/nexus/impl/SubscriptionTest.java (diff)
The file was modifiedcore/models/testdata/src/main/resources/model/testdata.genmodel (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/emf/compare/EMFCompareUtil.java (diff)
The file was modifiedcore/impl/src/test/resources/model/extended.ecore (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactResourceImpl.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/ModelNexus.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/emf/util/EMFTestUtil.java (diff)
Commit e8eaa0b41008c83c54038d0496f89c777c894a40 by j.albert
Adds addition Test

Signed-off-by: Juergen Albert <j.albert@data-in-motion.biz>
(commit: e8eaa0b)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/model/nexus/impl/SubscriptionTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/emf/compare/EMFCompareUtil.java (diff)
Commit 4a1d370527a9e52c11a7536a5f3f11d49745da2c by thomas.calmant
Initial version of the programmatic whiteboard
(commit: 4a1d370)
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/AbstractDescriptiveReadOnly.java
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/AbstractResourceMethod.java (diff)
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardGet.java
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardHandler.java
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/command/impl/GatewayThreadImpl.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/ActMethod.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/SensinactWhiteboard.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/SetMethod.java (diff)
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/AbstractDescriptiveAct.java
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/package-info.java
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardAct.java
The file was addedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/WhiteboardContext.java
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardSet.java
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/AbstractDescriptiveReadWrite.java
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/command/impl/WhiteboardImplTest.java (diff)
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardActDescription.java
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardResourceDescription.java
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/GetMethod.java (diff)
Commit 00379325f42ae3a7fb5be0ef32e1e9692dcf8397 by thomas.calmant
Added WB handler providers property update

Like before, updates of other properties are not supported
(commit: 0037932)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/command/impl/GatewayThreadImpl.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/SensinactWhiteboard.java (diff)
Commit 1e0e4769d4c558a331706ccebe52192806de9dcb by thomas.calmant
Better Whiteboard handlers priority test
(commit: 1e0e476)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/SensinactWhiteboard.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/command/impl/WhiteboardImplTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/RegistryKey.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardResourceDescription.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardActDescription.java (diff)
Commit ed3470c70586299daf669554fe3acfe5d4742049 by thomas.calmant
Put constants in an interface and use them internally

Reuse the previous property name for the list of providers
(commit: ed3470c)
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardConstants.java
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/command/impl/WhiteboardImplTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/SensinactWhiteboard.java (diff)
Commit 6bb42dadc8af04bcad80ed25fb5d6afcfc54704f by thomas.calmant
Removed generic from WhiteboardHandler interface
(commit: 6bb42da)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardAct.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/WhiteboardContext.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/command/impl/GatewayThreadImpl.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/AbstractResourceMethod.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/SensinactWhiteboard.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardHandler.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardGet.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardConstants.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/command/impl/WhiteboardImplTest.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/whiteboard/WhiteboardResourceDescription.java (diff)
Commit 31c92de435f7f18a30615eceb007c3105b2128e4 by thomas.calmant
Fixed resource description construction in session

A sensiNact resource scoped bean was used in another scope
(commit: 31c92de)
The file was modifiednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SensiNactSessionImpl.java (diff)
Commit dfa86c7aaa938be397a5d801668de07484369713 by thomas.calmant
Small enhancements of the Gogo shell commands for sensiNact

* get command converts value to string

* act checks if arguments are known and converts them with OSGi converter

* Added support for more types in ResourceTypeConverter
(commit: dfa86c7)
The file was modifiednorthbound/gogo-shell/pom.xml (diff)
The file was modifiednorthbound/gogo-shell/src/main/java/org/eclipse/sensinact/gateway/commands/gogo/ActCommands.java (diff)
The file was modifiednorthbound/gogo-shell/src/main/java/org/eclipse/sensinact/gateway/commands/gogo/converter/ResourceTypeConverter.java (diff)
The file was modifiednorthbound/gogo-shell/src/main/java/org/eclipse/sensinact/gateway/commands/gogo/GetCommands.java (diff)
Commit 91d5fff46069d24d2f5253628a0245e0372964a3 by thomas.calmant
Fix to list services and resources on newly created provider instances

... else services when no value was explicitly set are not snapshotted
(commit: 91d5fff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactDigitalTwinImpl.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/impl/snapshot/ServiceSnapshotImpl.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/model/impl/ModelBuildingTest.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/twin/impl/SensinactTwinTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/ModelNexus.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactProviderImpl.java (diff)
Commit 41054e4bd79669268da7f55edb308ec0f80f5137 by thomas.calmant
Added ability to set resource metadata before it gets a value
(commit: 41054e4)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/ModelNexus.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactDigitalTwinImpl.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactResourceImpl.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/twin/impl/SensinactTwinTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactServiceImpl.java (diff)
Commit 2671b7b6568c7dd6956e5807ed74ce8c210a1a67 by thomas.calmant
Protect against metadata w/o timestamp
(commit: 2671b7b)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/ModelNexus.java (diff)
Commit 9a421246729bbb0fbe1eb2368cdad3bfe6d4490f by timothyjward
Update to Dash Plugin 1.1.0

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 9a42124)
The file was modifiedpom.xml (diff)
Commit 6a6a88125518c47f1680dafa6e8e7532005451b6 by thomas.calmant
Small enhancements of the provider snapshot API

Added utility methods to easily access services and resources by name
(commit: 6a6a881)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/impl/snapshot/ServiceSnapshotImpl.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/snapshot/ProviderSnapshot.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/snapshot/ResourceSnapshot.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/impl/snapshot/ProviderSnapshotImpl.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/impl/snapshot/ResourceSnapshotImpl.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/snapshot/ServiceSnapshot.java (diff)
Commit 2af3b585e0fb8f468425897b5fc4002f3d1701e7 by thomas.calmant
Use new Snapshot API in other projects
(commit: 2af3b58)
The file was modifiednorthbound/filters/ldap/src/test/java/org/eclipse/sensinact/northbound/filters/ldap/LdapParserTest.java (diff)
The file was modifiednorthbound/sensorthings/filter/src/test/java/org/eclipse/sensinact/northbound/filters/sensorthings/RcUtils.java (diff)
The file was modifiednorthbound/websocket/src/main/java/org/eclipse/sensinact/northbound/ws/impl/NotificationSnapshot.java (diff)
Commit fad36b2ed0152578dc5374731fda27b86b720840 by timothyjward
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)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/model/impl/ModelBuildingTest.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/model/Resource.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/twin/impl/SensinactTwinTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/impl/snapshot/ResourceSnapshotImpl.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/model/ResourceBuilder.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/impl/ResourceImpl.java (diff)
The file was modifiedcore/models/metadata/src/main/resources/model/metadata.ecore (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/impl/ResourceBuilderImpl.java (diff)
The file was modifiedcore/models/metadata/src/main/resources/model/metadata.genmodel (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/ModelNexus.java (diff)
Commit 202312d2e79e2228fa8e964a74f5cfc492c199ee by thomas.calmant
Fixed provider snapshot filterEmptyServices to keep services insertion order
(commit: 202312d)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/impl/snapshot/ProviderSnapshotImpl.java (diff)
The file was modifiednorthbound/sensorthings/mqtt/src/main/java/org/eclipse/sensinact/gateway/northbount/sensorthings/mqtt/SensorthingsMapper.java (diff)
Commit 79ed936acb54a0e967160420560a37f864f12751 by timothyjward
Implement the expand query for SensorThings northbound

This commit adds a backing implementation for the expand query for the SensorThings REST API. This is a pervasive change which requires us to carry context throughout the query so as to attach additional data structures based on the filter content.

* All queries now use full ProviderSnapshot instances so that we don't have to re-query for other resource data when filling in expansions
* Limited bulk data is included in expansions to prevent the JSON size exploding
* Data context is mapped by id to ensure we can expand values in lists
* All context is carried outside the DTO to avoid unnecessary fields appearing in the JSON output

Note that we require that all ids are able to be turned into strings. This is currently true throughout the gateway.

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 79ed936)
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/ObservedPropertiesAccessImpl.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/TestUtils.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/RootResourceAccessImpl.java (diff)
The file was addednorthbound/sensorthings/rest.api/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/ExpansionSettings.java
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/HistoricalLocationsAccessImpl.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/DtoMapper.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/ObservationsAccessImpl.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/SensorsAccessImpl.java (diff)
The file was modifiednorthbound/sensorthings/rest.api/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/filters/ExpandFilter.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/ObservationHistoryTest.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/FeaturesOfInterestAccessImpl.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/LocationsAccessImpl.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/FiltersTest.java (diff)
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/DatastreamsAccessImpl.java (diff)
The file was modifiednorthbound/sensorthings/rest.api/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/filters/CountFilter.java (diff)
The file was addednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/AbstractAccess.java
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/ThingsAccessImpl.java (diff)
The file was modifiednorthbound/sensorthings/rest.api/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/IFilterConstants.java (diff)
The file was addednorthbound/sensorthings/rest.api/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/filters/ExpansionSettingsImpl.java
Commit e8798fffedf01e025126744cf8ee6f04f87295bd by thomas.calmant
Added support for resource metadata in device factory
(commit: e8798ff)
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/FactoryParserHandler.java (diff)
The file was modifiedsouthbound/device-factory/device-factory-core/src/test/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/RecordHandlingTest.java (diff)
Commit d03aef6cfddd2b141148af6edd702819795c9c04 by thomas.calmant
Fixed inclusion of metadata in resource description

Exclude timestamp as it is associated to resource value (GET)
(commit: d03aef6)
The file was modifiednorthbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/DescriptionsTest.java (diff)
The file was modifiednorthbound/query-handler/src/main/java/org/eclipse/sensinact/northbound/query/impl/QueryHandler.java (diff)
Commit 48ec9bb6a5170724d31ac49ab438b964bd50771e by thomas.calmant
Add metadata to resource GET when requested

Added a 'metadata' query string to resource GET on REST API
(commit: 48ec9bb)
The file was modifiednorthbound/query-handler/src/main/java/org/eclipse/sensinact/northbound/query/dto/query/QueryGetDTO.java (diff)
The file was modifiednorthbound/query-handler/src/main/java/org/eclipse/sensinact/northbound/query/impl/QueryHandler.java (diff)
The file was modifiednorthbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/impl/RestNorthbound.java (diff)
The file was modifiednorthbound/query-handler/src/main/java/org/eclipse/sensinact/northbound/query/dto/result/ResponseGetDTO.java (diff)
The file was modifiednorthbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/api/IRestNorthbound.java (diff)
Commit 5dfb831176f88c28da76336ed97375d60a051bcf by thomas.calmant
Mark metadata DTOs with NullAction.IGNORE

Avoids setting the value to null while updating the metadata
(commit: 5dfb831)
The file was modifiedsouthbound/device-factory/device-factory-core/src/main/java/org/eclipse/sensinact/gateway/southbound/device/factory/impl/FactoryParserHandler.java (diff)
Commit cd470de84cf5447c733d9e51b05f86ac8776c197 by gregoire.athanase
[doc] remove empty 'how-to' chapter

Signed-off-by: Grégoire Athanase <gregoire.athanase@kentyou.com>
(commit: cd470de)
The file was removeddocs/source/guides.md
The file was modifieddocs/source/root-toc.md (diff)
Commit dc936e6531af6c5a520b176b4debc8dbe94fec82 by gregoire.athanase
[doc] describe northbound&southbound concepts

Signed-off-by: Grégoire Athanase <gregoire.athanase@kentyou.com>
(commit: dc936e6)
The file was modifieddocs/source/index.md (diff)
Commit e389d35422ae33cd344837ad2047f8330d6b15eb by gregoire.athanase
[doc] improve install instructions

Signed-off-by: Grégoire Athanase <gregoire.athanase@kentyou.com>
(commit: e389d35)
The file was modifieddocs/source/setup.md (diff)
Commit 5c25c36ec9d30f185aaa752718eb2db245fb382e by gregoire.athanase
[doc] deduplicate install instructions

Signed-off-by: Grégoire Athanase <gregoire.athanase@kentyou.com>
(commit: 5c25c36)
The file was modifieddocs/source/examples/_index.md (diff)
The file was modifieddocs/source/index.md (diff)
The file was modifieddocs/source/examples/Configuring.md (diff)
The file was modifieddocs/source/distribution/Distribution.md (diff)
The file was removeddocs/source/examples/Download.md
Commit 1bc99772e8fd9cbe7c58a448704e4c9b63d0ed63 by gregoire.athanase
[doc] improve northbound quick-start

Signed-off-by: Grégoire Athanase <gregoire.athanase@kentyou.com>
(commit: 1bc9977)
The file was modifieddocs/source/root-toc.md (diff)
The file was modifieddocs/source/setup.md (diff)
The file was modifieddocs/source/index.md (diff)
The file was addeddocs/source/quick-start/Northbound.md
The file was addeddocs/source/quick-start/_index.md
Commit 61e4218fafce131e4cd7cd28b643744881f3f25d by gregoire.athanase
[doc] deduplicate northbound quick-start

Signed-off-by: Grégoire Athanase <gregoire.athanase@kentyou.com>
(commit: 61e4218)
The file was modifieddocs/source/getting-started.md (diff)
The file was removeddocs/source/examples/Configuring.md
The file was modifieddocs/source/examples/_index.md (diff)
The file was modifieddocs/source/examples/Interacting.md (diff)
Commit 1305208d475d97f1b68afd56c9380fa10461fa86 by gregoire.athanase
[doc] improve southbound quick-start

Signed-off-by: Grégoire Athanase <gregoire.athanase@kentyou.com>
(commit: 1305208)
The file was modifieddocs/source/index.md (diff)
The file was addeddocs/source/quick-start/Southbound.md
The file was modifieddocs/source/quick-start/_index.md (diff)
Commit 2d17caca35f06ed1a7920036934de11cf5923edb by gregoire.athanase
[doc] deduplicate getting-started

Signed-off-by: Grégoire Athanase <gregoire.athanase@kentyou.com>
(commit: 2d17cac)
The file was removeddocs/source/getting-started.md
The file was modifieddocs/source/root-toc.md (diff)
Commit d56f449967ab2d893f97a1736a3d8eb79c23148a by timothyjward
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)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/extract/impl/GenericDtoExtractorTest.java (diff)
The file was modifiedcore/api/src/main/java/org/eclipse/sensinact/core/push/dto/GenericDto.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/ModelNexus.java (diff)
The file was addedcore/annotation/src/main/java/org/eclipse/sensinact/core/annotation/dto/DuplicateAction.java
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/integration/DataUpdateServiceTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/extract/impl/GenericDtoDataExtractor.java (diff)
The file was modifiedcore/annotation/src/main/java/org/eclipse/sensinact/core/annotation/dto/Provider.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/impl/SetValueCommand.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/extract/impl/CustomBaseValueDtoExtractorTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/dto/impl/AbstractUpdateDto.java (diff)
The file was modifiedcore/annotation/src/main/java/org/eclipse/sensinact/core/annotation/dto/Metadata.java (diff)
The file was modifiedcore/annotation/src/main/java/org/eclipse/sensinact/core/annotation/dto/Resource.java (diff)
The file was modifiedcore/annotation/src/main/java/org/eclipse/sensinact/core/annotation/dto/Data.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/extract/impl/AnnotationMapping.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/impl/SetMetadataCommand.java (diff)
The file was modifiedcore/annotation/src/main/java/org/eclipse/sensinact/core/annotation/dto/Service.java (diff)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/extract/impl/AnnotationBasedDtoExtractorTest.java (diff)
Commit 508355c944be9bead0063f388f4b31de34007644 by timothyjward
Further improvements to timestamp mapping
(commit: 508355c)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/extract/impl/AnnotationMapping.java (diff)
The file was modifiedcore/annotation/src/main/java/org/eclipse/sensinact/core/annotation/dto/Timestamp.java (diff)
Commit 111f254b380bf056f5a96f4396345969fc78ab79 by timothyjward
Add northbound API/SPI to the sensinact BOM

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 111f254)
The file was modifiedsensinact-bom/pom.xml (diff)
Commit c7b3cb42d39b70d0aeb4f2030f9772ddb52426af by gregoire.athanase
dataUpdate now supports multiple updates

Signed-off-by: Grégoire Athanase <gregoire.athanase@kentyou.com>
(commit: c7b3cb4)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/integration/DataUpdateServiceTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/impl/DataUpdateImpl.java (diff)
Commit 117c1652c4c53b299ea7fe9a58587c06965124e0 by timothyjward
Annotated DTO mapping error

String fields annotated with @Resource and @Metadata caused all mappings to use the metadata value as the mapping. This should not happen!

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 117c165)
The file was modifiedcore/impl/src/test/java/org/eclipse/sensinact/core/extract/impl/AnnotationBasedDtoExtractorTest.java (diff)
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/extract/impl/AnnotationMapping.java (diff)