Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2169218985 for ; Tue, 9 Feb 2016 12:33:02 +0000 (UTC) Received: (qmail 12105 invoked by uid 500); 9 Feb 2016 12:33:02 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 12066 invoked by uid 500); 9 Feb 2016 12:33:02 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 12050 invoked by uid 99); 9 Feb 2016 12:33:01 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2016 12:33:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 506BE1A0177 for ; Tue, 9 Feb 2016 12:33:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.28 X-Spam-Level: X-Spam-Status: No, score=0.28 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QtCIT8CeOXOD for ; Tue, 9 Feb 2016 12:33:00 +0000 (UTC) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 58A3931AE0 for ; Tue, 9 Feb 2016 12:32:59 +0000 (UTC) Received: from mfilter44-d.gandi.net (mfilter44-d.gandi.net [217.70.178.175]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id B3E3FA80FD for ; Tue, 9 Feb 2016 13:32:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter44-d.gandi.net Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter44-d.gandi.net (mfilter44-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id ht7MF_6j0uKy for ; Tue, 9 Feb 2016 13:32:51 +0100 (CET) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.10] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 5C26AA80E4 for ; Tue, 9 Feb 2016 13:32:51 +0100 (CET) Subject: Re: [Discuss] Using DS for decanter To: dev@karaf.apache.org References: <56B9DA14.6060006@die-schneider.net> From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: <56B9DC73.8040005@nanthrax.net> Date: Tue, 9 Feb 2016 13:32:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56B9DA14.6060006@die-schneider.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit +1 (as discussed ;)) Agree to use DS in 1.1.x branch that I will create just after 1.0.2 release. Regards JB On 02/09/2016 01:22 PM, Christian Schneider wrote: > I recently discussed with JB that the boilerplate code in decanter > increases. One typical example is that a decanter module needs to > reference EventAdmin, the Marshaller service and react on > configurations. In many cases we also need to be able to work with > ManagedServiceFactories. > > So for this case DS seems like a good idea. It can do all of the above > with very simple annotations and can now also do type safe configs. > > The only disadvantage is that we then need the scr feature. As it is > quite small I think this is a good tradeoff. > > What do you think? > > If there is no push back then I would like to switch decanter to DS once > the decanter release 1.0.2 is done. JB then wants to switch the master > to 1.1.x which allows us to do some more changes then in a bugfix line. > > Christian > -- Jean-Baptiste Onofré jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com