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

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

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

Loading…
Cancel
Save