Integrating with TIBCO Mashery®
The following options are available to integrate with TIBCO Mashery:
- Using a custom user provided service (CUPS)
In your cf CLI execute
cf cups mashery-service -p "areaUuid,clientId,clientSecret,password,trafficManagerDomain,username,masheryApiServerUri"
All the service configuration parameters listed above are mandatory and the service name has to contain the word mashery.
- Using an environment variable The TIBCO Mashery configuration can be passed using the
MASHERY_SERVICE_CONFIG environment variable. The value of this environment variable is a JSON string.
MASHERY_SERVICE_CONFIG: '{"username":"xxx@tibco.com","password": "xxxx", "clientId":"xxxxxxxx","clientSecret":"xxxxxx","masheryApiServerUri": "https://api.mashery.com","areaUuid": "xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx","trafficManagerDomain":"xxxxx.api.mashery.com"}'
The TIBCO BusinessWorks™ Container Edition runtime looks for an attached service or an environment variable for the TIBCO Mashery configuration. If found, that configuration is used to register HTTP based endpoints (HTTP, REST, or SOAP/HTTP).
Copyright © Cloud Software Group, Inc. All rights reserved.