Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 314EA99AE for ; Sat, 17 Mar 2012 23:51:09 +0000 (UTC) Received: (qmail 34496 invoked by uid 500); 17 Mar 2012 23:51:08 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 34437 invoked by uid 500); 17 Mar 2012 23:51:08 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 34428 invoked by uid 99); 17 Mar 2012 23:51:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Mar 2012 23:51:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of heavy@ungoverned.org designates 209.85.210.177 as permitted sender) Received: from [209.85.210.177] (HELO mail-iy0-f177.google.com) (209.85.210.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Mar 2012 23:51:00 +0000 Received: by iaky10 with SMTP id y10so10532509iak.22 for ; Sat, 17 Mar 2012 16:50:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=S9wirRAJAmu3KfXpoT5H7I42prIO1foWZY8XvLogdgc=; b=IPifaMIBp5l254oo/+EQhSS25+OVt0k4sNyM/1Qo49JXYQjeFu1IedUocsfDO0/RpJ ZvAlQPAmc3ENs8PG1aTvRZymbbPDteAvUKvn3aX9q2qEYbBUfx+eblZ7tS6wVLq7OUze H0PtgVsHw47DmycpG9FIfzJoFCwHfE3uERkGMZNCorSbnZjLN+N1d5Lo57wz7m7wfh33 HstZZIJh+QrsZo5+uUCv1AmnvK0MU0t8FV3ACTKaKkJ8344+m05WIOGudsHmY13XZHPu gQEOICJHIBhhD0SVSABtK7g4ug1YRbKkkljE0BcyLzv1AKJs/ZaGe0IOgAeaV1ivrOyy azpA== Received: by 10.50.193.226 with SMTP id hr2mr2733610igc.34.1332028239994; Sat, 17 Mar 2012 16:50:39 -0700 (PDT) Received: from home.local (97-84-128-5.dhcp.bycy.mi.charter.com. [97.84.128.5]) by mx.google.com with ESMTPS id vr4sm9436253igb.1.2012.03.17.16.50.39 (version=SSLv3 cipher=OTHER); Sat, 17 Mar 2012 16:50:39 -0700 (PDT) Message-ID: <4F65234E.6080501@ungoverned.org> Date: Sat, 17 Mar 2012 19:50:38 -0400 From: "Richard S. Hall" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: users@felix.apache.org Subject: Re: Look for a missing dependency in OBR References: <4F651B65.2030902@yahoo.com.ar> In-Reply-To: <4F651B65.2030902@yahoo.com.ar> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQnqrx6p8NzNks9nINkLgUFjBj7m153JQQIUzDAeaak5Mkb4Er4/99gVo9WTiLcZU5QUTvOi X-Virus-Checked: Checked by ClamAV on apache.org The original proposed OSGi OBR API didn't provide a way to do this from the RepositoryAdmin. You need to use the Felix OBR API, which exposes such functionality on its RepositoryAdmin. -> richard On 3/17/12 19:16 , "San Mart�n, Mat�as" wrote: > Hi everybody, > I'm doing some experimentation with OBR (API) and I don't know how to > find a missing requirement with it. > That is, if I have a filter expression (as used in a 's > description in a repository xml file), is there a way to > query the OBR service (by means of the repositoryAdmin, I guess) for > the bundles that satisfy that requirement? > > For example, > I have the filter: "(&(package=org.foo.somepackage)(version>=1.3.0))" > Then I would like to query for some bundle that exports the package > "org.foo.somepackage" with a version >= 1.3.0. > > From the documentation in the RepositoryAdmin class (revision 1.3): > "Checking the capabilities of the filters is not possible because that > requires a new construct in the filter." > I guess it can't be done. But maybe I'm missing something. > > Thanks in advance for any insight about this. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org > For additional commands, e-mail: users-help@felix.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org