aboutsummaryrefslogtreecommitdiffstats
path: root/operation-utils/src/main/java/org/openecomp/logger/GenericMessageEnum.java
diff options
context:
space:
mode:
authorlj1412 <lji@research.att.com>2017-02-14 15:12:22 +0000
committerlj1412 <lji@research.att.com>2017-02-14 15:12:24 +0000
commit2df01453c7e4cd35c41c6185dc2ea34710b29b7f (patch)
tree74689740e3be8757b00abd8083c8942100125d45 /operation-utils/src/main/java/org/openecomp/logger/GenericMessageEnum.java
parent5f5ff4cf17e08099fac5d14e76dbc646c771156c (diff)
Init dcae.operation
Change-Id: Ia36372d0fb3ba0b960b32a50d656a0e7035bdcac Signed-off-by: lj1412 <lji@research.att.com>
Diffstat (limited to 'operation-utils/src/main/java/org/openecomp/logger/GenericMessageEnum.java')
-rw-r--r--operation-utils/src/main/java/org/openecomp/logger/GenericMessageEnum.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/operation-utils/src/main/java/org/openecomp/logger/GenericMessageEnum.java b/operation-utils/src/main/java/org/openecomp/logger/GenericMessageEnum.java
new file mode 100644
index 0000000..deed808
--- /dev/null
+++ b/operation-utils/src/main/java/org/openecomp/logger/GenericMessageEnum.java
@@ -0,0 +1,38 @@
+
+/*-
+ * ============LICENSE_START==========================================
+ * OPENECOMP - DCAE
+ * ===================================================================
+ * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
+ * ===================================================================
+ * 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.
+ * ============LICENSE_END============================================
+ */
+
+package org.openecomp.logger;
+
+import com.att.eelf.i18n.EELFResourceManager;
+
+public enum GenericMessageEnum implements EcompMessageEnum {
+ GENERAL_INFO,
+ GENERAL_WARNING,
+ GENERAL_ERROR,
+ GENERAL_EXCEPTION,
+ AUDIT_BEGIN,
+ AUDIT_END,
+ METRICS_BEGIN,
+ METRICS_END;
+ static {
+ EELFResourceManager.loadMessageBundle("GenericMessages");
+ }
+}