You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Brad Hoffman (JIRA)" <ji...@apache.org> on 2014/12/18 00:14:15 UTC

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

Brad Hoffman created KARAF-3418:
-----------------------------------

             Summary: 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
            Priority: Minor


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)