Open topic with navigation

TIBCO® Control Plane 1.0.0

# Using Consul to configure properties of multiple Flogo apps

Using Consul, you can configure the properties of multiple Flogo apps running on the Data Plane. This platform can help you change the properties like database URL, username, password of multiple apps at once. This method prevents the additional process of updating each app separately.

## Integrating Consul with TIBCO Cloud Integration

1. In TIBCO Cloud™ Integration, go to the Environment controls Tab. Add the variable name FLOGO_APP_PROPS_CONSUL. Then, set the value for {“server_address”:<`consul server address`>,"acl_token":<`acl_token`>,"key_prefix": “/dev/ConsulDemo”}.

   Note: The keywords `key_prefix` and `acl_token` are optional. They might be required if you set the value for `acl_token` and define the Keys in the nested folders in Consul.

2. Next, click the Application Variables option. You see the default values for HostPort, username, DBName and password. Lets say, there are one or more applications using the same database app properties. The properties of all the apps can be overwritten by configuring the Consul KV and adding `FLOGO_APP_PROPS_CONSUL` as the Engine variable.

3. At runtime, you see the updated values that are picked up from Consul.

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.