summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-events/src/main/resources/schemas
diff options
context:
space:
mode:
authormpriyank <priyank.maheshwari@est.tech>2022-06-23 15:14:31 +0100
committermpriyank <priyank.maheshwari@est.tech>2022-06-23 15:16:49 +0100
commit9e597b73b7eba2006785034cc49294a21b6f967d (patch)
treedcd10b0c7c9cfd48679c678a76f5c04a1f1b76c1 /cps-ncmp-events/src/main/resources/schemas
parent40a8211b8f8f4b244b43620776a71371bc5371d6 (diff)
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 <priyank.maheshwari@est.tech>
Diffstat (limited to 'cps-ncmp-events/src/main/resources/schemas')
-rw-r--r--cps-ncmp-events/src/main/resources/schemas/ncmp-event-schema-v1.json5
1 files changed, 0 insertions, 5 deletions
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",