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

Assi3 - WebHook Proxy for Assembla #6

Open
arunoda opened this issue Sep 25, 2011 · 0 comments
Open

Assi3 - WebHook Proxy for Assembla #6

arunoda opened this issue Sep 25, 2011 · 0 comments

Comments

@arunoda
Copy link
Owner

arunoda commented Sep 25, 2011

Introduction

Webhook is standard of communicating within different web services. Its super simple and You can get more details from here - http://wiki.webhooks.org/w/page/13385124/FrontPage

The problem is assembla.com does not have web hook capability yet. But we need that.

What we actually need?

  • Some one in the team push some code base to assembla
  • In that event assembla should curl and url (which is to our jenkins)
  • Then jenkins can start the build and deploy

How we fix this

  • Assembla provides an RSS feed. Eg: - https://www.assembla.com/spaces/rngncut/stream.rss
  • We need to authenticate RSS feed via basicAuth (ask me for passwords)
  • We need an application to poll this rss
  • Once a new post arise we need to trigger the url configured

How you do

  • Create a NodeJS library (./lib/assemblaRss.js) to poll assembla rss and trigger when new content occured
  • Define an JSON based configuration file (./conf/config.json) to load RSS to poll and trigger urls when new posts(commits) arise
  • We should be able to trigger more than one URL for an post (commit)
  • Glue those two (config file and the library) (./start.js)

Quality

Need Testing and 100% code coverage for this codebase

@ghost ghost assigned charithsoori and soori Sep 25, 2011
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

3 participants