From dev-return-86399-archive-asf-public=cust-asf.ponee.io@sling.apache.org Sat Feb 3 08:17:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 9635D180621 for ; Sat, 3 Feb 2018 08:17:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 85B46160C3B; Sat, 3 Feb 2018 07:17:05 +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 D2C80160C38 for ; Sat, 3 Feb 2018 08:17:04 +0100 (CET) Received: (qmail 76384 invoked by uid 500); 3 Feb 2018 07:17:03 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 76373 invoked by uid 99); 3 Feb 2018 07:17:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Feb 2018 07:17:03 +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 524F91A0609 for ; Sat, 3 Feb 2018 07:17:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id K_C4ukj5YuKb for ; Sat, 3 Feb 2018 07:17:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5DED65F393 for ; Sat, 3 Feb 2018 07:17:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D48DAE01DA for ; Sat, 3 Feb 2018 07:17:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2B0A921E87 for ; Sat, 3 Feb 2018 07:17:00 +0000 (UTC) Date: Sat, 3 Feb 2018 07:17:00 +0000 (UTC) From: "Tommaso Teofili (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SLING-7468) Allow to configure the Distribution Resource Provider MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-7468?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1635= 1293#comment-16351293 ]=20 Tommaso Teofili commented on SLING-7468: ---------------------------------------- big +1 on my side as well, and btw=C2=A0I would opt for=C2=A0configuration-= less (figure out mappings at runtime). > Allow to configure the Distribution Resource Provider > ----------------------------------------------------- > > Key: SLING-7468 > URL: https://issues.apache.org/jira/browse/SLING-7468 > Project: Sling > Issue Type: Improvement > Components: Content Distribution > Reporter: Timothee Maret > Assignee: Timothee Maret > Priority: Major > > SCD maintain its own Resource Provider > https://github.com/apache/sling-org-apache-sling-distribution-core/tree/m= aster/src/main/java/org/apache/sling/distribution/resources > The implementation maps OSGI configurations and services as sling resourc= es. > The implementation is not flexible to allow plugging a custom agent in th= e resource tree. > The mapping seems to be done currently in enums, for instance > https://github.com/apache/sling-org-apache-sling-distribution-core/blob/m= aster/src/main/java/org/apache/sling/distribution/component/impl/Distributi= onComponentKind.java > This issue is about making the configuration flexible (OSGI properties) o= r even configuration-less (figure out the mappings at runtime). As a side e= ffect, the implementation may be simplified.=20 > [~teofili],[~simone.tripodi] FYI -- This message was sent by Atlassian JIRA (v7.6.3#76005)