Software AG Products 10.11 | Using CentraSite | 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 Control, go to Policies > Design/Change Time.
2. Enable the Show Predefined Policies option.
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 Actions tab, click the Publish to API-Portal action. In the Edit Action Parameters page, do the following.
a. 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
b. Click Save to save the parameter settings.
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.