You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/12/18 06:17:13 UTC

[jira] [Updated] (KARAF-3418) Add getFeatureRepositoryName(Uri uri) to FeatureService

     [ https://issues.apache.org/jira/browse/KARAF-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-3418:
----------------------------------------
    Fix Version/s: 3.0.3
                   4.0.0

> Add getFeatureRepositoryName(Uri uri) to FeatureService
> -------------------------------------------------------
>
>                 Key: KARAF-3418
>                 URL: https://issues.apache.org/jira/browse/KARAF-3418
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-feature
>    Affects Versions: 3.0.2
>            Reporter: Brad Hoffman
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.0.0, 3.0.3
>
>
> I would like a utility method that allows me get the feature repository name at a given URI.
> Use case:  User has uploaded a feature file to Maven repository, added the feature repository and installed features.  Now the user builds their project and produces a .kar file containing the feature file.  Upon deploying the .kar there are now two feature repositories with the same name (different uri) and the changes occurring to bundles in the kar are not installed.   
> Prior to adding a new feature repository I'd like to determine its name and first remove all existing feature repositories, then add the repository.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)