Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21452

/deploy/project/all Pagination option

XMLWordPrintable

    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      As an Admin, I would like to be able to set the /deploy/project/all API call to be paginated for our very large list of deployment projects.

      Steps to Reproduce

      1. Step 1 Setup API
      2. Step 2 curl bamboo/rest/api/latest/deploy/project/all
      3. Step three wait 10 minutes for timeout

      Expected Results

      Allow pagination so results can be viewed in batches, freeing up the thread.

      Actual Results

      Timeout occurs when grabbling a large amount of deployment projects.

      The below exception is thrown in the xxxxxxx.log file:

      <!DOCTYPE HTML PUBLIC >
      <html><head>
      <title>502 Server Error</title>
      </head><body>
      <p>The server has timed out<em><a
      href="/rest/api/latest/deploy/project/all">GET /rest/api/la
      test/deploy/project/all</a></em>.<p>
      Reason: <strong>Error reading from server</strong>
      </p></p>
      </body></html>
      

      Workaround

      Use a different method of grabbing all deployment projects

              Unassigned Unassigned
              3d4680c1a479 Five Lamb (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: