Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Remove Reports Controller and services#794

Merged
SamJamCul merged 1 commit into
mainfrom
2373-move-feature-report-code-from-forms-api-to-forms-admin
Jul 11, 2025
Merged

Remove Reports Controller and services#794
SamJamCul merged 1 commit into
mainfrom
2373-move-feature-report-code-from-forms-api-to-forms-admin

Conversation

@SamJamCul
Copy link
Copy Markdown
Contributor

What problem does this pull request solve?

Trello card: https://trello.com/c/5WfLpFRG/2373-move-feature-report-code-from-forms-api-to-forms-admin

Once govuk-forms/forms-admin#2072 is in, we can remove all the migrated reports from Forms API. This PR gets rid of the report services and the endpoints that served them.

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Has all relevant documentation been updated?

@SamJamCul SamJamCul force-pushed the 2373-move-feature-report-code-from-forms-api-to-forms-admin branch from fb7e68f to c40de56 Compare July 11, 2025 13:55
Copy link
Copy Markdown
Contributor

@lfdebrux lfdebrux left a comment

Choose a reason for hiding this comment

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

Oh, we can also remove the routes from config/routes.rb

We're moving the reports directly into Forms Admin, so we no longer need to serve them from the API.
@SamJamCul SamJamCul force-pushed the 2373-move-feature-report-code-from-forms-api-to-forms-admin branch from c40de56 to 868ffd0 Compare July 11, 2025 14:01
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@lfdebrux lfdebrux left a comment

Choose a reason for hiding this comment

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

🏆

@SamJamCul SamJamCul merged commit 879ad5a into main Jul 11, 2025
4 checks passed
@SamJamCul SamJamCul deleted the 2373-move-feature-report-code-from-forms-api-to-forms-admin branch July 11, 2025 15:13
@SamJamCul SamJamCul changed the title wip Remove Reports Controller and services Jul 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants