Merge pull request #2 from menaka121/master

DB schema and script change
merge-requests/1/head
Charitha Goonetilleke 9 years ago
commit f25b56543a

@ -260,7 +260,7 @@
</configuration>
</execution>
<execution>
<!-- Creating Virtual Firealarm Plugin Management schema -->
<!-- Creating Android Sense Plugin Management schema -->
<id>create-android-sense-plugin-mgt-schema</id>
<phase>package</phase>
<goals>

@ -217,5 +217,26 @@
</configuration>
</definition>
</datasource>
<datasource>
<name>AndroidSenseDM_DB</name>
<description>The datasource used for the Android-Sense database</description>
<jndiConfig>
<name>jdbc/AndroidSenseDM_DB</name>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<url>jdbc:h2:repository/database/AndroidSenseDM_DB;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-configuration>

@ -34,7 +34,7 @@
<Type>LONG</Type>
</ColumnDefinition>
<ColumnDefinition>
<Name>battery</Name>
<Name>accelerometer</Name>
<EnableIndexing>false</EnableIndexing>
<IsPrimaryKey>false</IsPrimaryKey>
<EnableScoreParam>false</EnableScoreParam>

Loading…
Cancel
Save