Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 866E818B48 for ; Mon, 14 Dec 2015 11:46:14 +0000 (UTC) Received: (qmail 41979 invoked by uid 500); 14 Dec 2015 11:46:14 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 41902 invoked by uid 500); 14 Dec 2015 11:46:14 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 41887 invoked by uid 99); 14 Dec 2015 11:46:13 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2015 11:46:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 817D8180461 for ; Mon, 14 Dec 2015 11:46:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id TAy0nIrt88N3 for ; Mon, 14 Dec 2015 11:45:59 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 676FE42A65 for ; Mon, 14 Dec 2015 11:45:59 +0000 (UTC) Received: by wmpp66 with SMTP id p66so57064558wmp.1 for ; Mon, 14 Dec 2015 03:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=sg6K2dkjEkE62dmsMUJ+S8Iuiwyd6H51zNSG3vmC8hc=; b=vAIHRWbADKO91UX7x3hUmc0B3NHzZhm7cwDgRSGmIU8jWPztmqtx+hUvgZK8JRzSnH 2X8rsddE6sMvGFAyjd7mVIiZKvYInoMZZuD864kLhP1ONuXVJEbbXDbB078Ma02Dlq/4 WgAiMf3kH3wlTU99Q3nf+GdHOIBKMMHjBO6XiNp+2pFG1GJu4Wt+kqhVjgZirK/EeyJf Xm3NFXxkzKc+9ZcLAu9orjgpkfZwc8XXXw3ZHwKEa/InyZN6VqPrC3JoPYSbuMX+DIrv b/WNIFpSJb3+9upVGO5TRJInAq/EIMQ59uJoycGlL13qqrmiSws5ve//sLm8Tzme1Kx3 9uLw== X-Received: by 10.28.146.18 with SMTP id u18mr22636659wmd.72.1450093558651; Mon, 14 Dec 2015 03:45:58 -0800 (PST) Received: from [10.36.226.98] ([80.169.137.63]) by smtp.googlemail.com with ESMTPSA id i84sm15830228wmc.20.2015.12.14.03.45.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 03:45:57 -0800 (PST) Subject: Re: Fixing up bean validation in OSGi To: dev@cxf.apache.org References: From: Sergey Beryozkin Cc: Jean-Baptiste Onofre Message-ID: <566EABF5.5070308@gmail.com> Date: Mon, 14 Dec 2015 11:45:57 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Benson On 11/12/15 16:19, Benson Margulies wrote: > https://issues.apache.org/jira/browse/CXF-6706 > > https://issues.apache.org/jira/browse/CXF-6705 > > The changes I've committed for CXF-6705 make it possible to use bean > validation, but ... > > 1: only with hibernate > 2: only with extra code to obtain the validation provider. > > This raises two questions. > > 1: should I restructure the features to split > 'cxf-bean-validation-hibernate' from 'cxf-bean-validation', leaving > room for bval? Please, I've heard Apache BVal is less complete, but I think we should keep the option open for users who would like to experiment with this Apache project > > 2: should I put the code in place that actually makes it work, and, if > so, where? I think it would be an additional bundle under 'osgi' that > provided a BeanValidationProviderFactory or a > ValidationProviderHelper. > I guess the servicemix API spec bundle should help. Hi JB, do you think a new BVal spec bundle may need to be released ? See https://issues.apache.org/jira/browse/SMX4-1618, in the description, Thanks, Sergey