Patch # 1: Data operation response event (NCMP → Client App) to comply with CloudEvents 92/134792/14
authorsourabh_sourabh <sourabh.sourabh@est.tech>
Thu, 8 Jun 2023 14:25:33 +0000 (15:25 +0100)
committersourabh_sourabh <sourabh.sourabh@est.tech>
Mon, 19 Jun 2023 14:05:31 +0000 (15:05 +0100)
commitf4c3f0fcebec726ea74b44f9bca3b68e66176671
tree2604f30487dfb7c791b4b56568d703999e096064
parent08898672e0de04238acdedea4266c58f17c2b7e0
Patch # 1: Data operation response event (NCMP → Client App) to comply with CloudEvents

 - Removed header definitions (since we now use CloudEvents)
 - Used 'dataOperation' instead of batch where appropriate.
 - Modified test json

Issue-ID: CPS-1724
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Change-Id: Ic0f65297b944adf9cf5f3c2cbec679a031a675ec
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
cps-ncmp-events/src/main/resources/schemas/async/batch-event-headers-1.0.0.json [deleted file]
cps-ncmp-events/src/main/resources/schemas/async/data-operation-event-schema-1.0.0.json [moved from cps-ncmp-events/src/main/resources/schemas/async/batch-event-schema-1.0.0.json with 73% similarity]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/async/DataOperationRecordFilterStrategy.java [moved from cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/async/BatchRecordFilterStrategy.java with 82% similarity]
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/async/NcmpAsyncDataOperationEventConsumer.java [moved from cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/async/NcmpAsyncBatchEventConsumer.java with 60% similarity]
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/async/NcmpAsyncDataOperationEventConsumerSpec.groovy [moved from cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/async/NcmpAsyncBatchEventConsumerSpec.groovy with 72% similarity]
cps-ncmp-service/src/test/resources/dataOperationEvent.json [moved from cps-ncmp-service/src/test/resources/batchDataEvent.json with 57% similarity]