Skip to content
Failed

Changes

Summary

  1. Add support for nullable data which should not create a resource (commit: 068be10) (details)
Commit 068be1017ad07f297a0316652e66e9dec2412304 by Tim Ward
Add support for nullable data which should not create a resource

In some cases null is a valid value to return, but should not be used to initialize a resource. For example if a DTO contains some optional resources which may never be set for some providers, but will be set for others, and those resources may be null, then this was not previously possible

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 068be10)
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/impl/SetValueCommand.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/whiteboard/impl/SensinactWhiteboard.java (diff)
The file was modified core/impl/src/test/java/org/eclipse/sensinact/core/command/impl/WhiteboardImplTest.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/test/java/org/eclipse/sensinact/core/extract/impl/GenericDtoExtractorTest.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/extract/impl/EMFGenericDtoDataExtractor.java (diff)
The file was modified core/annotation/src/main/java/org/eclipse/sensinact/core/annotation/dto/NullAction.java (diff)
The file was modified core/impl/src/test/java/org/eclipse/sensinact/core/extract/impl/CustomBaseValueDtoExtractorTest.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/dto/impl/AbstractUpdateDto.java (diff)