Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook Server #1

Open
awm33 opened this issue Mar 29, 2019 · 0 comments
Open

Webhook Server #1

awm33 opened this issue Mar 29, 2019 · 0 comments

Comments

@awm33
Copy link
Member

awm33 commented Mar 29, 2019

In order to support singer-io/getting-started#50 a webserver must accept HTTP requests and pass them on as WEBHOOK messages.

Proposal for how that could work:

  • A singer-runner webhook-server command would start an HTTP server.
  • POST /webhooks/:pipe-name/:token
    • pipe-name maps to a specific pipe instance ex mailchimp. When a request is successful, a WEBHOOK message is placed on that pipe.
    • token maps to a single token passed in the config or environment. Perhaps a function or class could be passed in to allow for more complex auth.
  • run_tap would need to be changed to allow for input pipes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant