mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
android device type added
This commit is contained in:
parent
add5a8cfd9
commit
ee3d545b9d
@ -343,6 +343,33 @@
|
||||
</configuration>
|
||||
</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>
|
||||
<!-- Creating IOT Management schema -->
|
||||
<id>create-raspberrypi-schema</id>
|
||||
|
||||
@ -280,6 +280,7 @@
|
||||
<include>devicecloud.war</include>
|
||||
<include>firealarm.war</include>
|
||||
<include>arduino.war</include>
|
||||
<include>android.war</include>
|
||||
<include>sensebot.war</include>
|
||||
<include>raspberrypi.war</include>
|
||||
<include>digitaldisplay.war</include>
|
||||
|
||||
@ -140,6 +140,27 @@
|
||||
</definition>
|
||||
</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>
|
||||
<name>SensebotDM_DS</name>
|
||||
<description>The datasource used for Sensebot database</description>
|
||||
|
||||
5
pom.xml
5
pom.xml
@ -372,6 +372,11 @@
|
||||
<artifactId>org.wso2.carbon.device.mgt.iot.arduino.impl</artifactId>
|
||||
<version>${carbon.iot.device.mgt.version}</version>
|
||||
</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>
|
||||
<groupId>org.wso2.carbon.iot</groupId>
|
||||
<artifactId>org.wso2.carbon.device.mgt.iot.digitaldisplay.impl</artifactId>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user