Fixing some version problem in the connected cup sample.

merge-requests/1/head
sinthuja 8 years ago
parent a8b4699cb9
commit 5483532882

@ -29,7 +29,7 @@ cdmf.platform.role=CDMFPlatform
cdmf.analytics.role=CDMFAnalytics cdmf.analytics.role=CDMFAnalytics
geodashboard.role=GeoDashboard geodashboard.role=GeoDashboard
bundle.creators=org.wso2.carbon.mediator.bridge.MediatorBundleCreator bundle.creators=org.wso2.carbon.mediator.bridge.MediatorBundleCreator
carbon-device-mgt-plugin-version=4.0.4 carbon-device-mgt-plugin-version=4.0.5
carbon-device-mgt-version=3.0.7 carbon-device-mgt-version=3.0.8
carbon-analytics-version=1.3.3 carbon-analytics-version=1.3.3
carbon-kernel-version=4.4.14 carbon-kernel-version=4.4.14

@ -74,7 +74,6 @@
org.wso2.carbon.base.*, org.wso2.carbon.base.*,
javax.xml.parsers.*;resolution:=optional javax.xml.parsers.*;resolution:=optional
</Import-Package> </Import-Package>
<Export-Package> <Export-Package>
!org.coffeeking.connectedcup.plugin.internal, !org.coffeeking.connectedcup.plugin.internal,
org.coffeeking.connectedcup.plugin.* org.coffeeking.connectedcup.plugin.*

