From 31f0120c5002c98fbaaff8961ce9bb7756c583ec Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Thu, 21 Sep 2023 22:13:41 +0200 Subject: [PATCH] Added check of limit/offset query parameter --- .../resourceregistry/rest/InstancesManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/InstancesManager.java b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/InstancesManager.java index 854f48d..ab61edc 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/InstancesManager.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/InstancesManager.java @@ -60,6 +60,7 @@ public class InstancesManager extends BaseRest { ServerRequestInfo serverRequestInfo = initRequestInfo(); serverRequestInfo.checkAllBooleanQueryParameters(); + serverRequestInfo.checkLimitOffset(); ElementManagement erManagement = ElementManagementUtility.getERManagement(type); return erManagement.all(polymorphic);