When creating applications, you may need to associate various APIs with that application. It is convenient if APIs are stored in a central location, so that you can associate the APIs on demand. Therefore, WSO2 App Factory has an instance of WSO2 API Manager integrated in it by default for you to store, maintain and publish APIs.
You do all the API Manager customizations using the
<ApiManager> element in
Following sample code shows how to add a new API Manager to App Factory:
The elements of the sample configuration are explained below. You can use this information to edit the file according to your requirements.
XML elements of the sample code
|Property Name||Description||Type||Default Value||Fixed Values||Mandatory/Optional|
A tier defines the maximum number of requests per minute.
The tiers are configured in API Manager as well. The default tier can be one of the defined tiers in API Manager. Generally, the tier value for the App Factory side should be greater than the tier value in the respective API.
|APIManager Endpoint service URL.|
|Created APIs are hosted in this server.|
|Target APIManager Integration Service URL.|
|Add different life cycle stages.|