@ -20,30 +20,25 @@ package org.coffeeking.connectedcup.plugin.impl;
import org.coffeeking.connectedcup.plugin.constants.ConnectedCupConstants; import org.coffeeking.connectedcup.plugin.constants.ConnectedCupConstants;
import org.wso2.carbon.base.MultitenantConstants; import org.wso2.carbon.base.MultitenantConstants;
import org.wso2.carbon.device.mgt.common.DeviceIdentifier;
import org.wso2.carbon.device.mgt.common.DeviceManagementException; import org.wso2.carbon.device.mgt.common.DeviceManagementException;
import org.wso2.carbon.device.mgt.common.DeviceManager; import org.wso2.carbon.device.mgt.common.DeviceManager;
import org.wso2.carbon.device.mgt.common.OperationMonitoringTaskConfig; import org.wso2.carbon.device.mgt.common.OperationMonitoringTaskConfig;
import org.wso2.carbon.device.mgt.common.InitialOperationConfig; import org.wso2.carbon.device.mgt.common.InitialOperationConfig;
import org.wso2.carbon.device.mgt.common.DeviceStatusTaskPluginConfig; import org.wso2.carbon.device.mgt.common.DeviceStatusTaskPluginConfig;
import org.wso2.carbon.device.mgt.common.ProvisioningConfig; import org.wso2.carbon.device.mgt.common.ProvisioningConfig;
import org.wso2.carbon.device.mgt.common.app.mgt.Application;
import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManagementException;
import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManager; import org.wso2.carbon.device.mgt.common.app.mgt.ApplicationManager;
import org.wso2.carbon.device.mgt.common.operation.mgt.Operation;
import org.wso2.carbon.device.mgt.common.policy.mgt.PolicyMonitoringManager; import org.wso2.carbon.device.mgt.common.policy.mgt.PolicyMonitoringManager;
import org.wso2.carbon.device.mgt.common.pull.notification.PullNotificationSubscriber;
import org.wso2.carbon.device.mgt.common.push.notification.PushNotificationConfig; import org.wso2.carbon.device.mgt.common.push.notification.PushNotificationConfig;
import org.wso2.carbon.device.mgt.common.spi.DeviceManagementService; import org.wso2.carbon.device.mgt.common.spi.DeviceManagementService;
import java.util.List;
public class ConnectedCupManagerService implements DeviceManagementService { public class ConnectedCupManagerService implements DeviceManagementService {
private DeviceManager deviceManager; private DeviceManager deviceManager;
@Override @Override
public String getType() { public String getType() {
return ConnectedCupConstants.DEVICE_TYPE; return ConnectedCupConstants.DEVICE_TYPE;
} }
@Override @Override
public OperationMonitoringTaskConfig getOperationMonitoringConfig() { public OperationMonitoringTaskConfig getOperationMonitoringConfig() {
@ -51,42 +46,47 @@ public class ConnectedCupManagerService implements DeviceManagementService {
} }
@Override @Override
public void init() throws DeviceManagementException { public void init() throws DeviceManagementException {
this.deviceManager=new ConnectedCupManager(); this.deviceManager = new ConnectedCupManager();
} }
@Override @Override
public DeviceManager getDeviceManager() { public DeviceManager getDeviceManager() {
return deviceManager; return deviceManager;
} }
@Override @Override
public ApplicationManager getApplicationManager() { public ApplicationManager getApplicationManager() {
return null; return null;
} }
@Override @Override
public ProvisioningConfig getProvisioningConfig() { public ProvisioningConfig getProvisioningConfig() {
return new ProvisioningConfig(MultitenantConstants.SUPER_TENANT_DOMAIN_NAME, false); return new ProvisioningConfig(MultitenantConstants.SUPER_TENANT_DOMAIN_NAME, false);
} }
@Override @Override
public PushNotificationConfig getPushNotificationConfig() { public PushNotificationConfig getPushNotificationConfig() {
return null; return null;
} }
@Override @Override
public PolicyMonitoringManager getPolicyMonitoringManager() { public PolicyMonitoringManager getPolicyMonitoringManager() {
return null; return null;
} }
@Override @Override
public DeviceStatusTaskPluginConfig getDeviceStatusTaskPluginConfig() { public DeviceStatusTaskPluginConfig getDeviceStatusTaskPluginConfig() {
return null; return null;
} }
@Override
public InitialOperationConfig getInitialOperationConfig() {
return null;
}
@Override @Override
public InitialOperationConfig getInitialOperationConfig() { public PullNotificationSubscriber getPullNotificationSubscriber() {
return null; return null;
} }
} }

@ -359,13 +359,13 @@
<properties> <properties>
<carbon.kernel.version>@carbon-kernel-version@</carbon.kernel.version> <carbon.kernel.version>4.4.14</carbon.kernel.version>
<org.coffeeking.version>1.0.0</org.coffeeking.version> <org.coffeeking.version>1.0.0</org.coffeeking.version>
<!-- Carbon Device Management --> <!-- Carbon Device Management -->
<carbon.device.mgt.version>@carbon-device-mgt-version@</carbon.device.mgt.version> <carbon.device.mgt.version>3.0.8</carbon.device.mgt.version>
<carbon.device.mgt.plugin.version>@carbon-device-mgt-plugin-version@</carbon.device.mgt.plugin.version> <carbon.device.mgt.plugin.version>4.0.5</carbon.device.mgt.plugin.version>
<paho.mqtt.version>1.0.2</paho.mqtt.version> <paho.mqtt.version>1.0.2</paho.mqtt.version>
<commons-json.version>3.0.0.wso2v1</commons-json.version> <commons-json.version>3.0.0.wso2v1</commons-json.version>
@ -380,7 +380,7 @@
<commons-httpclient.orbit.version>3.1.0.wso2v2</commons-httpclient.orbit.version> <commons-httpclient.orbit.version>3.1.0.wso2v2</commons-httpclient.orbit.version>
<commons-json.version>3.0.0.wso2v1</commons-json.version> <commons-json.version>3.0.0.wso2v1</commons-json.version>
<eclipse.equinox.common.version>3.6.100.v20120522-1841</eclipse.equinox.common.version> <eclipse.equinox.common.version>3.6.100.v20120522-1841</eclipse.equinox.common.version>
<analytics.version>@carbon.analytics.version@</analytics.version> <analytics.version>1.3.3</analytics.version>
</properties> </properties>
</project> </project>

Loading…
Cancel
Save