From 5675841f02581eb93a0a79e4e974a444e5ce517c Mon Sep 17 00:00:00 2001 From: Thameera Date: Wed, 28 Aug 2024 08:50:12 +0530 Subject: [PATCH] Bump device mgt core release version to 5.2.4 --- .../DeviceManagementProviderServiceMock.java | 47 +++++++++++++++++-- pom.xml | 2 +- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java index ec58e2a7d..2c07f4591 100644 --- a/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/io.entgra.device.mgt.plugins.mobile.android.api/src/test/java/io/entgra/device/mgt/plugins/mobile/android/api/mocks/DeviceManagementProviderServiceMock.java @@ -48,6 +48,7 @@ import io.entgra.device.mgt.core.device.mgt.common.configuration.mgt.Configurati import io.entgra.device.mgt.core.device.mgt.common.configuration.mgt.DeviceConfiguration; import io.entgra.device.mgt.core.device.mgt.common.device.details.DeviceData; import io.entgra.device.mgt.core.device.mgt.common.device.details.DeviceLocationHistorySnapshot; +import io.entgra.device.mgt.core.device.mgt.common.exceptions.ConflictException; import io.entgra.device.mgt.core.device.mgt.common.exceptions.DeviceManagementException; import io.entgra.device.mgt.core.device.mgt.common.EnrolmentInfo; import io.entgra.device.mgt.core.device.mgt.common.FeatureManager; @@ -926,17 +927,17 @@ 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 getDevicesByTenantId(int i) throws DeviceManagementDAOException { + public List getDevicesByTenantId(int i, int i1, String s, String s1) throws DeviceManagementDAOException { return Collections.emptyList(); } @@ -944,4 +945,44 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv public OperationDTO getOperationDetailsById(int i) throws OperationManagementException { return null; } + + @Override + public PaginationResult getDevicesNotInGroup(PaginationRequest paginationRequest, boolean b) throws DeviceManagementException { + return null; + } + + @Override + public Device updateDeviceName(Device device, String s, String s1) throws DeviceManagementException, DeviceNotFoundException, ConflictException { + return null; + } + + @Override + public List getDevicesNotInGivenIdList(List list) throws DeviceManagementException { + return Collections.emptyList(); + } + + @Override + public List getDevicesInGivenIdList(List list) throws DeviceManagementException { + return Collections.emptyList(); + } + + @Override + public int getDeviceCountNotInGivenIdList(List list) throws DeviceManagementException { + return 0; + } + + @Override + public List getDevicesByDeviceIds(PaginationRequest paginationRequest, List list) throws DeviceManagementException { + return Collections.emptyList(); + } + + @Override + public int getDeviceCountByDeviceIds(PaginationRequest paginationRequest, List list) throws DeviceManagementException { + return 0; + } + + @Override + public List getDeviceIdsByStatus(List list) throws DeviceManagementException { + return Collections.emptyList(); + } } diff --git a/pom.xml b/pom.xml index 02b946b4d..a4b9dd1fb 100644 --- a/pom.xml +++ b/pom.xml @@ -1166,7 +1166,7 @@ - 5.1.1-SNAPSHOT + 5.2.4 [5.0.0, 6.0.0)