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

Create webservices to get and clear scanner plugin cache

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.4
    • Component/s: Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Scanner will include in its reports cache created by plugins (through the sensor API).

      The scanner needs a web service to access cached data for a analysis.
      We also want to introduce an endpoint for admins to clear the cache.

      GET api/analysis_cache/get
      Parameters: project, branch, pullRequest
      Requires analysis permission on the project
      returns compressed protobuf data

      POST api/analysis_cache/clear
      No parameters
      Requires global admin permission
      Empty response.

        Attachments

          Activity

            People

            Assignee:
            duarte.meneses Duarte Meneses
            Reporter:
            duarte.meneses Duarte Meneses
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: