Integrate wso2bps
[vfc/nfvo/wfengine.git] / wso2bpel-ext / wso2bpel-core / distribution / standalone / src / main / assembly / wso2bps / repository / conf / datasources / bps-datasources.xml
diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/bps-datasources.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/src/main/assembly/wso2bps/repository/conf/datasources/bps-datasources.xml
new file mode 100644 (file)
index 0000000..22f79f7
--- /dev/null
@@ -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>