-
Story
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
The threshold values used to identify if the schema set zip file is valid or not, should be configurable either through application.yaml or properties file.
At present these are hard coded in MutlipartFileUtil class.
private static final int THRESHOLD_ENTRIES = 10000;
private static final int THRESHOLD_SIZE = 1000000000; // 1 GB
private static final double THRESHOLD_RATIO = 10;
Also make upload file max size (for both zip and non zip) configurable. See CPS-308