[jboss-svn-commits] JBL Code SVN: r13929 - in labs/jbosslabs/trunk/stats-server: rpm/SOURCES/labs-stats-server-1.0/conf-template and 4 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Aug 1 07:21:16 EDT 2007


Author: wrzep
Date: 2007-08-01 07:21:16 -0400 (Wed, 01 Aug 2007)
New Revision: 13929

Added:
   labs/jbosslabs/trunk/stats-server/rpm/SOURCES/labs-stats-server-1.0/conf-template/kosmos/
   labs/jbosslabs/trunk/stats-server/rpm/SOURCES/labs-stats-server-1.0/conf-template/kosmos/kosmos.properties
Modified:
   labs/jbosslabs/trunk/stats-server/rpm/README
   labs/jbosslabs/trunk/stats-server/rpm/SOURCES/labs-stats-server-1.0/conf-template/build.properties
   labs/jbosslabs/trunk/stats-server/rpm/SPECS/labs-stats-server-1.0.spec
   labs/jbosslabs/trunk/stats-server/sources/build.properties.sample
   labs/jbosslabs/trunk/stats-server/sources/kosmos/kosmos.properties.sample
Log:
JBLAB-875


Modified: labs/jbosslabs/trunk/stats-server/rpm/README
===================================================================
--- labs/jbosslabs/trunk/stats-server/rpm/README	2007-08-01 10:44:47 UTC (rev 13928)
+++ labs/jbosslabs/trunk/stats-server/rpm/README	2007-08-01 11:21:16 UTC (rev 13929)
@@ -13,8 +13,8 @@
 
 5. Go to SOURCES/labs-stats-server-x.y/conf-template and copy that directory to SOURCES/labs-x.y/conf
 
-6. Content of that directory will be copied to BUILD/labs-stats-server-x.y/sources. Fill in any missing values in the configuration files 
-(especially in build.properties file)
+6. Content of that directory will be copied to BUILD/labs-stats-server-x.y/sources.
+Fill in any missing values in the configuration in build.properties file. You may also want to edit kosmos/kosmos.properties file.
 Values which are already filled in normally don't need to be changed. Also, DO NOT change any values that are filled and use variables (like ${env.RPM_BUILD_ROOT} and ${RPM_INST_DIR}).
 
 7. Build the RPM using:

Modified: labs/jbosslabs/trunk/stats-server/rpm/SOURCES/labs-stats-server-1.0/conf-template/build.properties
===================================================================
--- labs/jbosslabs/trunk/stats-server/rpm/SOURCES/labs-stats-server-1.0/conf-template/build.properties	2007-08-01 10:44:47 UTC (rev 13928)
+++ labs/jbosslabs/trunk/stats-server/rpm/SOURCES/labs-stats-server-1.0/conf-template/build.properties	2007-08-01 11:21:16 UTC (rev 13929)
@@ -1,5 +1,5 @@
 # This should be a full path to the BUILD/labs-stats-server-x.y/sources directory
-stats.root.dir=/Users/pawelwrzeszcz/labs/dev2/wc/stats-server/rpm/BUILD/labs-stats-server-1.0/sources
+stats.root.dir=
 
 # Path to JBoss AS
 local.server.dir=${env.RPM_BUILD_ROOT}${RPM_INST_DIR}/jboss

Added: labs/jbosslabs/trunk/stats-server/rpm/SOURCES/labs-stats-server-1.0/conf-template/kosmos/kosmos.properties
===================================================================
--- labs/jbosslabs/trunk/stats-server/rpm/SOURCES/labs-stats-server-1.0/conf-template/kosmos/kosmos.properties	                        (rev 0)
+++ labs/jbosslabs/trunk/stats-server/rpm/SOURCES/labs-stats-server-1.0/conf-template/kosmos/kosmos.properties	2007-08-01 11:21:16 UTC (rev 13929)
@@ -0,0 +1,16 @@
+# cache configuration
+# timeout (3 days)
+kosmos.cache.timeout.seconds=259200
+# max number of elements
+kosmos.cache.maxelements=2048
+
+# auto-update (cron expression)
+# update evert day at 00:30
+kosmos.cache.update.cronexpr=0 30 0 * * ?
+
+# webdav configuration
+# this should be 'http://<stats-server-url>/slide/files
+kosmos.webdav.url=
+# the following can be left blank
+kosmos.webdav.user=
+kosmos.webdav.password=
\ No newline at end of file

Modified: labs/jbosslabs/trunk/stats-server/rpm/SPECS/labs-stats-server-1.0.spec
===================================================================
--- labs/jbosslabs/trunk/stats-server/rpm/SPECS/labs-stats-server-1.0.spec	2007-08-01 10:44:47 UTC (rev 13928)
+++ labs/jbosslabs/trunk/stats-server/rpm/SPECS/labs-stats-server-1.0.spec	2007-08-01 11:21:16 UTC (rev 13929)
@@ -15,10 +15,10 @@
 %define _unpackaged_files_terminate_build 0
 
 # Where Labs Stats Server should be installed
-#%define rpm_inst_dir /services/jbossorg/prod
+#%define rpm_inst_dir /services/jbossorg/stats/prod
 %define rpm_inst_dir /Users/pawelwrzeszcz/labs/dev2/inst
 # A special characters-escaped version of the above
-#%define rpm_inst_dir_esc \\/services\\/jbossorg\\/prod
+#%define rpm_inst_dir_esc \\/services\\/jbossorg\\/stats\\/prod
 %define rpm_inst_dir_esc \\/Users\\/pawelwrzeszcz\\/labs\\/dev2\\/inst
 
 %description

Modified: labs/jbosslabs/trunk/stats-server/sources/build.properties.sample
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/build.properties.sample	2007-08-01 10:44:47 UTC (rev 13928)
+++ labs/jbosslabs/trunk/stats-server/sources/build.properties.sample	2007-08-01 11:21:16 UTC (rev 13929)
@@ -1,6 +1,9 @@
-# Path to stats-server directory
+# This should be a full path to the BUILD/labs-stats-server-x.y/sources directory
 stats.root.dir=
 
+# stats server URL
+stats.server.url=
+
 # Path to JBoss AS
 local.server.dir=
 

Modified: labs/jbosslabs/trunk/stats-server/sources/kosmos/kosmos.properties.sample
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/kosmos/kosmos.properties.sample	2007-08-01 10:44:47 UTC (rev 13928)
+++ labs/jbosslabs/trunk/stats-server/sources/kosmos/kosmos.properties.sample	2007-08-01 11:21:16 UTC (rev 13929)
@@ -1,12 +1,16 @@
-# ehcache
-# timeout (a bit more than 2 days)
-kosmos.cache.timeout.seconds=180000
-kosmos.cache.maxelements=1024
+# cache configuration
+# timeout (3 days)
+kosmos.cache.timeout.seconds=259200
+# max number of elements
+kosmos.cache.maxelements=2048
 
 # auto-update (cron expression)
-kosmos.cache.update.cronexpr=0 0 0 * * ?
+# update evert day at 00:30
+kosmos.cache.update.cronexpr=0 30 0 * * ?
 
-# webdav
-kosmos.webdav.url=http://localhost:8080/slide/files
+# webdav configuration
+# this should be 'http://<stats-server-url>/slide/files
+kosmos.webdav.url=
+# the following can be left blank
 kosmos.webdav.user=
 kosmos.webdav.password=
\ No newline at end of file




More information about the jboss-svn-commits mailing list