Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-27067

Change file list API to build whole JSON locally and return it instead of streaming

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.37.14
    • Fix Version/s: None
    • Component/s: Artifactory
    • Labels:
    • Location:
      External

      Description

      Description:

      Currently the file list api below streams the JSON line by line:
      artifactory/api/storage/<repo>/?list&deep=1&listFolders=1&mdTimestamps=1&statsTimestamps=1&includeRootPath=1

      This can be an issue if the list is very big, and the stream is cut off, since replication fails. The next file list will have to start streaming from the beginning

      Expected behavior:

      Have some option for the API to build the full json locally and return the whole file at once instead of streaming the file.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mattheww Matthew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-27131 -
                SYNCHRONIZED
                • Last Sync Date: