Integrating With TIBCO Mashery®
In TIBCO Cloud™ Integration, you can publish an app’s endpoint to TIBCO Mashery, to use Mashery’s features for API management on that endpoint.
To publish an endpoint to Mashery:
- Log in to TIBCO® Cloud Integration.
- From the top navigation bar, click Apps.
- Click an app in the listed apps, then click the shortcut menu. (You can also alternately click the shortcut menu from the App Details page.) Note that the app must have at least one endpoint having a Swagger API.
Below the endpoint you wish to publish, click Publish to Mashery.
The Publish to Mashery dialog box is shown. Enter your Key (referred to as ClientId in Mashery), Secret (referred to as ClientSecret in Mashery), Username, Password, Area UUID and Traffic Manager Domain to connect to Mashery. Click Next.
Select a Mashery API Definition. (In Mashery, an API Definition is referred to as a Service.) The endpoints will be published to this API Definition.
Select an existing API Definition. You can use the sort control and search box to find existing definitions within your account. You can also click +New Definition to create a new API Definition. After you have entered a name, click Create.
Select one or more endpoint operations you want to publish to the API Definition. There will be one Mashery endpoint created per unique path. For example, if you select
PUT /dogs, those will be two different Mashery endpoints. After selecting the operations, click Next.
Next, you must select a package and a plan where the API will be included. Packages are a collection of plans which in turn are a collection of API definitions which contain endpoints.
First, select from an existing package in the left pane, or click + to add a new package. If there are not any available packages, you will be prompted to add one.
After selecting a package, select one or more plans in the right pane, or click + to add a new plan. If there are not any available plans, you will be prompted to add one.
You can also choose to publish your API without selecting a plan. To do this, click the Add button.
After selecting a package and plans, the Add button will change to a Publish button. Click Publish.
The selected operations are then published to the selected Mashery API definition. On the confirmation dialog box, there will be a link to the Mashery Control Center where you can manage your endpoints. Click Done to finish the integration.
If you did not select a package and plan, you will receive a message saying your endpoints were added, but not available. You can go to the Mashery Control Center and add them to a plan by clicking the link.