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

Display last delivery status on Webhook console

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Web, Webhook
    • Labels:

      Description

      Update api/webhooks/list with the status and date of the last delivery with :

      {
        "webhooks": [
          {
            "key": "UUID-1",
            "name": "my first webhook",
            "url": "http://www.my-webhook-listener.com/sonarqube",
            "latestDelivery": {
              "id": "d1",
              "at": "2017-07-14T04:40:00+0200",
              "success": true,
              "httpStatus": 200,
              "durationMs": 10
            }
          },
          {
            "key": "UUID-2",
            "name": "my 2nd webhook",
            "url": "https://www.my-other-webhook-listener.com/fancy-listner",
            "latestDelivery": {
              "id": "d2",
              "at": "2017-07-14T04:40:00+0200",
              "success": true,
              "httpStatus": 200,
              "durationMs": 10
            }
          }
        ]
      }

      latestDelivery is optional

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              gregoire.aubert Gregoire Aubert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: