| 1 |
[GENERAL] |
| 2 |
root.dir=/var/lib/biomaj |
| 3 |
conf.dir=%(root.dir)s/conf |
| 4 |
log.dir=%(root.dir)s/log |
| 5 |
process.dir=%(root.dir)s/process |
| 6 |
cache.dir=%(root.dir)s/cache |
| 7 |
lock.dir=%(root.dir)s/lock |
| 8 |
#The root directory where all databases are stored. |
| 9 |
#If your data is not stored under one directory hirearchy |
| 10 |
#you can override this value in the database properties file. |
| 11 |
data.dir=%(root.dir)s/data |
| 12 |
|
| 13 |
db.url=mongodb://biomaj-mongodb:27017 |
| 14 |
db.name=biomaj |
| 15 |
|
| 16 |
use_ldap=0 |
| 17 |
ldap.host=localhost |
| 18 |
ldap.port=389 |
| 19 |
ldap.dn=nodomain |
| 20 |
|
| 21 |
use_elastic=1 |
| 22 |
#Comma separated list of elasticsearch nodes host1,host2:port2 |
| 23 |
elastic_nodes=elasticsearch |
| 24 |
elastic_index=biomaj |
| 25 |
# Calculate data.dir size stats |
| 26 |
data.stats=1 |
| 27 |
|
| 28 |
celery.queue=biomaj |
| 29 |
celery.broker=mongodb://biomaj-mongodb:27017/biomaj_celery |
| 30 |
|
| 31 |
|
| 32 |
auto_publish=1 |
| 33 |
|
| 34 |
######################## |
| 35 |
# Global properties file |
| 36 |
|
| 37 |
|
| 38 |
#To override these settings for a specific database go to its |
| 39 |
#properties file and uncomment or add the specific line you want |
| 40 |
#to override. |
| 41 |
|
| 42 |
#---------------- |
| 43 |
# Mail Configuration |
| 44 |
#--------------- |
| 45 |
#Uncomment thes lines if you want receive mail when the workflow is finished |
| 46 |
|
| 47 |
mail.smtp.host= |
| 48 |
#mail.stmp.port=25 |
| 49 |
mail.admin= |
| 50 |
mail.from=biomaj@localhost |
| 51 |
mail.user= |
| 52 |
mail.password= |
| 53 |
mail.tls= |
| 54 |
# tail last X bytes of log in mail body , 0 = no tail |
| 55 |
# mail.body.tail=2000000 |
| 56 |
# attach log file if size < X bytes, 0 for no attach |
| 57 |
#mail.body.attach=4000000 |
| 58 |
# path to jinja template for subject, leave empty for defaults |
| 59 |
#mail.template.subject= |
| 60 |
# path to jinja template for body, leave empty for default |
| 61 |
#mail.template.body= |
| 62 |
|
| 63 |
#--------------------- |
| 64 |
#Proxy authentification |
| 65 |
#--------------------- |
| 66 |
#proxyHost= |
| 67 |
#proxyPort= |
| 68 |
#proxyUser= |
| 69 |
#proxyPassword= |
| 70 |
|
| 71 |
#--------------------- |
| 72 |
# PROTOCOL |
| 73 |
#------------------- |
| 74 |
#possible values : ftp, http, rsync, local |
| 75 |
port=21 |
| 76 |
username=anonymous |
| 77 |
[email protected] |
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
#access user for production directories |
| 82 |
production.directory.chmod=775 |
| 83 |
|
| 84 |
#Number of thread during the download |
| 85 |
bank.num.threads=4 |
| 86 |
|
| 87 |
#Number of threads to use for downloading and processing |
| 88 |
files.num.threads=4 |
| 89 |
|
| 90 |
#to keep more than one release increase this value |
| 91 |
keep.old.version=0 |
| 92 |
|
| 93 |
#Link copy property |
| 94 |
do.link.copy=true |
| 95 |
|
| 96 |
|
| 97 |
#The historic log file is generated in log/ |
| 98 |
#define level information for output : DEBUG,INFO,WARN,ERR |
| 99 |
historic.logfile.level=INFO |
| 100 |
|
| 101 |
http.parse.dir.line=<a[\\s]+href=\"([\\S]+)/\".*alt=\"\\[DIR\\]\">.*([\\d]{2}-[\\w\\d]{2,5}-[\\d]{4}\\s[\\d]{2}:[\\d]{2}) |
| 102 |
http.parse.file.line=<a[\\s]+href=\"([\\S]+)\".*([\\d]{2}-[\\w\\d]{2,5}-[\\d]{4}\\s[\\d]{2}:[\\d]{2})[\\s]+([\\d\\.]+[MKG]{0,1}) |
| 103 |
|
| 104 |
http.group.dir.name=1 |
| 105 |
http.group.dir.date=2 |
| 106 |
http.group.file.name=1 |
| 107 |
http.group.file.date=2 |
| 108 |
http.group.file.size=3 |
| 109 |
|
| 110 |
#Needed if data sources are contains in an archive |
| 111 |
log.files=true |
| 112 |
|
| 113 |
local.files.excluded=\\.panfs.* |
| 114 |
|
| 115 |
#~40mn |
| 116 |
ftp.timeout=2000000 |
| 117 |
ftp.automatic.reconnect=5 |
| 118 |
ftp.active.mode=false |
| 119 |
|
| 120 |
# Bank default access |
| 121 |
visibility.default=public |
| 122 |
|
| 123 |
#proxy=http://localhost:3128 |
| 124 |
|
| 125 |
[loggers] |
| 126 |
keys = root, biomaj |
| 127 |
|
| 128 |
[handlers] |
| 129 |
keys = console |
| 130 |
|
| 131 |
[formatters] |
| 132 |
keys = generic |
| 133 |
|
| 134 |
[logger_root] |
| 135 |
level = INFO |
| 136 |
handlers = console |
| 137 |
|
| 138 |
[logger_biomaj] |
| 139 |
level = INFO |
| 140 |
handlers = console |
| 141 |
qualname = biomaj |
| 142 |
propagate=0 |
| 143 |
|
| 144 |
[handler_console] |
| 145 |
class = StreamHandler |
| 146 |
args = (sys.stderr,) |
| 147 |
level = DEBUG |
| 148 |
formatter = generic |
| 149 |
|
| 150 |
[formatter_generic] |
| 151 |
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s |