Last active
February 16, 2017 18:06
-
-
Save mefarazath/40d653509b6c8658eb4c36878d23cb78 to your computer and use it in GitHub Desktop.
IS 5.3.0 as Key Manager master-datasources.xml sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> | |
<providers> | |
<provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> | |
</providers> | |
<datasources> | |
<datasource> | |
<name>WSO2_CARBON_DB</name> | |
<description>The datasource used for registry- local</description> | |
<jndiConfig> | |
<name>jdbc/WSO2CarbonDB</name> | |
</jndiConfig> | |
<definition type="RDBMS"> | |
<configuration> | |
<url>jdbc:mysql://carbondb.mysql-wso2.com:3306/REGISTRY_LOCAL_1?autoReconnect=true</url> | |
<username>regadmin</username> | |
<password>regadmin</password> | |
<driverClassName>com.mysql.jdbc.Driver</driverClassName> | |
<maxActive>50</maxActive> | |
<maxWait>60000</maxWait> | |
<testOnBorrow>true</testOnBorrow> | |
<validationQuery>SELECT 1</validationQuery> | |
<validationInterval>30000</validationInterval> | |
</configuration> | |
</definition> | |
</datasource> | |
<datasource> | |
<name>WSO2AM_DB</name> | |
<description>The datasource used for API Manager database</description> | |
<jndiConfig> | |
<name>jdbc/WSO2AM_DB</name> | |
</jndiConfig> | |
<definition type="RDBMS"> | |
<configuration> | |
<url>jdbc:mysql://carbondb.mysql-wso2.com:3306/AM_DB?autoReconnect=true</url> | |
<username>regadmin</username> | |
<password>regadmin</password> | |
<driverClassName>com.mysql.jdbc.Driver</driverClassName> | |
<maxActive>50</maxActive> | |
<maxWait>60000</maxWait> | |
<testOnBorrow>true</testOnBorrow> | |
<validationQuery>SELECT 1</validationQuery> | |
<validationInterval>30000</validationInterval> | |
</configuration> | |
</definition> | |
</datasource> | |
<datasource> | |
<name>REGISTRY_DB</name> | |
<description>The datasource used for registry- config/governance</description> | |
<jndiConfig> | |
<name>jdbc/WSO2RegistryDB</name> | |
</jndiConfig> | |
<definition type="RDBMS"> | |
<configuration> | |
<url>jdbc:mysql://carbondb.mysql-wso2.com:3306/REGISTRY_DB?autoReconnect=true</url> | |
<username>regadmin</username> | |
<password>regadmin</password> | |
<driverClassName>com.mysql.jdbc.Driver</driverClassName> | |
<maxActive>50</maxActive> | |
<maxWait>60000</maxWait> | |
<testOnBorrow>true</testOnBorrow> | |
<validationQuery>SELECT 1</validationQuery> | |
<validationInterval>30000</validationInterval> | |
</configuration> | |
</definition> | |
</datasource> | |
<datasource> | |
<name>UM_DB</name> | |
<description>The datasource used for registry and user manager</description> | |
<jndiConfig> | |
<name>jdbc/WSO2UMDB</name> | |
</jndiConfig> | |
<definition type="RDBMS"> | |
<configuration> | |
<url>jdbc:mysql://carbondb.mysql-wso2.com:3306/UM_DB</url> | |
<username>regadmin</username> | |
<password>regadmin</password> | |
<driverClassName>com.mysql.jdbc.Driver</driverClassName> | |
<maxActive>50</maxActive> | |
<maxWait>60000</maxWait> | |
<testOnBorrow>true</testOnBorrow> | |
<validationQuery>SELECT 1</validationQuery> | |
<validationInterval>30000</validationInterval> | |
</configuration> | |
</definition> | |
</datasource> | |
</datasources> | |
</datasources-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment