From 5f90587564d1a3f006c5047cc58f5de883b46aa3 Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 20 Sep 2016 18:13:53 +0530 Subject: [PATCH] Synching with master --- .../org.wso2.carbon.certificate.mgt.core/pom.xml | 5 +++++ .../mgt/core/service/DeviceManagementProviderService.java | 3 +++ pom.xml | 8 ++++++++ 3 files changed, 16 insertions(+) diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/pom.xml b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/pom.xml index 7fd3679c50..5e0f433144 100644 --- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/pom.xml +++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.core/pom.xml @@ -181,6 +181,11 @@ org.wso2.carbon.registry org.wso2.carbon.registry.indexing + + org.slf4j + slf4j-simple + test + diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderService.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderService.java index 06ae1c875f..943634f1c5 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderService.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/DeviceManagementProviderService.java @@ -25,6 +25,7 @@ import org.wso2.carbon.device.mgt.common.operation.mgt.Operation; import org.wso2.carbon.device.mgt.common.operation.mgt.OperationManagementException; import org.wso2.carbon.device.mgt.core.dto.DeviceType; +import java.util.HashMap; import java.util.Date; import java.util.List; @@ -208,6 +209,8 @@ public interface DeviceManagementProviderService { Device getDevice(DeviceIdentifier deviceId, Date since) throws DeviceManagementException; + HashMap getTenantedDevice(DeviceIdentifier deviceIdentifier) throws DeviceManagementException; + Device getDevice(DeviceIdentifier deviceId, EnrolmentInfo.Status status) throws DeviceManagementException; List getAvailableDeviceTypes() throws DeviceManagementException; diff --git a/pom.xml b/pom.xml index 02aab90e58..112f715979 100644 --- a/pom.xml +++ b/pom.xml @@ -1520,6 +1520,11 @@ javax.servlet.jsp-api ${servelet.jsp.version} + + org.slf4j + slf4j-simple + ${slf4j.simple.version} + @@ -1898,6 +1903,9 @@ 1.8.10.wso2v2 4.2.1 [1.0.0, 1.1.0) + + + 1.6.1