Part 2: Add delta report in Kafka notification 67/142267/19
authorArpit Singh <AS00745003@techmahindra.com>
Thu, 30 Oct 2025 13:06:16 +0000 (18:36 +0530)
committerArpit Singh <AS00745003@techmahindra.com>
Thu, 18 Dec 2025 07:04:08 +0000 (12:34 +0530)
commitf50c80c8f8ff345106548d633e11073f7bf4e8d0
tree1c2dbfc91bf22f7662b2086cd97ff8dda0405b59
parent4d73e3089e8ae455037d3246f39d0fc51f9fba48
Part 2: Add delta report in Kafka notification

Added support for delta report in kafka notifications for CPS core
endpoints.
The following methods are supported in this path:
 - saveData, saveListElements,
   updateNodeLeavesAndExistingDescendantLeaves, updateNodeLeaves,
   updateDataNodeAndDescendants, replaceListContent, deleteDataNode,
   deleteListOrListElement, deleteDataNodes.
The following methods are not supported in this patch:
 - updateDataNodesAndDescendants, deleteDataNodes
 As they need a separate method to generate delta report and then send
 the notifications, which can be done as a separate patch.

Issue-ID: CPS-3026
Change-Id: I28700c67df55e8e19754d7ca9e9a1aab5540fc71
Signed-off-by: Arpit Singh <AS00745003@techmahindra.com>
cps-application/src/main/resources/application.yml
cps-events/src/main/resources/schemas/cps.dataupdated/cps-data-updated-event-schema-1.0.0.json
cps-service/src/main/java/org/onap/cps/events/CpsDataUpdateEventsProducer.java
cps-service/src/main/java/org/onap/cps/impl/CpsDataServiceImpl.java
cps-service/src/test/groovy/org/onap/cps/events/CpsDataUpdateEventProducerSpec.groovy
cps-service/src/test/groovy/org/onap/cps/impl/CpsDataServiceImplSpec.groovy
cps-service/src/test/groovy/org/onap/cps/impl/E2ENetworkSliceSpec.groovy
docs/api/swagger/cps/openapi.yaml