Publishing APIs to TIBCO Mashery®
Follow these steps to publish application endpoints, or API endpoints, from the Admin UI to Mashery.
Before you begin 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:
- 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>
- Save the file as mashery.ini
- Add the mashery.ini file to BW_HOME/config.
- Open a text editor, and add the following properties with the correct values.
- 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
- Start the application from the Admin UI.
- Click on the Application tab, and click the Endpoints tab.
- From the Endpoints tab, select all, or individual, application endpoints.
- Click the
icon, or the
icon, to publish the selected endpoints.
ResultYour API endpoints are published to Mashery.
For additional details about managing your API's from Mashery, see Mashery documentation.