Skip to content

Commit

Permalink
Add /healthcheck endpoint
Browse files Browse the repository at this point in the history
Once enabled in puppet, this will make sure we have a more valuable
healthcheck than currently.

https://github.com/alphagov/govuk-puppet/blob/master/modules/govuk/manif
ests/apps/signon.pp#L90
  • Loading branch information
tijmenb committed Oct 22, 2018
1 parent dd2d596 commit 32f7f53
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
Rails.application.routes.draw do
get "/healthcheck", to: GovukHealthcheck.rack_response(
GovukHealthcheck::SidekiqRedis,
GovukHealthcheck::ActiveRecord,
)

use_doorkeeper do
controllers authorizations: 'signin_required_authorizations'
end
Expand Down

0 comments on commit 32f7f53

Please sign in to comment.