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

Do not accept metrics with type DATA or DISTRIB in WS api/measures/component_tree

    XMLWordPrintable

    Details

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

      Description

      The DATA and DISTRIB measures can have values with big size. It does not make sense to request them when loading a component tree (api/measures/component_tree). It may lead to memory over-consumption. They should be returned only when requesting a single component (api/measures/component).

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: