|
a/ForgeTracker/test.ini |
|
b/ForgeTracker/test.ini |
|
... |
|
... |
15 |
use = egg:Paste#http
|
15 |
use = egg:Paste#http
|
16 |
host = 0.0.0.0
|
16 |
host = 0.0.0.0
|
17 |
port = 5000
|
17 |
port = 5000
|
18 |
|
18 |
|
19 |
[app:main]
|
19 |
[app:main]
|
20 |
use = egg:pyforge#plugin_test
|
20 |
use = config:../pyforge/test.ini
|
21 |
full_stack = true
|
|
|
22 |
use_queue = true
|
|
|
23 |
load_test_data = true
|
|
|
24 |
cache_test_data = true
|
|
|
25 |
|
21 |
|
26 |
cache_dir = %(here)s/data
|
22 |
[app:main_without_authn]
|
27 |
beaker.session.key = pyforge
|
23 |
use = config:../pyforge/test.ini#main_without_authn
|
28 |
beaker.session.type = cookie
|
|
|
29 |
beaker.session.secret = 61ece7db-ba8d-49fe-a923-ab444741708c
|
|
|
30 |
beaker.session.validate_key = 714bfe3612c42390726f
|
|
|
31 |
|
24 |
|
32 |
auth.method = local
|
25 |
[app:main_with_amqp]
|
33 |
auth.ldap.server = ldap://localhost
|
26 |
use = config:../pyforge/test.ini#main_with_amqp
|
34 |
auth.ldap.suffix = ou=people,dc=example,dc=com
|
|
|
35 |
auth.ldap.admin_dn = cn=admin,dc=example,dc=com
|
|
|
36 |
auth.ldap.admin_password = secret
|
|
|
37 |
|
|
|
38 |
gitweb.cgi = /usr/lib/cgi-bin/gitweb.cgi
|
|
|
39 |
|
|
|
40 |
static_root = /static/
|
|
|
41 |
|
|
|
42 |
# Ming setup
|
|
|
43 |
ming.main.master = mongo://127.0.0.1:27017/pyforge:test
|
|
|
44 |
|
|
|
45 |
# SOLR setup
|
|
|
46 |
#solr.server = http://localhost:50065/solr/
|
|
|
47 |
solr.server = http://localhost:8983/solr/
|
|
|
48 |
|
|
|
49 |
sqlalchemy.url = sqlite:///%(here)s/devdata.db
|
|
|
50 |
#echo shouldn't be used together with the logging module.
|
|
|
51 |
sqlalchemy.echo = false
|
|
|
52 |
sqlalchemy.echo_pool = false
|
|
|
53 |
sqlalchemy.pool_recycle = 3600
|
|
|
54 |
templating.mako.reloadfromdisk = true
|
|
|
55 |
|
|
|
56 |
# OEmbed Setup
|
|
|
57 |
oembed.config = %(here)s/oembed.ini
|
|
|
58 |
oembed.host = oembed.localhost.localdomain:8080
|
|
|
59 |
|
27 |
|
60 |
[loggers]
|
28 |
[loggers]
|
61 |
keys = root, pyforge, sqlalchemy
|
29 |
keys = root
|
62 |
|
30 |
|
63 |
[handlers]
|
31 |
[handlers]
|
64 |
keys = test
|
32 |
keys = test
|
65 |
|
33 |
|
66 |
[formatters]
|
34 |
[formatters]
|
67 |
keys = generic
|
35 |
keys = generic
|
68 |
|
36 |
|
69 |
# If you create additional loggers, add them as a key to [loggers]
|
|
|
70 |
[logger_root]
|
37 |
[logger_root]
|
71 |
level = INFO
|
38 |
level = INFO
|
72 |
handlers = test
|
39 |
handlers = test
|
73 |
|
40 |
|
74 |
[logger_pyforge]
|
|
|
75 |
level = DEBUG
|
|
|
76 |
handlers =
|
|
|
77 |
qualname = pyforge
|
|
|
78 |
|
|
|
79 |
[logger_sqlalchemy]
|
|
|
80 |
level = INFO
|
|
|
81 |
handlers =
|
|
|
82 |
qualname = sqlalchemy.engine
|
|
|
83 |
# "level = INFO" logs SQL queries.
|
|
|
84 |
# "level = DEBUG" logs SQL queries and results.
|
|
|
85 |
# "level = WARN" logs neither. (Recommended for production systems.)
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
# If you create additional handlers, add them as a key to [handlers]
|
|
|
89 |
[handler_test]
|
41 |
[handler_test]
|
90 |
class = FileHandler
|
42 |
class = FileHandler
|
91 |
args = ('test.log',)
|
43 |
args = ('test.log',)
|
92 |
level = NOTSET
|
44 |
level = NOTSET
|
93 |
formatter = generic
|
45 |
formatter = generic
|
94 |
|
46 |
|
95 |
# If you create additional formatters, add them as a key to [formatters]
|
|
|
96 |
[formatter_generic]
|
47 |
[formatter_generic]
|
97 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
48 |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
98 |
datefmt = %H:%M:%S
|
49 |
datefmt = %H:%M:%S
|