X

Developer Partner Community

Function(al) Webhooks with Fn by Abhishek Gupta

Juergen Kress
PaaS & Middleware Partner Adoption

image

This post demonstrates how to develop an Fn function that is triggered by a GitHub webhook and posts new release details to Twitter. It covers the general concept, code as well as configuration and deployment of your function.

Once configured and deployed, the serverless function will be invoked in response to a new release in a GitHub repository (thanks to the webhook) and post its details (name, version and URL) to Twitter.

If everything works out well, you should have a tweet similar to this one. Read the complete article here.

Overview

Webhooks in general are

“… user-defined HTTP callbacks… usually triggered by some event…the source site makes an HTTP request to the URL configured for the webhook … ”

As mentioned above, the goal is to send out a tweet in response to a new release in a GitHub repository. GitHub provides webhooks for such use cases using which you can tap into it’s events in (near) real-time — these eventsinclude actions like pull requests submitted or edited, a new release published to a repository etc. Read the complete article here.

Developer Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic Community,Oracle,OPN,Jürgen Kress

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.