Consul
The Consul provides a key/value store for managing app configuration externally. TIBCO Cloud Integration - Flogo (PAYG) allows you to fetch values for app properties from Consul and override them at runtime.
A Flogo app connects to the Consul server as its client by setting the environment variable, FLOG_APPS_PROPS_CONSUL. At runtime, you must provide the Consul server endpoint in order for your app to connect to a Consul server. You have the option to enter the values for the Consul connection parameters either by typing in their values as JSON strings, or creating a file that contains the values and using the file as input.
Consul can be started with or without acl_token. If using ACL token, make sure to have ACL configured in Consul.
This section contains the following topics:
- Using Consul with
TIBCO Cloud Integration - Flogo (PAYG)
Below is a high-level workflow for using Consul with your Flogo app. - Consul Connection Parameters
Provide the following configuration information during runtime to connect to the Consul server. - Setting the Consul Connection Parameters
You set the values for app properties that you want to override by creating a Key/Value pair for each property in Consul. You can create a standalone property or a hierarchy that groups multiple related properties.