Revision 0f56fff9
Migration des settings de deploiement depuis vigi*_cfg.py vers le fichier INI correspondant.
Ajout d'un patch pour PasteDeploy qui permet de gérer les échapements dans l'interpolation.
Ticket associé: http://trac.pythonpaste.org/pythonpaste/ticket/379
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@654 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigiboard/config/app_cfg.py | ||
---|---|---|
77 | 77 |
# on logout: |
78 | 78 |
base_config.sa_auth.post_logout_url = '/post_logout' |
79 | 79 |
|
80 |
|
|
81 |
################################## |
|
82 |
# Settings specific to Vigiboard # |
|
83 |
################################## |
|
84 |
|
|
85 |
# Vigiboard version |
|
86 |
base_config['vigiboard_version'] = u'0.1' |
|
87 |
|
|
88 |
# Links configuration |
|
89 |
# XXX Should be part of ini settings. |
|
90 |
base_config['vigiboard_links.eventdetails'] = { |
|
91 |
'nagios': ['Nagios host details', 'http://example1.com/%(idevent)d'], |
|
92 |
'metrology': ['Metrology details', 'http://example2.com/%(idevent)d'], |
|
93 |
'security': ['Security details', 'http://example3.com/%(idevent)d'], |
|
94 |
'servicetype': ['Service Type', 'http://example4.com/%(idevent)d'], |
|
95 |
} |
|
96 |
|
|
97 |
# Plugins to use |
|
98 |
# XXX Should be part of ini settings. |
|
99 |
base_config['vigiboard_plugins'] = [ |
|
100 |
['shn', 'PluginSHN'], |
|
101 |
] |
|
102 |
|
Also available in: Unified diff