android device type added

merge-requests/1/head
ayyoob 10 years ago
parent add5a8cfd9
commit ee3d545b9d

@ -343,6 +343,33 @@
</configuration> </configuration>
</execution> </execution>
<execution>
<!-- Creating IOT Management schema -->
<id>create-android-schema</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo message="########### Device Cloud H2 Schema ###########" />
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
<property name="userid" value="wso2carbon" />
<property name="password" value="wso2carbon" />
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/AndroidDM_DB;DB_CLOSE_ON_EXIT=FALSE" />
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
<classpath refid="maven.dependency.classpath" />
<classpath refid="maven.compile.classpath" />
<classpath refid="maven.runtime.classpath" />
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm/plugins/h2_android.sql" />
</sql>
<echo message="##################### END ####################" />
</tasks>
</configuration>
</execution>
<execution> <execution>
<!-- Creating IOT Management schema --> <!-- Creating IOT Management schema -->
<id>create-raspberrypi-schema</id> <id>create-raspberrypi-schema</id>

@ -280,6 +280,7 @@
<include>devicecloud.war</include> <include>devicecloud.war</include>
<include>firealarm.war</include> <include>firealarm.war</include>
<include>arduino.war</include> <include>arduino.war</include>
<include>android.war</include>
<include>sensebot.war</include> <include>sensebot.war</include>
<include>raspberrypi.war</include> <include>raspberrypi.war</include>
<include>digitaldisplay.war</include> <include>digitaldisplay.war</include>

@ -140,6 +140,27 @@
</definition> </definition>
</datasource> </datasource>
<datasource>
<name>AndroidDM_DS</name>
<description>The datasource used for Android database</description>
<jndiConfig>
<name>jdbc/AndroidDM_DB</name>
</jndiConfig>
<definition type="RDBMS">
<configuration>
<url>jdbc:h2:repository/database/AndroidDM_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>
<datasource> <datasource>
<name>SensebotDM_DS</name> <name>SensebotDM_DS</name>
<description>The datasource used for Sensebot database</description> <description>The datasource used for Sensebot database</description>

@ -372,6 +372,11 @@
<artifactId>org.wso2.carbon.device.mgt.iot.arduino.impl</artifactId> <artifactId>org.wso2.carbon.device.mgt.iot.arduino.impl</artifactId>
<version>${carbon.iot.device.mgt.version}</version> <version>${carbon.iot.device.mgt.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.wso2.carbon.iot</groupId>
<artifactId>org.wso2.carbon.device.mgt.iot.android.impl</artifactId>
<version>${carbon.iot.device.mgt.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.wso2.carbon.iot</groupId> <groupId>org.wso2.carbon.iot</groupId>
<artifactId>org.wso2.carbon.device.mgt.iot.digitaldisplay.impl</artifactId> <artifactId>org.wso2.carbon.device.mgt.iot.digitaldisplay.impl</artifactId>

Loading…
Cancel
Save