revert-dabc3590
charitha 8 years ago
parent 1598748a5b
commit a49a5650c6

@ -243,13 +243,12 @@ public class ApplicationOperationsImpl implements ApplicationOperations {
getDevicesOfUser( getDevicesOfUser(
applicationOperationDevice.getCurrentUser().getUsername()); applicationOperationDevice.getCurrentUser().getUsername());
} else { } else {
//TODO: Uncomment below when device-mgt core release-2.0.x is merged with master branch. deviceList = MDMServiceAPIUtils
/*deviceList = MDMServiceAPIUtils .getDeviceManagementService(applicationOperationDevice.getTenantId()).
.getDeviceManagementService(applicationOperationDevice.getTenantId()). getDevicesOfUser(
getDevicesOfUser( applicationOperationDevice.getCurrentUser().getUsername(),
applicationOperationDevice.getCurrentUser().getUsername(), applicationOperationDevice.getPlatform());
applicationOperationDevice.getPlatform());*/ }
}
devices = new ArrayList<>(deviceList.size()); devices = new ArrayList<>(deviceList.size());
if(log.isDebugEnabled()){ if(log.isDebugEnabled()){
log.debug("device list got from mdm "+ deviceList.toString()); log.debug("device list got from mdm "+ deviceList.toString());

@ -50,7 +50,7 @@ import javax.xml.ws.soap.SOAPBinding;
@Extension(properties = { @Extension(properties = {
@ExtensionProperty(name = "name", value = "Windows Discovery service provider"), @ExtensionProperty(name = "name", value = "Windows Discovery service provider"),
@ExtensionProperty(name = "context", @ExtensionProperty(name = "context",
value = "api/device-mgt/windows/v1.0/discovery/post"), value = "/api/device-mgt/windows/v1.0/discovery/post"),
}) })
} }
), ),

Loading…
Cancel
Save