Publishing APIs to TIBCO Mashery®

Follow these steps to publish application endpoints, or API endpoints, from the Admin UI to Mashery.

Prerequisites

Complete the following tasks:
  • Set up a Mashery account.
  • Register your application endpoint domain with Mashery, and ensure Mashery can access it.
  • Create the mashery.ini file:
    1. Open a text editor, and add the following properties with the correct values.
      bw.mashery.clientId=<clientId>
      bw.mashery.clientSecret=<clientSecret>
      bw.mashery.areaUuid=<areaUuid>
      bw.mashery.username=<username>
      bw.mashery.password=<password>
      bw.mashery.trafficManagerDomain=<trafficManagerDomain>
      bw.mashery.apiUrl=<https://api.HOST>
    2. Save the file as mashery.ini
    3. Add the mashery.ini file to BW_HOME/config.
  • Edit the bwagent.ini file at BW_HOME/config/bwagent.ini, by adding the following line to the file:

    bw.mashery.config.file=../config/mashery.ini

Procedure

  1. Start the application from the Admin UI.
  2. Click on the Application tab, and click the Endpoints tab.
  3. From the Endpoints tab, select all, or individual, application endpoints.

    Tip: Select the Select All check box, located to the left of Endpoint URL, to select all application endpoints.
  4. Click the icon, or the icon, to publish the selected endpoints.

Result

Your API endpoints are published to Mashery.

For additional details about managing your API's from Mashery, see Mashery documentation.