Publishing Services to Gateways
You can execute a Publish action through the following pages:
Native Service asset details page, the exact rendering of user interface depends on whether or not the Native Service has an immediate Virtual Service.
If the Native Service does not have an immediate Virtual Service, you will be allowed to directly publish the Native Service to gateways. If the Native Service has an immediate Virtual Service, you will directed to select the Virtual Services, and publish the selected Virtual Services to Mediator, API Gateway, and Insight Server gateways.
Virtual Service asset details page, you will be allowed to directly publish the Virtual Service to
Mediator,
API Gateway, and
Insight Server gateways.
Search Results page, you will be allowed to directly publish Native and Virtual Services to
Mediator,
API Gateway, and
Insight Server gateways in a single step.
To publish a Service asset
1. In CentraSite Business UI, access the Advanced Search panel in one of the following ways:
Click the
Browse link in the upper-left corner of the menu bar.
Click the
Search icon next to the
Scope list. The default search scope is
Assets.
This displays a list of assets in the Search Results page.
2. In the Additional Search Criteria list, select Asset Types.
3. To search for the assets of type, Service, click Choose.
4. In the Choose Asset Types dialog box, select the Assets button, and follow these steps:
a. Click the chevron next to Assets button.
b. Based on the type of Service asset that you want to publish to the gateway, select any of the following:
Service
REST Service
OData Service
Virtual Service
Virtual REST Service
Virtual OData Service
c. Click OK.
5. Click the Service asset you want to publish to the gateways.
This opens the Service asset details page. Also, the actions bar displays a set of actions that are available for working with the displayed Service asset.
6. Click Publish.
CentraSite directs you to an intermediate
Publish Virtual Services dialog box, if the displayed Service asset has a Virtual Service asset. A list of the defined Virtual Service assets that are available for publishing to the gateways is displayed.
CentraSite directs you to the
Publish to Gateway dialog box, if the displayed Service asset does not have an immediate Virtual Service asset.
7. In the Publish Virtual Services dialog box, select one or multiple Virtual Services you want to publish to the gateways, and click Next.
This opens the Publish to Gateway dialog box.
8. In the Gateway list, select one or multiple gateways to which you want to publish the Virtual Service assets. (The Gateway list only displays the gateways for which you have the Modify permission.)
The Gateway list includes:
If you choose... | CentraSite displays... |
API Gateway | All instances of API Gateway. |
Mediator | All instances of Mediator gateway. |
All Gateways | All instances of both API Gateway and Mediator gateways. |
The default is set to All Gateways.
The Gateway list provides the following information about each gateway:
Column | Description |
Name | Name of the gateway. |
Type | Type of gateway. Supported gateways are: API Gateway Mediator |
Sandbox | The category to classify deployment endpoint of the gateway. |
Settings | The Configure icon displays the API Portal Settings dialog box that allows you to configure a set of sandbox categories for the specified API Gateway individually. The dialog box also lists the set of API communities available for the specified API Gateway. You can assign a Service asset to one or more API communities. |
9. Applicable for API Gateways. Optional. In the Sandbox list, do the following:
a. Click the Configure icon next to the field labeled Sandbox.
This opens the API Gateway Settings dialog box.
b. Select one or multiple sandbox categories that classify the endpoint of the Service asset for publishing to API Gateways.
The Sandbox list includes:
If you choose... | CentraSite displays... |
Development | Instances of a specific gateway whose endpoints are classified by the Development category. |
Production | Instances of a specific gateway whose endpoints are classified by the Production category. |
Test | Instances of a specific gateway whose endpoints are classified by the Test category. |
All Sandboxes | Instances of a specific gateway whose endpoints are classified by any of the above mentioned categories. |
The default is set to All Sandboxes.
c. Select one or multiple communities available for a particular API Gateway.
The default is set to Public Community. Any new community assigned to the Service asset overwrites the existing community assignments.
d. Click OK.
10. Applicable for Mediator gateways. Optional. Select the Expose to Consumers check box to allow guest users to simply access and examine the usage of Service asset through CentraSite Business UI.
11. Click Publish.
A Publish Inprogress popup displays the progress state of publishing the Service asset to selected gateways.
If the publish process logs failures, identify and correct the failure and then try publishing the Service asset again.