You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2009/04/03 10:02:13 UTC

[jira] Commented: (FELIX-1007) OBR search doesn't take 'categories' into account

    [ https://issues.apache.org/jira/browse/FELIX-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695284#action_12695284 ] 

Richard S. Hall commented on FELIX-1007:
----------------------------------------

Ok, I think I see your (and my) confusion.

Yes, you are correct, the categories are not included in the properties; however, it probably should be. This could probably be added to the properties as it is set in ResourceImpl.addCategory(). It might actually be the case that we don't need to put them into the category array list at all and we can just aggregate them into an array in the properties map.

I think this was just something that was never really completed.

> OBR search doesn't take 'categories' into account
> -------------------------------------------------
>
>                 Key: FELIX-1007
>                 URL: https://issues.apache.org/jira/browse/FELIX-1007
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Kristian Koehler
>         Attachments: categoriesQueryPatch_2009_03_27.txt
>
>
> Hi
> the RFC-0112 Bundle Repository document says: "The <category> element defines a category. The purpose is to easy the discovery." and the description of the method org.osgi.servicex.obr. RepositoryAdmin#discoverResources says "The attributes that can be checked are: [...] category" but filtering resources with a given category doesn't work. The following filter is "meaningless": "(category:*>sampleCategory)"
> Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.