Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 56909200B45 for ; Fri, 15 Jul 2016 18:16:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5530E160A61; Fri, 15 Jul 2016 16:16:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C4D10160A57 for ; Fri, 15 Jul 2016 18:16:22 +0200 (CEST) Received: (qmail 70655 invoked by uid 500); 15 Jul 2016 16:16:22 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 70644 invoked by uid 99); 15 Jul 2016 16:16:21 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2016 16:16:21 +0000 Received: from [192.168.0.7] (unknown [217.133.18.16]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 5C0B41A0042 for ; Fri, 15 Jul 2016 16:16:21 +0000 (UTC) To: dev@syncope.apache.org From: =?UTF-8?Q?Francesco_Chicchiricc=c3=b2?= Subject: [DISCUSS] Improving Camel-based provisioning Message-ID: <9e7aeae9-7438-1634-520c-7cac27fc4d7e@apache.org> Date: Fri, 15 Jul 2016 18:16:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable archived-at: Fri, 15 Jul 2016 16:16:23 -0000 Hi all, as you know, Camel-based provisioning is one of the coolest features=20 among the several cool features in 2.0. The implementation is essentially done this way: each method in=20 CamelUserProvisioningManager [1] (and similarly for groups and any=20 objects) invokes some Camel route, then at the end of the route, some=20 'processor' is invoked (as [2] for example, when user is created). As you might see from [2] and all similar classes in that package, there = is still some relevant logic implemented in Java, which might be moved=20 back to the route definition, hence increasing the general benefits of=20 the whole concept of Camel-based provisioning. Do you also see this as an enhancement? Do you think it is possible /=20 feasible to implement with limited effort? Regards. [1]=20 https://github.com/apache/syncope/blob/master/ext/camel/provisioning-came= l/src/main/java/org/apache/syncope/core/provisioning/camel/CamelUserProvi= sioningManager.java [2]=20 https://github.com/apache/syncope/blob/master/ext/camel/provisioning-came= l/src/main/java/org/apache/syncope/core/provisioning/camel/processor/User= CreateProcessor.java --=20 Francesco Chicchiricc=C3=B2 Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon PMC, Olingo PMC, CXF Committer, OpenJPA Committer, PonyMail PPMC http://home.apache.org/~ilgrosso/