felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5641) Add getRepository() to Resource
Date Wed, 31 May 2017 17:01:04 GMT

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

David Bosschaert commented on FELIX-5641:
-----------------------------------------

The pull request contains a change to exported API. I think we can assume that the Resource
is a provider type here - I don't think users ever need to implement this resource. 
Therefore the pull request should be updated to include an update of the Export-Package definition
to:
{code}                org.apache.felix.bundlerepository;version="2.2"
{code}

Does anyone see an issue with this?

Note that the https://osgi.org/javadoc/r6/core/org/osgi/resource/Resource.html (which is a
different resource) is a consumer type - any API changes to a consumer type require a major
version update.

> Add getRepository() to Resource
> -------------------------------
>
>                 Key: FELIX-5641
>                 URL: https://issues.apache.org/jira/browse/FELIX-5641
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Jens Offenbach
>
> The method {{RepositoryAdmin#discoverResources}} returns a list of filtered resources,
but it is currently not efficiently possible to get the corresponding repository for a resource.
The information is available in {{ResourceImpl}}, but not accessible through the API.
> Is it possible to add this?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message