This documentation is for WSO2 API Manager 1.5.0 View documentation for the latest release.
Page Comparison - Configuring api-manager.xml (v.13 vs v.14) - API Manager 1.5.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XML elementDescriptionData typeDefault valueFixed valuesMandatory/OptionalSample
<DataSourceName/>JNDI name of the datasource to be used by the API publisher, API store and API key manager. This datasource should be defined in the master-datasources.xml file in conf/datasources directory.StringN/AN/A 
<DataSourceName>jdbc/WSO2AM_DB</DataSourceName>
<GatewayType/>This parameter is used when adding api management capability to other products like GReg, AS, DSS etc.String   <GatewayType>Synapse</GatewayType>
<Database/>

Database configuration used by API publisher, API store and API key manager. When these components are deployed separately, each of them should have separate database configurations pointing to the same physical database.

StringN/AN/A 
Code Block
languagehtml/xml
<Database>
     <URL>jdbc:h2:repository/database/WSO2AM_DB</URL>
     <Username>wso2carbon</Username>    
     <Password>wso2carbon</Password>
     <Driver>org.h2.Driver</Driver
</Database>
      <URL/>JDBC connection string for the databaseStringN/AN/A  
     <Username/>JDBC username for the databaseStringN/AN/A  
     <Password/>JDBC password for the databaseStringN/AN/A  
     <Driver>JDBC driver for the databaseStringN/AN/A  
<AuthManager/>

Authentication manager configuration for API publisher and API store. This is a required configuration for both web applications as their user authentication logic relies on this.

   

 

 

Code Block
languagehtml/xml
<AuthManager>
  <ServerURL>https://${carbon.local.ip}:${mgt.transport.https.port}/services/</ServerURL>
  <Username>admin</Username>
  <Password>admin</Password>
</AuthManager>
     <ServerURL/>Server URL of the Authentication service     
     <Username/>Admin username for the Authentication manager     
     <Password>Admin password for the Authentication manager     
       
       


 Click on an element to view its details.

...