mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Merge pull request #1495 from charithag/master
Add datasource for data archival #1394
This commit is contained in:
commit
2e71bed16a
@ -41,5 +41,25 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</definition>
|
</definition>
|
||||||
</datasource>
|
</datasource>
|
||||||
|
<datasource>
|
||||||
|
<name>DM_ARCHIVAL_DS</name>
|
||||||
|
<description>The archival datasource used for CDM</description>
|
||||||
|
<jndiConfig>
|
||||||
|
<name>jdbc/DM_ARCHIVAL_DS</name>
|
||||||
|
</jndiConfig>
|
||||||
|
<definition type="RDBMS">
|
||||||
|
<configuration>
|
||||||
|
<url>jdbc:h2:repository/database/WSO2DM_ARCHIVAL_DS;DB_CLOSE_ON_EXIT=FALSE</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>
|
||||||
</datasources-configuration>
|
</datasources-configuration>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user