cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-5309) Support Bean Validation API for JAX-RS
Date Fri, 08 Nov 2013 17:00:22 GMT


Sergey Beryozkin commented on CXF-5309:

Hi Andriy, All

I've spent quite a bit of time trying to get some more useful information into the logs, specifically
on how to minimize the amount of the extra information so that the actual violation message
does not get lost in the noise. Here is what I've come up so far, the extra info is *optionally*
added in '()', examples:

1. Non request body parameter validation issue (FormParam, PathParam, etc):

SEVERE: BookStoreWithValidation.addBook.arg1(JAXRS param is FORM("id"), class: String): may
not be null

3. Request Body (example, XML converted to JAXB bean) validation issue

class: BookWithValidation): may not be null

3. Collection Request Body validation issue

SEVERE: BookStoreWithValidation.addBooksDirect.arg0[0].name(arg0 JAXRS param is REQUEST_BODY,
class: List): may not be null


> Support Bean Validation API for JAX-RS
> --------------------------------------
>                 Key: CXF-5309
>                 URL:
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-RS, JAX-WS Runtime
>            Reporter: Sergey Beryozkin
>         Attachments: patch-validation-exception-mapper.txt, patch-validation-poc.txt,

This message was sent by Atlassian JIRA

View raw message