Publishing and Unpublishing an API to Mediator
Publishing refers to the process you use to send virtual services, virtual XML services and virtual REST services to the gateways on which they are to be used for run-time governance.
The publishing process of an API to the Mediator is carried out by a synchronous mechanism between the CentraSite and Mediator. Doing this involves the following high-level steps:
Step 1: An administrator initiates the publish process by selecting the virtual APIs that are to be published and specifies to which
Mediator they are to be published.
Step 2:The Deployment Manager on
CentraSite prepares the virtual API for publishing (the specific preparation steps depend on the type of API being published) and invokes the deployer service on the
Mediator. The prepared API is submitted as input to this service.
Step 3: The deployer service deploys the API in the
Mediator.
Step 4: If the publishing is successful, the deployer service returns a success message and data that is pertinent to the published API. If the publishing is unsuccessful, the deployer service returns a failure message.
Step 5: The Deployment Manager on
CentraSite logs information about the publish progress in the Deployment log. If the deployer service returned specific data about the API, the API's metadata is updated as needed in the registry/repository.