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 FetchLicencesService #178

Merged
merged 3 commits into from
Mar 28, 2023
Merged

Conversation

Cruikshanks
Copy link
Member

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

To resolve the issue of dealing with PRESROC and SROC licences flagged for supplementary billing, and how we remove those flags when bill runs get 'sent' we've made a change to the FetchChargeVersionsService to look at a new field we've added to the water.licences table.

This broke some tests, a number of which were in the FetchLicencesService. We were about to embark on fixing them when we remembered that with the direction our work on supplementary billing took FetchLicencesService had become redundant.

So, rather than spend time fixing them we're just getting on and removing the service.

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

To resolve the issue of dealing with PRESROC and SROC licences flagged for supplementary billing, and how we remove those flags when bill runs get 'sent' we've [made a change to the `FetchChargeVersionsService`](#177) to look at a [new field we've added](DEFRA/water-abstraction-service#2077) to the `water.licences` table.

This broke some tests, a number of which were in the `FetchLicencesService`. We were about to embark on fixing them when we remembered that with the direction our work on supplementary billing took `FetchLicencesService` had become redundant.

So, rather than spend time fixing them we're just getting on and removing the service.
@Cruikshanks Cruikshanks added the housekeeping Refactoring, tidying up or other work which supports the project label Mar 27, 2023
@Cruikshanks Cruikshanks self-assigned this Mar 27, 2023
@Cruikshanks Cruikshanks marked this pull request as ready for review March 28, 2023 09:19
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 ea22bf6 into main Mar 28, 2023
@Cruikshanks Cruikshanks deleted the remove-fetch-licences-service branch March 28, 2023 11:24
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