-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide kiwi validation constraints via service loader mechanism (#1113)
* Rename ValidationMessages.properties to ContributorValidationMessages.properties * Add jakarta.validation.ConstraintValidator in META-INF/services which defines the services that will be loaded via service loader * Remove the value in the validatedBy attribute of Constraint annotations on all kiwi custom constraints to avoid duplicate definitions of them. Closes #1112
- Loading branch information
1 parent
5a01db1
commit 434719f
Showing
12 changed files
with
20 additions
and
10 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
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
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
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
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
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
src/main/resources/META-INF/services/jakarta.validation.ConstraintValidator
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
org.kiwiproject.validation.DirectoryPathValidator | ||
org.kiwiproject.validation.FieldRangeValidator | ||
org.kiwiproject.validation.FilePathValidator | ||
org.kiwiproject.validation.InEnumValidator | ||
org.kiwiproject.validation.IntValueValidator | ||
org.kiwiproject.validation.Ipv4AddressValidator | ||
org.kiwiproject.validation.Ipv4AndPortValidator | ||
org.kiwiproject.validation.LongValueValidator | ||
org.kiwiproject.validation.RequiredValidator | ||
org.kiwiproject.validation.RangeValidator |