Tag: webhooks

PHP class for Alma webhooks
Instead of using a NodeJS environment (like here) I've delevoped a simple PHP class to create a webhooks endpoint in a LAMP (or a similar) environment:the code is available on GitHub.Here an example to use the class (put it together with the class script in a https web server folder and configure Alma webhook using…

ALMA WEBHOOKS

Debugging Webhooks
Webhooks were introduced several years ago and are a great way to have Alma notify you when events happen the system. We continue to see increased webhook usage - last month Alma sent almost 20 million webhook requests! In previous blog posts, we've seen how to develop a webhook listener locally. In this post, we'll…

ALMA WEBHOOKS

Developing a webhook listener locally
In a previous blog post, we showed how to use an online service to test webhook listeners. Since then new technologies have emerged that make developing a webhook listener even easier. One such service is localtunnel. Localtunnel allows you to expose a port on your local development machine to the internet. As described in the…

ALMA WEBHOOKS

Serverless Workflows with Azure Logic Apps and Alma Webhooks
As more workflows and applications are deployed to the cloud, many organizations are interested in adopting serverless computing. In this model, code is deployed to the cloud provider in the form of discrete functions, and the cloud provider ensures there are ample compute resources to execute the functionality when needed. A previous blog post showed an…

ALMA WEBHOOKS

Real Time Notifications with Alma Webhooks
We were introduced to Alma's support for webhooks in a previous blog post. Webhooks allow us to respond to events that happen inside of Alma. Initial support was provided for the job end event. A recent Alma version has added a new event for patron notifications. We can now configure Alma to send a webhook…

ALMA WEBHOOKS

Hosting a C# Webhook Listener in Azure
In previous blog entries we’ve been introduced to webhooks in Alma, and we’ve learned how to build and host a webhook listener in the public cloud using the AWS API Gateway and Lambda service. In this article, we will build a webhook listener in C# and host it on the Microsoft Azure cloud service. As…

ALMA WEBHOOKS

Hosting a Webhook Listener in AWS
As part of a continuing series on leveraging the public cloud, we present this walk through for hosting an Alma webhook listener using the Amazon Web Services platform. If you're looking for an introduction to webhooks and a basic listener implementation, see this previous blog post. Implement a Webhook Receiver In order to use webhooks,…

ALMA WEBHOOKS

Testing Webhooks using https://requestb.in
** Note: Since https://requestb.in is no longer maintained, we recommend https://putsreq.com as an alternative. ** If you would like to get a feeling of the webhooks being sent from Alma before implementing your own HTTP endpoint you can use https://requestb.in   This site allows you to create an endpoint on their site and see a…

ALMA WEBHOOKS

Getting Started with Webhooks in Alma
Now that Alma supports webhooks, a whole new style of integrating and orchestrating technical tasks is available to developers and system librarians. With webhooks, you can request that Alma make an HTTP callback when a certain event occurs. As Wikipedia describes, webhooks are "user-defined HTTP callbacks ...  usually triggered by some event. ... When that…

ALMA WEBHOOKS