source: trunk/config/dist/base.config @ 5048

Last change on this file since 5048 was 5048, checked in by Nicklas Nordborg, 14 years ago

References #108: Logging the change history of an item

  • Added list and view pages for the change history
  • The biosource view page is used as a prototype
  • Made it possible to disable the "Change history" with setting in base.config
File size: 6.2 KB
Line 
1# $Id: base.config.in 2932 2006-11-17 11:29:27Z nicklas $
2#
3# Copyright (C) 2006 Nicklas Nordborg
4# Copyright (C) 2007 Nicklas Nordborg, Martin Svensson
5#
6# This file is part of BASE - BioArray Software Environment.
7# Available at http://base.thep.lu.se/
8#
9# BASE is free software; you can redistribute it and/or
10# modify it under the terms of the GNU General Public License
11# as published by the Free Software Foundation; either version 3
12# of the License, or (at your option) any later version.
13#
14# BASE is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with BASE. If not, see <http://www.gnu.org/licenses/>.
21# ----------------------------------------
22
23# =======================
24# Database driver section
25# =======================
26
27# -----
28# MySQL
29# -----
30db.dialect          = org.hibernate.dialect.MySQLInnoDBDialect
31db.driver           = com.mysql.jdbc.Driver
32db.url              = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true
33db.dynamic.catalog  = base2dynamic
34db.queries          = /mysql-queries.xml
35#export.max.items    = 20000
36
37# --------
38# Postgres
39# --------
40#db.dialect          = org.hibernate.dialect.PostgreSQLDialect
41#db.driver           = org.postgresql.Driver
42#db.url              = jdbc:postgresql:base2
43#db.dynamic.catalog  = base2
44#db.dynamic.schema   = dynamic
45#db.queries          = /postgres-queries.xml
46#export.max.items    = 0
47
48# -------------
49# Common to all
50# -------------
51db.username            = base2user
52db.password            = password
53db.extended-properties = /extended-properties.xml
54db.raw-data-types      = /raw-data-types.xml
55db.batch-size          = 50
56# Number of hours between cleanup of unused items in the database
57# Set to 0 to disable (recommended for job agents)
58db.cleanup.interval    = 24
59
60
61# ======================
62# Authentication section
63# ======================
64
65# ----------------
66# POP3 mail server
67# ----------------
68#auth.driver         = net.sf.basedb.core.authentication.POP3Authenticator
69#auth.init           = mail.example.com
70#auth.synchronize    = 0
71#auth.cachepasswords = 0
72#auth.daystocache    = 0
73
74
75# ==========================
76# Internal job queue section
77# ==========================
78# If the internal job queue should be enabled or not
79jobqueue.internal.enabled            = true
80
81# Signal receiver class for sending signals to running jobs (to abort them)
82jobqueue.internal.signalreceiver.class = net.sf.basedb.core.signal.LocalSignalReceiver
83jobqueue.internal.signalreceiver.init  = jobqueue:0
84
85# If plugins with useInteralJobQueue = false should be executed or not
86jobqueue.internal.runallplugins      = false
87
88# The maximum thread priority for any thread executing a plug-in
89#jobqueue.internal.maxthreadpriority  = 4
90
91# Number of seconds between checks to the job queue
92jobqueue.internal.checkinterval      = 30
93
94# NOTE! A quick job may use threads from any of the "slower" pools
95# if there is place for another thread
96# Number of threads to reserved for jobs that takes < 1 minute to execute
97jobqueue.internal.shortest.threads   = 1
98#jobqueue.internal.shortest.threadpriority = 4
99
100# Number of threads to reserved for jobs that takes < 10 minutes to execute
101jobqueue.internal.short.threads      = 1
102#jobqueue.internal.short.threadpriority = 4
103
104# Number of threads to reserved for jobs that takes < 1 hour to execute
105jobqueue.internal.medium.threads     = 2
106#jobqueue.internal.medium.threadpriority = 3
107
108# Number of threads to reserved for jobs that takes > 1 hour to execute
109jobqueue.internal.long.threads       = 4
110#jobqueue.internal.long.threadpriority = 3
111
112# ==========================
113# External job agent section
114# ==========================
115
116# Number of seconds to cache information from a job agent before it
117# is reloaded. The default value is 60 seconds.
118agent.maxage=60
119
120# The timeout in milliseconds to use when connecting to job agents to
121# get information. The default value is 1000 milliseconds.
122agent.connection.timeout=1000
123
124
125# =========================
126# Secondary storage section
127# =========================
128# The classname of the driver; leave empty to disable secondary storage
129# secondary.storage.driver   = net.sf.basedb.core.InternalStorageController
130
131# Initialisation options to the seconday storage controller
132# The internal implementation wants a path to the secondary directory
133# secondary.storage.init     = /usr/local/base2/secondary
134
135# The interval (in seconds) between checks for new files to move
136# secondary.storage.interval = 3600
137
138# Comma-separated list of time values (hours:minutes) when the controller
139# should be executed; overrides the interval setting if present
140# secondary.storage.time = 18:15,07:30
141
142# =========================
143# Change history section
144# =========================
145
146# Class name of the changelog factory; leave empty to disable the changelog
147# changelog.factory = net.sf.basedb.core.log.db.DbLogManagerFactory
148
149# If the "Change history" tab should be visible in the web interface
150# or not. It is hidden by default.
151# changelog.show-in-web = false
152
153# ===============
154# General section
155# ===============
156
157# The path to the directory where uploaded files are stored
158userfiles = /usr/local/base2/files
159
160# The path to the directory where external plugins are installed
161plugins.dir=/usr/local/base2/plugins
162
163# Number of minutes to keep permission information for the logged
164# in user in memory before it is reloaded from the database.
165permission.timeout = 10
166
167# Number of minutes to keep SessionControl object in the cache
168# after the last use
169cache.timeout = 20
170
171# If the static cache should be disabled or enabled
172# Disabling the static cache may reduce performance for
173# certain operations
174cache.static.disabled = false
175
176# Timeout (in days) for items in the static cache
177# Items that hasn't been accessed in the configured amount of
178# of time will be removed from the cache
179cache.static.max-age = 30
180
181#Overwrite the existing help texts when updating the program
182helptext.update = true
183
184# Set to 1 to disable auto-compression of uploaded files
185autocompress.disable = 0
186
187
Note: See TracBrowser for help on using the repository browser.