Official upstream source mirror. Do not make UH changes here.
  • Ruby 99.3%
  • Dockerfile 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-28 09:57:19 +01:00
.github Update deploy workflow to use arm image workflow 2026-08-14 15:03:40 +01:00
bin Add binstubs 2026-04-30 16:46:52 +01:00
config Bump govuk_app_config and load Prometheus Config 2023-02-21 11:10:30 +00:00
docs Add documentation on the special cases for single-page notifications 2022-02-02 10:43:57 +00:00
email_alert_service lint: remove redundant require 2026-04-30 16:35:07 +01:00
lib Remove Rake tasks which are disused on Kubernetes. 2023-03-23 23:10:31 +00:00
log Basic untidy listener daemon. 2014-09-24 13:29:55 +01:00
spec Merge pull request #732 from alphagov/2497-remove-specialist-topics-from-email-alert-service-s-m 2024-05-20 14:46:24 +01:00
.dockerignore Remove obsolete Procfile and Jenkinsfile. 2023-03-23 23:10:31 +00:00
.gitignore Add tmp to gitignore 2024-01-15 09:18:46 +00:00
.govuk_dependabot_merger.yml Update dependabot merger config to v2, add external dependencies 2024-04-24 09:18:41 +01:00
.rspec Add RSpec. 2014-09-24 16:48:48 +01:00
.rubocop.yml Add standard header to protect .rubocop.yml 2021-11-10 09:30:01 +00:00
.ruby-version Update to Ruby 4 2026-04-30 16:34:02 +01:00
Dockerfile Update to Ruby 4 2026-04-30 16:34:02 +01:00
Gemfile Update to Ruby 4 2026-04-30 16:34:02 +01:00
Gemfile.lock Bump simplecov from 1.3.0 to 1.3.1 2026-09-28 04:28:29 +00:00
LICENCE Add MIT Licence 2018-10-08 09:13:33 +01:00
Rakefile Fix lint task referencing non-existant 'bin' dir 2020-05-14 18:15:46 +01:00
README.md Revert "Remove unpublishing feature" 2022-01-18 14:30:34 +00:00

Email alert service

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 message queues on the published_documents exchange.

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

bundle exec rake message_queues:create_queues

There are two rake tasks to start processors to consume from the queues:

bundle exec rake message_queues:major_change_consumer bundle exec rake message_queues:unpublishing_consumer

Running the test suite

bundle exec rake

Licence

MIT License