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

LCAM-1401 #123

Merged
merged 8 commits into from
Oct 2, 2024
Merged

LCAM-1401 #123

merged 8 commits into from
Oct 2, 2024

Conversation

Mhowell494
Copy link
Contributor

Link to story

  • Migrate validation scattered throughout the manage_income_evidence stored procedure into a centralised location within the evidence service.
  • Unit test cases for the new validation checks.

… Procedure to the Evidence Service

(cherry picked from commit 3c16034)
@Mhowell494 Mhowell494 requested a review from a team as a code owner September 13, 2024 16:18
Copy link
Contributor Author

@Mhowell494 Mhowell494 left a comment

Choose a reason for hiding this comment

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

Looks good, just a few minor points.

Can we also please add a method in the Controller class e.g. preProcessRequest() that invokes these checks? I also think we could increase the code coverage a little.

@muthusubra
Copy link
Contributor

preProcessRequest

As discussed offline, added a validate method in service class and added DTO with just the required fields

Copy link

sonarqubecloud bot commented Oct 1, 2024

Copy link
Contributor Author

@Mhowell494 Mhowell494 left a comment

Choose a reason for hiding this comment

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

LG2M - can't approve as I created the PR

Copy link
Contributor

@karlbaker02 karlbaker02 left a comment

Choose a reason for hiding this comment

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

Approving on behalf of @Mhowell494

@Mhowell494 Mhowell494 merged commit f6e4f60 into main Oct 2, 2024
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants