git-proxy icon indicating copy to clipboard operation
git-proxy copied to clipboard

Synchronous Webhooks

Open grovesy opened this issue 5 years ago • 0 comments

Synchronous Webhook Many of the checks a corporation would want to take place in other products (VA scanners, Code Review Evidence etc)

We, therefore, need a generic integration pattern - allowing an integrator to perform these checks and integrations outside of the core-proxy product.

Describe the solution you'd like A proxy-operation should be able to configure the processors for an Action A proxy-operator should be able to specify a webhook endpoint A proxy-operation should be able to specify a template, and HTTP method

Template

HTTP GET  https://some-services/url-path?param1={push.author}&param2={commit-hash}
HTTP POST  https://some-services/url-path:
{
   "commitHash": "${commit-hash}",
   "author": "${author}",
}

grovesy avatar Apr 23 '20 10:04 grovesy