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 70B16200BE1 for ; Mon, 19 Dec 2016 20:13:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 6F56D160B35; Mon, 19 Dec 2016 19:13:01 +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 DE526160B14 for ; Mon, 19 Dec 2016 20:13:00 +0100 (CET) Received: (qmail 86763 invoked by uid 500); 19 Dec 2016 19:12:58 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 86650 invoked by uid 99); 19 Dec 2016 19:12:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2016 19:12:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6E7132C03DF for ; Mon, 19 Dec 2016 19:12:58 +0000 (UTC) Date: Mon, 19 Dec 2016 19:12:58 +0000 (UTC) From: "Dominik Przybysz (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ARIES-1641) OsgiServiceProvider annotation does not publish service.ranking property as integer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Dec 2016 19:13:01 -0000 Dominik Przybysz created ARIES-1641: --------------------------------------- Summary: OsgiServiceProvider annotation does not publish service.ranking property as integer Key: ARIES-1641 URL: https://issues.apache.org/jira/browse/ARIES-1641 Project: Aries Issue Type: Bug Components: Blueprint Reporter: Dominik Przybysz Assignee: Dominik Przybysz Priority: Critical Fix For: blueprint-maven-plugin-1.6.0 There is no such option to generate service.ranking property using @OsgiServiceProvider annotation. {code:groovy} @OsgiServiceProvider(classes = [TaskRepository]) @Properties([ @Property(name = "type", value = "db"), @Property(name = "service.ranking", value = "100"), ]) {code} generates blueprint {code:xml} {code} and service properties in Apache Karaf: {code} osgi.service.blueprint.compname = dbRepository service.bundleid = 54 service.id = 274 service.scope = bundle type = db {code} The best option is to convert service.ranking property from @Property annotation as ranking attribute in service element. -- This message was sent by Atlassian JIRA (v6.3.4#6332)