Add notes for request limitations 79/140379/2
authorleventecsanyi <levente.csanyi@est.tech>
Tue, 4 Mar 2025 15:31:18 +0000 (16:31 +0100)
committerleventecsanyi <levente.csanyi@est.tech>
Wed, 5 Mar 2025 09:53:17 +0000 (10:53 +0100)
Issue-ID: CPS-2673
Change-Id: Ida88320ca3a5866933ee9b2303ad6bec6885c9c2
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
docs/design.rst

index 52f977a..7ba3999 100644 (file)
@@ -57,6 +57,20 @@ and CPS-NCMP-Inventory using the drop down table in the top right:
 
   http://<hostname>:<port>/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config#/
 
+Notes
+-----
+
+Input Size limitations
+++++++++++++++++++++++
+
+Depending on HTTP servers used, the request size is typically limited. For example Nginx has a default limit of 1MB.
+In this case it means that a registration request is limited to approximately 3,000 cm handles (depending on the length of cm handle ids and other properties involved).
+When needed, update your configuration to increase the maximum request size for REST request. e.g:
+
+.. code-block:: bash
+
+  client_max_body_size 2m
+
 Consumed APIs
 =============