Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 929221837A for ; Thu, 18 Feb 2016 16:07:18 +0000 (UTC) Received: (qmail 72562 invoked by uid 500); 18 Feb 2016 16:07:18 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 72532 invoked by uid 500); 18 Feb 2016 16:07:18 -0000 Mailing-List: contact issues-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 issues@karaf.apache.org Received: (qmail 72513 invoked by uid 99); 18 Feb 2016 16:07:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2016 16:07:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 14A062C1F57 for ; Thu, 18 Feb 2016 16:07:18 +0000 (UTC) Date: Thu, 18 Feb 2016 16:07:18 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4344) Migrate decanter to DS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15152503#comment-15152503 ] ASF subversion and git services commented on KARAF-4344: -------------------------------------------------------- Commit e5992a37fa38aefee19f26a8c573a1f222b2bf2c in karaf-decanter's branch refs/heads/master from [~chris@die-schneider.net] [ https://git-wip-us.apache.org/repos/asf?p=karaf-decanter.git;h=e5992a3 ] [KARAF-4344] Migrating SLA components to DS > Migrate decanter to DS > ---------------------- > > Key: KARAF-4344 > URL: https://issues.apache.org/jira/browse/KARAF-4344 > Project: Karaf > Issue Type: Improvement > Components: decanter > Affects Versions: decanter-1.0.1 > Reporter: Christian Schneider > Assignee: Christian Schneider > Fix For: decanter-1.1.0 > > > Currently we are using osgi APIs to bind services and configuration. > This is becoming increasingly complicated and error prone. > For example for some of the decanter components we need two services and multiple configurations (ManagedServiceFactory). This results in two stacked service trackers and a ManagedServiceFactoryImpl. It is difficult to make sure this code works correctly in all circumstances. > So I plan to switch to declarative services where all of the above can be controlled by annoations. Additionally we can use the new type safe configurations that make it a lot easier to work with the configuration both as a user and as a developer of a component. > One important question is the minimum environment we want to support with decanter 1.1.0. Older karaf versions do not support scr 2 (and DS spec 1.3) which is needed for some interesting DS features like field injection and type safe configs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)