SonarQube
  1. SonarQube
  2. SONAR-1174

API : load and save binary measures

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Use case : the PDF report is saved in database. A download link is added to the project dashboard.

      Steps :

      • add a method Measure.setData(byte[] data, String mimeType). The MIME type can be saved in MEASURES.TEXT_VALUE.
      • add a web service /api/measures/[RESOURCE ID]?metric=[METRIC ID], for example /api/measures/org.struts:struts?metric=pdf_report

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Simon Brandhof
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: