Publishing APIs to TIBCO Mashery®

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

Before you begin Complete the following tasks:
  • Set up a Mashery account.
  • Register your application endpoint domain with Mashery, and ensure that 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 the Application tab, and click the Endpoints tab.
  3. From the Endpoints tab, select all, or individual, application endpoints.

    Tip: Select the Select All checkbox, located to the left of the Endpoint URL, to select all application endpoints.
  4. Click the icon, or the icon to publish the selected endpoints.
ResultYour API endpoints are published to TIBCO Mashery.

For additional details about managing your APIs from TIBCO Mashery, see Mashery documentation.