Skip to main content

A microservice for retranslating Jira webhooks to a RabbitMQ server

Project description

This service works as a bridge between a Jira and a RabbitMQ instances:

  • receives HTTP requests from the Jira server;
  • sends them to the MQ server via AMQP protocol.

Installation

The service requires Python 3.5 or newer. Install and update using pip. Gunicorn is also required:

pip install jira_rabbitmq_webhook gunicorn

Configuration

You need to create a configuration file for the service. Sample file can be found in config directory (it is copied to the config directory of your python environment after installation). Available settings:

  • web
    • url - URL used for receiving HTTP requests from the Jira instance
  • amqp
    • host - RabbitMQ host
    • port - RabbitMQ port
    • login - RabbitMQ login
    • password - RabbitMQ login
    • virtualhost - RabbitMQ virtual host to use
    • timeout - How many seconds the service tries to connect to the RabbitMQ server
    • ssl - Whether to use SSL for AMQP connection
    • default_queue - Queue to send messages to
    • custom_queues - Queues to send messages for specific events

Running

The jira_rabbitmq_webhook service can be launched with the Gunicorn:

gunicorn "jira_rabbitmq_webhook.application:get_application('path/to/the/jira_rabbitmq_webhook.json')" --worker-class aiohttp.GunicornWebWorker

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jira-rabbitmq-webhook, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size jira_rabbitmq_webhook-0.1.0-py3-none-any.whl (6.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page