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

Move transaction matching logic to GeneralLib #855

Merged
merged 6 commits into from
Mar 24, 2024

Conversation

Cruikshanks
Copy link
Member

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

We are currently working on updating the supplementary billing engine to incorporate improvements we made to the process when implementing annual billing.

One of the things we've been reminded of is that we have multiple services that use the same logic to determine if the charging information for 2 transactions is the same. It's a bit of a scary matching function which we flagged as a TODO to bring into a single place.

Now seems a good time to do just that and help simplify the supplementary process.

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

We are currently working on updating the supplementary billing engine to incorporate improvements we made to the process when implementing annual billing.

One of the things we've been reminded off is that we have multiple services that use the same logic to determine if the charging information for 2 transactions is the same. It's a bit of a scary matching function which we flagged as a TODO to bring into a single place.

Now seems a good time to do just that and help simplify the supplementary process.
@Cruikshanks Cruikshanks added the housekeeping Refactoring, tidying up or other work which supports the project label Mar 24, 2024
@Cruikshanks Cruikshanks self-assigned this Mar 24, 2024
These are now covered by what we do for the function in the GeneralLib tests. We still have 100% unit test coverage of the service after this change.
@Cruikshanks Cruikshanks marked this pull request as ready for review March 24, 2024 21:29
@Cruikshanks Cruikshanks merged commit 09ed639 into main Mar 24, 2024
6 checks passed
@Cruikshanks Cruikshanks deleted the move-transaction-matcher-to-general-lib branch March 24, 2024 21:29
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.

1 participant