aboutsummaryrefslogtreecommitdiffstats
path: root/cps-service/src/main/java/org/onap/cps/notification/Operation.java
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2022-01-09 08:38:31 -0500
committerRenu Kumari <renu.kumari@bell.ca>2022-01-11 08:19:58 -0500
commit4bee6edd2dcf1b2ada3a808ae19b003c684025cd (patch)
treefe30aa0f4cfcdfae0c98d1acc200374233c1d12b /cps-service/src/main/java/org/onap/cps/notification/Operation.java
parent15fffd19b49827184096ae1444b8ca2ed86a5201 (diff)
Send operation information in existing notification events
Issue-ID: CPS-791 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: Ic68dd476942291cf03afed99e95a245dafde5be9
Diffstat (limited to 'cps-service/src/main/java/org/onap/cps/notification/Operation.java')
-rw-r--r--cps-service/src/main/java/org/onap/cps/notification/Operation.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/notification/Operation.java b/cps-service/src/main/java/org/onap/cps/notification/Operation.java
new file mode 100644
index 0000000000..83e1ccf79f
--- /dev/null
+++ b/cps-service/src/main/java/org/onap/cps/notification/Operation.java
@@ -0,0 +1,27 @@
+/*
+ * ============LICENSE_START=======================================================
+ * Copyright (c) 2022 Bell Canada.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.cps.notification;
+
+public enum Operation {
+ CREATE,
+ UPDATE,
+ DELETE
+}