Remove three overrides causing installation failure

This commit addresses an installation failure issue caused by three problematic overrides. The overrides of the following methods have been removed:

- getOwnersWithDeviceIds(String s)
- getOwnerWithDeviceByDeviceId(int i)
- getDevicesByTenantId(int i)

These overrides were causing conflicts during the installation process, leading to failures.

Testing:
- Verified successful installation on multiple environments.
bugfix/installation-fail
Ruwin Dissanayake 4 months ago
parent 52f67327f5
commit 46738d1580

@ -927,16 +927,31 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
}
@Override
public OwnerWithDeviceDTO getOwnersWithDeviceIds(String s) throws DeviceManagementDAOException {
public OwnerWithDeviceDTO getOwnersWithDeviceIds(String s, int i, String s1, String s2, String s3) throws DeviceManagementDAOException {
return null;
}
@Override
public OwnerWithDeviceDTO getOwnerWithDeviceByDeviceId(int i) throws DeviceManagementDAOException {
public OwnerWithDeviceDTO getOwnerWithDeviceByDeviceId(int i, String s, String s1, String s2) throws DeviceManagementDAOException {
return null;
}
@Override
public List<DeviceDetailsDTO> getDevicesByTenantId(int i, int i1, String s, String s1) throws DeviceManagementDAOException {
return Collections.emptyList();
}
public OwnerWithDeviceDTO getOwnersWithDeviceIds(String s) throws DeviceManagementDAOException {
return null;
}
public OwnerWithDeviceDTO getOwnerWithDeviceByDeviceId(int i) throws DeviceManagementDAOException {
return null;
}
public List<DeviceDetailsDTO> getDevicesByTenantId(int i) throws DeviceManagementDAOException {
return Collections.emptyList();
}

Loading…
Cancel
Save