Historique de la page
The configuration file (config.properties) is used to configure the behaviour of the application at runtime.
Using config.properties
From 3.30
The config.properties file is no more integrated in the application. (No more need recover config utility. Version control compatible. Easy upgrade in case of bug correction)
To use this externalized properties file, use the -Dconfig.location parameter on the java command line.
Tomcat example:
set JAVAOPTS="-Dconfig.location=/path/to/config.properties"; startup.sh
Remarque |
---|
See chapter Configuring the application And adapt web.xml (see Installation 3.30) You also find an exhaustive list of those properties can be found in the config.properties.example file from sources. |
Remarque |
---|
If you want to use a specific log configuration, please specify a specific log4j configuration file with this parameter on the java command line: -Dlog4j.configuration=file:/path/to/log4j.properties |
Prior 3.30
The configuration file /properties/config.properties is used to configure the behaviour of the application at runtime. An exhaustive list of those properties can be found in the distributed file /properties/config.properties.
Remarque | ||
---|---|---|
| ||
Go to http://www.esup-portail.org/helpdesk-config in order to generate the configuration files interactively! |
Astuce | ||
---|---|---|
| ||
Other properties can be added to the configuration file /properties/config.properties and used and the Spring configuration files. |
Astuce | ||
---|---|---|
| ||
The configuration file /properties/config.properties is automatically recovered from previous versions when upgrading (see Recovering previous configuration and customizations when upgrading). |
Ancre | ||||
---|---|---|---|---|
|
Excepted when indicated, all the properties are optional ( icons mark the parts where properties are required).
- Configuring the database connection
- Configuring the authentication
- Configuring exception handling
- Configuring the data initialization
- Configuring the LDAP access
- Configuring portal information access
- Configuring outgoing email
- Configuring the initial properties of departments
- Configuring the initial properties of managers
- Configuring the default ticket priority
- Configuring the default ticket visbility
- Configuring the default FAQ visibility
- Configuring the automatic ticket assignment
- Configuring user profile retrieval
- Configuring the storage of attached files
- Configuring indexing
- Configuring ticket expiration and archiving
- Configuring URL generation
- Configuring email feeding
- Configuring the web services
Le fichier /properties/config.properties indique comment se comporte l'application esup-helpdesk. Le fichier /properties/config-example.properties donne toutes les propriétés disponibles dans la distribution. D'autres propriétés peuvent être ajoutées à ce fichier et utilisé dans les fichiers de configuration Spring.
Astuce |
---|
Le fichier /properties/config.properties est automatiquement récupéré de la version précédente lors des mises à jour. |
Sauf indication contraire, les propriétés sont facultatives.
- Connexion à la base de données
- Authentification
- Gestion des exceptions
- Initialisation de l'application
- Accès à l'annuaire LDAP
- Accès aux informations du portail
- Envoi de courriers électroniques
- Configuration initiale des services
- Visibilité des services par les utilisateurs
- Priorité par défaut des tickets
- Visibilité par défaut des tickets
- Visibilité par défaut des FAQ
- Assignation par défaut des tickets
- Affichage du profil des utilisateurs
- Lien vers l'inventaire
- Stockage des fichiers attachés
- Indexation
- Expiration et archivage des tickets
- Génération des URLs
########################################################################
# FEED
#
# The address of the IMAP mailbox
# REQUIRED by ant target feed
#
#feed.imap.address=support@domain.edu
#
# the host name or IP address of the IMAP server
# REQUIRED by ant target feed
#
#feed.imap.server=imap.domain.edu
#
# the credentials used to connect to the IMAP server
# REQUIRED by ant target feed
#
#feed.imap.account=support
#feed.imap.password=secret
#
# the folder to read
#
#feed.imap.folder=INBOX
#
# the ID of the target category for the tickets
#
#feed.imap.categoryId=1
########################################################################
# WEB SERVICES
# the (comma-separated) clients authorized to use the web service
# if left empty (by default), any client will be authorized to use
# the web service (potential security hole).
...