aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/aai/babel/logging/ApplicationMsgs.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/onap/aai/babel/logging/ApplicationMsgs.java')
-rw-r--r--src/main/java/org/onap/aai/babel/logging/ApplicationMsgs.java35
1 files changed, 14 insertions, 21 deletions
diff --git a/src/main/java/org/onap/aai/babel/logging/ApplicationMsgs.java b/src/main/java/org/onap/aai/babel/logging/ApplicationMsgs.java
index 812c4c1..7178810 100644
--- a/src/main/java/org/onap/aai/babel/logging/ApplicationMsgs.java
+++ b/src/main/java/org/onap/aai/babel/logging/ApplicationMsgs.java
@@ -24,28 +24,21 @@ import com.att.eelf.i18n.EELFResourceManager;
import org.onap.aai.cl.eelf.LogMessageEnum;
public enum ApplicationMsgs implements LogMessageEnum {
- /** Arguments: {0} = message. */
- // @formatter:off
- DISTRIBUTION_EVENT,
- MESSAGE_AUDIT,
- MESSAGE_METRIC,
- MISSING_REQUEST_ID,
- PROCESS_REQUEST_ERROR,
- INVALID_CSAR_FILE,
- INVALID_REQUEST_JSON,
- BABEL_REQUEST_PAYLOAD,
- BABEL_RESPONSE_PAYLOAD,
- LOAD_PROPERTIES,
- PROCESSING_VNF_CATALOG_ERROR,
- TEMP_FILE_ERROR,
- MISSING_SERVICE_METADATA;
-
- // @formatter:on
- /**
- * Static initializer to ensure the resource bundles for this class are loaded... Here this application loads
- * messages from three bundles
- */
+ DISTRIBUTION_EVENT,
+ MESSAGE_AUDIT,
+ MESSAGE_METRIC,
+ MISSING_REQUEST_ID,
+ PROCESS_REQUEST_ERROR,
+ INVALID_CSAR_FILE,
+ INVALID_REQUEST_JSON,
+ BABEL_REQUEST_PAYLOAD,
+ BABEL_RESPONSE_PAYLOAD,
+ LOAD_PROPERTIES,
+ PROCESSING_VNF_CATALOG_ERROR,
+ TEMP_FILE_ERROR,
+ MISSING_SERVICE_METADATA;
+
static {
EELFResourceManager.loadMessageBundle("babel-logging-resources");
}