Bulk upload changes and music health check apis
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / logging / format / EPAppMessagesEnum.java
index d7536bf..8062926 100644 (file)
@@ -33,7 +33,7 @@
  *
  * ============LICENSE_END============================================
  *
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * 
  */
 package org.onap.portalapp.portal.logging.format;
 
@@ -43,7 +43,7 @@ import org.onap.portalsdk.core.logging.format.ErrorTypeEnum;
 
 /**
  * 
- * Add ECOMP Portal Specific Error Code Enums here, for generic
+ * Add ONAP Portal Specific Error Code Enums here, for generic
  * ones (ones you think are useful not only Portal but also SDK), add it
  * to the enum class AppMessagesEnum defined in SDK.
  */
@@ -83,7 +83,7 @@ public enum EPAppMessagesEnum {
        
        BeRestApiAuthenticationError(EPErrorCodesEnum.BERESTAPIAUTHENTICATIONERROR, ErrorTypeEnum.AUTHENTICATION_PROBLEM, AlarmSeverityEnum.MAJOR, ErrorSeverityEnum.ERROR,
                                                                "ERR101E", "Rejected an incoming REST API request due to invalid credentials", "", "Please check application credentials defined in Database or properties files."),
-       
+
        InternalAuthenticationInfo(EPErrorCodesEnum.INTERNALAUTHENTICATIONINFO_ONE_ARGUMENT, ErrorTypeEnum.AUTHENTICATION_PROBLEM, AlarmSeverityEnum.INFORMATIONAL, ErrorSeverityEnum.INFO,
                                                                "ERR199I", "Internal authentication problem", "Details: {0}.", "Please check the logs for more information."),
        
@@ -132,6 +132,11 @@ public enum EPAppMessagesEnum {
     BeHttpConnectionError(EPErrorCodesEnum.BEHTTPCONNECTIONERROR_ONE_ARGUMENT, ErrorTypeEnum.CONNECTION_PROBLEM, AlarmSeverityEnum.MAJOR, ErrorSeverityEnum.ERROR,
                                                                "ERR213E", "It could be that communication to an external application might resulted an exception or failed to reach the external application", 
                                                                "Details: {0}.", "Please check logs for more information."),
+       MusicHealthCheckZookeeperError(EPErrorCodesEnum.MUSICHEALTHCHECKZOOKEEPERERROR_ONE_ARGUMENT, ErrorTypeEnum.SYSTEM_ERROR, AlarmSeverityEnum.MAJOR, ErrorSeverityEnum.ERROR,
+                                "ERR214E", "Connectivity to Music Cluster -zookeeper server", "Details: {0}.", "Please check zookeeper server list and check the logs for more information"),
+       
+    MusicHealthCheckCassandraError(EPErrorCodesEnum.MUSICHEALTHCHECKCASSANDRAERROR_ONE_ARGUMENT, ErrorTypeEnum.SYSTEM_ERROR, AlarmSeverityEnum.MAJOR, ErrorSeverityEnum.ERROR,
+                                "ERR215E", "Connectivity to Music Cluster -Cassandra server", "Details: {0}.", "Please check Cassandra server list and check the logs for more information"),
     
     InternalConnectionInfo(EPErrorCodesEnum.INTERNALCONNECTIONINFO_ONE_ARGUMENT, ErrorTypeEnum.CONNECTION_PROBLEM, AlarmSeverityEnum.INFORMATIONAL, ErrorSeverityEnum.INFO,
                                                                "ERR299I", "Internal Connection problem", "Details: {0}.", "Please check logs for more information."),
@@ -224,7 +229,7 @@ public enum EPAppMessagesEnum {
                        "ERR540E", "Unexpected Scheduler error", "Details: {0}.", "Please check logs for more information."),
     
     SchedulerInvalidAttributeError(EPErrorCodesEnum.SCHEDULER_INVALID_ATTRIBUTEERROR, ErrorTypeEnum.SYSTEM_ERROR, AlarmSeverityEnum.MAJOR, ErrorSeverityEnum.ERROR,
-                       "ERR505E", "Unable to create Scheduler", "Details: {0}.", "Please check logs for more information."),
+                       "ERR515E", "Unable to create Scheduler", "Details: {0}.", "Please check logs for more information."),
 
        ;