Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: Compute Engine
    • Labels:
      None

      Description

      The WS that must be specified are:

      • Listing items of the queue
        • Total number of reports
        • For each report:
          • Name of the project
          • Date when the report was submitted
          • Status (to know which report is currently being processed)
        • For the report that is currently processed:
          • When the computation started
      • Listing of past reports that were processed
        • Infinite scroll over this list
        • For each report:
          • Name of the project
          • Date when the report was submitted
          • Date when it was processed and time spent
          • Status (successful vs. failure)
          • Detail of failure (if appropriate)
      GET /api/analysis_reports/active
      
      {
      	"paging": {
      		"pageIndex": 1,
          		"pageSize": 5,
          		"total": 206,
          		"pages": 42
      	},
      
      	"reports": [
      		{
      			"id": 84,
      			"projectKey": "org.codehaus.sonar:sonar",
      			"projectName": "SonarQube",
      			"submittedAt": "2014-07-19T23:11:33+06:00",
      			"status": "PENDING"
      		},
      		{
      			"id": 85,
      			"projectKey": "org.codehaus.sonar:sonar",
      			"projectName": "SonarQube",
      			"submittedAt": "2014-07-19T23:11:33+06:00",
                              "startedAt": "2014-07-20T23:11:33+06:00",
      			"status": "WORKING"
      		}
      	]
      }
      
      GET /api/analysis_reports/history
      
      {
      	"paging": {
      		"pageIndex": 1,
          		"pageSize": 5,
          		"total": 206,
          		"pages": 42
      	},
      
      	"reports": [
      		{
      			"id": 84,
      			"projectKey": "org.codehaus.sonar:sonar",
      			"projectName": "SonarQube",
      			"submittedAt": "2014-07-19T23:11:33+06:00",
                              "startedAt": "2014-07-20T23:11:33+06:00",
                              "finishedAt": "2014-07-20T23:11:33+06:00",
      			"status": "DONE"
      		}
      	]
      }
      

        Attachments

          Activity

            People

            • Assignee:
              bteryk OLD - Teryk Bellahsene
              Reporter:
              fabemn OLD - Fabrice Bellingard
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: