digital display modifications

NuwanSameera 9 years ago
parent 0ec235ee15
commit cbae64d925

@ -18,7 +18,7 @@ package org.wso2.carbon.device.mgt.iot.digitaldisplay.constants;
public class DigitalDisplayConstants {
public final static String DEVICE_TYPE = "digitaldisplay";
public final static String DEVICE_TYPE = "digital_display";
public final static String DEVICE_PLUGIN_DEVICE_NAME = "DEVICE_NAME";
public final static String DEVICE_PLUGIN_DEVICE_ID = "DIGITAL_DISPLAY_DEVICE_ID";

@ -45,12 +45,12 @@
name="deviceName" size="60" required>
<br/>
<input type="hidden" class="deviceType" name="deviceType"
value="digitaldisplay"/>
value="digital_display"/>
<input type="hidden" class="sketchType" name="sketchType"
value="digitaldisplay"/>
value="digital_display"/>
<div class="sketchTypes" style=" padding-top: 20px; padding-bottom: 5px; font-size: 18px;">
<input type="radio" name="sketchType" id="digitaldisplay"
value="digitaldisplay"><label for="digitaldisplay">digitaldisplay</label>
<input type="radio" name="sketchType" id="digital_display"
value="digital_display"><label for="digital_display">digitaldisplay</label>
</div>
</div>
</div>

@ -1,8 +0,0 @@
{
"deviceType": {
"label": "Digital Display",
"category": "iot",
"downloadAgentUri": "http://localhost:9763/digital_display/manager/device/device_display/download"
}
}

@ -2,9 +2,9 @@ instructions.configure = \
org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/webapps/);\
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.iot.digitaldisplay_${feature.version}/webapps/,target:${installFolder}/../../deployment/server/webapps/,overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../resources/sketches/);\
org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../resources/sketches/digitaldisplay/);\
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.iot.digitaldisplay_${feature.version}/agent/,target:${installFolder}/../../resources/sketches/digitaldisplay/,overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.iot.digitaldisplay_${feature.version}/dbscripts/,target:${installFolder}/../../../dbscripts/cdm/plugins/digitaldisplay,overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../resources/sketches/digital_display/);\
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.iot.digitaldisplay_${feature.version}/agent/,target:${installFolder}/../../resources/sketches/digital_display/,overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.iot.digitaldisplay_${feature.version}/dbscripts/,target:${installFolder}/../../../dbscripts/cdm/plugins/digital_display,overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../conf/datasources/devicemgt/);\
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.iot.digitaldisplay_${feature.version}/datasources/,target:${installFolder}/../../conf/datasources/devicemgt,overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/jaggeryapps/);\

@ -8,13 +8,7 @@
<IotDeviceTypeConfig type="android_sense">
<DatasourceName>jdbc/AndroidSenseDM_DB</DatasourceName>
</IotDeviceTypeConfig>
<<<<<<< HEAD
<IotDeviceTypeConfigurations type="digitaldisplay">
<DatasourceName>jdbc/DigitalDisplayDM_DB</DatasourceName>
</IotDeviceTypeConfigurations>
=======
<IotDeviceTypeConfig type="digitaldisplay">
<IotDeviceTypeConfig type="digital_display">
<DatasourceName>jdbc/DigitalDisplayDM_DB</DatasourceName>
</IotDeviceTypeConfig>
>>>>>>> upstream/IoTS-1.0.0-M1
</IoTDeviceTypeConfigManager>
Loading…
Cancel
Save