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

New web service to create a project webhook

    Details

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

      Description

      The web services api/webhooks/delivery and api/webhooks/deliveries allow to get information about executions but no web service allows to create a webhook !
      The temporary workaround is to use the settings web service.

      New create service :

      api/webhooks/create (POST)

      response : 200 - no-content

      api/webhooks/create (POST)

      response : 200 - no-content

      New remove service :

      api/webhooks/remove (POST)

      • name (ex pipo.webhook)

      response : 200 - no-content

      New update service :
      There's no update service, webhooks are immutable, would one want to update, please delete & recreate
      we need an update service to not loose deliveries record

      Webhooks will be migrated in their own table

      settings service won't be usable anymore to create webhooks

      When a project is deleted, related webhooks have to be deleted

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                guillaume.jambet Guillaume Jambet (Inactive)
                Reporter:
                simon.brandhof Simon Brandhof (Inactive)
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: