NO-TICKET *change default settings
[platform/core/security/suspicious-activity-monitor.git] / server / samserver / src / main / java / com / samsung / samserver / web / rest / controller / impl / RestDashboard.java
index 9570d5d..4131dd4 100644 (file)
@@ -11,6 +11,7 @@ import com.samsung.samserver.web.rest.service.ui.*;
 import com.samsung.samserver.web.rest.service.vm.*;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.data.domain.Pageable;
+import org.springframework.data.web.PageableDefault;
 import org.springframework.http.*;
 import org.springframework.web.bind.annotation.*;
 import javax.validation.Valid;
@@ -52,7 +53,7 @@ public class RestDashboard  implements IRestDashboard {
      * @return the ResponseEntity with status 200 (OK) and the list of devices in body
      */
     @Override
-    public ResponseEntity<List<UIDevice>> getAllDevices(Pageable pageable) {
+    public ResponseEntity<List<UIDevice>> getAllDevices(@PageableDefault(size = 100) Pageable pageable) {
         return getDevicesRestService.getAllDevices(pageable);
     }