Using Consul as a Configuration Management Service from TIBCO Business Studio™ for BusinessWorks™
You can use configurations from the configuration management services such as Consul, by defining a token such as #<property name># in the application properties, where <property name> is the name of the configuration parameter.
For example, #EMS_URL#.
Follow these steps to use configurations from Consul:
- In TIBCO Business Studio™ for BusinessWorks™, on the Menu bar select and set the environment variables to CONSUL_SERVER_URL and APP_CONFIG_PROFILE. For more information, see Environment Variables for Docker.
- Select the desired profile as the default profile inside TIBCO Business Studio for BusinessWorks in order to fetch the values from Consul Server.
- In your Consul Service define the keys using the format
<BWCE_APP_NAME>/<PROFILE_NAME>/<KEY_NAME>.
For example, tibco.bwce.sample.palette.jms.Consul.application/docker/EMS_URL
Copyright © Cloud Software Group, Inc. All rights reserved.