Open topic with navigation

TIBCO® Control Plane 1.0.0

# Using Consul

Note: The information in this section is applicable for an app executable only.

Below is a high-level workflow for using Consul with your Flogo app.

Before you beginYou must have access to Consul.

Set up Consul and understand how Consul is used to storing service configuration. For information on Consul, refer to the Consul documentation.

To use Consul to override app properties in your app (properties that were set in Flogo):

Procedure
1. Export your app. Refer to Exporting an App for details on how to export the app.
2. Configure key/value pairs in Consul for the app properties whose values that you want to override. At runtime, the app fetches these values from the Consul and uses them to replace the default values that were set in the app.

3. Important: When setting up the Key in Consul, make sure that the Key name matches exactly with the corresponding app property name in the Environmental Controls tab on the Data Plane. If the property name does not match exactly, a warning message is displayed, and the app uses the default value for the property that you configured in Flogo.
4. Set the `FLOGO_APP_PROPS_CONSUL` environment variable to set the Consul server connection parameters. See Setting the Consul Connection Parameters for details.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® Control Plane

Copyright © 2023-2024. Cloud Software Group, Inc. All Rights Reserved.