Skip to end of metadata
Go to start of metadata


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 <AF_HOME>/repository/conf/appfactory/appfactory.xml file.

Sample configuration

Following sample code shows how to add a new API Manager to App Factory:

		<Property name="Sandbox">Development</Property>
		<Property name="Sandbox">Testing</Property>
		<Property name="Prod">Production</Property>

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 NameDescriptionTypeDefault ValueFixed ValuesMandatory/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.

<Server>APIManager Endpoint service URL.    
<Store>Created APIs are hosted in this server.    
 <Namespace>Target APIManager Integration Service URL.    
<Keys>Add different life cycle stages.    
  • No labels