This service serves up updates to users for newly assigned tickets in ServiceNow for use in alerting. It depends on a Mongo database as well.
The Sinatra service serves up two pieces of information.
- The list of "new" or unreported tickets for a particular requested user.
- The ServiceNow instance URL, which is used to display the notification link
- Configure the ServiceNow endpoint.
- Start an instance of mongodb.
- Start the sinatra service with rackup.
This extension polls the Sinatra service to determine if there are newly assigned tickets to the specified user. It then allows the user to click on a button in the notification to open it in their browser.