From: <cl...@hy...> - 2009-05-07 17:12:59
|
Author: clee Date: 2009-05-07 10:12:47 -0700 (Thu, 07 May 2009) New Revision: 13143 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=13143 Modified: trunk/src/org/hyperic/hq/common/shared/HQConstants.java Log: [CAS] Add constant for CAS URL lookup Modified: trunk/src/org/hyperic/hq/common/shared/HQConstants.java =================================================================== --- trunk/src/org/hyperic/hq/common/shared/HQConstants.java 2009-05-07 08:10:25 UTC (rev 13142) +++ trunk/src/org/hyperic/hq/common/shared/HQConstants.java 2009-05-07 17:12:47 UTC (rev 13143) @@ -25,24 +25,26 @@ package org.hyperic.hq.common.shared; - /** - * Global constants file to be used for Config Properties, - * as well as any other constant used across subsystems + * Global constants file to be used for Config Properties, as well as any other + * constant used across subsystems */ public class HQConstants { public static final String ServerVersion = "CAM_SERVER_VERSION"; + public static final String SchemaVersion = "CAM_SCHEMA_VERSION"; - public static final String JAASProvider = "CAM_JAAS_PROVIDER"; - /** Application realm. Used to authenticate users **/ + public static final String JAASProvider = "CAM_JAAS_PROVIDER"; + + /** Application realm. Used to authenticate users **/ public static final String ApplicationName = "CAM"; /** Valid JAAS Providers **/ public static final String JDBCJAASProvider = "JDBC"; + /** JAAS Provider class names **/ - public static final String JDBCJAASProviderClass = + public static final String JDBCJAASProviderClass = "org.hyperic.hq.auth.server.JDBCLoginModule"; /** Base URL for the application **/ @@ -50,56 +52,77 @@ // Data storage options (All in ms) // How long do we keep raw metric data? - public static final String DataPurgeRaw = "CAM_DATA_PURGE_RAW"; + public static final String DataPurgeRaw = "CAM_DATA_PURGE_RAW"; + // How long do we keep data compressed in hourly intervals? - public static final String DataPurge1Hour = "CAM_DATA_PURGE_1H"; + public static final String DataPurge1Hour = "CAM_DATA_PURGE_1H"; + // How long do we keep data compressed in 6 hour intervals? - public static final String DataPurge6Hour = "CAM_DATA_PURGE_6H"; + public static final String DataPurge6Hour = "CAM_DATA_PURGE_6H"; + // How long do we keep data compressed in 1 day intervals? - public static final String DataPurge1Day = "CAM_DATA_PURGE_1D"; + public static final String DataPurge1Day = "CAM_DATA_PURGE_1D"; + // How often to perform database maintainence public static final String DataMaintenance = "CAM_DATA_MAINTENANCE"; + // Whether or not to reindex nightly - public static final String DataReindex = "DATA_REINDEX_NIGHTLY"; + public static final String DataReindex = "DATA_REINDEX_NIGHTLY"; // How long do we keep alerts - public static final String AlertPurge = "ALERT_PURGE"; + public static final String AlertPurge = "ALERT_PURGE"; + // Are alerts globally enabled? public static final String AlertsEnabled = "HQ_ALERTS_ENABLED"; + // Are alert notifications globally enabled? - public static final String AlertNotificationsEnabled = "HQ_ALERT_NOTIFICATIONS_ENABLED"; - public static final String ALERT_THROTTLING_THRESHOLD = "HQ_ALERT_THRESHOLD"; - public static final String ALERT_THROTTLING_EMAILS = "HQ_ALERT_THRESHOLD_EMAILS"; - + public static final String AlertNotificationsEnabled = + "HQ_ALERT_NOTIFICATIONS_ENABLED"; + + public static final String ALERT_THROTTLING_THRESHOLD = + "HQ_ALERT_THRESHOLD"; + + public static final String ALERT_THROTTLING_EMAILS = + "HQ_ALERT_THRESHOLD_EMAILS"; + // email related public static final String EmailSender = "CAM_EMAIL_SENDER"; - + // Help related public static final String HelpUser = "CAM_HELP_USER"; + public static final String HelpUserPassword = "CAM_HELP_PASSWORD"; // Syslog Actions enabled - public static final String SyslogActionsEnabled = "CAM_SYSLOG_ACTIONS_ENABLED"; + public static final String SyslogActionsEnabled = + "CAM_SYSLOG_ACTIONS_ENABLED"; - public static final String SNMPVersion = "SNMP_VERSION"; + public static final String SNMPVersion = "SNMP_VERSION"; + public static final String CAS_URL = "CAS_URL"; + public static final String DATASOURCE = "java:/HypericDS"; + public static final String EJB_MODULE_PATTERN = "hq-"; - + public static final String JBOSSCACHE = "jboss.cache:service=hqTreeCache"; + public static final String EventLogPurge = "EVENT_LOG_PURGE"; + public static final String ExternalHelp = "EXTERNAL_HELP"; + public static final String OOBEnabled = "OOB_ENABLED"; - - // The config prop key for the directory on the HQ server where the + + // The config prop key for the directory on the HQ server where the // agent upgrade bundles reside. - public static final String AgentBundleRepositoryDir = "AGENT_BUNDLE_REPOSITORY_DIR"; - - // The directory on the HQ agent where the agent upgrade bundles will be copied. - // This value is hard coded on the agent side so we are hard coding it on - // the server. + public static final String AgentBundleRepositoryDir = + "AGENT_BUNDLE_REPOSITORY_DIR"; + + // The directory on the HQ agent where the agent upgrade bundles will be + // copied. This value is hard coded on the agent side so we are hard coding + // it on the server. // TODO should have a better way to resolve this based on agent.bundle.home // agent property public static final String AgentBundleDropDir = "../../bundles"; - + } |