| 1 |
[GENERAL] |
| 2 |
test=1 |
| 3 |
conf.dir=/tmp/biomaj/config |
| 4 |
log.dir=/tmp/biomaj/log |
| 5 |
process.dir=/tmp/biomaj/process |
| 6 |
#The root directory where all databases are stored. |
| 7 |
#If your data is not stored under one directory hirearchy |
| 8 |
#you can override this value in the database properties file. |
| 9 |
data.dir=/tmp/biomaj/ |
| 10 |
lock.dir=/tmp/biomaj/lock |
| 11 |
cache.dir=/tmp/biomaj/cache |
| 12 |
|
| 13 |
db.url=mongodb://localhost:27017 |
| 14 |
db.name=biomaj_test |
| 15 |
|
| 16 |
use_ldap=1 |
| 17 |
ldap.host=localhost |
| 18 |
ldap.port=389 |
| 19 |
ldap.dn=nodomain |
| 20 |
|
| 21 |
# Use ElasticSearch for index/search capabilities |
| 22 |
use_elastic=0 |
| 23 |
#Comma separated list of elasticsearch nodes host1,host2:port2 |
| 24 |
elastic_nodes=localhost |
| 25 |
elastic_index=biomaj_test |
| 26 |
|
| 27 |
celery.queue=biomaj |
| 28 |
celery.broker=mongodb://localhost:27017/biomaj_celery |
| 29 |
|
| 30 |
# Get directory stats (can be time consuming depending on number of files etc...) |
| 31 |
data.stats=1 |
| 32 |
|
| 33 |
# List of user admin (linux user id, comma separated) |
| 34 |
admin= |
| 35 |
|
| 36 |
# Auto publish on updates (do not need publish flag, can be ovveriden in bank property file) |
| 37 |
auto_publish=0 |
| 38 |
|
| 39 |
######################## |
| 40 |
# Global properties file |
| 41 |
|
| 42 |
|
| 43 |
#To override these settings for a specific database go to its |
| 44 |
#properties file and uncomment or add the specific line you want |
| 45 |
#to override. |
| 46 |
|
| 47 |
#---------------- |
| 48 |
# Mail Configuration |
| 49 |
#--------------- |
| 50 |
#Uncomment thes lines if you want receive mail when the workflow is finished |
| 51 |
|
| 52 |
mail.smtp.host= |
| 53 |
mail.admin= |
| 54 |
mail.from= |
| 55 |
|
| 56 |
#--------------------- |
| 57 |
#Proxy authentification |
| 58 |
#--------------------- |
| 59 |
#proxyHost= |
| 60 |
#proxyPort= |
| 61 |
#proxyUser= |
| 62 |
#proxyPassword= |
| 63 |
|
| 64 |
#Number of thread for processes |
| 65 |
bank.num.threads=2 |
| 66 |
|
| 67 |
#Number of threads to use for downloading |
| 68 |
files.num.threads=4 |
| 69 |
|
| 70 |
#to keep more than one release increase this value |
| 71 |
keep.old.version=0 |
| 72 |
|
| 73 |
#---------------------- |
| 74 |
# Release configuration |
| 75 |
#---------------------- |
| 76 |
release.separator=_ |
| 77 |
|
| 78 |
#The historic log file is generated in log/ |
| 79 |
#define level information for output : DEBUG,INFO,WARN,ERR |
| 80 |
historic.logfile.level=DEBUG |
| 81 |
|
| 82 |
#http.parse.dir.line=<a[\s]+href="([\S]+)/".*alt="\[DIR\]">.*([\d]{2}-[\w\d]{2,5}-[\d]{4}\s[\d]{2}:[\d]{2}) |
| 83 |
http.parse.dir.line=<img[\s]+src="[\S]+"[\s]+alt="\[DIR\]"[\s]*/?>[\s]*<a[\s]+href="([\S]+)/"[\s]*>.*([\d]{2}-[\w\d]{2,5}-[\d]{4}\s[\d]{2}:[\d]{2}) |
| 84 |
http.parse.file.line=<img[\s]+src="[\S]+"[\s]+alt="\[[\s]+\]"[\s]*/?>[\s]<a[\s]+href="([\S]+)".*([\d]{2}-[\w\d]{2,5}-[\d]{4}\s[\d]{2}:[\d]{2})[\s]+([\d\.]+[MKG]{0,1}) |
| 85 |
|
| 86 |
http.group.dir.name=1 |
| 87 |
http.group.dir.date=2 |
| 88 |
http.group.file.name=1 |
| 89 |
http.group.file.date=2 |
| 90 |
http.group.file.size=3 |
| 91 |
|
| 92 |
|
| 93 |
# Bank default access |
| 94 |
visibility.default=public |
| 95 |
|
| 96 |
|
| 97 |
[loggers] |
| 98 |
keys = root, biomaj |
| 99 |
|
| 100 |
[handlers] |
| 101 |
keys = console |
| 102 |
|
| 103 |
[formatters] |
| 104 |
keys = generic |
| 105 |
|
| 106 |
[logger_root] |
| 107 |
level = INFO |
| 108 |
handlers = console |
| 109 |
|
| 110 |
[logger_biomaj] |
| 111 |
level = DEBUG |
| 112 |
handlers = console |
| 113 |
qualname = biomaj |
| 114 |
propagate=0 |
| 115 |
|
| 116 |
[handler_console] |
| 117 |
class = StreamHandler |
| 118 |
args = (sys.stderr,) |
| 119 |
level = DEBUG |
| 120 |
formatter = generic |
| 121 |
|
| 122 |
[formatter_generic] |
| 123 |
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s |
| 124 |
|
| 125 |
#----------------- |
| 126 |
# Protocol options |
| 127 |
#----------------- |
| 128 |
|
| 129 |
# Set options |
| 130 |
options.name=skip_check_uncompress |
| 131 |
# Don't skip the test of compressed files |
| 132 |
options.skip_check_uncompress=1 |
| 133 |
|