Rasika Perera 7 years ago
parent a65075befe
commit 14e3e13c6b

@ -648,6 +648,8 @@
<excludes>
<exclude>**/*connectedcup-samples-deployer.xml</exclude>
<exclude>**/*connectedcup/pom.xml</exclude>
<exclude>**/*sampledevice/pom.xml</exclude>
<exclude>**/*sampledevice-deployer.xml</exclude>
<exclude>**/*device-plugins-deployer.xml</exclude>
</excludes>
</fileSet>
@ -1690,12 +1692,24 @@
<filtered>true</filtered>
<fileMode>644</fileMode>
</file>
<file>
<source>src/core/samples/sampledevice-deployer.xml</source>
<outputDirectory>${pom.artifactId}-${pom.version}/samples/</outputDirectory>
<filtered>true</filtered>
<fileMode>644</fileMode>
</file>
<file>
<source>src/core/samples/connectedcup/pom.xml</source>
<outputDirectory>${pom.artifactId}-${pom.version}/samples/connectedcup/</outputDirectory>
<filtered>true</filtered>
<fileMode>644</fileMode>
</file>
<file>
<source>src/core/samples/sampledevice/pom.xml</source>
<outputDirectory>${pom.artifactId}-${pom.version}/samples/sampledevice/</outputDirectory>
<filtered>true</filtered>
<fileMode>644</fileMode>
</file>
<!-- ********************************* End of IoT Core Profile ********************************* -->
<!-- ********************************* Start of Analytics Profile ********************************* -->

@ -251,4 +251,9 @@ public class ConnectedCupManager implements DeviceManager {
}
return devices;
}
@Override
public boolean updateDeviceProperties(DeviceIdentifier deviceIdentifier, List<Device.Property> list) throws DeviceManagementException {
return false;
}
}

@ -26,6 +26,7 @@ import org.wso2.carbon.device.mgt.common.OperationMonitoringTaskConfig;
import org.wso2.carbon.device.mgt.common.InitialOperationConfig;
import org.wso2.carbon.device.mgt.common.DeviceStatusTaskPluginConfig;
import org.wso2.carbon.device.mgt.common.ProvisioningConfig;
import org.wso2.carbon.device.mgt.common.general.GeneralConfig;
import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManager;
import org.wso2.carbon.device.mgt.common.policy.mgt.PolicyMonitoringManager;
import org.wso2.carbon.device.mgt.common.pull.notification.PullNotificationSubscriber;
@ -35,6 +36,11 @@ import org.wso2.carbon.device.mgt.common.spi.DeviceManagementService;
public class ConnectedCupManagerService implements DeviceManagementService {
private DeviceManager deviceManager;
@Override
public void init() throws DeviceManagementException {
this.deviceManager = new ConnectedCupManager();
}
@Override
public String getType() {
return ConnectedCupConstants.DEVICE_TYPE;
@ -45,11 +51,6 @@ public class ConnectedCupManagerService implements DeviceManagementService {
return null;
}
@Override
public void init() throws DeviceManagementException {
this.deviceManager = new ConnectedCupManager();
}
@Override
public DeviceManager getDeviceManager() {
return deviceManager;
@ -76,17 +77,22 @@ public class ConnectedCupManagerService implements DeviceManagementService {
}
@Override
public DeviceStatusTaskPluginConfig getDeviceStatusTaskPluginConfig() {
public InitialOperationConfig getInitialOperationConfig() {
return null;
}
@Override
public InitialOperationConfig getInitialOperationConfig() {
public PullNotificationSubscriber getPullNotificationSubscriber() {
return null;
}
@Override
public PullNotificationSubscriber getPullNotificationSubscriber() {
public DeviceStatusTaskPluginConfig getDeviceStatusTaskPluginConfig() {
return null;
}
@Override
public GeneralConfig getGeneralConfig() {
return null;
}
}

@ -60,6 +60,12 @@
<artifactId>h2-database-engine</artifactId>
<version>1.2.140.wso2v3</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.devicemgt</groupId>
<artifactId>org.wso2.carbon.device.mgt.server.feature</artifactId>
<type>zip</type>
<version>${carbon.device.mgt.version}</version>
</dependency>
</dependencies>
<build>

@ -190,6 +190,6 @@
</repository>
</repositories>
<properties>
<carbon.device.mgt.plugin.version>4.0.34</carbon.device.mgt.plugin.version>
<carbon.device.mgt.plugin.version>${carbon.device.mgt.plugin.version}</carbon.device.mgt.plugin.version>
</properties>
</project>

@ -259,4 +259,9 @@ public class DeviceTypeManager implements DeviceManager {
}
return devices;
}
@Override
public boolean updateDeviceProperties(DeviceIdentifier deviceIdentifier, List<Device.Property> list) throws DeviceManagementException {
return false;
}
}

@ -24,6 +24,7 @@ import org.wso2.carbon.device.mgt.common.DeviceStatusTaskPluginConfig;
import org.wso2.carbon.device.mgt.common.InitialOperationConfig;
import org.wso2.carbon.device.mgt.common.OperationMonitoringTaskConfig;
import org.wso2.carbon.device.mgt.common.ProvisioningConfig;
import org.wso2.carbon.device.mgt.common.general.GeneralConfig;
import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManager;
import org.wso2.carbon.device.mgt.common.policy.mgt.PolicyMonitoringManager;
import org.wso2.carbon.device.mgt.common.pull.notification.PullNotificationSubscriber;
@ -114,4 +115,9 @@ public class DeviceTypeManagerService implements DeviceManagementService {
return null;
}
@Override
public GeneralConfig getGeneralConfig() {
return null;
}
}

@ -374,12 +374,11 @@
</repository>
</repositories>
<properties>
<carbon.kernel.version>4.4.11</carbon.kernel.version>
<carbon.kernel.version>${carbon.kernel.version}</carbon.kernel.version>
<!-- Carbon Device Management -->
<carbon.device.mgt.version>3.0.37</carbon.device.mgt.version>
<carbon.device.mgt.plugin.version>4.0.34</carbon.device.mgt.plugin.version>
<carbon.device.mgt.version>${carbon.device.mgt.version}</carbon.device.mgt.version>
<carbon.device.mgt.plugin.version>${carbon.device.mgt.plugin.version}</carbon.device.mgt.plugin.version>
<project-base-package>${project.groupId}.sampledevice</project-base-package>

@ -1517,14 +1517,14 @@
<carbon.governance.version>4.7.8</carbon.governance.version>
<!-- Carbon Device Management-->
<carbon.device.mgt.version>3.0.205</carbon.device.mgt.version>
<carbon.device.mgt.version>3.0.213-SNAPSHOT</carbon.device.mgt.version>
<carbon.device.mgt.version.range>[3.0.0, 4.0.0)</carbon.device.mgt.version.range>
<!-- IOT Device Management -->
<product.iot.version>${project.version}</product.iot.version>
<!-- Carbon Device Management Plugins-->
<carbon.device.mgt.plugin.version>4.0.113</carbon.device.mgt.plugin.version>
<carbon.device.mgt.plugin.version>4.0.118-SNAPSHOT</carbon.device.mgt.plugin.version>
<!-- API Management -->
<carbon.api.mgt.version>6.1.109</carbon.api.mgt.version>

Loading…
Cancel
Save