Templates
On this page, you can find Tower templates for different technologies
TIBCO
TIBCO Flogo® Enterprise
To use Tower with Tibco Flogo you will need to create Consul like API. To do so, you will need to create new REST API url via REST Configuration page. The URL you will provide must start with kv, in my case it's kv/{Environment}/{Application}. Be aware, that you will need to change the line 6 of the following template to match your url (without the kv string).
The other thing is, you will need to add the X-Consul-Token to the tokenHeaders in config.json inside your Tower configuration file:
After that, create your configuration file for Flogo (according to the Tibco documentation)
TIBCO BusinessWorks® Container Edition
To use Tower with Tibco BusinessWorks Container Edition you will need to use Spring Cloud Config Server like API. To do so, just create a new REST API url via REST API Configuration page. The provided URL must contain the BW Application name and BW profile. In my case it's /{Application}/{Environment}.
On your BW application side, you will need to set the additional environment variables:
Where in SPRING_CLOUD_CONFIG_SERVER_URL variable you will need to set to your Towers URL adding '/v1' at the end (like in the example). For the APPCONFIG_PROFILE variable, you will need to set the BWPROFILE to the configuration profile your application uses and the TOWER_ACCESS_TOKEN to the Towers token (technical or regular one).
Last updated