wldt / wldt-core-java

Java Core Library of the White Label Digital Twin Framework
Apache License 2.0
4 stars 2 forks source link

Handle DT State Publishing Instead of single properties #10

Open piconem opened 1 year ago

piconem commented 1 year ago

Currently, each variation of a property triggers a new event publishing. From a "formal" point of view it will be better to publish a new DTState associated with a timestamp that will be received by Digital Adapters.

An interesting point can be to allow to "label" the field that changes with respect to the previous version allowing for example Digital Adapter to handle only the variation without manually checking the differences.

Evaluate Json Patch to handle single variation on the Digital Twin State when a notification will be sent to a Digital Adapter: https://jsonpatch.com/

samubura commented 8 months ago

Partially addressed in #16 Consider closing and reopening with a more fine-grained issue on the missing parts.