CentraSite 10.11 | CentraSite User’s Guide | Suite Usage Aspects | Using CentraSite with webMethods API Portal | Configuring and Activating Design/Change-Time Policies That API Portal Uses | Configuring Publish to API Portal Policy
 
Configuring Publish to API Portal Policy
Use the following procedure to configure the Publish to API-Portal action in the Publish to API-Portal policy. The policy (1) creates a new API and (2) updates an existing API metadata in the API Portal registry:
*To configure the publish to API Portal policy
1. In CentraSite Business UI activity bar, click Design Time.
2. In the Narrow your results section, select Include Predefined Policies.
A list of the predefined policies appears.
3. Click the Publish to API-Portal policy.
4. If the policy is active, deactivate it.
5. In the Policy Actions profile, define the policy parameters.
API-Portal
(Optional). (String). (Array). Name of the API Portal gateway to which the API would be published. This assumes that you have already registered the API Portal in CentraSite.
Note:
However, if this action is to be executed in a different event other than OnTrigger, for example, Pre-State Change or Post-State Change, that is not provided by default, you must specify a value for this field.
Endpoint Category
(Optional). (String). (Array). A list of the specific taxonomy categories by which the base URLs (endpoints) of the API are classified.
REST Service Attributes
(Optional). (String). (Array). The metadata bundle can be supplied with additional information of a REST API and published to an CentraSite gateway. You use this field to specify additional attributes of the REST API to be published to the CentraSite gateway.
SOAP Service Attributes
(Optional). (String). (Array). The metadata bundle can be supplied with additional information of a SOAP-based API and published to an CentraSite gateway. You use this field to specify additional attributes of the SOAP API to be published to the CentraSite gateway.
The available event types are:
*Pre-State Change
*Post-State Change
*OnTrigger
6. After you configure the parameters for all of the actions in the list, click Save to save the updated policy.
7. When you are ready to put the policy into effect, activate it.