-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Persist Allocated Licences To Results Service (#658)
https://eaflood.atlassian.net/browse/WATER-4319 This pull request refactors the 'PersistAllocatedLicencesToResultsService' as part of our ongoing effort to enhance the two-part-tariff service. Initially, we began by creating a 'hack' branch to build and iterate on the two-part-tariff functionality. In the process of working on these branches, we identified a cleaner and more performant approach to implement the overall service. We realised that the PersistAllocatedLicencesToResultsService would be much cleaner and easier to follow if it only persisted one licence at a time, rather than iterating through every licence. This also makes it easier for testing.
- Loading branch information
1 parent
fbe69e1
commit b27e0a3
Showing
2 changed files
with
144 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters