Add support for delete data-node event 08/126908/5
authorRenu Kumari <renu.kumari@bell.ca>
Mon, 31 Jan 2022 19:01:42 +0000 (14:01 -0500)
committerRenu Kumari <renu.kumari@bell.ca>
Mon, 7 Feb 2022 13:48:25 +0000 (13:48 +0000)
commit4125b3266d9cda4a6e37b7efc9caa6bde231405b
treea46bec1a7a7c02b7acc534113052fed4f5fb2b2b
parente1537e7c389950dd8ad845e46a9e7b647f427eba
Add support for delete data-node event

- Changed process event input to address delete
- Send null data in the event if the operation is DELETE

Issue-ID: CPS-791
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: If851f7132e94bcbcaf4324d07a2a00c90d1882b7
cps-service/src/main/java/org/onap/cps/api/impl/CpsDataServiceImpl.java
cps-service/src/main/java/org/onap/cps/notification/CpsDataUpdatedEventFactory.java
cps-service/src/main/java/org/onap/cps/notification/NotificationService.java
cps-service/src/test/groovy/org/onap/cps/api/impl/CpsDataServiceImplSpec.groovy
cps-service/src/test/groovy/org/onap/cps/notification/CpsDataUpdateEventFactorySpec.groovy
cps-service/src/test/groovy/org/onap/cps/notification/NotificationServiceSpec.groovy