Versions Compared

Key

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

Gliffy
imageAttachmentIdatt88015679
macroIde78a49e5-51f6-422b-bcae-ea3d11370a7b
baseUrlhttps://lf-onap.atlassian.net/wiki
displayNameFlattening of JSON
nameFlattening of JSON
diagramAttachmentIdatt87982674
containerId79822969
version3

Grouping of create and remove operations in delta report is fairly straightforward because the two do not lead to complex scenarios. If a data node is added all its child nodes are also added, same applies in case of remove operation where if a parent node is removed all its child nodes are also removed. Similarly, operations on parent-child nodes like create+update, create+remove, remove+update and remove+createare not possible because if a parent is added or removed the child cannot be added, removed or updated. Hence, the grouping of data nodes which are either added or removed is simpler.

...

Expand

Source Data

Target Data

Code Block
[
  {
    "parent": {
      "leaf-1": "leaf-1 data",
      "leaf-2": "leaf-2 data",
      "child": {
        "child-1 data": "child-1 data",
        "child-2 data": "child-2 data"
      }
    }
  }
]
Code Block
languagejson
[
  {
    "parent": {
      "leaf-1": "leaf-1 data",
      "leaf-2": "leaf-2 updated data",
      "child": {
        "child-1 data": "child-1 updated data",
        "child-2 data": "child-2 data"
      }
    }
  }
]

Mechanism for comparison

Gliffy
baseUrlhttps://lf-onap.atlassian.net/wiki
nameFlattening of JSON
pageid79822969
timestamp1735206010231
Gliffy
imageAttachmentIdatt84869188
macroId9449afce-5ab1-4b5a-bf40-dc0ba2d2b5d5
baseUrlhttps://lf-onap.atlassian.net/wiki
displayNameFlowchart of replace operation in Delta Frature
nameUpdate Flowchart
diagramAttachmentIdatt84901971
containerId79822969
version13
timestamp1734600420506

...