From dev-return-87256-archive-asf-public=cust-asf.ponee.io@sling.apache.org Mon Mar 5 16:37:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5CDEE180676 for ; Mon, 5 Mar 2018 16:37:04 +0100 (CET) Received: (qmail 83448 invoked by uid 500); 5 Mar 2018 15:37: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 83437 invoked by uid 99); 5 Mar 2018 15:37:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2018 15:37:03 +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 B73611804E6 for ; Mon, 5 Mar 2018 15:37:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id atyS_tDcxMOW for ; Mon, 5 Mar 2018 15:37:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2D1815F169 for ; Mon, 5 Mar 2018 15:37:01 +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 684B6E01D8 for ; Mon, 5 Mar 2018 15:37:00 +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 2571821268 for ; Mon, 5 Mar 2018 15:37:00 +0000 (UTC) Date: Mon, 5 Mar 2018 15:37:00 +0000 (UTC) From: "Marius Petria (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=3D1638= 6222#comment-16386222 ]=20 Marius Petria commented on SLING-7468: -------------------------------------- Still, it is a very powerful tool: a (configurable) gate to configAdmin :).= I will try to understand the extensibility need in order to see if we can = solve it in a more restricted way.=C2=A0I fear=C2=A0that others might use i= t for their own scenarios to access random configurations. > 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 > Fix For: Content Distribution Core 0.3.0 > > > 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)