Configuration
The Symphony Generator creates a basic configuration file that assumes a fully cloud-hosted Symphony pod architecture. In this scenario, the pod, key manager and agent are all hosted on the same domain e.g. develop2.symphony.com
. If your pod architecture is different and you have other connectivity requirements like a network proxy, you will need to add those options to your configuration file.
If you are using the BDK for Java's Spring Starter, the BDK configuration is embedded within Spring's configuration file under the bdk section
Basic Configuration Structure
Property | Description |
---|---|
| Global hostname |
| Global port |
|
|
| Context path (e.g. /abc) |
| Contains component details including |
| contains bot metadata including |
| contains extension app metadata including |
| contains |
Datafeed Configuration Structure
Property | Description |
| version of the datafeed service to be used. By default, the bot will use the datafeed v2 service. |
| the path to the file which will be used to persist a created datafeed id in case the datafeed service v1 is used |
| the specific retry configuration can be used to override the global retry configuration. If no retry configuration is defined, the global one will be used. |
Retry Configuration Structure
Property | Description |
| maximum number of retry attempts that a bot is able to make |
| after each attempt, the interval between two attempts will be multiplied by this factor |
| the initial interval between two attempts |
| the limit of interval between two attempts. For example, if the current interval is 1000 ms, multiplier is 2.0 and the |
An example customized configuration file is seen below:
Last updated