diff options
Diffstat (limited to 'wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources')
3 files changed, 132 insertions, 0 deletions
diff --git a/wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/activiti-datasources.xml b/wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/activiti-datasources.xml new file mode 100644 index 0000000..f95cb87 --- /dev/null +++ b/wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/activiti-datasources.xml @@ -0,0 +1,32 @@ +<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> + + <providers> + <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> + </providers> + + <datasources> + + <datasource> + <name>ACTIVITI_DB</name> + <description>The datasource used for activiti engine</description> + <jndiConfig> + <name>jdbc/ActivitiDB</name> + </jndiConfig> + <definition type="RDBMS"> + <configuration> + <url>jdbc:h2:repository/database/activiti;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url> + <username>wso2carbon</username> + <password>wso2carbon</password> + <driverClassName>org.h2.Driver</driverClassName> + <maxActive>50</maxActive> + <maxWait>60000</maxWait> + <testOnBorrow>true</testOnBorrow> + <validationQuery>SELECT 1</validationQuery> + <validationInterval>30000</validationInterval> + </configuration> + </definition> + </datasource> + + </datasources> + +</datasources-configuration> diff --git a/wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/bps-datasources.xml b/wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/bps-datasources.xml new file mode 100644 index 0000000..22f79f7 --- /dev/null +++ b/wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/bps-datasources.xml @@ -0,0 +1,32 @@ +<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> + + <providers> + <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> + </providers> + + <datasources> + <datasource> + <name>BPS_DS</name> + <description/> + <jndiConfig> + <name>bpsds</name> + </jndiConfig> + <definition type="RDBMS"> + <configuration> + <url>jdbc:mysql://localhost:3306/wso_bpel</url> + <username>wso_bpel</username> + <password>wso_bpel</password> + <driverClassName>com.mysql.jdbc.Driver</driverClassName> + <testOnBorrow>true</testOnBorrow> + <validationQuery>SELECT 1</validationQuery> + <validationInterval>30000</validationInterval> + <useDataSourceFactory>false</useDataSourceFactory> + <defaultAutoCommit>true</defaultAutoCommit> + <maxActive>100</maxActive> + <maxIdle>20</maxIdle> + <maxWait>10000</maxWait> + </configuration> + </definition> + </datasource> + </datasources> +</datasources-configuration> diff --git a/wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/master-datasources.xml b/wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/master-datasources.xml new file mode 100644 index 0000000..897e335 --- /dev/null +++ b/wso2/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/master-datasources.xml @@ -0,0 +1,68 @@ +<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 and user manager</description> + <jndiConfig> + <name>jdbc/WSO2CarbonDB</name> + </jndiConfig> + <definition type="RDBMS"> + <configuration> + <url>jdbc:h2:repository/database/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url> + <username>wso2carbon</username> + <password>wso2carbon</password> + <driverClassName>org.h2.Driver</driverClassName> + <maxActive>50</maxActive> + <maxWait>60000</maxWait> + <testOnBorrow>true</testOnBorrow> + <validationQuery>SELECT 1</validationQuery> + <validationInterval>30000</validationInterval> + <defaultAutoCommit>false</defaultAutoCommit> + </configuration> + </definition> + </datasource> + + <!-- For an explanation of the properties, see: http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html --> + <!--datasource> + <name>SAMPLE_DATA_SOURCE</name> + <jndiConfig> + <name></name> + <environment> + <property name="java.naming.factory.initial"></property> + <property name="java.naming.provider.url"></property> + </environment> + </jndiConfig> + <definition type="RDBMS"> + <configuration> + + <defaultAutoCommit></defaultAutoCommit> + <defaultReadOnly></defaultReadOnly> + <defaultTransactionIsolation>NONE|READ_COMMITTED|READ_UNCOMMITTED|REPEATABLE_READ|SERIALIZABLE</defaultTransactionIsolation> + <defaultCatalog></defaultCatalog> + <username></username> + <password svns:secretAlias="WSO2.DB.Password"></password> + <maxActive></maxActive> + <maxIdle></maxIdle> + <initialSize></initialSize> + <maxWait></maxWait> + + <dataSourceClassName>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</dataSourceClassName> + <dataSourceProps> + <property name="url">jdbc:mysql://localhost:3306/Test1</property> + <property name="user">root</property> + <property name="password">123</property> + </dataSourceProps> + + </configuration> + </definition> + </datasource--> + + </datasources> + +</datasources-configuration> |