...
Users can add their own configuration data into the sff.local.config.xml file. In order to add the users own configuration data you need :to place the configuration elements with the SffLocalConfig element. For example to add a user configuration element - Project.Repository.Location we do it as shown below.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<SffLocalConfig> <!-- User Defined Configurations --> <!-- Configurations recognized by TQLEngine --> </SffLocalConfig><Project.Repository.Location>rel-104/resources</Project.Repository.Location> </SffLocalConfig> |
Once the user-defined configuration data is added to the sff.local.config.xml file, it can be access by placing the configuration element inside the template processing macro as shown below.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<Query> <SetResponseData> <Key>Message.Value.Configs</Key> <Value>[:Project.Repository.Location:]</Value> </SetResponseData> </Query> |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<Configs>rel-104/resources</Configs> |
System Configurations
Apart from the user-defined configurations, we can set the values of system recognized configurations as well. Table below gives the list of the system recognized configurations.
Configuration | Description | |
---|---|---|
sff.server.port Libraries used by TQL Command Line Interface Tool | Ports on which the TQLEngine must be started. | |
sff.local.deploy | Atomiton Provided Drivers associated with various protocol handlers. Please look at | List of projects or packages that must be deployed automatically when the TQLEngine is started. |
sff.log.broadcast.all Log files generated by TQLEngine | Endpoint URL on which the all the log messages can be broadcast. | |
sff.log.broadcast.message | Sample Models | |
ConfigurationAdmin | Add you local project specific settings here | |
Deploy.Location | Temporary store where you projects gets imported and storedTypes of message output when doing a broadcast of messages. Default is XML. Possible values are JSON or XML. | |
ConfigurationAdmin | Setting the configuration administration of the log broad cast. Possible values are: service.pid="sff.log"sff.log="loud" |