Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
b9557271
by Tony CHEMIT at 2017-08-02T14:00:37+02:00
5 changed files:
- client-configuration/src/main/filtered-resources/observeSwing.conf → client-configuration/src/main/filtered-resources/observe-client.conf
- client-configuration/src/main/java/fr/ird/observe/client/configuration/ClientConfig.java
- server-configuration/src/main/filtered-resources/observeweb.conf → server-configuration/src/main/filtered-resources/observe-server.conf
- server-configuration/src/main/java/fr/ird/observe/server/configuration/ServerConfig.java
- src/site/markdown/administration-web.md.vm
Changes:
| ... | ... | @@ -81,7 +81,7 @@ public class ClientConfig extends GeneratedClientConfig { |
| 81 | 81 |
/** Logger */
|
| 82 | 82 |
private static final Log log = LogFactory.getLog(ClientConfig.class);
|
| 83 | 83 |
|
| 84 |
- static final String DEFAULT_OBSERVE_SWING_CONFIGURATION_FILENAME = "observeSwing.conf";
|
|
| 84 |
+ static final String DEFAULT_OBSERVE_SWING_CONFIGURATION_FILENAME = "observe-client.conf";
|
|
| 85 | 85 |
|
| 86 | 86 |
/**
|
| 87 | 87 |
* un drapeau pour savoir s'il faut lancer l'interface graphique. Cette
|
| ... | ... | @@ -53,7 +53,7 @@ public class ServerConfig extends GeneratedServerConfig { |
| 53 | 53 |
/** Logger. */
|
| 54 | 54 |
private static Log log = LogFactory.getLog(ServerConfig.class);
|
| 55 | 55 |
|
| 56 |
- private static final String DEFAULT_OBSERVE_WEB_CONFIGURATION_FILENAME = "observeweb.conf";
|
|
| 56 |
+ private static final String DEFAULT_OBSERVE_WEB_CONFIGURATION_FILENAME = "observe-server.conf";
|
|
| 57 | 57 |
|
| 58 | 58 |
public static ServerConfig fromContextPath(String contextPath) {
|
| 59 | 59 |
ServerConfig config = new ServerConfig();
|
| ... | ... | @@ -75,7 +75,7 @@ public class ServerConfig extends GeneratedServerConfig { |
| 75 | 75 |
public void init(String... args) {
|
| 76 | 76 |
|
| 77 | 77 |
if (log.isInfoEnabled()) {
|
| 78 |
- log.info("Starts to init ObserVeWeb configuration...");
|
|
| 78 |
+ log.info("Starts to init ObServe server configuration...");
|
|
| 79 | 79 |
}
|
| 80 | 80 |
|
| 81 | 81 |
try {
|
| ... | ... | @@ -172,7 +172,7 @@ public class ServerConfig extends GeneratedServerConfig { |
| 172 | 172 |
initLog();
|
| 173 | 173 |
|
| 174 | 174 |
if (log.isInfoEnabled()) {
|
| 175 |
- log.info("Observe web configuration init done.");
|
|
| 175 |
+ log.info("ObServe server configuration init done.");
|
|
| 176 | 176 |
}
|
| 177 | 177 |
|
| 178 | 178 |
}
|
| ... | ... | @@ -7,7 +7,7 @@ L'application web est une application web classique à installer dans un contene |
| 7 | 7 |
La configuration de l'application web est regroupé dans un seul fichier à placer ici
|
| 8 | 8 |
|
| 9 | 9 |
```
|
| 10 |
- /etc/observeweb.conf
|
|
| 10 |
+ /etc/observe-server.conf
|
|
| 11 | 11 |
```
|
| 12 | 12 |
|
| 13 | 13 |
La configuration de l'application possède des valeurs par défaut pour toutes les options, si vous utiliser ces valeurs par défaut, un minimum de configuration est requise.
|
| ... | ... | @@ -24,7 +24,7 @@ Par défaut, l'application utilise le répertoire **/var/local/observeweb** pour |
| 24 | 24 |
Voici le contenu de ce dossier suite à un premier démarrage :
|
| 25 | 25 |
|
| 26 | 26 |
```
|
| 27 |
- /var/local/observeweb/
|
|
| 27 |
+ /var/local/observeweb/{contextPath}
|
|
| 28 | 28 |
|-- databases.yml # configuration des bases de données
|
| 29 | 29 |
|-- log
|
| 30 | 30 |
| `-- observeweb-${project.version}.log # logs de l'application
|