re-enable Operation Too Large Exception: limit 200 37/138037/1
authorToineSiebelink <toine.siebelink@est.tech>
Wed, 22 May 2024 08:41:55 +0000 (09:41 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Wed, 22 May 2024 08:41:55 +0000 (09:41 +0100)
- settign limit to 200

Issue-ID:CPS-2164

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I728af7658e3f4e0900f286a544dea3bdb5d6773f

cps-ncmp-rest/src/main/java/org/onap/cps/ncmp/rest/controller/handlers/NcmpPassthroughResourceRequestHandler.java

index 1f87865..be5b93c 100644 (file)
@@ -48,7 +48,7 @@ public class NcmpPassthroughResourceRequestHandler extends NcmpDatastoreRequestH
 
     private static final Object noReturn = null;
 
-    private static final int MAXIMUM_CM_HANDLES_PER_OPERATION = 50000;
+    private static final int MAXIMUM_CM_HANDLES_PER_OPERATION = 200;
 
     private static final String PAYLOAD_TOO_LARGE_TEMPLATE = "Operation '%s' affects too many (%d) cm handles";