Using Configurations from Configuration Management Services
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, #BACKEND_URL#.
Follow these steps to use configurations from Consul:
- Set the environment variable CONSUL_SERVER_URL. See Environment Variables
- In your Consul service define the keys using the format
<BWCE_APP_NAME>/<PROFILE NAME>/<KEY Name>.
For example, AccountService/Dev/BACKEND_URL
AccountService/Prod/BACKEND_URL
For more information, see Launching CloudFormation Template to create and extend TIBCO BusinessWorks™ Container Edition Base Docker Image.
Copyright © Cloud Software Group, Inc. All rights reserved.