karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3418) Add getFeatureRepositoryName(Uri uri) to FeatureService
Date Thu, 18 Dec 2014 05:47:15 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251253#comment-14251253

Jean-Baptiste Onofré commented on KARAF-3418:

Fixed on master: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=6f38848a938e6397bdcf9975d687aa6ea4ef8123

> 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
> 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

View raw message