Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WorkaroundProsConsNotes
Limiting the delta between Anchor and JSON payload to only one DataNodeThe DeltaReport will be consistent with the existing API i.e., Delta between 2 anchors
  • Limited to only 1 data node at a time


Using alternative paths, like JSON pathThe delta report will have xpaths replaced by JSON path
  • CPS is dependent and built around xpath, hence this will be a major inconsistency
  • If implemented, we will need to generate JSON paths for both, the data from anchor and the JSON payload,
  • making the operation more expensive

Not reporting the xpaths in the delta report between anchor and JSON payloadCan be implemented for multiple data nodes
  • Delta report will be inconsistent and not as per the RFC standard
  • It is inconsistent with respect to the existing API of delta report.


Note
Note: Open for suggestions for more alternative approaches


Mechanism for Delta generation between Anchor and Payload