jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-1174

API : load and save binary measures

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: API
  • Labels:
    None

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

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Simon Brandhof
Vote (1)
Watch (1)

Dates

  • Created:
    30/Sep/09 4:57 AM
    Updated:
    30/Sep/09 4:57 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.