Debian Codegraph @

tests/global.properties

raw
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.smtp.port=
54 mail.admin=
55 mail.from=
56 # tail last X bytes of log in mail body , 0 = no tail
57 # mail.body.tail=2000000
58 # attach log file if size < X bytes, 0 for no attach
59 #mail.body.attach=4000000
60 # path to jinja template for subject, leave empty for defaults
61 #mail.template.subject=
62 # path to jinja template for body, leave empty for default
63 #mail.template.body=
64
65 #---------------------
66 #Proxy authentification
67 #---------------------
68 #proxyHost=
69 #proxyPort=
70 #proxyUser=
71 #proxyPassword=
72
73 #Number of thread for processes
74 bank.num.threads=2
75
76 #Number of threads to use for downloading
77 files.num.threads=4
78
79 #to keep more than one release increase this value
80 keep.old.version=0
81
82 #----------------------
83 # Release configuration
84 #----------------------
85 release.separator=_
86
87 #The historic log file is generated in log/
88 #define level information for output : DEBUG,INFO,WARN,ERR
89 historic.logfile.level=DEBUG
90
91 #http.parse.dir.line=<a[\s]+href="([\S]+)/".*alt="\[DIR\]">.*([\d]{2}-[\w\d]{2,5}-[\d]{4}\s[\d]{2}:[\d]{2})
92 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})
93 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})
94
95 http.group.dir.name=1
96 http.group.dir.date=2
97 http.group.file.name=1
98 http.group.file.date=2
99 http.group.file.size=3
100
101
102 # Bank default access
103 visibility.default=public
104
105
106 [loggers]
107 keys = root, biomaj
108
109 [handlers]
110 keys = console
111
112 [formatters]
113 keys = generic
114
115 [logger_root]
116 level = INFO
117 handlers = console
118
119 [logger_biomaj]
120 level = DEBUG
121 handlers = console
122 qualname = biomaj
123 propagate=0
124
125 [handler_console]
126 class = StreamHandler
127 args = (sys.stderr,)
128 level = DEBUG
129 formatter = generic
130
131 [formatter_generic]
132 format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s