Skip to main content

Application: email-alert-service

Message queue consumer that triggers email alerts for GOV.UK

Ownership
#govuk-platform-health
Hosting
AWS, on the email_alert_api machine class
Rake tasks
Integration, Staging or ⚠️ Production ⚠️

README

This is a message queue consumer that triggers email alerts when documents are published with a major change.

Technical documentation

You can use the GOV.UK Docker environment to run the application and its tests with all the necessary dependencies. Follow the usage instructions to get started.

Use GOV.UK Docker to run any commands that follow.

Before running the app

The email-alert-service uses the govuk_message_queue_consumer to connect to a message queue on the published_documents exchange.

There is a rake task to create the queue for this exchange:

bundle exec rake message_queues:create_queues

There is a rake task to start a processor to consume from the queue:

bundle exec rake message_queues:major_change_consumer

Running the test suite

bundle exec rake

Licence

MIT License