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

Remove reporting from /health/info #521

Merged
merged 5 commits into from
Nov 14, 2023

Conversation

Cruikshanks
Copy link
Member

https://eaflood.atlassian.net/browse/WATER-4169

Three charging forecast reports were built by the previous dev team. They are accessed from a link on the manage page in the internal UI. They have never been used because they were identified as returning incorrect values and have never been fixed for 'reasons'. They will never be fixed because all reporting work is being handled by our partnership with RDP and RSP.

This means water-abstraction-reporting is a defunct app we can remove from the service. One of the first steps to allow this to happen is for the /health/info page which we use to check the health of the service to stop pinging reporting.

This change removes that check plus any associated config which was needed to support it.

@Cruikshanks Cruikshanks added the housekeeping Refactoring, tidying up or other work which supports the project label Nov 14, 2023
@Cruikshanks Cruikshanks self-assigned this Nov 14, 2023
@Cruikshanks Cruikshanks marked this pull request as ready for review November 14, 2023 17:32
Copy link
Contributor

@Jozzey Jozzey left a comment

Choose a reason for hiding this comment

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

While we are at it I think that we should also remove env var REPORTING_URL from the .env.example file.

https://eaflood.atlassian.net/browse/WATER-4169

3 charging forecast reports were built by the previous dev team. They are accessed from a link on the manage page in the internal UI. They have never been used because they were identified as returning incorrect values and have never been fixed for 'reasons'. They will now never be fixed because all reporting work is being handled by our partnership with RDP and RSP.

This means [water-abstraction-reporting](https://github.com/DEFRA/water-abstraction-reporting) is a defunct app we can remove from the service. One of the first steps to allow this to happen is for the `/health/info` page which we use to check the health of the service to stopping pinging reporting.

This change removes that check plus any associated config which was needed to support it.
@Cruikshanks Cruikshanks force-pushed the remove-reporting-from-service-status branch from ab0855e to 373be97 Compare November 14, 2023 21:39
@Cruikshanks
Copy link
Member Author

While we are at it I think that we should also remove env var REPORTING_URL from the .env.example file.

Done!

@Cruikshanks Cruikshanks requested a review from Jozzey November 14, 2023 21:40
Copy link
Contributor

@Jozzey Jozzey left a comment

Choose a reason for hiding this comment

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

👍🏼

@Cruikshanks Cruikshanks merged commit d40480d into main Nov 14, 2023
6 checks passed
@Cruikshanks Cruikshanks deleted the remove-reporting-from-service-status branch November 14, 2023 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Refactoring, tidying up or other work which supports the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants