You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Kevan Jahanshahi (Jira)" <ji...@apache.org> on 2023/10/04 08:18:00 UTC

[jira] [Commented] (UNOMI-806) Remove dependency to org.hibernate.validator @NotEmpty annotation

    [ https://issues.apache.org/jira/browse/UNOMI-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17771755#comment-17771755 ] 

Kevan Jahanshahi commented on UNOMI-806:
----------------------------------------

Unomi is currently using javax validation 1.1.0 and this would probably required to upgrade to a more recent version.

This also mean upgrade hibernate validator, and we may have some conflict of versions internally that can complexify this upgrade.

> Remove dependency to org.hibernate.validator @NotEmpty annotation
> -----------------------------------------------------------------
>
>                 Key: UNOMI-806
>                 URL: https://issues.apache.org/jira/browse/UNOMI-806
>             Project: Apache Unomi
>          Issue Type: Task
>            Reporter: Francois Gerthoffert
>            Priority: Major
>             Fix For: unomi-2.5.0
>
>
> @NotEmpty is deprecated as per [https://docs.jboss.org/hibernate/validator/6.0/api/index.html?org/hibernate/validator/constraints/NotEmpty.html]
> It is currently being used here:
> [https://github.com/apache/unomi/blob/98e4d87c827b05e817e0538793a8a34e5434a00a/api/src/main/java/org/apache/unomi/api/EventsCollectorRequest.java#L31C9-L31C9]
> The goal of this ticket is to see if this can be replaced by javax NotEmpty as per deprecation instructions



--
This message was sent by Atlassian Jira
(v8.20.10#820010)