Skip to content

FINERACT-405: Add client and staff mobile number validation#5939

Open
anubhavio wants to merge 1 commit into
apache:developfrom
anubhavio:FINERACT-405-phone-number-validation
Open

FINERACT-405: Add client and staff mobile number validation#5939
anubhavio wants to merge 1 commit into
apache:developfrom
anubhavio:FINERACT-405-phone-number-validation

Conversation

@anubhavio
Copy link
Copy Markdown
Contributor

Description

This PR adds backend validation for client and staff mobile numbers.

Changes

-Added mobile number validation for client create and update operations.
-Added mobile number validation for staff create and update requests using Jakarta Bean Validation.
-Added validation message for invalid staff mobile numbers.
-Added unit tests covering valid and invalid client mobile number scenarios.

##Notes
This PR focuses on backend validation only. It does not implement default country code handling or phone number normalization.

Copy link
Copy Markdown
Contributor

@adamsaghy adamsaghy left a comment

Choose a reason for hiding this comment

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

LGTM

@anubhavio
Copy link
Copy Markdown
Contributor Author

@adamsaghy Thank you for the review. I pushed a follow-up commit to fix the CI import-order issue. The new workflow runs are currently awaiting approval.

@adamsaghy
Copy link
Copy Markdown
Contributor

@anubhavio Please squash your changes...

FINERACT-405: Fix import order

FINERACT-405: Apply Spotless formatting

FINERACT-405: Fix staff integration test for phone validation
@anubhavio anubhavio force-pushed the FINERACT-405-phone-number-validation branch from 1ac8c4c to 2358c57 Compare June 5, 2026 12:43
@anubhavio
Copy link
Copy Markdown
Contributor Author

@adamsaghy I reviewed the current CI failures. The jobs appear to be failing due to Docker/Maven dependency download issues rather than application test failures. Could you please re-trigger the failed workflows when convenient?

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.

2 participants