Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-302

Make the Zip File threshold and (zip and non zip) file max size values configurable in cps

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Medium 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

            Unassigned Unassigned
            puthuparambil.aditya puthuparambil.aditya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: