diff options
author | wangyaoguang <sunshine.wang@huawei.com> | 2016-04-05 15:25:46 +0800 |
---|---|---|
committer | wangyaoguang <sunshine.wang@huawei.com> | 2016-04-05 17:00:08 +0800 |
commit | 708e3c7eacb563bfe029719bc7f4c7d0c6d233b7 (patch) | |
tree | c58152a52d5d6b7a0652d0ccf67acf9e7f2e2baa /testsuites/rubbos/puppet_manifests/modules/rubbos_tomcat/files/tomcat_sl/Config.java | |
parent | c3756b0ed4a52407f5da611fa92ddc68b9e6be8b (diff) |
add puppet manifests and conf files for rubbos tomcat module
Change-Id: Ieff7000004a3f228731f4c35a519a9634a70a702
JIRA: BOTTLENECK-53
Diffstat (limited to 'testsuites/rubbos/puppet_manifests/modules/rubbos_tomcat/files/tomcat_sl/Config.java')
-rw-r--r-- | testsuites/rubbos/puppet_manifests/modules/rubbos_tomcat/files/tomcat_sl/Config.java | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/testsuites/rubbos/puppet_manifests/modules/rubbos_tomcat/files/tomcat_sl/Config.java b/testsuites/rubbos/puppet_manifests/modules/rubbos_tomcat/files/tomcat_sl/Config.java new file mode 100644 index 00000000..b415ba4b --- /dev/null +++ b/testsuites/rubbos/puppet_manifests/modules/rubbos_tomcat/files/tomcat_sl/Config.java @@ -0,0 +1,68 @@ + +/** + * RUBBoS: Rice University Bulletin Board System. + * Copyright (C) 2001-2004 Rice University and French National Institute For + * Research In Computer Science And Control (INRIA). + * Contact: jmob@objectweb.org + * + * This library is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or any later + * version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + * for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this library; if not, write to the Free Software Foundation, + * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * Initial developer(s): Emmanuel Cecchet. + * Contributor(s): ______________________. + */ + +package edu.rice.rubbos.servlets; + +/** + * This class contains the configuration for the servlets like the path of HTML + * files, etc ... + * + * @author <a href="mailto:cecchet@rice.edu">Emmanuel Cecchet </a> and <a + * href="mailto:julie.marguerite@inrialpes.fr">Julie Marguerite </a> + * @version 1.0 + */ + +public class Config +{ + + /** + * Creates a new <code>Config</code> instance. + */ + Config() + { + } + + + public static final String HTMLFilesPath = "REPLACED_RUBBOS_HOME/Servlet_HTML"; + public static final String DatabaseProperties = "REPLACED_RUBBOS_HOME/Servlets/mysql.properties"; + public static final int DatabasePropertiesSize = 1; + + public static final int AboutMePoolSize = 10; + public static final int BrowseCategoriesPoolSize = 6; + public static final int BrowseRegionsPoolSize = 6; + public static final int BuyNowPoolSize = 4; + public static final int PutBidPoolSize = 8; + public static final int PutCommentPoolSize = 2; + public static final int RegisterItemPoolSize = 2; + public static final int RegisterUserPoolSize = 2; + public static final int SearchItemsByCategoryPoolSize = 15; + public static final int SearchItemsByRegionPoolSize = 20; + public static final int StoreBidPoolSize = 8; + public static final int StoreBuyNowPoolSize = 4; + public static final int StoreCommentPoolSize = 2; + public static final int ViewBidHistoryPoolSize = 4; + public static final int ViewItemPoolSize = 20; + public static final int ViewUserInfoPoolSize = 4; +} |