Integrating with TIBCO Mashery

You integrate TIBCO BusinessWorks™ Container Edition applications with TIBCO Mashery using an environment variable.

  • 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":"xxxxxxxx.api.mashery.com","host":"10.98.200.235","ports":[{"port":"8080","mappedPort":"32764"},{"port":"8090","mappedPort":"32763"}]}'
    
    
    For the JSON string:
    • Host field contains the IP (10.98.200.235) of the machine where the container is deployed.
    • Ports field is a key-value pair array, where port signifies the exposed container port (8080) and mappedPort (32764) signifies the mapped machine port.

    The TIBCO BusinessWorks™ Container Edition runtime looks for an environment variable for the TIBCO Mashery configuration. If found, that configuration is used to register HTTP based endpoints (HTTP, REST, or SOAP/HTTP).