webhookrelayd

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

README

webhookrelayd

Webhook relay is a SaaS where users can get a unique endpoint and use it to route external service webhooks into internal systems.

This repository is for an agent to perform "last mile" webhook delivery. Read more here.

Some common use cases:

  • For example if you want GitHub webhooks to invoke Jenkins build on code push.
  • Relay Freshdesk events to internal Jira
  • Relay Trello wehbooks to internal Jira/Jenkins

Quick start

To start - register an account here https://webhookrelay.com/register. Then:

    1. Create a bucket
    1. Create an 'input' inside that bucket, it should look something like this "https://webhookrelay.com/v1/webhooks/1dbceb20-2626-48b3-ab89-d65dd81a9d07"
    1. Use that input as an endpoint inside the system that will produce that webhook. Think of an input as your personal "inbox". I would like to advise using single input per producer.
    1. Create an output. Output basically defines destination (where you want incomming webhook(-s) delivered).
    1. Go to tokens (https://webhookrelay.com/tokens) and generate a token for your agent
    1. Start webhookrelayd:

    ./webhookrelayd -k 4c7cff17-8726-431b-a6bc-82d6def0bdc8 -s Xf9DgBjhHjqH

Build

go build

Build Image

Building image is as simple as:

make image 

Start it:

docker run -it webhookrelay/webhookrelayd -k 4c7cff17-8726-431b-a6bc-82d6def0bdc8 -s Xf9DgBjhHjqH

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
grpc
webhook
Package webhook is a generated protocol buffer package.
Package webhook is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL