Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias health_check so it responds to health-check #2271

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

CristinaRO
Copy link
Collaborator

Changes in this PR

The AWS health check endpoint has been configured to look for the route health-check instead of health_check.

Rather than asking them to reconfigure it, we will accept that both versions (with dash and with underscore) are common, and provide an alias for the route, so that it responds to both requests.

Screenshots of UI changes

N/A

Next steps

  • Is an ADR required? An ADR should be added if this PR introduces a change to the architecture.
  • Is a changelog entry required? An entry should always be made in CHANGELOG.md, unless this PR is a small tweak which has no impact outside the development team.
  • Do any environment variables need amending or adding?
  • Have any changes to the XML been checked with the IATI validator? See XML Validation

@CristinaRO
Copy link
Collaborator Author

Copy link
Collaborator

@mec mec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

The AWS health check endpoint has been configured to look for the route
`health-check` instead of `health_check`.

Rather than asking them to reconfigure it, we will accept that both
versions (with dash and with underscore) are common, and provide an
alias for the route, so that it responds to both requests.
@CristinaRO CristinaRO merged commit f805bf7 into develop Dec 4, 2023
4 checks passed
@CristinaRO CristinaRO deleted the 3000-application-health-check branch December 4, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants