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

Update licences response in supplementary #36

Merged
merged 9 commits into from
Nov 28, 2022

Conversation

Cruikshanks
Copy link
Member

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

As part of our first pass at getting the supplementary process kicked off and working, we are just trying to ensure that the records we are working with match the acceptance criteria of the tickets the team have created.

The acceptance criteria for WATER-3787 is all licences flagged for supplementary billing for a selected region. At the moment the licence results we returned are generated by extracting the unique licence references from our charge versions results. This means we're only showing licences after an additional filter has been applied.

Currently, this is only for testing purposes so there is no fear of what we are doing making the final version. But to better align with the ticket and its acceptance criteria, this change updates the supplementary service to return a separate 'licences' result.

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

As part of our first pass of getting the supplementary process kicked off and working we are just trying to ensure that the records we are working with match the acceptance criteria of the tickets the team have created.

The acceptance criteria for WATER-3787 is all licences flagged for supplementary billing for a selected region. At the moment the licence results we returned are generated by extracting the unique licence references from our charge versions results. This means we're only showing licences after an additional filter has been applied.

Currently this is only for testing purposes so there is no fear of what we are doing making the final version. But to better align with the ticket and its acceptance criteria, this change updates the supplementary service to return a seperate licences result.
@Cruikshanks Cruikshanks added the enhancement New feature or request label Nov 24, 2022
@Cruikshanks Cruikshanks self-assigned this Nov 24, 2022
Make it consistent with our other services
We're going to update it to use the model. So, we want some tests first to confirm we don't break anything.
It just makes it easier to manage passing around the region object as opposed to just the NALD region ID, or the Region ID itself.
Both are now working together to deliver the response we want.
@Cruikshanks Cruikshanks marked this pull request as ready for review November 24, 2022 17:38
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 53ffdc4 into main Nov 28, 2022
@Cruikshanks Cruikshanks deleted the update-licence-results-in-supplementary branch November 28, 2022 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants