Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9262

WS api/issues/search must not accept loading files/dirs/modules facets when organization or project are not specified

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7
    • Component/s: Issues, Web API
    • Labels:

      Description

      The facets modules, directories and files if web service api/issues/search are slow and require much IO/memory when they request the complete referential of issues, without filtering on an organization or on a project. Version 6.4 already removed these facets from the global issues page. However the web service still accepts such requests. In order to decrease the load, or even the crash, of server, the request must return the error 400 bad request when one of this 3 facets is requested and no org/project are selected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julien.lancelot Julien Lancelot
                Reporter:
                simon.brandhof Simon Brandhof
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: