1 | # $Id: base.config 6424 2014-02-25 13:37:04Z 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 | # ----- |
---|
30 | db.dialect = org.hibernate.dialect.MySQL5InnoDBDialect |
---|
31 | db.driver = com.mysql.jdbc.Driver |
---|
32 | db.url = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true |
---|
33 | db.dynamic.catalog = base2dynamic |
---|
34 | db.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 | |
---|
47 | # ------------- |
---|
48 | # Common to all |
---|
49 | # ------------- |
---|
50 | db.username = base2user |
---|
51 | db.password = password |
---|
52 | db.extended-properties = /extended-properties.xml |
---|
53 | db.raw-data-types = /raw-data-types.xml |
---|
54 | db.batch-size = 50 |
---|
55 | # Number of hours between cleanup of unused items in the database |
---|
56 | # Set to 0 to disable (recommended for job agents) |
---|
57 | db.cleanup.interval = 24 |
---|
58 | |
---|
59 | |
---|
60 | # ====================== |
---|
61 | # Authentication section |
---|
62 | # ====================== |
---|
63 | |
---|
64 | # If extra information such as address, email, phone, etc. should |
---|
65 | # be synchronized or not from external authentication managers |
---|
66 | #auth.synchronize = 0 |
---|
67 | |
---|
68 | # If passwords should be cached locally or not to allow |
---|
69 | # fallback to internal authentication when external authentication |
---|
70 | # system is not responding |
---|
71 | #auth.cachepasswords = 0 |
---|
72 | |
---|
73 | # Number of days to cache passwords locally |
---|
74 | #auth.daystocache = 0 |
---|
75 | |
---|
76 | |
---|
77 | # ========================== |
---|
78 | # Internal job queue section |
---|
79 | # ========================== |
---|
80 | # If the internal job queue should be enabled or not |
---|
81 | jobqueue.internal.enabled = true |
---|
82 | |
---|
83 | # Signal receiver class for sending signals to running jobs (to abort them) |
---|
84 | jobqueue.internal.signalreceiver.class = net.sf.basedb.core.signal.LocalSignalReceiver |
---|
85 | jobqueue.internal.signalreceiver.init = jobqueue:0 |
---|
86 | |
---|
87 | # If plugins with useInteralJobQueue = false should be executed or not |
---|
88 | jobqueue.internal.runallplugins = false |
---|
89 | |
---|
90 | # The maximum thread priority for any thread executing a plug-in |
---|
91 | #jobqueue.internal.maxthreadpriority = 4 |
---|
92 | |
---|
93 | # Number of seconds between checks to the job queue |
---|
94 | jobqueue.internal.checkinterval = 30 |
---|
95 | |
---|
96 | # NOTE! A quick job may use threads from any of the "slower" pools |
---|
97 | # if there is place for another thread |
---|
98 | # Number of threads to reserved for jobs that takes < 1 minute to execute |
---|
99 | jobqueue.internal.shortest.threads = 1 |
---|
100 | #jobqueue.internal.shortest.threadpriority = 4 |
---|
101 | |
---|
102 | # Number of threads to reserved for jobs that takes < 10 minutes to execute |
---|
103 | jobqueue.internal.short.threads = 1 |
---|
104 | #jobqueue.internal.short.threadpriority = 4 |
---|
105 | |
---|
106 | # Number of threads to reserved for jobs that takes < 1 hour to execute |
---|
107 | jobqueue.internal.medium.threads = 2 |
---|
108 | #jobqueue.internal.medium.threadpriority = 3 |
---|
109 | |
---|
110 | # Number of threads to reserved for jobs that takes > 1 hour to execute |
---|
111 | jobqueue.internal.long.threads = 4 |
---|
112 | #jobqueue.internal.long.threadpriority = 3 |
---|
113 | |
---|
114 | # ========================== |
---|
115 | # External job agent section |
---|
116 | # ========================== |
---|
117 | |
---|
118 | # Number of seconds to cache information from a job agent before it |
---|
119 | # is reloaded. The default value is 60 seconds. |
---|
120 | agent.maxage=60 |
---|
121 | |
---|
122 | # The timeout in milliseconds to use when connecting to job agents to |
---|
123 | # get information. The default value is 1000 milliseconds. |
---|
124 | agent.connection.timeout=1000 |
---|
125 | |
---|
126 | |
---|
127 | # ========================= |
---|
128 | # Secondary storage section |
---|
129 | # ========================= |
---|
130 | # The classname of the driver; leave empty to disable secondary storage |
---|
131 | # secondary.storage.driver = net.sf.basedb.core.InternalStorageController |
---|
132 | |
---|
133 | # Initialisation options to the seconday storage controller |
---|
134 | # The internal implementation wants a path to the secondary directory |
---|
135 | # secondary.storage.init = /usr/local/base2/secondary |
---|
136 | |
---|
137 | # The interval (in seconds) between checks for new files to move |
---|
138 | # secondary.storage.interval = 3600 |
---|
139 | |
---|
140 | # Comma-separated list of time values (hours:minutes) when the controller |
---|
141 | # should be executed; overrides the interval setting if present |
---|
142 | # secondary.storage.time = 18:15,07:30 |
---|
143 | |
---|
144 | # ========================= |
---|
145 | # Change history section |
---|
146 | # ========================= |
---|
147 | |
---|
148 | # Change history for items can be logged with the help of extensions. |
---|
149 | # BASE ships with a built-in extension that log changes to the database. |
---|
150 | # This is disabled by default, but can be enabled through the web |
---|
151 | # interface: Adminstrate -> Plug-ins & extensions -> Overview |
---|
152 | |
---|
153 | # If the "Change history" tab should be visible in the web interface |
---|
154 | # or not. It is hidden by default. |
---|
155 | # changelog.show-in-web = true |
---|
156 | |
---|
157 | # If DB logger should log detailed information about which properties |
---|
158 | # that has been updated (default: false) |
---|
159 | # changelog.dblogger.detailed-properties = true |
---|
160 | |
---|
161 | # If the DB logger should log the old property values when they |
---|
162 | # are modified (default: false; ingored unless 'detailed-properties' |
---|
163 | # is enabled). |
---|
164 | # changelog.dblogger.old-property-values = true |
---|
165 | |
---|
166 | |
---|
167 | # ========================== |
---|
168 | # SMTP server section |
---|
169 | # ========================== |
---|
170 | |
---|
171 | # SMTP server for outgoing mail. If not specified, |
---|
172 | # mail sending will be disabled |
---|
173 | # mail.server.host |
---|
174 | |
---|
175 | # The port number the SMTP server is listening on. If not |
---|
176 | # specified the default port is used (25 or 465 if ssl is enabled) |
---|
177 | # mail.server.port = 25 |
---|
178 | |
---|
179 | # A flag to enable SSL encryption |
---|
180 | # mail.server.ssl = 0 |
---|
181 | |
---|
182 | # A flag to enable TLS encryption |
---|
183 | # mail.server.tls = 0 |
---|
184 | |
---|
185 | # Email to use in the "From" address. If not specified, |
---|
186 | # mail sending will be disabled |
---|
187 | # mail.from.email = noreply@mail.yourdomain |
---|
188 | |
---|
189 | # Name to use in the "From" address. If not specified, |
---|
190 | # a default value is created automatically using the |
---|
191 | # host name of the BASE server. |
---|
192 | # mail.from.name |
---|
193 | |
---|
194 | |
---|
195 | # ======================= |
---|
196 | # Plug-ins and extensions |
---|
197 | # ======================= |
---|
198 | |
---|
199 | # The path to the directory where external plugins are installed |
---|
200 | plugins.dir=/usr/local/base2/plugins |
---|
201 | |
---|
202 | # Set this flag to disable all external extensions |
---|
203 | extensions.disabled = false |
---|
204 | |
---|
205 | |
---|
206 | # =============== |
---|
207 | # General section |
---|
208 | # =============== |
---|
209 | |
---|
210 | # The path to the directory where uploaded files are stored |
---|
211 | userfiles = /usr/local/base2/files |
---|
212 | |
---|
213 | # Number of minutes to keep permission information for the logged |
---|
214 | # in user in memory before it is reloaded from the database. |
---|
215 | permission.timeout = 10 |
---|
216 | |
---|
217 | # Number of minutes to keep SessionControl object in the cache |
---|
218 | # after the last use |
---|
219 | cache.timeout = 20 |
---|
220 | |
---|
221 | # If the static cache should be disabled or enabled |
---|
222 | # Disabling the static cache may reduce performance for |
---|
223 | # certain operations |
---|
224 | cache.static.disabled = false |
---|
225 | |
---|
226 | # Timeout (in days) for items in the static cache |
---|
227 | # Items that hasn't been accessed in the configured amount of |
---|
228 | # of time will be removed from the cache |
---|
229 | cache.static.max-age = 30 |
---|
230 | |
---|
231 | #Overwrite the existing help texts when updating the program |
---|
232 | helptext.update = true |
---|
233 | |
---|
234 | # Set to 1 to disable auto-compression of uploaded files |
---|
235 | autocompress.disable = 0 |
---|
236 | |
---|
237 | # Locale settings are used to customize gui text and labels |
---|
238 | # locale.language = |
---|
239 | # locale.country = |
---|
240 | # locacle.variant = |
---|
241 | |
---|
242 | # The default character set that will be used to parse text files that |
---|
243 | # hasn't specified a character set. The default value for this setting |
---|
244 | # is ISO-8859-1. |
---|
245 | # |
---|
246 | # defaultCharset = ISO-8859-1 |
---|
247 | |
---|
248 | # A comma-separated list of the most commonly used character sets for text |
---|
249 | # files. This list is used to order selection lists so that the common values |
---|
250 | # are listed at the top of the list. |
---|
251 | # |
---|
252 | # commonCharsets = UTF-8,US-ASCII,ISO-8859-1 |
---|
253 | |
---|
254 | # A regular expression that used to filter character sets that are not used |
---|
255 | # in order to keep the selection list shorter. If no value is specified all |
---|
256 | # character sets are included. The standard setting will filter out all |
---|
257 | # character sets starting with 'x-' or 'IBM'. Character sets that are specified |
---|
258 | # in the commonCharsets setting are never filtered. |
---|
259 | # |
---|
260 | ignoreCharsets = ((x|X)\-|IBM).* |
---|
261 | |
---|
262 | |
---|
263 | # =============== |
---|
264 | # SSL section |
---|
265 | # =============== |
---|
266 | # Configuration settings for supporting file access via https. |
---|
267 | # Changes are only needed if authentication is needed or if, for example, |
---|
268 | # files are stored on servers with self-signed certificates. |
---|
269 | |
---|
270 | # ssl.context.protocol = TLS |
---|
271 | # ssl.context.provider = |
---|
272 | # ssl.keystore.file = |
---|
273 | # ssl.keystore.password = |
---|
274 | # ssl.keystore.type = JKS |
---|
275 | # ssl.keystore.algorithm = SunX509 |
---|
276 | # ssl.keystore.provider = |
---|
277 | # ssl.truststore.file = <java-home>/jre/lib/security/cacerts |
---|
278 | # ssl.truststore.password = changeit |
---|
279 | # ssl.truststore.type = JKS |
---|
280 | # ssl.truststore.algorithm = PKIX |
---|
281 | # ssl.truststore.provider = |
---|
282 | |
---|
283 | # =================== |
---|
284 | # Migration section |
---|
285 | # =================== |
---|
286 | # Configuration settings that are related to migrating a BASE |
---|
287 | # installation on a MySQL database to a PostgreSQL database. |
---|
288 | # See documentation for more information. |
---|
289 | |
---|
290 | # Enable this flag to compress the exported data. This may increase |
---|
291 | # performance if disks are slow. |
---|
292 | # migrate.export.compress = 0 |
---|
293 | |
---|
294 | # The number of rows that should be fetched at the same time from |
---|
295 | # the database. Increasing this value may give better performance |
---|
296 | # but requires more memory. |
---|
297 | # migrate.export.fetch-size = 20000 |
---|
298 | |
---|
299 | # Enable this flag to issue an SQL statment for statistical |
---|
300 | # analysis of the imported data before continuing with the next table. |
---|
301 | # Disabling this may result in very poor performance. |
---|
302 | # migrate.import.analyze = 1 |
---|
303 | |
---|
304 | # Enable this flag to drop the primary key of a table before importing |
---|
305 | # data to it. This may increase the performance. The primary key is |
---|
306 | # re-created after the data has been imported. |
---|
307 | # migrate.import.drop-primary-key = 1 |
---|
308 | |
---|
309 | # Enable this flag to drop unique constraints and indexes before importing |
---|
310 | # data. This may increase the performance. The constraints and indexes |
---|
311 | # are re-created after the data has been imported. NOTE! Foreign key |
---|
312 | # constraints are not affected by this flag, since they must always be dropped. |
---|
313 | # migrate.import.drop-constraints = 1 |
---|
314 | |
---|
315 | |
---|