From 9e597b73b7eba2006785034cc49294a21b6f967d Mon Sep 17 00:00:00 2001 From: mpriyank Date: Thu, 23 Jun 2022 15:14:31 +0100 Subject: Remove operation from NcmpEvent - Remove operation field from NcmpEvent schema as it is not required - Code refactoring corresponding to removal of operation field - Fixed test cases around it - UPCOMING: Some sort of state machine to handle the event publishing Issue-ID: CPS-1100 Change-Id: Ib89b86bd1408de2808b01d37a48ee44a2601f83d Signed-off-by: mpriyank --- cps-ncmp-events/src/main/resources/schemas/ncmp-event-schema-v1.json | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cps-ncmp-events/src/main/resources') diff --git a/cps-ncmp-events/src/main/resources/schemas/ncmp-event-schema-v1.json b/cps-ncmp-events/src/main/resources/schemas/ncmp-event-schema-v1.json index 05a0e93b31..2dcc30e6ed 100644 --- a/cps-ncmp-events/src/main/resources/schemas/ncmp-event-schema-v1.json +++ b/cps-ncmp-events/src/main/resources/schemas/ncmp-event-schema-v1.json @@ -59,11 +59,6 @@ "description": "cmHandle id", "type": "string" }, - "operation": { - "description": "The name of the Operation that triggered this event.", - "type": "string", - "enum": ["CREATE", "UPDATE", "DELETE"] - }, "cmhandle-state": { "description": "State of cmHandle.", "type": "string", -- cgit 1.2.3-korg