Merge branch 'sync-core' into 'master'

Implement methods to sync with device-mgt core

See merge request entgra/carbon-device-mgt-plugins!138
revert-dabc3590
Dharmakeerthi Lasantha 5 years ago
commit 0bd33ed3aa

@ -24,6 +24,7 @@ import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration
import org.wso2.carbon.device.mgt.common.exceptions.DeviceManagementException;
import org.wso2.carbon.device.mgt.common.license.mgt.License;
import org.wso2.carbon.device.mgt.common.license.mgt.LicenseManagementException;
import org.wso2.carbon.device.mgt.common.ui.policy.mgt.PolicyConfigurationManager;
import java.util.List;
@ -38,6 +39,11 @@ public class TestDeviceManager implements DeviceManager {
return null;
}
@Override
public PolicyConfigurationManager getPolicyUIConfigurationManager() {
return null;
}
@Override
public boolean saveConfiguration(PlatformConfiguration configuration)
throws DeviceManagementException {

@ -64,6 +64,7 @@ import org.wso2.carbon.device.mgt.common.policy.mgt.PolicyMonitoringManager;
import org.wso2.carbon.device.mgt.common.pull.notification.PullNotificationExecutionFailedException;
import org.wso2.carbon.device.mgt.common.push.notification.NotificationStrategy;
import org.wso2.carbon.device.mgt.common.spi.DeviceManagementService;
import org.wso2.carbon.device.mgt.common.ui.policy.mgt.PolicyConfigurationManager;
import org.wso2.carbon.device.mgt.core.dto.DeviceType;
import org.wso2.carbon.device.mgt.core.dto.DeviceTypeVersion;
import org.wso2.carbon.device.mgt.core.geo.GeoCluster;
@ -347,6 +348,12 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
return null;
}
@Override
public PolicyConfigurationManager getPolicyUIConfigurationManager(String s)
throws DeviceTypeNotFoundException {
return null;
}
@Override
public PlatformConfiguration getConfiguration(String s) throws DeviceManagementException {
return null;

Loading…
Cancel
Save