From a51990351ed76c8266f6ea8da5eba7ce7565fe30 Mon Sep 17 00:00:00 2001 From: ayyoob Date: Mon, 8 Jun 2015 01:42:55 +0530 Subject: [PATCH] Added device types - Digital Display, Sensebot, Raspberrypi --- modules/distribution/pom.xml | 94 ++++++++++++++++++- modules/distribution/src/assembly/bin.xml | 2 + .../conf/datasources/cdm-datasources.xml | 61 +----------- .../conf/datasources/master-datasources.xml | 67 ++++++++++++- pom.xml | 21 ++++- 5 files changed, 179 insertions(+), 66 deletions(-) diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml index 1e0adee9..148b7888 100644 --- a/modules/distribution/pom.xml +++ b/modules/distribution/pom.xml @@ -260,8 +260,8 @@ - - create-dc-schema + + create-firealarm-schema package run @@ -286,6 +286,96 @@ + + + + create-sensebot-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + create-raspberrypi-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + create-digitaldisply-schema + package + + run + + + + + + + + + + + + + + + + + + + + + + + + + + + 3-extract-docs-from-components package diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 8ce1b7ef..3531ee41 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -280,6 +280,8 @@ devicecloud.war firealarm.war sensebot.war + raspberrypi.war + digitaldisplay.war diff --git a/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml b/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml index 9b04bdcc..ccd7932f 100755 --- a/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml +++ b/modules/distribution/src/repository/conf/datasources/cdm-datasources.xml @@ -24,66 +24,7 @@ - - MobileIOSDM_DS - The datasource used for CDM Mobile Device Management - - jdbc/MobileIOSDM_DS - - - - jdbc:h2:repository/database/WSO2MobileIOS_DB;DB_CLOSE_ON_EXIT=FALSE - wso2carbon - wso2carbon - org.h2.Driver - 50 - 60000 - true - SELECT 1 - 30000 - - - - - MobileAndroidDM_DS - The datasource used for CDM Mobile Device Management - - jdbc/MobileAndroidDM_DS - - - - jdbc:h2:repository/database/WSO2MobileAndroid_DB;DB_CLOSE_ON_EXIT=FALSE - wso2carbon - wso2carbon - org.h2.Driver - 50 - 60000 - true - SELECT 1 - 30000 - - - - - MobileWindowsDM_DS - The datasource used for CDM Mobile Device Management - - jdbc/MobileWindowsDM_DS - - - - jdbc:h2:repository/database/WSO2MobileWindows_DB;DB_CLOSE_ON_EXIT=FALSE - wso2carbon - wso2carbon - org.h2.Driver - 50 - 60000 - true - SELECT 1 - 30000 - - - + WSO2AM_DS diff --git a/modules/distribution/src/repository/conf/datasources/master-datasources.xml b/modules/distribution/src/repository/conf/datasources/master-datasources.xml index 45db91a5..23aa2874 100755 --- a/modules/distribution/src/repository/conf/datasources/master-datasources.xml +++ b/modules/distribution/src/repository/conf/datasources/master-datasources.xml @@ -98,9 +98,9 @@ - + FireAlarmDM_DS - The datasource used for API Manager database + The datasource used for Firealarm database jdbc/FireAlarmDM_DB @@ -119,6 +119,69 @@ + + SensebotDM_DS + The datasource used for Sensebot database + + jdbc/SensebotDM_DB + + + + jdbc:h2:repository/database/SensebotDM_DB;DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + + + DigitalDisplayDM_DS + The datasource used for Digital Display database + + jdbc/FireAlarmDM_DB + + + + jdbc:h2:repository/database/DigitalDisplayDM_DB;DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + + + RaspberrypiDM_DS + The datasource used for Raspberrypi database + + jdbc/RaspberrypiDM_DB + + + + jdbc:h2:repository/database/RaspberrypiDM_DB;DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + JAGH2 The datasource used for by the Jaggery Storage Manager diff --git a/pom.xml b/pom.xml index 936ec921..572a1ef2 100644 --- a/pom.xml +++ b/pom.xml @@ -354,15 +354,32 @@ + + org.wso2.carbon.iot - org.wso2.carbon.device.mgt.iot.firealarm.impl + org.wso2.carbon.device.mgt.iot.common ${carbon.iot.device.mgt.version} org.wso2.carbon.iot - org.wso2.carbon.device.mgt.iot.common + org.wso2.carbon.device.mgt.iot.firealarm.impl + ${carbon.iot.device.mgt.version} + + + org.wso2.carbon.iot + org.wso2.carbon.device.mgt.iot.digitaldisplay.impl + ${carbon.iot.device.mgt.version} + + + org.wso2.carbon.iot + org.wso2.carbon.device.mgt.iot.sensebot.impl + ${carbon.iot.device.mgt.version} + + + org.wso2.carbon.iot + org.wso2.carbon.device.mgt.iot.raspberrypi.impl ${carbon.iot.device.mgt.version}