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

Preview mode should use the new WS /api/sources/raw

    Details

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

      Description

      Currently, preview mode is using the old REST WS /api/sources (using rails), but it should use /api/sources/raw (using Java) instead.

      It will prevent users to encounter some unexpected error 500. See for instance : http://sonarqube.15.x6.nabble.com/SonarQube-4-3-SQ-Plugin-for-Eclipse-Executing-decorators-fails-Fail-to-download-with-response-code-50-td5025164.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                henryju OLD - Julien HENRY
                Reporter:
                julien.lancelot Julien Lancelot
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: