Skip to content
Snippets Groups Projects
Commit 5f5e38c2 authored by Armin Costa's avatar Armin Costa
Browse files

Update Configuration.md

parent 551c2660
No related branches found
No related tags found
No related merge requests found
......@@ -3,14 +3,16 @@
## Main DES configuration file ##
This is the main DES configuration that contains basic configuration variables that are loaded at DES startup or restart
**DES.ini:** ./config/DES.ini
### Sample configuration
```
[System]
......@@ -42,10 +44,11 @@ SMTP_PORT=25
[Plugin]
CONFIG_PLUGIN=./plugins/plugin.ini
```
### Parameters ###
[System]
**RDS_ID** DES identifier (ex. DES_$ID@yourdomain.org)
......@@ -75,14 +78,17 @@ CONFIG_PLUGIN=./plugins/plugin.ini
**SMTP_PORT** Port for SMTP
[Plugin]
**CONFIG_PLUGIN** Configuration file for Plugins. Java class variable: DistributionServerConfig.CONFIG_PLUGIN
## Authentication configuration file ##
Authentication parameters used in the operations **<Distribution>** and **<Download>** are stored within the file :
**DistributionAuth.xml:** ./config/DistributionAuth.xml
Sample entry:
```xml
......@@ -95,7 +101,7 @@ Sample entry:
</AuthRef>
</Auth>
```
In the DES processor operation declarations the authentication entry can be references as follows:
```xml
......@@ -106,44 +112,49 @@ In the DES processor operation declarations the authentication entry can be refe
<Recursive>true</Recursive>
</Consumer>
```
## Start of a DES instance ##
1. Edit the ./config/DistributionServer.ini to fit your environment
2. Create the set of *.processor_config.xml files that you want to run and place them in the path CONFIG_FILE_PATH as defined in DistributionServer.ini config file
3. Choose a suitable operation mode
print program arguments:
```
java -jar DES.jar –h
```
### Operation modes ###
## Operation modes ##
*Start a DES instance with default configuration defined in DES.ini and run all Processors (*.processor_config.xml files) located in CONFIG_PATH
1) Start a DES instance with default configuration defined in DES.ini and run all Processors (*.processor_config.xml files) located in CONFIG_PATH
```
java -jar DES.jar
```
*Start a DES instance with default configuration defined in DES.ini and run a single Processor
2) Start a DES instance with default configuration defined in DES.ini and run a single Processor
```
java -jar DES.jar -p yourtest.processor_config.xml
```
*Start a DES instance with a different configuration (eg. DES_test.ini) and run all Processors (*.processor_config.xml files) located in CONFIG_PATH
3) Start a DES instance with a different configuration (eg. DES_test.ini) and run all Processors (*.processor_config.xml files) located in CONFIG_PATH
```
java -jar DES.jar -c ./config/DES_test.ini
```
*Start a DES instance with a different configuration (eg. DES_test.ini) and run a given Processor
4) Start a DES instance with a different configuration (eg. DES_test.ini) and run a given Processor
```
java -jar DES.jar -c ./config/DES_test.ini -p yourtest.processor_config.xml
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment