Debian Codegraph @

debian/global.properties

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