Skip to content
Failed

Changes

Summary

  1. Better error handling for pushed updates (commit: 77b7e28) (details)
Commit 77b7e282d7c143c7714bea3f4da6c2b9e4c93a1e by Tim Ward
Better error handling for pushed updates

This commit defines the exceptions that will be used to fail pushed updates, including bulk updates, and will be used to fail the returned promise. These exceptions return the error, and the original DTO so that users can attempt to work out what they did wrong.

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 77b7e28)
The file was modified core/impl/src/test/java/org/eclipse/sensinact/core/extract/impl/GenericDtoExtractorTest.java (diff)
The file was addedcore/impl/src/test/java/org/eclipse/sensinact/core/integration/DataUpdateServiceTest.java
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/extract/impl/GenericDtoDataExtractor.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/dto/impl/AbstractUpdateDto.java (diff)
The file was addedcore/impl/src/main/java/org/eclipse/sensinact/core/dto/impl/FailedMappingDto.java
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/push/DataUpdateException.java
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/impl/SetMetadataCommand.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/impl/SetValueCommand.java (diff)
The file was modified core/api/src/main/java/org/eclipse/sensinact/core/push/DataUpdate.java (diff)
The file was modified core/impl/src/test/java/org/eclipse/sensinact/core/extract/impl/AnnotationBasedDtoExtractorTest.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/extract/impl/AnnotationMapping.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/impl/DataUpdateImpl.java (diff)
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/push/FailedUpdatesException.java
The file was modified core/impl/integration-test.bndrun (diff)
The file was addedcore/api/src/main/java/org/eclipse/sensinact/core/push/DataMappingException.java